fix bob issue
This commit is contained in:
parent
3890e5af14
commit
62957d5c2d
4 changed files with 9 additions and 4 deletions
|
|
@ -1,4 +1,9 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.1.10
|
||||
Date: 2025-05-03
|
||||
Changes:
|
||||
- Fix load issue with bob's
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.1.9
|
||||
Date: 2025-04-20
|
||||
Changes:
|
||||
|
|
|
|||
|
|
@ -1330,7 +1330,7 @@ end
|
|||
-- Replace one product with another in a recipe
|
||||
function util.replace_product(recipe_name, old, new, options)
|
||||
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)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bzzirconium",
|
||||
"version": "2.1.9",
|
||||
"version": "2.1.10",
|
||||
"factorio_version": "2.0",
|
||||
"title": "Zirconium",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ data:extend({
|
|||
-- cermet only if setting enabled
|
||||
if util.me.use_cermet() then
|
||||
local cermet_i = {util.item("zirconia", 2), util.item("copper-plate", 1)}
|
||||
if mods.bztitanium then
|
||||
if mods.bztitanium and data.raw.item["titanium-plate"] then
|
||||
local tme = require("__bztitanium__.me");
|
||||
table.insert(cermet_i, util.item(tme.titanium_plate, 1))
|
||||
end
|
||||
|
|
@ -449,7 +449,7 @@ end
|
|||
end
|
||||
|
||||
-- Zircaloy-4 only if needed
|
||||
if mods.bztin then
|
||||
if mods.bztin and data.raw.item["tin-plate"] then
|
||||
require("basic-foundry")
|
||||
local zircaloyi = {
|
||||
util.item("zirconium-sponge", 17),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue