Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --program by pogof
- --www.pogof.cz
- --www.youtube.com/smitegamescz
- a=peripheral.wrap("right")
- a.setAutoCollect(true)
- function uhli()
- if turtle.getFuelLevel() < 22 then
- turtle.turnLeft()
- turtle.select(16)
- turtle.suck()
- turtle.refuel(64)
- turtle.turnRight()
- turtle.select(1)
- end
- end
- function knihy()
- if a.getLevels() > 30 then
- turtle.turnRight()
- turtle.suck()
- c=turtle.getItemCount(1)
- turtle.drop(c-1)
- turtle.turnLeft()
- for b=1, 10 do
- turtle.back()
- end
- turtle.down()
- a.enchant(30)
- turtle.drop()
- turtle.up()
- for d=1, 10 do
- turtle.forward()
- end
- end
- end
- function kill()
- for e=0, 100 do
- turtle.attack()
- end
- for f=1, 12 do
- turtle.select(f)
- turtle.dropDown()
- end
- turtle.select(1)
- end
- while true do
- kill()
- uhli()
- write("pocet LVL: ")
- print(a.getLevels())
- knihy()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement