item_character_whitelist
Global of Himegari Dungeon Meister: the cell G:0x8e7b9, of type int[1000][5], data-table, values EBINIT character ids; up to five per item.
Sparse ITINIT row-major table with stride 5. CHMENU rejects an item when column 0 is populated and the selected party slot's character id is absent from the row. Unique accessories 471/472 allow one character each, while crossover accessories 480..485 allow character ids 2, 3, and 4. Unused trailing columns remain zero.
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 allowed_character_id_1, 1 allowed_character_id_2, 2 allowed_character_id_3, 3 allowed_character_id_4, 4 allowed_character_id_5. Lua and an event’s cell write a row’s column item_character_whitelist[i].column.
Record tables
It is a field of the table item, as item.id.character_whitelist.
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 | 20 | 0 |
CHMENU | 0 | 0 | 2 |