Advertisement
ekter

reacteur auto boot (turbine)

Apr 29th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. reactor = peripheral.wrap("back")
  2.  
  3. reactorSteam = reactor.getHotFluidAmount()
  4. reactorSteamMax = reactor.getHotFluidtAmountMax()
  5.  
  6. while true do
  7.     if reactorSteam == reactorSteamMax then
  8.         reactor.setActive(false)
  9.     end
  10.     sleep(1)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement