diff --git a/changelog.txt b/changelog.txt index fe73d6d..2591cbc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.0.9 +Date: 2022-12-30 + Changes: + - K2: Final advanced circuit recipe is faster now +--------------------------------------------------------------------------------------------------- Version: 0.0.8 Date: 2022-12-29 Changes: diff --git a/info.json b/info.json index 0fe7c85..fd53c48 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzchlorine", - "version": "0.0.8", + "version": "0.0.9", "factorio_version": "1.1", "title": "Salt & Chlorine", "author": "Brevven", diff --git a/recipe-updates.lua b/recipe-updates.lua index cd26022..289a041 100644 --- a/recipe-updates.lua +++ b/recipe-updates.lua @@ -6,7 +6,8 @@ util.remove_ingredient("advanced-circuit", "plastic-bar") util.set_ingredient("advanced-circuit", "copper-cable", amt) local amt = util.get_amount("advanced-circuit") -util.set_recipe_time("advanced-circuit", amt*2) -- more steps, so speed up final step +local factor = mods.Krastorio2 and 1 or 2 +util.set_recipe_time("advanced-circuit", amt*factor) -- more steps, so speed up final step if util.me.more() then util.add_ingredient("accumulator", "ferric-chloride", 2)