Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mineAhead()
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- end
- function placeTorch()
- turtle.up()
- turtle.turnRight()
- turtle.dig()
- turtle.select(14)
- turtle.place()
- turtle.turnLeft()
- turtle.down()
- end
- function mining()
- for kratka=1,50 do
- if kratka % 8 == 0 then
- placeTorch()
- end
- mineAhead()
- end
- end
- function turning()
- turtle.turnRight()
- mineAhead()
- mineAhead()
- mineAhead()
- mineAhead()
- turtle.turnRight()
- end
- function dropItemsInChest()
- turtle.select(2)
- turtle.place()
- end
- for miejsce=1,14 do
- turtle.select(miejsce)
- turtle.drop()
- dropItemsInChest()
- end
- mining()
- turning()
- mining()
- dropItemsInChest()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement