alternate electronic circuit recipe
This commit is contained in:
parent
a4c57f37ac
commit
788956c091
3 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.0.3
|
||||||
|
Date: 2022-12-05
|
||||||
|
Changes:
|
||||||
|
- K2: Alternate electronic component recipe uses PCB now. Note that the SE+K2 lithium recipe
|
||||||
|
cannot currently be modified in a reasonable fasion, so that one is still unchanged.
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.0.2
|
Version: 0.0.2
|
||||||
Date: 2022-12-04
|
Date: 2022-12-04
|
||||||
Features:
|
Features:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzchlorine",
|
"name": "bzchlorine",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Salt & Chlorine",
|
"title": "Salt & Chlorine",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
@ -4,6 +4,11 @@ if mods.Krastorio2 then
|
||||||
local amt = util.get_amount("electronic-components")
|
local amt = util.get_amount("electronic-components")
|
||||||
util.add_ingredient("electronic-components", "pcb", amt)
|
util.add_ingredient("electronic-components", "pcb", amt)
|
||||||
util.remove_ingredient("electronic-components", "plastic-bar")
|
util.remove_ingredient("electronic-components", "plastic-bar")
|
||||||
|
|
||||||
|
amt = util.get_amount("kr-s-c-electronic-components")
|
||||||
|
util.add_ingredient("kr-s-c-electronic-components", "pcb", amt)
|
||||||
|
util.remove_ingredient("kr-s-c-electronic-components", "plastic-bar")
|
||||||
|
|
||||||
local amt_ac = util.get_amount("advanced-circuit")
|
local amt_ac = util.get_amount("advanced-circuit")
|
||||||
util.set_ingredient("advanced-circuit", "copper-cable", amt_ac)
|
util.set_ingredient("advanced-circuit", "copper-cable", amt_ac)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue