item_names
Global of Himegari Dungeon Meister: the cell GS:0x1bd2, of type string[1000], string-table, values ITINIT item name by item id (item 1 銅の鍵).
ITINIT writes one for each of its 287 items, GS[0x1bd2 + id], before the record's numbers (ITINIT@0x0). DRAWTIP, DRAWCHP, DRAWENP, INFOEN, BTL, FIELD, ALCHEMY, SALLY and the random-item scripts index it by an item id.
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.
Record tables
It is a field of the table item, as item.id.name.
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 |
|---|---|---|---|
ITINIT | 0 | 287 | 0 |
$1$ITINIT | 0 | 4 | 0 |
BTL | 0 | 0 | 4 |
DRAWENP | 0 | 0 | 3 |
SELACT | 0 | 0 | 3 |
ALCHEMY | 0 | 0 | 2 |
DRAWTIP | 0 | 0 | 2 |
FIELD | 0 | 0 | 2 |
INFOEN | 0 | 0 | 2 |
TRAIN | 0 | 0 | 2 |
ADDRANDOMITEM | 0 | 0 | 1 |
DRAWCHP | 0 | 0 | 1 |
LOSTRANDOMITEM | 0 | 0 | 1 |
SALLY | 0 | 0 | 1 |
STATUS | 0 | 0 | 1 |