How do I tell if a lab is running?
-
- Long Handed Inserter
- Posts: 93
- Joined: Thu May 18, 2017 2:22 pm
- Contact:
How do I tell if a lab is running?
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?
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).
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
-
- Long Handed Inserter
- Posts: 93
- Joined: Thu May 18, 2017 2:22 pm
- Contact:
Re: How do I tell if a lab is running?
Will do! Just making sure there isn't a more straightforward way to figure out if it's running.