Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Danet Shell (for turtle servers)
- id = 8
- function receive()
- rednet.open("back")
- hostId,command = rednet.receive()
- if command == "harvest" then
- rednet.send(id,"till","danetFarm")
- turtId,response = rednet.receive()
- if response == "tillComplete" then
- print("Till Stage 1 Complete.")
- rednet.send(id,"seed","danetFarm")
- response = nil
- turtId,response = rednet.receive()
- end
- if response == "seedComplete" then
- print("Seed Complete.")
- rednet.send(id,"chest","danetFarm")
- print("Chest Complete.")
- print(" ")
- receive()
- end
- receive()
- end
- receive()
- end
- receive()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement