inventory-system icon indicating copy to clipboard operation
inventory-system copied to clipboard

Update shelf to new stack grid system: Invalid access of index '7' on a base object of type: 'Array[ItemStack]'.

Open starmarineplay opened this issue 1 year ago • 2 comments

Multiplayer Shelf -- Invalid access of Index "int" on a base object of type 'Array[ItemStack]

For the life of me I cannot fix this bug. Happens on line 58 of shelf.gd

starmarineplay avatar Jan 28 '25 02:01 starmarineplay

The shelf has proven to be obsolete in the new stacks system. I intend to fix it to adapt at some point, so I will leave this bug open.

scriptsengineer avatar Jan 28 '25 21:01 scriptsengineer

Thank you, I ended up working out a fix for my game. I just made a inventory box that displays the items visual mesh in an array of nodes. No visual slot pick or put though just display.

starmarineplay avatar Jan 29 '25 00:01 starmarineplay