I've encountered a potential 'item duplication' issue while attempting to make a purchase at the shop. To put it simply, I tried to buy an item but was unsuccessful due to reaching the inventory item limit (not the weight limit). However, even though I didn't receive the item in my inventory, it appeared on the ground, and the shop didn't deduct my money for the item. Consequently, I ended up obtaining the item for free.
This is a fundamental problem with the inventory. Weight works but not properly, best course of action I can suggest is to check if they have x free and if they do allow them to go into the store menu.
Hello,
I've encountered a potential 'item duplication' issue while attempting to make a purchase at the shop. To put it simply, I tried to buy an item but was unsuccessful due to reaching the inventory item limit (not the weight limit). However, even though I didn't receive the item in my inventory, it appeared on the ground, and the shop didn't deduct my money for the item. Consequently, I ended up obtaining the item for free.
Could you please review the code example I used:
Here's the item definition:
Here's the shop definition:
Some additional information that might be useful:
Thank you for looking into this issue. Your efforts are greatly appreciated!