Thursday, June 13, 2013

Enchanting Turtle

This seems to work just fine"

-- Clearing Terminal
term.clear()
term.setCursorPos(1,1)
turtle.select(1)
-- Set turtle to collect XP
m=peripheral.wrap("right")
m.setAutoCollect(true)
while true do
    if m.getLevels() > 30 then
        turtle.suckDown()
        m.enchant(30)
        turtle.dropDown()
    end
    sleep(1)
end

No comments:

Post a Comment