Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local t = turtle
- local function cut()
- t.digUp()
- t.dig()
- t.up()
- end
- local function empty()
- for i 1 15 do
- t.select(i)
- t.drop()
- end
- end
- local function farm()
- t.down()
- t.dig()
- t.select(16)
- t.place()
- t.up()
- while t.detect() == true do
- cut()
- end
- while not t.detectDown() do
- t.down()
- end
- t.turnLeft()
- empty()
- t.turnRight()
- t.up()
- end
- while true do
- if t.detect() == true
- farm()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement