entity_carried_item_ids
Global of Himegari Dungeon Meister: the cell G:0x53e13, of type int[50][2], data-table, values zero for empty; otherwise ITINIT item id.
Two carried/drop-item slots per runtime entity. SETEN initializes slot 0 from the unit's starting equipment item, FIELD fills an empty or matching slot when treasure is collected, and RTN_M009 requires an empty slot or an item-id match before approaching a chest/treasure object.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 slot_0, 1 slot_1. Lua and an event’s cell write a row’s column entity_carried_item_ids[i].column.
It depends on 0x53e77, 0x78c0e.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
FIELD | 0 | 0 | 8 |
BTL | 0 | 0 | 3 |
STATUS | 0 | 0 | 3 |
RTN_M009 | 0 | 0 | 2 |
SETEN | 0 | 0 | 2 |
SETCH | 0 | 0 | 1 |