Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- while true do
- local success, data = turtle.inspectUp()
- if success then
- print("Bloc name : "..data.name)
- if data.name == "ae2:quartz_block" then
- turtle.digUp()
- turtle.placeUp()
- end
- else
- print("Error getting upper bloc data")
- end
- os.sleep(0.5)
- end
- end
- turtle.select(1)
- main()
Advertisement
Add Comment
Please, Sign In to add comment