0
Answered

A bag slots modifier stat

SubtleTechnology 11 months ago in Stats updated by Marti (Lead Developer) 10 months ago 1

What is the best way to limit the number of inventory slots based on a Stat like "bagslots" that will be increased and decreased by equipped items? 

I already have the stat in place and equipping/removing the item changes the stat. What would be the best place to implement something that limits the maximum number of item slots they have based on that stat?  For instance if the stat is 10, they can only pickup 10 items.

For simplicity I would just not allow them to remove the item that changes the stat so I don't have to deal with forcing them to drop items etc. Maybe not even let them unequip it.

Unity version:
2018.4.4f1
Game Creator version:
latest

Answer

Answer
Answered

I'm afraid that's not possible at the moment. The amount of a stack of items in your inventory is a constant value.

Answer
Answered

I'm afraid that's not possible at the moment. The amount of a stack of items in your inventory is a constant value.