Inventory enhancements
Deploy Promiscuity Auth API / deploy (push) Successful in 47s
Deploy Promiscuity Character API / deploy (push) Successful in 46s
Deploy Promiscuity Inventory API / deploy (push) Successful in 58s
Deploy Promiscuity Locations API / deploy (push) Successful in 44s
k8s smoke test / test (push) Successful in 7s

This commit is contained in:
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.