Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Mining | Program Started")
- function mineAhead()
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- end
- function placeTorch()
- turtle.up()
- turtle.turnRight()
- turtle.dig()
- turtle.select(16)
- 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(15)
- turtle.place()
- for miejsce=1,14 do
- turtle.select(miejsce)
- turtle.drop()
- end
- end
- mining()
- turning()
- mining()
- dropItemsInChest()
- print("Mining | Program Ended")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement