Page 1 of 1

How do I tell if a lab is running?

Posted: Fri Mar 15, 2019 10:17 am
by danielbrauer
I'd like to tell if a lab entity is running or not. From looking at the API, it seems status is the field to check (crafting, power and electricity all seemed like dead ends). I have read the status defines, and they don't look mutually exclusive. Are these flags?

Re: How do I tell if a lab is running?

Posted: Fri Mar 15, 2019 10:32 am
by Bilka
Each entity uses their own selection of entity statuses from the big list. You will just have to experiment which ones the lab uses (if any).

Re: How do I tell if a lab is running?

Posted: Fri Mar 15, 2019 10:52 am
by danielbrauer
Will do! Just making sure there isn't a more straightforward way to figure out if it's running.