[2.1.11] EEIE power usage is wrong in the tooltips with power_usage + energy_source.drain

Bugs which we just recently fixed in our development version and will reach you in the next release.
Honktown
Smart Inserter
Smart Inserter
Posts: 1078
Joined: Thu Oct 03, 2019 7:10 am
Contact:

[2.1.11] EEIE power usage is wrong in the tooltips with power_usage + energy_source.drain

Post by Honktown »

Minor issue, power_usage and drain don't combine properly in the tooltip.

What I'd expect:
Item: Just the drain, or the drain + default power_usage.
Equipment: the current combined values for the equipment, one line, maybe (power_usageW + drainW) in parentheses if one were to show both without having two separately labeled lines.

Code: Select all

	local eeie = data.raw["electric-energy-interface-equipment"]["electric-energy-interface-equipment"]
	eeie.energy_source.drain = "10kW"
	eeie.energy_usage = "15kW"
	
EEIEitemtooltip.jpg
EEIEitemtooltip.jpg (43.38 KiB) Viewed 164 times
EEIEbug.jpg
EEIEbug.jpg (55.65 KiB) Viewed 164 times
I have mods! I guess!
Link
Rseding91
Factorio Staff
Factorio Staff
Posts: 17216
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.11] EEIE power usage is wrong in the tooltips with power_usage + energy_source.drain

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved for the next release”