Furnace bug
Posted: Sun Sep 29, 2013 11:03 pm
I found a bug with the furnace.
How to reproduce :
Place a furnace and an inserter to put items in. The furnace has never been used, so the fuel bar is empty.
Put down some coal for the inserter to pick up, they go in the furnace, but the fuel bar is still empty.
Put 1 stone. It's picked up by the inserter and put in the furnace. Nothing happen yet. Normal.
Put another stone, picked up again, the 2 stones disappear because of the recipe, but the furnace doesn't move. Put another stone, and as soon as the inserter puts it in the furnace, it starts.
I believe the code will see that there is nothing to smelt (because the slot is empty, because the 2 stones are in a temp buffer, to get smelted) and so won't start the cooking process.
It works fine if the furnace has already been used and the fuel bar is not empty.
PS : Just tested manually without inserters, same problem, so to make it easier to test : place a furnace, open the GUI, place ONE coal in the furnace, now place ONE iron ore, and see what happen. Place a second one and it works (you get your 2 iron plates)
How to reproduce :
Place a furnace and an inserter to put items in. The furnace has never been used, so the fuel bar is empty.
Put down some coal for the inserter to pick up, they go in the furnace, but the fuel bar is still empty.
Put 1 stone. It's picked up by the inserter and put in the furnace. Nothing happen yet. Normal.
Put another stone, picked up again, the 2 stones disappear because of the recipe, but the furnace doesn't move. Put another stone, and as soon as the inserter puts it in the furnace, it starts.
I believe the code will see that there is nothing to smelt (because the slot is empty, because the 2 stones are in a temp buffer, to get smelted) and so won't start the cooking process.
It works fine if the furnace has already been used and the fuel bar is not empty.
PS : Just tested manually without inserters, same problem, so to make it easier to test : place a furnace, open the GUI, place ONE coal in the furnace, now place ONE iron ore, and see what happen. Place a second one and it works (you get your 2 iron plates)