Update to bzlead2

This commit is contained in:
Simon Brodtmann 2025-10-20 10:23:37 +02:00
parent 26dd7a952c
commit e078a2db02
4 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@
"base >= 2.0.0", "base >= 2.0.0",
"? bzfoundry2 >= 2.0.0", "? bzfoundry2 >= 2.0.0",
"? bztitanium >= 2.0.26", "? bztitanium >= 2.0.26",
"? bzlead >= 2.0.28", "? bzlead2 >= 2.0.29",
"? bzzirconium >= 2.1.13", "? bzzirconium >= 2.1.13",
"? bztungsten2 >= 2.0.0", "? bztungsten2 >= 2.0.0",
"? bzcarbon2 >= 2.0.22", "? bzcarbon2 >= 2.0.22",

View file

@ -19,7 +19,7 @@ if util.me.alchemy() then
icon_size = 128, icon_size = 128,
}, },
{ {
icon = "__bzlead__/graphics/icons/lead-plate.png", icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 4, shift = {-8,-8}, scale=0.25, icon_size = 64, icon_mipmaps = 4, shift = {-8,-8}, scale=0.25,
}, },
}, },
@ -33,7 +33,7 @@ if util.me.alchemy() then
icon_size = 256, icon_size = 256,
}, },
{ {
icon = "__bzlead__/graphics/icons/lead-plate.png", icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 4, shift = {-48,-48}, scale=2, icon_size = 64, icon_mipmaps = 4, shift = {-48,-48}, scale=2,
}, },
}, },

View file

@ -136,7 +136,7 @@ if util.me.silver() then
-- replace lead byproducts, set copper byproducts -- replace lead byproducts, set copper byproducts
util.set_main_product("copper-plate", "copper-plate") util.set_main_product("copper-plate", "copper-plate")
if mods.bzlead and util.me.lead_byproduct() then if mods["bzlead2"] and util.me.lead_byproduct() then
util.replace_product("lead-plate", "copper-ore", "silver-ore") util.replace_product("lead-plate", "copper-ore", "silver-ore")
util.replace_product("enriched-lead", "copper-ore", "silver-ore") util.replace_product("enriched-lead", "copper-ore", "silver-ore")

View file

@ -50,7 +50,7 @@ data:extend({
order = "d", order = "d",
}, },
}) })
if mods.bzlead then if mods["bzlead2"] then
data:extend({ data:extend({
{ {
type = "bool-setting", type = "bool-setting",