[0.13.4][Twinsen] Strange inserter behavior on burner-assembler
Posted: Mon Jul 04, 2016 11:43 am
In 12.35, inserters will always fuel burner-assembler (assembler where energy_source = burner) when at least one fuel is spent, which is how they fueled boilers or furnaces. Currently, inserters can forget that an entity near them need fuel if the output is not empty, in the case of items, or lower than half-full with fluid, in the case of fluidbox.
Here, I made a toy mod and savegame to show this strange behavior. The savegame has several setups to show the errant behavior that did not exist in 12.35. The middle upper assembler will eventually run out of fuel and never get refueled. The left-upper assembler will run out of fuel and only gets refueled when the output is at 0 or 1 item. The two lower setups are examples of tricks to bypass or at least make the errant behavior more obvious. The left bottom assembler is attached to a steam-generator that eat 10 fluid/tick. At this rate the output fluidbox will never fill more than half of its defined base so the assembler is constantly crafting, which seems to remind the insert to give it fuel. The right bottom assembler has an item+fluid for input. Since the item is always used up on each craft, this seems to refresh the memory of nearby inserters such that the inserter responsible for putting in fuel will always put in fuel.
The mod is 12.35 compatible, just change the info.json to reflect base game version. The savegame is 13.4 only, but the setup can easily be blueprinted and built in 12.35 for testing.
Toy-mod + savegame
Edit: I've attached a 12.35 savegame with "expected" behavior.
Here, I made a toy mod and savegame to show this strange behavior. The savegame has several setups to show the errant behavior that did not exist in 12.35. The middle upper assembler will eventually run out of fuel and never get refueled. The left-upper assembler will run out of fuel and only gets refueled when the output is at 0 or 1 item. The two lower setups are examples of tricks to bypass or at least make the errant behavior more obvious. The left bottom assembler is attached to a steam-generator that eat 10 fluid/tick. At this rate the output fluidbox will never fill more than half of its defined base so the assembler is constantly crafting, which seems to remind the insert to give it fuel. The right bottom assembler has an item+fluid for input. Since the item is always used up on each craft, this seems to refresh the memory of nearby inserters such that the inserter responsible for putting in fuel will always put in fuel.
The mod is 12.35 compatible, just change the info.json to reflect base game version. The savegame is 13.4 only, but the setup can easily be blueprinted and built in 12.35 for testing.
Toy-mod + savegame
Edit: I've attached a 12.35 savegame with "expected" behavior.