technic icon indicating copy to clipboard operation
technic copied to clipboard

Use machines' infotext to display energy production/consumption

Open OgelGames opened this issue 4 years ago • 4 comments

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%)

OgelGames avatar Feb 09 '21 16:02 OgelGames

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.

Athozus avatar Jul 17 '23 16:07 Athozus

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.

S-S-X avatar Jul 17 '23 22:07 S-S-X

See related issue (also about displaying network production but for max network short circuit current):

  • #177

S-S-X avatar Jul 17 '23 22:07 S-S-X

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.

S-S-X avatar Jul 17 '23 22:07 S-S-X