Use machines' infotext to display energy production/consumption
Abdou31: What i would like to see is being able to know how much power a particular generator gives, like hovering an hv fuelfire generator doesn't tell you how much power it gives
Something like these would suffice:
HV Generator
+ 1000 EU/s
HV Machine
- 2000 EU/s
Variable HV Generator
+ 500 EU/s (50%)
Hi, I see this one very late. Do you want it while hovering the block or hovering in the inventory ? Both should be easy to do, imho, I already saw that kind of things.
Hi, I see this one very late. Do you want it while hovering the block or hovering in the inventory ? Both should be easy to do, imho, I already saw that kind of things.
Ideally just copy paste from machine consumption to generator production (switching station, power meter) so that it'll be same format. That is infotext. You cannot do it in inventory for offline machine (like crafting guide) other than for min or max, I'd say better not go there as it'll probably be just confusing for new technic users when actual production is something different and possibly neither of displayed values.
See related issue (also about displaying network production but for max network short circuit current):
- #177
Also for updating it would be best for performance if taking a look at battery box updates (which only happen in active areas near players). That seemed to give significant performance boost and for many generators will completely stop mapblock updates.