Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dig()
- turtle.dig()
- turtle.forward()
- turtle.digup()
- turtle.digdown()
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.digup()
- turtle.digdown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.digup()
- turtle.digdown()
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- function drop()
- turtle.select(1)
- turtle.drop()
- turtle.select(3)
- turtle.drop()
- turtle.select(4)
- turtle.drop()
- turtle.select(5)
- turtle.drop()
- turtle.select(6)
- turtle.drop()
- turtle.select(7)
- turtle.drop()
- turtle.select(8)
- turtle.drop()
- turtle.select(9)
- turtle.drop()
- turtle.select(10)
- turtle.drop()
- turtle.select(11)
- turtle.drop()
- turtle.select(12)
- turtle.drop()
- turtle.select(13)
- turtle.drop()
- turtle.select(14)
- turtle.drop()
- turtle.select(15)
- turtle.drop()
- turtle.select(16)
- turtle.drop()
- end
- function torch()
- turtle.select(2)
- turtle.placedown()
- end
- function go()
- for i = 1, 5 do
- dig()
- end
- torch()
- end
- function back()
- turtle.turnLeft()
- turtle.turnLeft()
- for i = 1, 35 do
- turtle.forward()
- end
- end
- term.clear()
- print("|------------------------------------|")
- print("|-------------Hammer Me!-----------|")
- print("|-------------By Erit1566-----------|")
- print("|-------------Place Chest-----------|")
- print("|-------------In Slot 1-----------|")
- print("|------------Place Torches----------|")
- print("|-------------In Slot 2-----------|")
- print("|-------------Press Any Key----------|")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- os.pullEvent("char")
- turtle.turnLeft()
- turtle.select(1)
- turtle.turnLeft()
- turtle.place()
- turtle.turnLeft()
- turtle.turnLeft()
- for i = 1, 6 do
- go()
- end
- back()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement