entity_carried_item_counts
Global of Himegari Dungeon Meister: the cell G:0x53e77, of type int[50][2], data-table, values 0..999 quantity paired with entity_carried_item_ids.
Quantities for the two per-entity carried/drop-item slots. SETEN seeds a starting item with quantity one; FIELD adds treasure quantities to the matching slot and caps the result at 999.
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_counts[i].column.
It depends on 0x53e13.
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 | 2 |
SETEN | 0 | 0 | 2 |
SETCH | 0 | 0 | 1 |
STATUS | 0 | 0 | 1 |