Page 1 of 1
[1.1.36] Furnace with result_inventory_size > 1 doesn't fill
Posted: Sun Aug 01, 2021 11:10 am
by hreintke
When a furnace with result_inventory_size > 1 it still stops working when the first inverory slot is full.
Can be shown by updating the vanilla elect furnace by :
Code: Select all
data.raw["furnace"]["electric-furnace"].result_inventory_size = 10
Result in game is :
- Furnace.PNG (198.64 KiB) Viewed 1305 times
Re: [1.1.36] Furnace with result_inventory_size > 1 doesn't fill
Posted: Sun Aug 01, 2021 6:04 pm
by Silari
Pretty sure this isn't a bug, as just like crafting machines, each output only gets one slot, even if two outputs are the same item.
Code: Select all
data.raw.recipe["accumulator"].result = nil
data.raw.recipe["accumulator"].results = {{name="accumulator",amount=10},{name="accumulator",amount=1}}
data.raw.recipe["accumulator"].main_product = "accumulator"
This will make a crafting machine make accumulators until the first slot is full, then it'll stop, despite the second output slot of accumulators only having 5 in it. Plenty of room for 11 more.
Having multiple slots in a furnace is only useful for recipes which have multiple outputs. Big difference being crafting machines automatically set their output slots based on the recipe, so there are never extra slots, while furnaces have it as part of their prototype and always have the same amount.
For Homeworld Redux, I modified the sawmill recipe so that instead of giving 5 wood, it has 5 results of 1 wood each. That lets it fill all 5 output slots up, instead of halting when it fills one.
Re: [1.1.36] Furnace with result_inventory_size > 1 doesn't fill
Posted: Mon Aug 09, 2021 1:01 pm
by Klonan
Yes, this is working as intended, the furnace output stacks are determined by the recipe products