Update bz mods version 2
This commit is contained in:
parent
69e917afce
commit
fc38008c3b
4 changed files with 10 additions and 10 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
"rusty-locale >= 1.0.17",
|
"rusty-locale >= 1.0.17",
|
||||||
"? space-exploration >= 0.7.34",
|
"? space-exploration >= 0.7.34",
|
||||||
"(?) Krastorio2 >= 2.0.8",
|
"(?) Krastorio2 >= 2.0.8",
|
||||||
"? bzsilicon >= 2.0.18",
|
"? bzsilicon2 >= 2.0.19",
|
||||||
"? bztungsten2",
|
"? bztungsten2",
|
||||||
"? bzzirconium >= 2.1.13",
|
"? bzzirconium >= 2.1.13",
|
||||||
"! space-age"
|
"! space-age"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ local me = {}
|
||||||
me.name = "bzfoundry2"
|
me.name = "bzfoundry2"
|
||||||
|
|
||||||
function me.basic_founding()
|
function me.basic_founding()
|
||||||
return mods.bztin or mods.bzaluminum2
|
return mods["bztin2"] or mods.bzaluminum2
|
||||||
end
|
end
|
||||||
|
|
||||||
function me.woodcoke()
|
function me.woodcoke()
|
||||||
|
|
|
||||||
|
|
@ -121,8 +121,8 @@ if util.me.founding_plates() then
|
||||||
(mods["bzcarbon2"] and
|
(mods["bzcarbon2"] and
|
||||||
{ icon = "__bzcarbon2__/graphics/icons/graphite-2.png",
|
{ icon = "__bzcarbon2__/graphics/icons/graphite-2.png",
|
||||||
icon_size = 128, scale=0.5, shift={32, -32}})
|
icon_size = 128, scale=0.5, shift={32, -32}})
|
||||||
or (mods.bzsilicon and
|
or (mods["bzsilicon2"] and
|
||||||
{ icon = "__bzsilicon__/graphics/icons/silica.png",
|
{ icon = "__bzsilicon2__/graphics/icons/silica.png",
|
||||||
icon_size = 64, scale=1, icon_mipmaps = 3, shift={32, -32}})
|
icon_size = 64, scale=1, icon_mipmaps = 3, shift={32, -32}})
|
||||||
or (mods.bzzirconium and
|
or (mods.bzzirconium and
|
||||||
{ icon = "__bzzirconium__/graphics/icons/zirconia.png",
|
{ icon = "__bzzirconium__/graphics/icons/zirconia.png",
|
||||||
|
|
@ -157,8 +157,8 @@ if util.me.founding_plates() then
|
||||||
(mods["bzcarbon2"] and
|
(mods["bzcarbon2"] and
|
||||||
{ icon = "__bzcarbon2__/graphics/icons/graphite-2.png",
|
{ icon = "__bzcarbon2__/graphics/icons/graphite-2.png",
|
||||||
icon_size = 128, scale=0.5, shift={32, -32}})
|
icon_size = 128, scale=0.5, shift={32, -32}})
|
||||||
or (mods.bzsilicon and
|
or (mods["bzsilicon2"] and
|
||||||
{ icon = "__bzsilicon__/graphics/icons/silica.png",
|
{ icon = "__bzsilicon2__/graphics/icons/silica.png",
|
||||||
icon_size = 64, scale=1, icon_mipmaps = 3, shift={32, -32}})
|
icon_size = 64, scale=1, icon_mipmaps = 3, shift={32, -32}})
|
||||||
or (mods.bzzirconium and
|
or (mods.bzzirconium and
|
||||||
{ icon = "__bzzirconium__/graphics/icons/zirconia.png",
|
{ icon = "__bzzirconium__/graphics/icons/zirconia.png",
|
||||||
|
|
|
||||||
|
|
@ -54,8 +54,8 @@ function make_recipe(recipe)
|
||||||
(mods["bzcarbon2"] and
|
(mods["bzcarbon2"] and
|
||||||
{ icon = "__bzcarbon2__/graphics/icons/graphite-2.png",
|
{ icon = "__bzcarbon2__/graphics/icons/graphite-2.png",
|
||||||
icon_size = 128, scale=0.125, shift={8, -8}})
|
icon_size = 128, scale=0.125, shift={8, -8}})
|
||||||
or (mods.bzsilicon and
|
or (mods["bzsilicon2"] and
|
||||||
{ icon = "__bzsilicon__/graphics/icons/silica.png",
|
{ icon = "__bzsilicon2__/graphics/icons/silica.png",
|
||||||
icon_size = 64, scale=0.25, icon_mipmaps = 3, shift={8, -8}})
|
icon_size = 64, scale=0.25, icon_mipmaps = 3, shift={8, -8}})
|
||||||
or (mods.bzzirconium and
|
or (mods.bzzirconium and
|
||||||
{ icon = "__bzzirconium__/graphics/icons/zirconia.png",
|
{ icon = "__bzzirconium__/graphics/icons/zirconia.png",
|
||||||
|
|
@ -83,7 +83,7 @@ end
|
||||||
function get_refractories(recipe, name)
|
function get_refractories(recipe, name)
|
||||||
local refractories = {}
|
local refractories = {}
|
||||||
if mods["bzcarbon2"] then table.insert(refractories, "graphite") end
|
if mods["bzcarbon2"] then table.insert(refractories, "graphite") end
|
||||||
if mods.bzsilicon then table.insert(refractories, "silica") end
|
if mods["bzsilicon2"] then table.insert(refractories, "silica") end
|
||||||
if #refractories < 2 and mods.bzzirconium and name ~= "zirconium-plate-refractory" then table.insert(refractories, "zirconia") end
|
if #refractories < 2 and mods.bzzirconium and name ~= "zirconium-plate-refractory" then table.insert(refractories, "zirconia") end
|
||||||
if #refractories < 2 and mods.bzaluminum2 and name ~= "aluminum-plate-refractory" then table.insert(refractories, "alumina") end
|
if #refractories < 2 and mods.bzaluminum2 and name ~= "aluminum-plate-refractory" then table.insert(refractories, "alumina") end
|
||||||
if #refractories < 2 then table.insert(refractories, "stone-brick") end
|
if #refractories < 2 then table.insert(refractories, "stone-brick") end
|
||||||
|
|
@ -147,7 +147,7 @@ if util.me.founding_plates() then
|
||||||
if (name == "steel-plate" or
|
if (name == "steel-plate" or
|
||||||
name == "imersium-plate" or
|
name == "imersium-plate" or
|
||||||
name == "tungsten-carbide" or -- exclude base recipe but not casting recipe
|
name == "tungsten-carbide" or -- exclude base recipe but not casting recipe
|
||||||
(name == "glass" and mods.bztin) or -- exclude glass when tin is in use, thematically
|
(name == "glass" and mods["bztin2"]) or -- exclude glass when tin is in use, thematically
|
||||||
name == "se-naquium-ingot") then goto continue end
|
name == "se-naquium-ingot") then goto continue end
|
||||||
local new_recipe = make_recipe(recipe )
|
local new_recipe = make_recipe(recipe )
|
||||||
if new_recipe then
|
if new_recipe then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue