#Items still appear in different category

1 messages · Page 1 of 1 (latest)

austere stirrup
#

Hey y'all, so I've been working on an inventory system for the past few days and have ran into an issue that I don't know how to fix. For some context, my inventory system has different categories named "Pockets" to better sort and organize the player's items. The intended behavior is that items from one category, let's say Medicine for example, are only visible in the Medicine pocket and not the Discs pocket. But as my script currently works, the items continue persist and appear in other pockets instead of disappearing. So now potions end up appearing in the discs pocket, and vice versa. Any help figuring out a solution to this problem will be greatly appreciated!