[Klonan] [1.1.70] Locomotive GUI: fuel emissions modifier with burnt result slots

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

[Klonan] [1.1.70] Locomotive GUI: fuel emissions modifier with burnt result slots

Post by Deadlock989 »

On all burner entity GUIs, if the fuel has an emissions multiplier, this is displayed in text below the progress bar, like so:

Untitled.jpg
Untitled.jpg (45.37 KiB) Viewed 2166 times

If the burner energy source has a burnt results inventory set up, these appear to the right of the progress bar (minor issue: with different horizontal spacing to the fuel slots):

Untitled2.jpg
Untitled2.jpg (134.49 KiB) Viewed 2166 times

The problem is that with locomotive GUIs there is not enough space to have both the required number of burnt result fuel slots and also an emissions multiplier, because the emissions multiplier text distorts the entire GUI, stretching out the inventory pane below:

Untitled3.jpg
Untitled3.jpg (144.9 KiB) Viewed 2166 times



If vehicle fuels have a burnt result then the vehicle needs to have enough slots to cope with all the burnt results, or trains will grind to a halt before they are able to consume all of their fuel, because there is nowhere for the burnt results to go.

Currently modders have to choose one of the following workarounds:

1. Don't ever use both burnt results and emissions modifiers in locomotive fuels, possibly greatly restricting the fuels that locomotives can use.
2. Restrict locomotives to a smaller number of slots in total (the GUI can cope with up to 2 fuel and 2 burnt slots), putting a new limit on maximum train distances before refuelling.
3. Mess about with stack sizes, restricting yourself to a situation where burnt results always have 3x the stack size of the fuel.
4. Live with the broken GUI.

Suggested solution: remove the pollution modifier text shown below the progress bar. It doesn't need to be there: the modifier is already shown on the entity tooltip. In the case of vehicles, no vanilla vehicle or locomotive's energy source has non-zero emissions in the first place, so the emissions modifier doesn't have any effect on them anyway - it especially doesn't need to be displayed when it isn't having any effect.
Image

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Klonan] [1.1.70] Locomotive GUI: fuel emissions modifier with burnt result slots

Post by Klonan »

Deadlock989 wrote:
Sun Oct 30, 2022 8:58 am
Suggested solution: remove the pollution modifier text shown below the progress bar. It doesn't need to be there: the modifier is already shown on the entity tooltip.
Agreed, it is weird, there is far more useful information that is relegated to the tooltips, while this random pollution modifier is there.

I have removed it in 1.1, and for 1.2 I will make it show more consistently in the burner tooltips.

Post Reply

Return to “Resolved Problems and Bugs”