Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function floor()
- local b = 6
- for z = 1,3 do
- for y = 1,4 do
- for i = 2,b do
- turtle.placeDown()
- turtle.forward()
- end
- turtle.turnRight()
- end
- b = b - 2
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- for i = 1,3 do
- turtle.back()
- end
- turtle.turnLeft()
- for i = 1,3 do
- turtle.forward()
- end
- turtle.turnRight()
- end
- function door()
- turtle.turnRight()
- for y = 1,5 do
- turtle.place()
- turtle.up()
- turtle.placeDown()
- end
- for i = 1,4 do
- turtle.forward()
- end
- for i = 1,5 do
- turtle.down()
- end
- for y = 1,5 do
- turtle.place()
- turtle.up()
- turtle.placeDown()
- end
- for i = 1,4 do
- turtle.back()
- turtle.placeDown()
- end
- turtle.turnLeft()
- end
- function wall(n)
- for i = 1,n do
- turtle.forward()
- turtle.down()
- end
- turtle.down()
- for i = 1,n do
- for y = 1,5 do
- turtle.up()
- turtle.placeDown()
- end
- turtle.back()
- for y = 1,5 do
- turtle.down()
- end
- end
- for i = 1,5 do
- turtle.forward()
- end
- turtle.turnRight()
- end
- function window()
- for i = 1,5 do
- turtle.forward()
- turtle.down()
- end
- for i = 1,2 do
- for y = 1,5 do
- turtle.up()
- turtle.placeDown()
- end
- turtle.back()
- for y = 1,5 do
- turtle.down()
- end
- end
- for i = 1,2 do
- turtle.up()
- turtle.placeDown()
- turtle.up()
- turtle.up()
- turtle.back()
- for y = 1,2 do
- turtle.place()
- turtle.up()
- end
- for y = 1,5 do
- turtle.down()
- end
- end
- for i = 1,5 do
- turtle.up()
- turtle.placeDown()
- end
- for i = 1,4 do
- turtle.forward()
- end
- turtle.turnRight()
- end
- function roof ()
- local b = 3
- for i = 1,2 do
- turtle.forward()
- turtle.turnRight()
- turtle.up()
- turtle.forward()
- for y = 1,4 do
- for i = 1,b do
- turtle.placeDown()
- turtle.forward()
- end
- turtle.turnLeft()
- end
- turtle.turnLeft()
- b = b-2
- end
- end
- wall(5)
- wall(4)
- roof()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement