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

This subforum contains all the issues which we already resolved.
User avatar
KiwiHawk
Filter Inserter
Filter Inserter
Posts: 272
Joined: Thu Jul 05, 2018 9:48 am
Contact:

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

Post 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 157 times
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee
User avatar
valneq
Smart Inserter
Smart Inserter
Posts: 1261
Joined: Fri Jul 12, 2019 7:43 am
Contact:

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

Post 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.
User avatar
KiwiHawk
Filter Inserter
Filter Inserter
Posts: 272
Joined: Thu Jul 05, 2018 9:48 am
Contact:

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

Post by KiwiHawk »

For context: I'm the dev for Sea Block and valneq is part of the Angel's dev team 🙂
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3002
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

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

Post 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.
User avatar
KiwiHawk
Filter Inserter
Filter Inserter
Posts: 272
Joined: Thu Jul 05, 2018 9:48 am
Contact:

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

Post 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/
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee
Post Reply

Return to “Resolved Problems and Bugs”