Advertisement
LastElf

Harvest

Apr 9th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. -- Used as a harvester for my biomass farm
  2.  
  3. function pulse()
  4.     redstone.setOutput("top",true)
  5.     sleep(0.5)
  6.     redstone.setOutput("top",false)
  7. end
  8.  
  9. while true do
  10.     if redstone.input("bottom") then
  11.         pulse()
  12.         sleep(120)
  13.     else
  14.         sleep(120)
  15.     end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement