Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local rc = component.br_reactor
- local FAM = rc.getFuelAmount()
- local function nv()
- local FM = rc.getFuelAmount()
- ptt = (FM * 100) / FAM
- end
- while true do
- nv()
- if ptt < 50 then
- rc.setActive(false)
- elseif ptt >= 51 then
- rc.setActive(true)
- os.sleep(1)
- end
- end
RAW Paste Data