Advertisement
Guest User

startup

a guest
Dec 29th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. local turbine
  2. turbine = peripheral.wrap("right")
  3. while true do
  4.   sleep(1)
  5.   if turbine.getRotorSpeed() < 1800 then
  6.     turbine.setInductorEngaged(false)
  7.     turbine.setFluidFlowRateMax(2000)
  8.   else
  9.     turbine.setInductorEngaged(true)
  10.     turbine.setFluidFlowRateMax(747)
  11.   end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement