Hey everybody o/
I was playing RoC in my custom modpack earlier today and I was punching numbers into my calculator to find just how slow my 2-gasoline engine extractor was actually going. I got bored of the TI-83 stone age edition, so I decided to make a quick Python calculator for a couple of RoC machines, and came up with this. I got the formulas from here and I pray to @Reika that they are right...
http://www.mediafire.com/view/8igene46sc4ge82/RoC_calc.py
It is in Python, as that is the only language I feel even a little comfortable coding in. I'm pretty sure this means you will have to have Python on your computer in order to run the program. If somebody could translate it into Java (is that even possible?) then I'd be grateful. You can even comment your name in it if you want
Basically the program asks you for what machine you are using, the input torque (in Nm) and the input speed (in rad/s). It then looks to see if it supports your machine, makes sure you have sufficient energy, and finally outputs the time in ticks that it'll take your items to process. The initial input is spelling sensitive, but not case sensitive, so you can do all caps, no caps, or whatever caps you like. Yes, I know it's poorly coded, but I'm pretty new to this so bear with me. Suggestions (features or simplifying) are always accepted.
I plan to add a GUI once I learn how to and of course add support for more machines.
I was playing RoC in my custom modpack earlier today and I was punching numbers into my calculator to find just how slow my 2-gasoline engine extractor was actually going. I got bored of the TI-83 stone age edition, so I decided to make a quick Python calculator for a couple of RoC machines, and came up with this. I got the formulas from here and I pray to @Reika that they are right...
http://www.mediafire.com/view/8igene46sc4ge82/RoC_calc.py
It is in Python, as that is the only language I feel even a little comfortable coding in. I'm pretty sure this means you will have to have Python on your computer in order to run the program. If somebody could translate it into Java (is that even possible?) then I'd be grateful. You can even comment your name in it if you want
Basically the program asks you for what machine you are using, the input torque (in Nm) and the input speed (in rad/s). It then looks to see if it supports your machine, makes sure you have sufficient energy, and finally outputs the time in ticks that it'll take your items to process. The initial input is spelling sensitive, but not case sensitive, so you can do all caps, no caps, or whatever caps you like. Yes, I know it's poorly coded, but I'm pretty new to this so bear with me. Suggestions (features or simplifying) are always accepted.
Extractor
Bedrock Breaker
Fractionation Unit
Fermenter
Bedrock Breaker
Fractionation Unit
Fermenter