Inventory enhancements

This commit is contained in:
hz
2026-03-15 13:57:15 -05:00
parent 5287ecd56f
commit a2a4d48de5
8 changed files with 351 additions and 45 deletions
+8
View File
@@ -104,6 +104,14 @@ Optional future fields:
- slot occupancy must be unique per `(ownerType, ownerId, slot)`
- all mutating endpoints should be idempotent where practical
## Definition source
Item behavior is fully data-driven through the `ItemDefinitions` collection inside `InventoryApi`.
That means:
- no hardcoded stack-size rules
- no automatic item-definition seeding
- item instances can only be created for `itemKey` values that already exist in `ItemDefinitions`
## Client shape
The Godot client should fetch all items for the currently relevant owner and group them into a bag view locally.