SHOW:
|
|
- or go back to the newest paste.
| 1 | local tArgs = { ... }
| |
| 2 | local count = tonumber( tArgs[1] ) | |
| 3 | if count == nil then | |
| 4 | count = 1 | |
| 5 | end | |
| 6 | if count < 1 then | |
| 7 | count = 1 | |
| 8 | end | |
| 9 | shell.run(refuel) | |
| 10 | for i=1, count do | |
| 11 | turtle.select(1) | |
| 12 | turtle.placeUp() | |
| 13 | shell.run("refuel")
| |
| 14 | end |