unit_drop_item_ids
Global of Kamidori Alchemy Meister: the cell G:0x2c975c, of type int[1000][5], data-table, values ITINIT item ids 231..1936.
COMMITBTL@0x0062b builds the eligible-drop list, draws from the 0x4f9dc random table and awards 0x3c9cd1[item]++ when the roll < unit_drop_chance_percent. INFO5@0x01144 lists drop names via ITINIT name base 0x4228; INFO3@ reads it too.
OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 drop_1, 1 drop_2, 2 drop_3, 3 drop_4, 4 drop_5. Lua and an event’s cell write a row’s column unit_drop_item_ids[i].column.
Record tables
It is a field of the table unit, as unit.id.drop_item.
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 |
|---|---|---|---|
EBINIT | 0 | 597 | 0 |
$3$EBINIT | 0 | 81 | 0 |
$1$EBINIT | 0 | 26 | 0 |
INFO5 | 0 | 0 | 3 |
$2$EBINIT | 0 | 2 | 0 |
COMMITBTL | 0 | 0 | 2 |
INFO3 | 0 | 0 | 1 |