Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Program made by Fer22f, thread at http://redd.it/20nas1
- -- Place a moonstone at the second slot and diamond at the first slot
- rednet.open("right") -- I'm sorry, not sure what side the turtle's modem is at
- while true do
- local ID,message,distance = os.pullEvent("rednet_message")
- if (message == "moonstone") then
- turtle.select(1)
- turtle.dig()
- turtle.select(2)
- turtle.place()
- elseif (message == "diamond") then
- turtle.select(1)
- turtle.dig()
- turtle.select(2)
- turtle.place()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement