Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Finding cotton seeds 101
- -- First off, for some reason they are listed as "Natura:barley.seeds"
- local found = 0
- for n=1,16 do
- invData = turtle.getItemDetail(n)
- if invData then
- if (invData.name == "Natura:barley.seed") then
- turtle.select(n)
- found = n
- end
- end
- end
- if found > 0 then
- print("Found the seeds in slot: "..found)
- else
- print("No seeds, no crops!")
- end
Advertisement
Add Comment
Please, Sign In to add comment