Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if turtle.getItemCount(1) == 1 and turtle.getItemCount(2) == 1 then
- print('Repairing swords')
- turtle.select(1)
- if turtle.craft() then
- print('Dropping good sword')
- turtle.select(1)
- turtle.dropDown()
- end
- else
- print('Sucking sword')
- turtle.suckUp()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement