SHOW:
|
|
- or go back to the newest paste.
| 1 | local function main() | |
| 2 | --local blockUp, dataUp = turtle.inspectUp() | |
| 3 | ||
| 4 | --if blockUp and dataUp.name == "botania:livingwood" then | |
| 5 | --turtle.digUp() | |
| 6 | --turtle.suckUp() | |
| 7 | --elseif not blockUp then | |
| 8 | --turtle.placeUp() | |
| 9 | --end | |
| 10 | ||
| 11 | local blockDown, dataDown = turtle.inspectDown() | |
| 12 | ||
| 13 | - | if blockDown and dataDown.name == "botania:livingwood" then |
| 13 | + | if blockDown and dataDown.name == "botania:livingrock" then |
| 14 | turtle.digDown() | |
| 15 | turtle.suckDown() | |
| 16 | turtle.select(2) | |
| 17 | turtle.drop() | |
| 18 | turtle.select(1) | |
| 19 | elseif not blockDown then | |
| 20 | turtle.placeDown() | |
| 21 | end | |
| 22 | end | |
| 23 | ||
| 24 | while true do | |
| 25 | main() | |
| 26 | sleep(1) | |
| 27 | end |