Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function turtle.forwards(numForw)
- for i = 1, numForw do
- turtle.forward()
- end
- end
- function turtle.upwards(numUpw)
- for i = 1, numUpw do
- turtle.up()
- end
- end
- function turtle.downwards(numDownw)
- for i = 1, numDownw do
- turtle.down()
- end
- end
- function turtle.turns180()
- for i = 1, 2 do
- turtle.turnRight()
- end
- end
- function fillAndEmptyCrusher()
- turtle.forwards(9)
- turtle.turnRight()
- turtle.suck()
- turtle.turnRight()
- turtle.forwards(4)
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.forwards(12)
- turtle.turnLeft()
- turtle.upwards(3)
- turtle.forwards(3)
- turtle.dropDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.downwards(3)
- turtle.back()
- turtle.suckUp()
- turtle.turnLeft()
- turtle.forwards(3)
- turtle.turnRight()
- turtle.forwards(7)
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.forwards(9)
- turtle.turnRight()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.turnRight()
- turtle.forwards(9)
- turtle.turns180()
- end
- function deliverCoalTreeFarm()
- turtle.forwards(6)
- turtle.turnRight()
- turtle.up()
- turtle.suck()
- turtle.down()
- turtle.turns180()
- turtle.forwards(4)
- turtle.turnRight()
- turtle.forwards(12)
- turtle.turnRight()
- turtle.forwards(2)
- turtle.dropDown()
- turtle.turns180()
- turtle.forwards(2)
- turtle.turnLeft()
- turtle.forwards(12)
- turtle.turnLeft()
- turtle.forwards(4)
- turtle.turnRight()
- turtle.forwards(6)
- turtle.turns180()
- end
- function deliverCoalGenerator()
- turtle.forwards(6)
- turtle.turnRight()
- turtle.up()
- turtle.suck()
- turtle.down()
- turtle.turnRight()
- turtle.forwards(6)
- turtle.turnLeft()
- turtle.forwards(5)
- turtle.upwards(2)
- turtle.forward()
- turtle.turnRight()
- turtle.forwards(6)
- turtle.dropDown()
- turtle.turns180()
- turtle.forwards(6)
- turtle.turnLeft()
- turtle.forward()
- turtle.downwards(2)
- turtle.forwards(5)
- turtle.turnRight()
- end
- fillAndEmptyCrusher()
- deliverCoalTreeFarm()
- deliverCoalGenerator()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement