few compat updates
This commit is contained in:
parent
efe954b700
commit
c39f6b0dd2
5 changed files with 92 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue