How to check if a reactor is currently burning fuel in control.lua?
Posted: Sat Sep 14, 2019 3:04 pm
I hope you understand what I mean by this
www.factorio.com
https://forums.factorio.com/
Code: Select all
if reactor.burner.currently_burning then
Thank you! I didn't even know about the API before.Bilka wrote: Sat Sep 14, 2019 3:08 pmhttps://lua-api.factorio.com/latest/Lua ... ity.burner -> https://lua-api.factorio.com/latest/Lua ... ly_burningCode: Select all
if reactor.burner.currently_burning then