Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local reI = function(i)
- if i <= 3 then
- return i
- elseif i > 3 and i <= 6 then
- return i+1
- else
- return i+2
- end
- end
- local saveGrid = function(name)
- local items = {}
- local slots = {}
- for i = 1,9 do
- local a = turtle.getItemDetail(reI(i))
- if a then
- items[#items+1] = a.name
- slots[i] =
- end
- end
- end
Add Comment
Please, Sign In to add comment