Page 1 of 1

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

Posted: Sat Jul 18, 2026 3:24 am
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 195 times
EEIEbug.jpg
EEIEbug.jpg (55.65 KiB) Viewed 195 times

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

Posted: Sat Jul 18, 2026 5:01 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.