krandor305 In player.items is there a way to know if an item is a weapon or a consumable so that when clicked it either wear or use?
dominx99 krandor305 To check if item is consumable just check item.consumable property: https://docs.rpgjs.dev/database/item.html#consumable But I don't see in the documentation indicator for the item to identify if it's possible to wear. In my game I added custom decorator to the wearable items to define type (sword, plate, boots, etc.) https://github.com/dominx99/rpgjs-game-public/blob/main/modules/inventory-extension/src/decorators/Plate.ts Then I used this to define item in database: https://github.com/dominx99/rpgjs-game-public/blob/main/modules/items/database-random/armors/plate/SteelPlate.ts and next you can fetch player.items, iterate and check item.type
krandor305 Yeah thanks I figured too after I have seen your repo(thanks for it).I am currently creating my inventory data structure gotta add it to the RPGPlayer as a property.