[REQUEST] ControlRod API
thaelina opened this issue ยท 3 comments
I was wondering if you could expand the LUA API to allow any of the following:
set control rod names
get a table of all the control rods
I would appreciate the first a lot as it would allow me to set control rod names for the rod control system I have through the script. The table would just be a convenience to minimize function calls on loading the control scripts.
On a side note control rod indexes starting at 0 got me for a while since lua starts on a index of 1 for tables. I understand why though.
I think setting control rod names is already possible or at least to read the names to be able to control specific rods.
Yah I have access to names via getControlRodName and control of them via get/setControlRodLevel. I can iterate over the rods using getNumberOfControlRods.