Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t = peripheral.wrap("back")
- cooldown = false
- while (true)
- do
- os.queueEvent("fakeEvent");
- os.pullEvent();
- if (t.getCoolantFilledPercentage() < 0.1 and cooldown = false)
- then
- t.scram()
- end
- if (t.getCoolantFilledPercentage() > 0.9 and cooldown = true)
- t.activate()
- end
- end
Add Comment
Please, Sign In to add comment