Page 1 of 1

Access to if a rocket silo has a completed rocket

Posted: Mon May 27, 2019 8:18 pm
by Cooldude2606
The rocket_parts can be used to find the progress towards a rocket however when it has been complete it resets to 0 so there isnt really a way to test if there is a rocket in it or not. So could we have read access to the rocket silo status?

Re: Access to if a rocket silo has a completed rocket

Posted: Mon May 27, 2019 8:32 pm
by Bilka
You can read its status using LuaEntity.status, it will be 21 if the rocket silo is waiting to launch the built rocket. I say 21 because the defines.entity_status is missing, I added it as waiting_to_launch_rocket for 0.17.44.