Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("turtleChest.lua")
- os.loadAPI("setNorth.lua")
- os.loadAPI("turtleToCords.lua")
- os.loadAPI("userInput.lua")
- function insertAll()
- if not turtleChest.insertAllUp() then
- if not turtleChest.insertAllDown() then
- return false
- end
- end
- return true
- end
- function getAll()
- if turtleChest.takeAllUp() then
- if
- elseif turtleChest.takeAllDown() then
- return true
- end
- return false
- end
- function putCheck(direction, count)
- tcount = turtleChest.countCheck()
- cdiff = tcount - count
- if cdiff == 0 then
- return true
- elseif cdiff > 0 then
- if direction == "up"
- end
- return false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement