VedVid / RAWIG

RAWIG (Roguelike Architecture, Written In Go) is ready to modify and expand roguelike architecture.
BSD 2-Clause "Simplified" License
16 stars 3 forks source link

Equipping and inventory space #66

Open VedVid opened 5 years ago

VedVid commented 5 years ago

"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.

VedVid commented 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.

VedVid commented 5 years ago

It has additional consequences:

VedVid commented 5 years ago

Equipment is fixed size already. Now, time for inventory...