Production Statistics Monitor HUD

by Peppe

Pin Items/Fluids to HUD to view production statistics, ratios, differentials. Quick open/close, customize order, location, precision.

a month ago
0.15 - 2.0
7.53K

i Power?

1 year, 11 months ago

I really like your mod! It helps to analyze and plan. One thing I wanted to see is power. Is it possible to add power to the HUD currently? I was unsuccessful when I attempted to add 'electricity' to the list in mod settings. If not currently possible, is it a possibility to add to the mod?

1 year, 11 months ago
(updated 1 year, 11 months ago)

The current source of data is from player.force, specifically:
force.item_production_statistics
force.fluid_production_statistics

https://lua-api.factorio.com/latest/LuaForce.html

Anything off force would be pretty easy to add, but I don't see anything related to power at the force level.

Looks like electricity stats only live on power poles:
https://lua-api.factorio.com/latest/LuaEntity.html#LuaEntity.electric_network_statistics

A mod could probably have the player select a placed power pole and track the network that pole is connected to, but probably not something this mod will attempt.

1 year, 11 months ago

Completely understand. Thanks for the reply!

New response