Open VedVid opened 5 years ago
So, instead of removing item from inventory upon equipping, it would be only equipping.
No need to tinker with relation of inventory size to equipment. Just keep items in Inventory, and skip them during iterating through Inventory.
It has additional consequences:
Equipment is fixed size already. Now, time for inventory...
"Equipment" should have fixed size - like "primary, secondary, melee". Three slots.
"Inventory" should have fixed size as well - like 10 slots. Or 10 slots - len(equipment).
It would mean that the full weight is important.