furnace outputs
This commit is contained in:
parent
a62c97d973
commit
988e3a51f3
3 changed files with 9 additions and 6 deletions
|
|
@ -1,4 +1,9 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.16
|
||||
Date: 2025-01-25
|
||||
Changes:
|
||||
- When byproducts are turned off, don't add extra furnace output
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.15
|
||||
Date: 2025-01-16
|
||||
Fixes:
|
||||
|
|
|
|||
|
|
@ -8,13 +8,11 @@ local util = require("__bzlead__.data-util");
|
|||
|
||||
|
||||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||
-- If furnaces are treated as furnaces, we need 2 outputs
|
||||
for i, entity in pairs(data.raw.furnace) do
|
||||
if entity.result_inventory_size ~= nil and entity.result_inventory_size < 2 and util.contains(entity.crafting_categories, "smelting") then
|
||||
entity.result_inventory_size = 2
|
||||
if util.me.byproduct() then
|
||||
-- If furnaces are treated as furnaces, we need 2 outputs
|
||||
util.set_minimum_furnace_outputs("smelting", 2)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if mods["Krastorio2"] then
|
||||
util.replace_ingredient("rifle-magazine", "iron-plate", "lead-plate")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bzlead",
|
||||
"version": "2.0.15",
|
||||
"version": "2.0.16",
|
||||
"factorio_version": "2.0",
|
||||
"title": "Lead",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue