McJtyMods / XNet

Advanced item/liquid/energy/... networking
MIT License
96 stars 53 forks source link

[Suggestion] Percentage Logic #136

Open homemmakako opened 7 years ago

homemmakako commented 7 years ago

Is it possible to make it so you can use "%" in the logic channel? When using energy storage devices, such as the energy cell from thermal expansion, numbers can get quite big (up to 150000000) and it is far from being the highest energy storage systems in modded minecraft. It would be great to just tipe "80%" instead of 120000000, mostly because by doing so I can actually see what I typed instead of seeing a bunch of zeros.

Either way, thank you in advance for you time and attention.

tyler489 commented 7 years ago

the main problem i see with this is items that store or can output infinate RF/t like overloaded's infinity capacitor. whats 50% of infinity.

BrianEdmonds commented 7 years ago

whats 50% of infinity.

Well, if it's stored in an Integer, then it's somewhere around one billion. Computers don't do infinity very well either. :)

Haiya-Dragon commented 5 years ago

It's been two years. Is this still under consideration? This is a real problem sensing giant capacitors like the mekanism multiblock ones as the maximum number you can input is just shy of 1GRF.

McJty commented 5 years ago

It is burried in my huge todo :-) I'll probably get to it eventually. Not sure when though