angels basic compat
This commit is contained in:
parent
1b9fcf7642
commit
4d9b02be22
7 changed files with 29 additions and 16 deletions
|
|
@ -2,10 +2,15 @@
|
|||
--
|
||||
local util = require("__bztitanium__.data-util");
|
||||
|
||||
if (not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||
if (not mods["bobplates"]) then
|
||||
util.replace_ingredient("power-armor", "steel", "titanium")
|
||||
util.add_prerequisite("power-armor", util.titanium_processing)
|
||||
|
||||
-- Generally, steel-based equipment techs require solar panel tech, so only require
|
||||
-- titanium processing for that.
|
||||
util.add_prerequisite("solar-panel-equipment", util.titanium_processing)
|
||||
|
||||
|
||||
-- All equipment that uses steel now uses titanium. Who wants to carry around steel!
|
||||
for name, recipe in pairs(data.raw.recipe) do
|
||||
if recipe.result ~= nil and recipe.result:find("equipment") then
|
||||
|
|
@ -14,10 +19,6 @@ if (not mods["bobplates"] and not mods["angelssmelting"]) then
|
|||
end
|
||||
end
|
||||
|
||||
-- Generally, steel-based equipment techs require solar panel tech, so only require
|
||||
-- titanium processing for that.
|
||||
util.add_prerequisite("solar-panel-equipment", util.titanium_processing)
|
||||
|
||||
|
||||
-- Also add titanium to some nuclear steam-handling stuff
|
||||
util.add_titanium_ingredient(20, "steam-turbine")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue