Change fuel inventories to what cargo wagons use

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Change fuel inventories to what cargo wagons use

Post by mrvn »

TL;DR
Change the fuel inventory in vehicles, furnaces, boilers, assemblers and inserters to use the same interface and features as cargo wagons.
What/Why ?
Cargo wagons have features that would be useful for managing fuel in other entities:

1) The inventory size can be limited so inserter only fill a limited number of slots.

This would be useful with locomotives when using e.g. nuclear fuel. Except for extreme cases a single slot for nuclear fuel is plenty and saves stuffing each locomotive with fuel that is never used. Users can still dump excess fuel into the blocked slots manually though (and it will be used up first). Other fuel sources might be ok with less slots than the maximum too.

2) Slots can be reserved to accept only specific items.

Some mods have recipes that take a burnable item as input while also requiring fuel to function. One can fill the fuel slot with the desired fuel type and the fuel type will get used. But if fuel ever runs low the furnace/assembler suddenly switches to burn the ingreedient as fuel and will never recover without manual intervention.

By setting the fuel slot(s) to a specific fuel item this could be avoided.

For vehicles this would also allow to specify a mix of fuel types. For example the last (first if the locomotive keeps using the first slot first) slot could be reserved for wood to burn up any excess wood you dump at the refueling stop first before reverting to the locomotives normal fuel type.

3) The last slot is used up first.

Currently fuel inventories seem to use up the first slot first and when empty all slots shift one to the front. This means loading a better fuel type into a locomotive will take a long while before it takes effect, all the old fuel has to be used up first. In case of nuclear fuel this makes using a mixture of fuels to reduce the number of nuclear fuel per locomotive impossible. Because of the stack size of 1 for nuclear fuel the dummy fuel used to block the other slots keeps shifting to the front.

When nuclear fuel is rare one also can't easily fill the locomotive with a backup fuel like coal. Again due to the stack size of 1 a slot either has nuclear fuel in it and won't take a second or is empty and will accept coal. One has to resort to multiple fuel stops, the first loading nuclear fuel and the second loading coal to have a backup fuel source. Or one has to resort to circuit logic AND overriding the stack size to insert one fuel at a time. Something that makes loading a stack of wood rather slow.

Using the first fuel slot and shifting slots when the first is empty seems inconsistent with other inventories. It would be kind of irrelevant if we had 1 + 2. But since we don't this makes it impossible to get close to the features of 1+2.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Change fuel inventories to what cargo wagons use

Post by ssilk »

See also this discussion
viewtopic.php?f=6&t=57518 Allow Inserters to take fuel from trains again

I see this as counter suggestion. :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Change fuel inventories to what cargo wagons use

Post by mrvn »

Not really.

You can have inserters remove from fuel inventories with or without this. While there might be some overlap for changing the trains fuel type the two suggestions are largely independent.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Change fuel inventories to what cargo wagons use

Post by ssilk »

Right. Both could be implemented independently.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
foamy
Filter Inserter
Filter Inserter
Posts: 432
Joined: Mon Aug 26, 2019 4:14 am
Contact:

Re: Change fuel inventories to what cargo wagons use

Post by foamy »

Honestly, I wouldn't mind this being possible for every inventory in the game, possibly up to and including the player's. I'd love to be able to filter chests like this as well. Or cars, or tanks, or Spidertrons (although spideys at least can use lognets to similar-ish effect).
Post Reply

Return to “Ideas and Suggestions”