Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cageSlot = 1
- stoneSlot = 2
- shardSlot = 3
- rednet.close("right")
- rednet.open("right")
- function moveToPos()
- setUpPlatform()
- end
- function setUpPlatform()
- turtle.select(stoneSlot)
- turtle.placeUp()
- turtle.forward()
- turtle.placeUp()
- turtle.forward()
- turtle.placeUp()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.up()
- turtle.up()
- turtle.placeUp()
- turtle.down()
- turtle.placeUp()
- turtle.down()
- turtle.placeUp()
- turtle.forward()
- turtle.placeUp()
- turtle.forward()
- turtle.turnLeft()
- turtle.up()
- turtle.up()
- turtle.placeUp()
- turtle.down()
- turtle.placeUp()
- turtle.down()
- turtle.placeUp()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- turtle.up()
- turtle.up()
- turtle.placeUp()
- turtle.down()
- turtle.placeUp()
- turtle.down()
- turtle.placeUp()
- turtle.forward()
- turtle.placeUp()
- turtle.forward()
- turtle.up()
- turtle.up()
- turtle.placeUp()
- turtle.down()
- turtle.placeUp()
- turtle.down()
- turtle.placeUp()
- turtle.forward()
- turtle.up()
- turtle.up()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- sleep(3)
- destroyPlatform()
- end
- function destroyPlatform()
- turtle.digDown()
- turtle.down()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.down()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.down()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.down()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.down()
- turtle.forward()
- turtle.turnLeft()
- turtle.down()
- end
- function changeShard()
- turtle.digUp()
- turtle.suckUp()
- for i = 1,4 do
- turtle.turnLeft()
- turtle.suck()
- end
- turtle.select(cageSlot)
- turtle.placeUp()
- turtle.select(shardSlot)
- turtle.placeUp()
- destroyPlatform()
- end
- function moveBackHome()
- for i = 1,7 do
- turtle.up()
- end
- start()
- end
- function idle()
- end
- function start()
- id, message, dis = rednet.receive()
- if message == "go" then
- moveToPos()
- end
- end
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement