Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local result, message, item_name = 0
- local turtle_selected_spot, i = 1
- local block_present, craft_outcome, info, item_count = 0
- print("Press CTRL+T to stop")
- while true do --Always loop
- turtle.select(1)
- turtle.suckUp()
- turtle.select(2)
- turtle.suckUp()
- turtle.select(3)
- turtle.suckUp()
- turtle.select(5)
- turtle.suckUp()
- turtle.select(6)
- turtle.suckUp()
- turtle.select(7)
- turtle.suckUp()
- turtle.select(9)
- turtle.suckUp()
- turtle.select(10)
- turtle.suckUp()
- turtle.select(11)
- turtle.suckUp()
- craft_outcome = turtle.craft()
- if craft_outcome == false then
- --Clear inventory
- i = 1
- while i ~= 17 do
- turtle.select(i)
- turtle.dropDown()
- i = i + 1
- end
- end
- if craft_outcome == true then
- turtle.dropDown()
- end
- os.sleep(1) -- Sleep 1 second
- end
Advertisement
Add Comment
Please, Sign In to add comment