Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- a turtle makes mundatis
- mc="minecraft:"
- wc="witchery:ingredient"
- function findAndDrop(name,itemID, )
- while getThingy() do
- n = turtle.getItemDetail().name
- d = turtle.getItemDetail().damage
- print("n is "..n)
- if name == n then
- if itemID == d then
- turtle.dropDown()
- else
- putThingy()
- end
- else
- putThingy()
- end
- end
- end
- if turtle.suck() then
- getThingy=turtle.suck
- putThingy=turtle.dropUp
- turtle.drop()
- print("Input from front chest")
- elseif turtle.suckUp() then
- getThingy=turtle.suckUp
- putThingy=turtle.drop
- turtle.dropUp()
- print("Input from top chest")
- end
- findAndDrop(wc, 22)
- findAndDrop(wc, 31)
- findAndDrop(mc.."egg", 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement