Cycling inventory in the proper order, whether i have three or fifteen of the items

I use an integer array to loop this…

​​​​​​​