Closed Matt-Crow closed 9 months ago
Don't do an inventory grid, just do a filterable & sortable list
Probably just migrate all semi-stable game objects to dynamic ones, as I can optimize later if better performance is required, and I'll probably wind up sending full content to the clients instead of pushing updates.
This would be a good place to try out the new dialog HTML element
Players can access their inventory to manage their items.
ItemTypeRepository
which stores allItemTypes
and is sealed before the world startsItemTypes
in the repository. The client stores in a JS repositoryInventoryTab
class which stores all items of a given category (equipment, consumable, material, etc.)PlayerUpdateListener
to update itself each time things happen to the user's player