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:
parent
664bd50388
commit
749652d534
2 changed files with 232 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue