So, I am having an issue to where the first-row stacks but nothing after the first row does… also whenever I pick up a different item (example: apple) it just disappears and doesn’t add to my inventory…
This is a lot so I would suggest, firstly, test each branch. Use printstrings to see how far it’s getting, and are you not getting error codes? For instance, here you don’t have an index being called so it shouldn’t know which item to get:
No, I’m not getting any error codes, I didn’t notice I didn’t have an index there, Thanks for pointing that out. Although that didn’t solve the issue. Let me do some testing and I’ll get back with you and let you know the results.
Edit: Couldn’t find the issue. So, I’ve decided I am going to start a new project from scratch with the help of Ai I should be able to achieve the results I am looking for. Thanks anyways.
Only items with IsStackable set to true can be stacked on top of each other.
properties such as ItemName, ItemDescription, ItemIcon, and IsStackable must match.
When stacking, the total quantity of the stacked items must be calculated.
maximum number of items that can be stacked in a single slot (e.g., a stack of 3 apples)
If adding more items exceeds the maximum stack size, the overflow items must be handled separately, either by creating a new stack or refusing to add the overflow.
The inventory has a maximum size that limits how many items or stacks it can hold.
Before adding an item, the system checks if there is enough space in the inventory.