Advertisement
DustinRosebery

oneWitherTurt startup

Aug 28th, 2013
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("right")
  2. w = peripheral.wrap("left")
  3.  
  4. local function buildOneWither()
  5.             -- start poistion up/forward/left/right
  6.     turtle.up()
  7.     turtle.up()
  8.     turtle.up()
  9.     turtle.up()
  10.     turtle.up()
  11.     turtle.up()
  12.     turtle.up()
  13.             -- up 7
  14.     turtle.forward()
  15.     turtle.forward()
  16.     turtle.forward()
  17.     turtle.forward()
  18.     turtle.forward()
  19.             -- up 7 for 5
  20.     turtle.up()
  21.     turtle.select(1)
  22.     turtle.placeDown()
  23.             -- up 8 for 5
  24.     turtle.up()
  25.     turtle.turnLeft()
  26.     turtle.forward()
  27.     turtle.placeDown()
  28.     turtle.back()
  29.     turtle.placeDown()
  30.     turtle.back()
  31.     turtle.placeDown()
  32.             -- up 9 for 5 right 1
  33.     turtle.up()
  34.     turtle.turnRight()
  35.     turtle.turnRight()
  36.     turtle.select(2)
  37.     turtle.placeDown()
  38.     turtle.back()
  39.     turtle.placeDown()
  40.     turtle.back()
  41.     turtle.placeDown       
  42.     rednet.broadcast("oneWitherBuilt")
  43.             -- up 10 for 5 left 1
  44. end
  45.    
  46. -- put stuff here to make him wait for the nether star
  47.    
  48.  
  49. while true do
  50. local event id, msg = rednet.receive()
  51.     if msg == "blastProtOn" then
  52.         buildOneWither()
  53.     end
  54. break
  55. end
  56.  
  57. -- and put what he does with the nether star here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement