Logistics Pipes

Logistics Pipes

13M Downloads

[Suggestion] Configurable EU/RF/MJ to LP ratios

xJon opened this issue ยท 2 comments

commented

Would be useful as the hardcoded ratios are not always what a modpack is using :)

commented

I've just looked into this @xJon
I'm not sure how to deal with this tbh, because for EU/MJ a multiplier is used, while for RF a divisor is used, and the values are all int's, I assume so that energy is exact (and not lost due to float inaccuracy - or lack thereof).

Perhaps we could use a decimal representation instead of int's? That would allow us to use any value for the multiplier (So there would be no divisor, instead you'd just use 0.5 instead of the current 2 [for RF -> LP]).
It would also make the code a little cleaner.

commented

@Pirulax Personally I don't mind how it works behind the scenes if the feature is implemented ๐Ÿ™‚