Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function fuel()
- print("Use two turtles")
- print("Use blocks in 1 and stairs in 2")
- print("Refuel")
- turtle.select(1)
- turtle.refuel()
- end
- local function place()
- x = 4
- while x > 0 do
- turtle.select(2)
- turtle.place()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- x = x - 1
- end
- end
- local function move()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- turtle.up()
- turtle.forward()
- end
- local function topstair()
- place()
- move()
- place()
- move()
- place()
- move()
- place()
- move()
- end
- local function start() -- moves to start
- x = 4
- while x > 0 do
- turtle.back()
- turtle.down()
- x = x - 1
- end
- turtle.back()
- end
- local function places()
- x = 4
- while x > 0 do
- turtle.select(3)
- turtle.place()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- x = x - 1
- end
- end
- local function beta() -- builds second line og stairs
- start()
- places()
- move()
- places()
- move()
- places()
- move()
- places()
- move()
- end
- fuel()
- topstair()
- beta()
Advertisement
Add Comment
Please, Sign In to add comment