SHOW:
|
|
- or go back to the newest paste.
1 | x = peripheral.wrap("right") | |
2 | lvld = 30 | |
3 | book = turtle.getItemCount(1) | |
4 | bookdrop = book-1 | |
5 | while true do | |
6 | if (x.getLevels()>30) or (x.getLevels()==30) then | |
7 | turtle.suckDown(1) | |
8 | turtle.dropDown(dookdrop) | |
9 | x.enchant(30) | |
10 | turtle.dropDown(1) | |
11 | end | |
12 | if x.getLevels()<lvld then | |
13 | print("I have ".. x.getLevels() .." levels") | |
14 | sleep(1) | |
15 | end | |
16 | end |