How to check if a rocket is ready to launch?

Place to get help with not working mods / modding interface.
User avatar
WIZ4
Fast Inserter
Fast Inserter
Posts: 209
Joined: Thu Apr 07, 2016 1:36 pm
Contact:

How to check if a rocket is ready to launch?

Post by WIZ4 »

I can't find an easy way to find out if a rocket can be launched.
Screenshot_1.jpg
Screenshot_1.jpg (572.53 KiB) Viewed 1337 times
The number of rocket parts at this moment is 0, but I expected it to be 100.
My native language is russian. Sorry if my messages are difficult to read.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: How to check if a rocket is ready to launch?

Post by darkfrei »

LuaForce.rockets_launched

Here must be hidden result inventory with rocket.

Code: Select all

defines.inventory.rocket_silo_rocket	
defines.inventory.rocket_silo_result	
defines.inventory.rocket
or LuaEntity.launch_rocket
User avatar
WIZ4
Fast Inserter
Fast Inserter
Posts: 209
Joined: Thu Apr 07, 2016 1:36 pm
Contact:

Re: How to check if a rocket is ready to launch?

Post by WIZ4 »

Thanks :)
My native language is russian. Sorry if my messages are difficult to read.
Post Reply

Return to “Modding help”