Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local t = turtle
- local function goingUp()
- while t.detect() == false do
- t.()
- t.up()
- end
- end
- local function goingDown()
- while t.detectDown() == false do
- t.dig()
- t.place()
- t.down()
- end
- end
- local function clearInventory()
- t.select(16)
- t.turnRight()
- t.dig()
- t.place()
- for i = 9, i = 14, i++
- t.select(i)
- t.drop()
- end
- t.select(16)
- t.dig()
- t.turnLeft()
- end
- local function junkCheck()
- itemCount = t.getItemCount(8)
- if itemCount > 0
- clearInventory()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement