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
|
Version: 2.0.15
|
||||||
Date: 2025-01-16
|
Date: 2025-01-16
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,10 @@ local util = require("__bzlead__.data-util");
|
||||||
|
|
||||||
|
|
||||||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||||
-- If furnaces are treated as furnaces, we need 2 outputs
|
if util.me.byproduct() then
|
||||||
for i, entity in pairs(data.raw.furnace) do
|
-- If furnaces are treated as furnaces, we need 2 outputs
|
||||||
if entity.result_inventory_size ~= nil and entity.result_inventory_size < 2 and util.contains(entity.crafting_categories, "smelting") then
|
util.set_minimum_furnace_outputs("smelting", 2)
|
||||||
entity.result_inventory_size = 2
|
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods["Krastorio2"] then
|
if mods["Krastorio2"] then
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzlead",
|
"name": "bzlead",
|
||||||
"version": "2.0.15",
|
"version": "2.0.16",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "Lead",
|
"title": "Lead",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue