Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- rednet.open("right")
- function clearInv()
- for i = 1,16 do
- turtle.select(17-i)
- turtle.dropUp(turtle.getItemCount(17-i))
- end
- turtle.select(1)
- end
- function placeObj(message)
- turtle.select(1)
- turtle.place()
- sleep(tonumber(message))
- clearInv()
- turtle.dig()
- end
- while true do
- local senderId, message, distance = rednet.receive()
- placeObj(message)
- end
Advertisement
Add Comment
Please, Sign In to add comment