diff --git a/changelog.txt b/changelog.txt index a01297b..4c71005 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.0.6 +Date: 2023-03-22 + Fixes: + - SE: Satellite rocket silo no longer requires palladium, due to tech deadlock +--------------------------------------------------------------------------------------------------- Version: 0.0.5 Date: 2023-03-19 Features: diff --git a/data-util.lua b/data-util.lua index 48842f2..d64decc 100644 --- a/data-util.lua +++ b/data-util.lua @@ -1008,7 +1008,7 @@ end -- Set recipe subgroup function util.set_subgroup(recipe_name, subgroup, options) if not should_force(options) and bypass(recipe_name) then return end - if data.raw.recipe[recipe_name] then + if data.raw.recipe[recipe_name] and data.raw["item-subgroup"][subgroup] then me.add_modified(recipe_name) data.raw.recipe[recipe_name].subgroup = subgroup end diff --git a/prototypes/recipe-updates.lua b/prototypes/recipe-updates.lua index c9fa203..cfb84e9 100644 --- a/prototypes/recipe-updates.lua +++ b/prototypes/recipe-updates.lua @@ -16,7 +16,9 @@ else util.add_ingredient("steam-turbine", "titanium-palladium-flange", 10) util.add_ingredient("kr-advanced-steam-turbine", "titanium-palladium-flange", 10) end -util.add_ingredient("rocket-silo", "titanium-palladium-flange", 100) +if not mods["space-exploration"] then + util.add_ingredient("rocket-silo", "titanium-palladium-flange", 100) +end util.add_ingredient("rocket-control-unit", "temperature-sensor", 1) if not mods["aai-industry"] then