Advertisement
Guest User

Tekkit Classic Nuclear Control

a guest
Jul 17th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.88 KB | None | 0 0
  1. sSide = "back"
  2. local x = 0
  3. while true do
  4. sleep(5)
  5. print("Waiting for depletion")
  6. if redstone.testBundledInput(sSide, colors.black)==true then
  7.  print("Dump Cycle")
  8.  repeat
  9.   redstone.setBundledOutput(sSide, colors.red)
  10.   sleep(0.5)
  11.   redstone.setBundledOutput(sSide, 0)
  12.   sleep(0.5)
  13.   x=x+1
  14.  until x == 54
  15. x = 0
  16.  print("Single Cell")
  17.  repeat
  18.   redstone.setBundledOutput(sSide, colors.green)
  19.   sleep(0.5)
  20.   redstone.setBundledOutput(sSide, 0)
  21.   sleep(0.5)
  22.   x=x+1
  23.  until x == 1
  24. x = 0
  25.  print("Ice Cycle")
  26.  repeat
  27.   redstone.setBundledOutput(sSide, colors.blue)
  28.   sleep(0.5)
  29.   redstone.setBundledOutput(sSide, 0)
  30.   sleep(0.5)
  31.   x=x+1
  32.  until x == 7
  33. x = 0
  34.  print("Final Uranium Cycle")
  35.  repeat
  36.   redstone.setBundledOutput(sSide, colors.green)
  37.   sleep(0.5)
  38.   redstone.setBundledOutput(sSide, 0)
  39.   sleep(0.5)
  40.   x=x+1
  41.   until x == 46
  42.  print("Reload Complete")
  43. end
  44. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement