Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Computer Craft 1.8 Turtle Shapeless Unique Crafter --
- -- Crafter Version: 1.0
- -- For Turtle to craft a shapeless recipe that only has unique ingredients
- ingredients = 3 -- number of ingredients needed to craft the item
- while true do
- local n = 0
- for i = 1, 16 do
- if turtle.getItemCount(i) ~= 0 then
- n = n + 1
- else
- sleep(1)
- break
- end
- end
- if n == ingredients then
- turtle.select(16)
- turtle.craft()
- sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment