Electric power pole bug?

Bugs that are actually features.
Post Reply
User avatar
Ghoulish
Filter Inserter
Filter Inserter
Posts: 462
Joined: Fri Oct 16, 2015 8:40 am

Electric power pole bug?

Post by Ghoulish »

When you drop a power pole (any type, even sub stations) The tool tip shows electric demand satisfaction as green, even when the poles aren't connected to the main grid.

Image
See the daily™ struggles with my Factory! :D https://www.twitch.tv/repetitivebeats

Rseding91
Factorio Staff
Factorio Staff
Posts: 13204
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Electric power pole bug?

Post by Rseding91 »

Is that a bug though? A demand of 0 with a production of 0 is 100% satisfied.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Ghoulish
Filter Inserter
Filter Inserter
Posts: 462
Joined: Fri Oct 16, 2015 8:40 am

Re: Electric power pole bug?

Post by Ghoulish »

Makes perfect sense.

Wouldn't it be better though for the tool tip to say 'Disconnected from power source' or similar?
See the daily™ struggles with my Factory! :D https://www.twitch.tv/repetitivebeats

sillyfly
Smart Inserter
Smart Inserter
Posts: 1099
Joined: Sun May 04, 2014 11:29 am
Contact:

Re: Electric power pole bug?

Post by sillyfly »

Actually, 0/0 is not defined, so there is a case to be made that 100% satisfaction is incorrect.
Can the bar show NaN? :D

Edit: Assuming

Code: Select all

satisfaction = min(1, production / demand)

sparr
Smart Inserter
Smart Inserter
Posts: 1327
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: Electric power pole bug?

Post by sparr »

I, too, would prefer if 0/0 showed as something other than 100%.

Post Reply

Return to “Not a bug”