SHARE
TWEET

deploy_ulti

xmann110 Feb 11th, 2020 (edited) 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("left")
  2. for x=-3, 3 do
  3.     for y=-3, 3 do
  4.         turtle.place()
  5.         wrap = peripheral.wrap("front")
  6.         wrap.turnOn()
  7.         turtle_id = wrap.getID()
  8.         print("Got turtle with ID " .. tostring(turtle_id))
  9.         print("Sending identification: (" .. tostring(x) .. ", " .. tostring(y) .. ")")
  10.         sleep(1)
  11.         rednet.send(turtle_id, x)
  12.         sleep(1)
  13.         rednet.send(turtle_id, y)
  14.         while turtle.detect() do
  15.             sleep(0.1)
  16.         end
  17.     end
  18. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top