Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ###############################################
- -- waterDrower
- -- 2015.10.07
- -- put your turtle on Lever left
- -- put your turtle on top of water sources
- -- put your turtle the back of Cauldron
- -- ###############################################
- -- ###############################################
- -- global variables
- -- ###############################################
- inputSide = "right"
- -- ###############################################
- -- funtcion difinition
- -- ###############################################
- function waterDrower()
- print(turtle.digDown())
- print(turtle.attack())
- end
- -- ###############################################
- -- main start
- -- ###############################################
- while rs.getInput(inputSide) do
- waterDrower()
- end
- print("No RS signal from ",inputSide)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement