feat: add single-item upsert/delete endpoints and container/slot columns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
erik 2026-02-28 15:43:58 +00:00
parent 664bd50388
commit 749652d534
2 changed files with 232 additions and 6 deletions

View file

@ -36,7 +36,11 @@ class Item(Base):
# Equipment status
current_wielded_location = Column(Integer, default=0, index=True) # 0 = not equipped
# Container/position tracking
container_id = Column(BigInteger, default=0) # Game container object ID (0 = character)
slot = Column(Integer, default=-1) # Slot position within container (-1 = unknown)
# Item state
bonded = Column(Integer, default=0) # 0=Normal, 1=Bonded, 2=Sticky, 4=Destroy on drop
attuned = Column(Integer, default=0) # 0=Normal, 1=Attuned