Well that is the basic of my inventory system.
Up to 8190 units can have separate inventories at the same time.(theory)
Up to 8190 merchants can have separate inventories at the same time.(theory)
Up to 8190 custom items can have separate stats at the same time.(theory)
Every unit has it's own data for the inventory.
The thing you are trying to do is already possible in my inventory
That is why my thread started crashing for 16 players, the excess of operations is too much when trying to initialize the system for 16 players.