alternate electronic circuit recipe

This commit is contained in:
Brevven 2022-12-04 14:26:46 -08:00
parent a4c57f37ac
commit 788956c091
3 changed files with 12 additions and 1 deletions

View file

@ -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
Date: 2022-12-04
Features:

View file

@ -1,6 +1,6 @@
{
"name": "bzchlorine",
"version": "0.0.2",
"version": "0.0.3",
"factorio_version": "1.1",
"title": "Salt & Chlorine",
"author": "Brevven",

View file

@ -4,6 +4,11 @@ if mods.Krastorio2 then
local amt = util.get_amount("electronic-components")
util.add_ingredient("electronic-components", "pcb", amt)
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")
util.set_ingredient("advanced-circuit", "copper-cable", amt_ac)
else