Ic2ExpReactorPlanner
Ic2ExpReactorPlanner copied to clipboard
[Question] Working on my own Python 3.6 variant for iOS in Pythonista 3, need assistance with development.
Background: I noticed there isn’t an iOS version of an IC2 Reactor Planner, so I took it upon myself to make one in Pythonista 3, which uses Python 3.6 as it’s primary programming language. I’ve gotten stuck with the simulation end of things for the EU reactor type, my current focus, and cannot decompile IC2 due to personal constraints I won’t bring up.
Question: Is it possible to retrieve the sequence of events (Fuel rods or Coolant first) for the EU reactor simulation in the source files of the Java application? If yes, may I take a look at it please?
Notes:
- I can’t make a GitHub page for it, the code isn’t easily transferrable.
- Since I’m writing my app in Python 3.6, the code will have to be different to match syntax and other things caused by differences between Java and Python 3.6, making plagiarism unlikely.
- I understand if you don’t want to help me. People have their views on this and some may be more accepting than others.
Thanks, thebloxxer11
Is it possible to retrieve the sequence of events (Fuel rods or Coolant first) for the EU reactor simulation in the source files of the Java application? If yes, may I take a look at it please?
Sure, I think this section of the code will help answer your question (not sure whether this will end up as a link or as embedded code): https://github.com/MauveCloud/Ic2ExpReactorPlanner/blob/master/src/Ic2ExpReactorPlanner/AutomationSimulator.java#L193-L221
I'm not sure what you mean by "Fuel rods or coolant first", though - that isn't how the passes are separated.
There are two functions in there that I’m curious about: component.dissipate(); and component.transfer();. What do each of them do? I don’t see any void functions for that in that file. And it ended up as a link.
Those are defined here: https://github.com/MauveCloud/Ic2ExpReactorPlanner/blob/master/src/Ic2ExpReactorPlanner/components/ReactorItem.java#L203-L216 with more specific implementations in subclasses in the same package.