Page 1 of 1

[boskid][1.1.39] Furnaces over fuel when fuel is also an ingredient

Posted: Sun Sep 12, 2021 1:20 am
by KiwiHawk
See attached save game. Disable editor mode to start. Save has a regular furnace that has the issue and a metal mixing furnace (like a furnace but can have a recipe set) that works as expected. Wood can both be used for fuel as well as being an ingredient for the recipe, turning it into coal. The metal mixing furnace loads 5 wood into the fuel slot then loads wood into the ingredient slot. The regular furnace will load 200 wood into the fuel slot before loading any into the ingredient slot.

Image

Both of these were started at the same time. The metal mixing furnace has started making coal. The regular furnace won't start until it's fuel slot is full.

Mod list:
boblibrary
bobplates
Fuel Issue.zip
(1.43 MiB) Downloaded 158 times

Re: [1.1.39] Furnaces over fuel when fuel is also an ingredient

Posted: Sun Sep 12, 2021 1:23 am
by valneq
Additional information: this happens to the regular furnace even if you prime the furnace with a specific recipe so it shows up on alt-mode and on the map – the inserter will still fill the fuel slot before putting anything into the ingredient slot.

Re: [1.1.39] Furnaces over fuel when fuel is also an ingredient

Posted: Sun Sep 12, 2021 2:10 am
by KiwiHawk
For context: I'm the dev for Sea Block and valneq is part of the Angel's dev team 🙂

Re: [boskid][1.1.39] Furnaces over fuel when fuel is also an ingredient

Posted: Sun Sep 12, 2021 7:37 am
by boskid
Thanks for the report. Issue is now fixed for 1.1.40.

Issue was due to different transfer implementation for furnaces which would always try to insert item with fuel value to the energy source first even when the energy source already had enough fuel. After this fix, furnace will behave the same as the assembling machine: transfer to fuel inventory will have priority when there are less than 5 items in fuel inventory and then it will become a fallback for remaining transfers.

Re: [boskid][1.1.39] Furnaces over fuel when fuel is also an ingredient

Posted: Sun Sep 12, 2021 2:46 pm
by KiwiHawk
Wow, thank you for the quick fix! Amazing!

This issue has been around for years! :shock: :D

https://amp.reddit.com/r/factorio/comme ... king_coke/