0
Answered

Limiting items in inventory

Oliver Marshall 1 month ago in Inventory updated by Marti (Lead Developer) 1 month ago 1

Is it possible to limit the number of items supported in the inventory?

 

I can see a weight limit option, but I'm after a number-of-items option. Perhaps where the bag only holds, say, 10 things. 

I could give each one a weight of 1 and limit it to a weight limit of 10, but that also prevents me from using weight in the future.

Olly

Unity version:
Game Creator version:

Answer

Answer
Answered

Hi Oliver;

You're correct; there's currently no way to do that without using the Weight. However, you can also limit the amount of items stacked (not sure if this will help).

Games usually have a per-weight limit or per-amount-of-items constraint, but not both (usually, since makes it would make it more difficult to manage).

Answer
Answered

Hi Oliver;

You're correct; there's currently no way to do that without using the Weight. However, you can also limit the amount of items stacked (not sure if this will help).

Games usually have a per-weight limit or per-amount-of-items constraint, but not both (usually, since makes it would make it more difficult to manage).