Gold economy, and an
item shop with buy/sell and recipe combining. Items are defined in an ItemRegistry; the shop and recipe
logic live in the MOBA layer (euca-moba).
Fully headless. Items, inventory, equipment, and shop all run on the
:3917 server.Items & inventory
- Inventory — fixed slots holding stackable
ItemStacks. - Equipment —
POST /item/equipmoves an item into a named equipment slot;equipment_stat_systemrecomputes the entity’sStatModifiersfrom equipped items’ properties each tick. - Economy — a
Goldcomponent; the shop checks gold + space on buy and refunds 50% on sell.
Shop
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /item/define | Register an item definition |
POST | /item/give | Add items to an inventory |
POST | /item/equip | Equip an item into a slot |
GET | /item/list/{id} | Inventory, equipment, aggregated stat modifiers |
POST | /shop/buy · /shop/sell | Buy / sell (50% refund) |
GET | /shop/list | List shop items with cost |
Status
- ✅ Item definitions, slotted inventory, equipment + stat aggregation, gold economy, buy/sell with gold checks, recipe combining — shipped and headless.
Inventory & shop endpoints
Item, inventory, equipment, and shop endpoints with schemas.