Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grass = 1
- block = 2
- function forwardFive()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- end
- function placeGrass()
- turtle.select(grass)
- turtle.placeDown()
- end
- function placeBlock()
- turtle.select(block)
- turtle.placeUp()
- end
- function placeEight()
- placeGrass()
- forwardFive()
- placeGrass()
- forwardFive()
- placeGrass()
- forwardFive()
- placeGrass()
- forwardFive()
- placeGrass()
- forwardFive()
- placeGrass()
- forwardFive()
- placeGrass()
- forwardFive()
- placeGrass()
- end
- function twoRows()
- placeEight()
- turtle.turnRight()
- forwardFive()
- turtle.turnRight()
- placeEight()
- turtle.turnLeft()
- forwardFive()
- turtle.turnLeft()
- end
- function placeTenBlocks()
- placeBlock()
- forwardFive()
- placeBlock()
- forwardFive()
- placeBlock()
- forwardFive()
- placeBlock()
- forwardFive()
- placeBlock()
- forwardFive()
- placeBlock()
- forwardFive()
- placeBlock()
- forwardFive()
- placeBlock()
- end
- function twoRowsBlocks()
- placeTenBlocks()
- turtle.turnRight()
- forwardFive()
- turtle.turnRight()
- placeTenBlocks()
- turtle.turnLeft()
- forwardFive()
- turtle.turnLeft()
- end
- print("+-------------------------------------+")
- print("| Tree Farm V3 Setup |")
- print("+-------------------------------------+")
- print("| Slot 1: 64 Grass |")
- print("| Slot 2: 64 Blocks |")
- print("+-------------------------------------+")
- read()
- turtle.digDown()
- turtle.select(grass)
- twoRows()
- twoRows()
- twoRows()
- twoRows()
- turtle.turnLeft()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- turtle.turnRight()
- turtle.up()
- turtle.up()
- turtle.up()
- turtle.up()
- turtle.up()
- turtle.select(block)
- twoRowsBlocks()
- twoRowsBlocks()
- twoRowsBlocks()
- twoRowsBlocks()
- turtle.turnLeft()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- forwardFive()
- turtle.turnRight()
- turtle.down()
- turtle.down()
- turtle.down()
- turtle.down()
- turtle.down()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement