fix bob issue
This commit is contained in:
parent
3b20151b42
commit
a15f4fe5b6
6 changed files with 12 additions and 9 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.0.14
|
||||||
|
Date: 2025-05-03
|
||||||
|
Fixes:
|
||||||
|
- Fix possible load issues with Bob's
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.0.13
|
Version: 2.0.13
|
||||||
Date: 2025-04-08
|
Date: 2025-04-08
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -1330,7 +1330,7 @@ end
|
||||||
-- Replace one product with another in a recipe
|
-- Replace one product with another in a recipe
|
||||||
function util.replace_product(recipe_name, old, new, options)
|
function util.replace_product(recipe_name, old, new, options)
|
||||||
if not should_force(options) and bypass(recipe_name) then return end
|
if not should_force(options) and bypass(recipe_name) then return end
|
||||||
if data.raw.recipe[recipe_name] then
|
if data.raw.recipe[recipe_name] and (data.raw.item[new] or data.raw.fluid[new]) then
|
||||||
replace_product(data.raw.recipe[recipe_name], old, new, options)
|
replace_product(data.raw.recipe[recipe_name], old, new, options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzsilicon",
|
"name": "bzsilicon",
|
||||||
"version": "2.0.13",
|
"version": "2.0.14",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "Silica & Silicon",
|
"title": "Silica & Silicon",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
"? 248k",
|
"? 248k",
|
||||||
"? aai-industry",
|
"? aai-industry",
|
||||||
"? modmashsplinterelectronics",
|
"? modmashsplinterelectronics",
|
||||||
|
"? bztitanium",
|
||||||
"(?) IndustrialRevolution",
|
"(?) IndustrialRevolution",
|
||||||
"base"
|
"base"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ end
|
||||||
if mods.bztungsten and not mods["space-age"] then
|
if mods.bztungsten and not mods["space-age"] then
|
||||||
table.insert(gyro_ingredients, util.item("tungsten-plate", 1))
|
table.insert(gyro_ingredients, util.item("tungsten-plate", 1))
|
||||||
table.insert(gyro_prereqs, "tungsten-processing")
|
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_ingredients, util.item("titanium-plate", 1))
|
||||||
table.insert(gyro_prereqs, "titanium-processing")
|
table.insert(gyro_prereqs, "titanium-processing")
|
||||||
elseif mods.Krastorio2 then
|
elseif mods.Krastorio2 then
|
||||||
|
|
|
||||||
|
|
@ -176,14 +176,10 @@ data:extend({
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 2,
|
energy_required = 2,
|
||||||
allow_productivity = true,
|
allow_productivity = true,
|
||||||
ingredients = (mods["bzlead"] and not mods["angelssmelting"] and {
|
ingredients = {
|
||||||
{type= "item", name="silicon-wafer", amount=1},
|
{type= "item", name="silicon-wafer", amount=1},
|
||||||
{type= "item", name="electronic-circuit", 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)}
|
results = {util.item("solar-cell", 2)}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ if data.raw.item["silicone"] then
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
util.add_ingredient("solar-cell", "lead-plate", 1)
|
||||||
|
|
||||||
if not mods["Krastorio2"] then
|
if not mods["Krastorio2"] then
|
||||||
util.remove_ingredient("concrete", "stone-brick");
|
util.remove_ingredient("concrete", "stone-brick");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue