Add state of production blocks/power information to API
I'm writing a simple script for managing an ice drilling platform but I've had to use some weird hacks to get around odd limitations in the API.
It would be really useful if blocks such as IMyGasGenerator had a member that indicated if they were >currently< producing gas or not/actively working. "IsWorking" is a bit counterintuitive, "IsWorking" should really be changed to "CanWork" and IsWorking should indicate if the block is "doing its job"...
So I couldn't check if I still needed to keep the batteries topped up if the o2 gens were running the obvious way.
I was also incredibly surprised that there is no information on what power a block is consuming. It seems that power output/input is available for power providers/batteries, but input is not available for normal blocks.
So I couldn't check if I still needed to keep the batteries topped up if the o2 gens were consuming > idle power.
Alright, well my final try is to check if the o2 gens just have anything in their inventory and assume that means they still have work to do...but it's a pretty ridiculous hack. :/
Hello, Fennec,
thank you for contacting us. I reported your issue into our internal system.
Kind regards,
Keen Software House: QA Department
Hello, Fennec,
thank you for contacting us. I reported your issue into our internal system.
Kind regards,
Keen Software House: QA Department
Replies have been locked on this page!