Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function fuel()
- print("use coal")
- print("2 - 6 = stairs and 7 - 11 = blocks")
- turtle.select(1)
- turtle.refuel()
- end
- local function start()
- turtle.up()
- end
- local function l2()
- a = 24
- while a > 0 do
- turtle.select(5)
- turtle.placeDown()
- turtle.forward()
- turtle.select(10)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.back()
- a = a - 1
- end
- end
- local function turn()
- turtle.turnLeft()
- end
- local function d2()
- f = 25
- while f > 0 do
- turtle.select(6)
- turtle.placeDown()
- turtle.forward()
- turtle.select(11)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.back()
- f = f - 1
- end
- end
- local function o2()
- turtle.forward()
- turtle.turnRight()
- end
- local function u2()
- y = 16
- while y > 0 do
- turtle.select(4)
- turtle.placeDown()
- turtle.forward()
- turtle.select(9)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.back()
- y = y - 1
- end
- end
- local function o()
- turtle.forward()
- turtle.turnLeft()
- end
- local function b2()
- x = 42
- while x > 0 do
- turtle.select(8)
- turtle.placeDown()
- turtle.back()
- turtle.select(3)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- x = x - 1
- end
- end
- local function m()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- end
- local function i()
- z = 4
- while z > 0 do
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(5)
- turtle.placeDown()
- turtle.turnRight()
- turtle.turnRight()
- turtle.back()
- turtle.select(10)
- turtle.placeDown()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- z = z - 1
- end
- end
- local function u()
- y = 16
- while y > 0 do
- turtle.select(9)
- turtle.placeDown()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- y = y - 1
- end
- end
- local function v()
- turtle.back()
- turtle.turnRight()
- turtle.back()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- end
- local function l()
- a = 24
- while a > 0 do
- turtle.select(10)
- turtle.place()
- turtle.back()
- turtle.select(5)
- turtle.place()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- a = a - 1
- end
- end
- local function e()
- turtle.turnRight()
- end
- local function i2()
- c = 4
- while c > 0 do
- turtle.select(5)
- turtle.placeDown()
- turtle.forward()
- turtle.select(10)
- turtle.placeDown()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- c = c - 1
- end
- end
- local function b()
- x = 42
- while x > 0 do
- turtle.select(7)
- turtle.placeDown()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(2)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- x = x - 1
- end
- end
- local function d()
- f = 25
- while f > 0 do
- turtle.select(11)
- turtle.placeDown()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(6)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- f = f - 1
- end
- end
- local function roof1()
- start()
- l2()
- turn()
- d2()
- o2()
- u2()
- o2()
- b2()
- m()
- u2()
- o()
- i()
- v()
- l2()
- e()
- i()
- v()
- u()
- o2()
- b()
- o()
- u2()
- o()
- d()
- end
- local function l3()
- a = 20
- while a > 0 do
- turtle.select(5)
- turtle.placeDown()
- turtle.forward()
- turtle.select(10)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.back()
- a = a - 1
- end
- end
- local function turn2()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- turtle.foreward()
- turtle.forward()
- turtle.turnRight()
- end
- local function d3()
- f = 21
- while f > 0 do
- turtle.select(6)
- turtle.placeDown()
- turtle.forward()
- turtle.select(11)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.back()
- f = f - 1
- end
- end
- local function u3()
- y = 12
- while y > 0 do
- turtle.select(4)
- turtle.placeDown()
- turtle.forward()
- turtle.select(9)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.back()
- y = y - 1
- end
- end
- local function b3()
- x = 38
- while x > 0 do
- turtle.select(8)
- turtle.placeDown()
- turtle.back()
- turtle.select(3)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- x = x - 1
- end
- end
- local function u4()
- y = 12
- while y > 0 do
- turtle.select(9)
- turtle.placeDown()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- y = y - 1
- end
- end
- local function b4()
- x = 38
- while x > 0 do
- turtle.select(7)
- turtle.placeDown()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(2)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- x = x - 1
- end
- end
- local function d4()
- f = 21
- while f > 0 do
- turtle.select(11)
- turtle.placeDown()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(6)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- f = f - 1
- end
- end
- local function roof2()
- start()
- l3()
- turn2()
- d3()
- o2()
- u3()
- o2()
- b3()
- m()
- u3()
- o()
- v()
- l3()
- e()
- v()
- u4()
- o2()
- b4()
- o()
- u3()
- o()
- d4()
- end
- fuel()
- roof1()
- roof2()
Advertisement
Add Comment
Please, Sign In to add comment