Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Materials List
- -- Cobblestone - 272 (4x64+16)
- -- Glass - 16
- -- Place 81 Cobblestone in slots 1 and 2 (64 in 1; 17 in 2)
- -- Place 56 Cobblestone in slot 5, and 58 Cobblestone in slot 6
- -- Place 16 Cobblestone in slot 9
- -- Place 65 Cobblestone in slots 1 and 2 (64in 1; 1 in 2)
- -- Place 16 Glass in slot 16
- -- Main Functions --
- function main()
- display()
- floor()
- turtle.turnRight()
- turtle.turnRight()
- wall1()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- for w = 1,5 do
- turtle.down()
- end
- wall1()
- turtle.turnRight()
- turtle.turnRight()
- for e = 1,9 do
- turtle.forward()
- end
- for w = 1,5 do
- turtle.down()
- end
- turtle.turnLeft()
- wall2()
- turtle.turnRight()
- turtle.turnRight()
- for e = 1,9 do
- turtle.forward()
- end
- for w = 1,5 do
- turtle.down()
- end
- turtle.turnLeft()
- wall2()
- turtle.turnRight()
- turtle.turnRight()
- for e = 1,9 do
- turtle.forward()
- end
- for w = 1,5 do
- turtle.down()
- end
- turtle.turnLeft()
- wall()
- pillars()
- turtle.turnLeft()
- turtle.back()
- turtle.up()
- ceiling()
- while not turtle.detectDown() do
- turtle.down()
- end
- display()
- print("9x9 Complete...")
- end
- -- Mini Functions --
- function display()
- term.clear()
- term.setCursorPos(1,1)
- print("9x9 Constructor 1.0")
- end
- function ceiling()
- for e = 1,9 do
- for e = 1,9 do
- turtle.forward()
- turtle.placeDown()
- end
- end
- end
- function pillars()
- turtle.select(9)
- turtle.forward()
- for a = 1,4 do
- for q = 1,4 do
- turtle.down()
- end
- for q = 1,4 do
- turtle.up()
- turtle.placeDown()
- end
- turtle.turnLeft()
- for e = 1,9 do
- turtle.forward()
- end
- end
- end
- function wall1()
- turtle.select(5)
- turtle.up()
- for t = 1,4 do
- for y = 1,7 do
- turtle.dig()
- turtle.forward()
- turtle.placeDown()
- end
- turtle.turnRight()
- turtle.turnRight()
- turtle.up()
- end
- end
- function wall2()
- turtle.select(6)
- turtle.up()
- for t = 1,4 do
- for y = 1,7 do
- turtle.dig()
- turtle.forward()
- turtle.placeDown()
- end
- turtle.turnRight()
- turtle.turnRight()
- turtle.up()
- end
- end
- function floor()
- turtle.select(1)
- for e = 1,9 do
- turtle.select(1)
- for e = 1,9 do
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.digDown()
- turtle.placeDown()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- turtle.select(2)
- turtle.transferTo(1)
- end
- end
- -- Function List --
- main()
Advertisement
Add Comment
Please, Sign In to add comment