Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("mine")
- os.loadAPI("torch")
- os.loadAPI("bridge")
- function full()
- diffi = 0
- count = 0
- for i=1,16 do
- turtle.select(i)
- count = count+turtle.getItemCount()
- if count > 0 then
- diffi = diffi + 1
- if diffi > 12 then
- return true
- else
- return false
- end
- end
- if count > 500 then
- return true
- else
- return false
- end
- end
- return false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement