Draconic Evolution

Draconic Evolution

77M Downloads

Computercraft API Documentation

BlackTigers opened this issue ยท 2 comments

commented

Hey brandon3055,

I personally love your work on Draconic Evolution since it's a really great mod, but I would really, really appreciate that there was a Computercraft API Documentation for the Reactor, the Energy core and the Fluxducts as well as a possibility to connect the reactor via networking (I know it's a lot work to do so but it would be really nice). What about the Documentation of the API? It's not that difficult to do such a Documentation but it would safe many people a lot of work since (after 2 hours testing) I still didn't figure out how setOverrideEnabled (I have no clue what this guy does) and setFlowOverride (same) do.

Thank you a lot for this mod,
BlackTigersHD

commented

I see your point. I will try to add some documentation to the tablet before the next release but in the mean time

setOverrideEnabled (true) allows a computer override the value that is set in the gui. Once thats set you can use setFlowOverride(number) to actually set the flow rate. When controlled like this the gate wont respond to a redstone signal.

Edit: Let me know if this is all understandable.

-Flow Gate methods
"ComputerCraft/Open Commuters methods:",
"getFlow() - Returns the current flow",
"setSignalHighFlow(integer)",
"getSignalHighFlow()",
"setSignalLowFlow(integer)",
"getSignalLowFlow()",
"setOverrideEnabled(boolean) - Setting this to true allows you to directly control the flow rate without any influence from redstone input",
"getOverrideEnabled()",
"setFlowOverride(integer) - If setOverrideEnabled is set to true this method allows you to set the flow rate. This rate can not be modified from within the gate's gui or by a redstone signal."

-Reactor Methods
"Methods:",
"getReactorInfo() - Returns and array containing [temperature, fieldStrength, maxFieldStrength, energySaturation, maxEnergySaturation, fuelConversion, maxFuelConversion, generationRate, fieldDrainRate, fuelConversionRate, status]",

"chargeReactor() - Dose exactly what the charge reactor button in the gui dose.",
"activateReactor() - Dose exactly what the activate reactor button in the gui dose.",
"stopReactor() - Dose exactly what the stop reactor button in the gui dose."

commented

Hey Brandon,

thank you so much for this little documentation, it really helped me and it's very easy to understand when you know the ComputerCraft / OpenComputers System :D.

Greetings,
BlackTigersHD