SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[ | |
| 2 | 2013 (c) psychedelixx | |
| 3 | - | Minecraft Turtle: Fir Chopper |
| 3 | + | Minecraft Turtle: Attack |
| 4 | - | 2013-05-22 |
| 4 | + | 2013-05-23 |
| 5 | ||
| 6 | - | Chops a whole fir tree and returns to the ground. It should work on every other 1x1 tree as well. |
| 6 | + | Simple attack script |
| 7 | ||
| 8 | Usage: | |
| 9 | - | - Place the turtle on the ground in front of the fir tree |
| 9 | + | |
| 10 | (to give your turtle an unique name so it remembers its programs) | |
| 11 | - type "pastebin get F5XUtsWN atk" | |
| 12 | - | - type "pastebin get X3TfSMR2 fir" |
| 12 | + | - type "atk" |
| 13 | - | - type "fir" |
| 13 | + | |
| 14 | i = 1 | |
| 15 | while true do | |
| 16 | - | if turtle.getFuelLevel() == 0 then |
| 16 | + | turtle.attack() |
| 17 | - | turtle.refuel() |
| 17 | + | turtle.suck() |
| 18 | - | end |
| 18 | + |