se compat

This commit is contained in:
Brevven 2023-03-23 03:12:03 -07:00
parent 3e5c07c86a
commit e41a8efa0c
3 changed files with 9 additions and 2 deletions

View file

@ -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:

View file

@ -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

View file

@ -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