Power+: Power Meter

by daydev

Adds a power meter combinator that directly outputs the percentage of power utilization in the electrical network over the four generation priorities.

Content
3 years ago
0.17 - 1.1
2.80K
Circuit network

b [Fixed] crash on new game entry

4 years ago

The mod Power+: Power Utilization Meter caused a non-recoverable error.
Please report this error to the mod author.

Error while running event PowerPlusPowerMeter::on_tick (ID 0)
PowerPlusPowerMeter/control.lua:83: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
PowerPlusPowerMeter/control.lua:83: in function <PowerPlusPowerMeter/control.lua:82>

4 years ago

Fixed that one, but actually found another not immediately breaking bug, turns out solar panels don't actually count as primary production, their on their own at even higher "solar" priority. That'll take a bit longer to fix, but I'll have it soon.

4 years ago

Handled solar power, for now only in a binary way because the game doesn't keep track of individual solar generators, so my hack was foiled.

4 years ago
(updated 4 years ago)

thankfully, that is the one generation type I do not care about, so winner. soon to test further in practice...

New response