set correct number of outputs for recyclers
This commit is contained in:
parent
5a708c0910
commit
9f1be54c70
3 changed files with 20 additions and 4 deletions
|
|
@ -1,6 +1,11 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.1
|
||||
Date: 2024-12-24
|
||||
Fixes:
|
||||
- Fix number of slots in recycling machines to accomdodate extra titanium plate output
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.0
|
||||
Date: 2024-12-06
|
||||
Date: 2024-12-24
|
||||
Features:
|
||||
- Works with Factorio 2.0 vanilla and Space Age.
|
||||
Can be added to existing games, but currently uses a workaround to generate ore patches on new chunks when added to an existing game due to an issue (https://forums.factorio.com/124996)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztitanium",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"factorio_version": "2.0",
|
||||
"title": "Titanium",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
|
|
@ -1,2 +1,13 @@
|
|||
local util = require("__bztitanium__.data-util");
|
||||
local util = require("__bztitanium__.data-util")
|
||||
|
||||
|
||||
-- Set correct number of outputs for recyclers
|
||||
for i, entity in pairs(data.raw.furnace) do
|
||||
if util.contains(entity.crafting_categories, "recycling-or-hand-crafting") then
|
||||
if entity.result_inventory_size < #data.raw.recipe["scrap-recycling"].results then
|
||||
entity.result_inventory_size = #data.raw.recipe["scrap-recycling"].results
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue