few compat updates

This commit is contained in:
Brevven 2022-01-03 22:56:19 -08:00
parent efe954b700
commit c39f6b0dd2
5 changed files with 92 additions and 9 deletions

View file

@ -123,3 +123,14 @@ if data.raw.item["underwater-pipe"] then
util.replace_ingredient("underwater-pipe", "steel-plate", util.me.titanium_plate)
end
-- Space extension
if mods.SpaceMod then
util.replace_ingredient("hull-component", "steel-plate", util.me.titanium_plate)
util.replace_some_ingredient("fuel-cell", "steel-plate", 80, util.me.titanium_plate, 80)
util.replace_some_ingredient("habitation", "steel-plate", 80, util.me.titanium_plate, 80)
end
-- For flying roboports, replace steel, and then add titanium if steel didn't exist.
util.replace_ingredient("flying-roboport", "steel-plate", util.me.titanium_plate)
util.add_ingredient("flying-roboport", util.me.titanium_plate, 10)