fix bob issue

This commit is contained in:
Brevven 2025-05-03 03:10:25 -07:00
parent 3b20151b42
commit a15f4fe5b6
6 changed files with 12 additions and 9 deletions

View file

@ -15,7 +15,7 @@ end
if mods.bztungsten and not mods["space-age"] then
table.insert(gyro_ingredients, util.item("tungsten-plate", 1))
table.insert(gyro_prereqs, "tungsten-processing")
elseif mods.bztitanium then
elseif mods.bztitanium and data.raw.item["titanium-plate"] then
table.insert(gyro_ingredients, util.item("titanium-plate", 1))
table.insert(gyro_prereqs, "titanium-processing")
elseif mods.Krastorio2 then

View file

@ -176,14 +176,10 @@ data:extend({
enabled = false,
energy_required = 2,
allow_productivity = true,
ingredients = (mods["bzlead"] and not mods["angelssmelting"] and {
ingredients = {
{type= "item", name="silicon-wafer", amount=1},
{type= "item", name="electronic-circuit", amount=1},
{type= "item", name="lead-plate", amount=1},
} or {
{type= "item", name="silicon-wafer", amount=1},
{type= "item", name="electronic-circuit", amount=1},
}),
},
results = {util.item("solar-cell", 2)}
},
})