Page 1 of 1

[0.16.51] Inserters do not remove burnt fuel from burner assembling machines

Posted: Thu Jan 10, 2019 11:16 pm
by jeff.s
EDIT: See replies below, this is a dupe of viewtopic.php?f=48&t=45155. Not sure how I missed that but thanks for pointing it out.

-----

I'm making a mod that makes an assembling machine of sorts, which is a burner machine that runs on uranium fuel cells. You could boil it down to a very simple mod to reproduce this bug:

Code: Select all

-- data-updates.lua
data.raw["assembling-machine"]["assembling-machine-3"].energy_source =
{
  type = "burner",
  fuel_category = "nuclear",
  fuel_inventory_size = 1,
  burnt_inventory_size = 1,
};
Expected behavior: Inserters pulling from the burner assembling machine will remove used up uranium fuel cells from the burnt fuel slot, as well as finished products from the output product slots. (The same way inserters can take used up uranium fuel cells out of a nuclear reactor, or take gears out of a gear assembling machine).

Actual behavior: Inserters do not remove burnt fuel from burner powered assembling machines.

Inserters will correctly add new fuel, it's just a bug in not also removing the burnt fuel. I'm sure "burnt fuel" was a special case when nuclear got added and there's something where inserters will remove it from nuclear reactors but not other machines.

edit: here's a screenshot showing what I've done, and I've also attached a minimal mod implementing the above, plus a savegame with my setup to try it out:
screenshot.png
screenshot.png (387.88 KiB) Viewed 169 times
^ This is a filter inserter, but no inserters will grab that spent fuel.

Re: [0.16.51] Inserters do not remove burnt fuel from burner assembling machines

Posted: Thu Jan 10, 2019 11:27 pm
by CJ5Boss
Not sure if this will work, but did you try using a filter inserter set to only pick up used uranium fuel cells? This may work.

Re: [0.16.51] Inserters do not remove burnt fuel from burner assembling machines

Posted: Fri Jan 11, 2019 2:17 am
by jeff.s
Thanks, but that doesn't work either (added image + mod + save to my post above). I think that "spent fuel" spot is special for reactors and may not be something inserters know they can pull from for assembling machines.

Re: [0.16.51] Inserters do not remove burnt fuel from burner assembling machines

Posted: Fri Jan 11, 2019 2:38 am
by Zavian
That sounds like viewtopic.php?f=47&t=55738&p=328239&hil ... el#p328239 , which is working as intended (assuming I understand the linked topic correctly).

Re: [0.16.51] Inserters do not remove burnt fuel from burner assembling machines

Posted: Fri Jan 11, 2019 11:25 am
by darkfrei

Re: [0.16.51] Inserters do not remove burnt fuel from burner assembling machines

Posted: Fri Jan 11, 2019 3:48 pm
by jeff.s
Thanks Zavian and Darkfrei, it looks like this won't be addressed any time soon. I'll try out that modded inserter for pulling burnt fuel and see if it's something I want add as a dependency for my mod, or just give up on burner fuel for my machines.