Advertisement
DustinRosebery

oneWitherTurt startup

Aug 27th, 2013
353
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 buildWither()
  5.     turtle.up()
  6.     turtle.up()
  7.     turtle.up()
  8.     turtle.up()
  9.     turtle.forward()
  10.     turtle.forward()
  11.     turtle.select(1)
  12.     turtle.place()
  13.     turtle.turnRight()
  14.     turtle.forward()
  15.     turtle.turnLeft()
  16.     turtle.place()
  17.     turtle.turnRight()
  18.     turtle.forward()
  19.     turtle.turnLeft()
  20.     turtle.place()
  21.     turtle.down()
  22.     turtle.select(2)
  23.     turtle.place
  24.     turtle.turnLeft()
  25.     turtle.forward()
  26.     turtle.turnRight()
  27.     turtle.place()
  28.     turtle.turnLeft()
  29.     turtle.forward()
  30.     turtle.turnRight()
  31.     turtle.place()
  32.     turtle.down()
  33.     turtle.turnRight()
  34.     turtle.forward()
  35.     turtle.place
  36.     rednet.broadcast("oneWitherBuilt")
  37. end
  38.    
  39. -- put stuff here to make him wait for the nether star
  40.    
  41.  
  42. while true do
  43. local event id, msg = rednet.receive()
  44.     if msg == "blastProtOn" then
  45.         buildWither()
  46.     end
  47. break
  48. end
  49.  
  50. -- and put what he does with the nether star here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement