dig_table_roll_thresholds
Global of Kamidori Alchemy Meister: the cell G:0x2a7b66, of type int[200][10], data-table, values cumulative percent threshold (ascending, last slot 100).
DIG@0x12f: a pre-rolled 0..99 value from 0x4f9dc row 0 is compared slot by slot; the first enabled slot with roll < threshold awards its item (0x3c9cd1[item]++), then REWARD.BIN runs.
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.
Record tables
It is a field of the table dig_table, as dig_table.id.roll_thresholds.
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 |
|---|---|---|---|
DIINIT | 0 | 304 | 0 |
$3$DIINIT | 0 | 40 | 0 |
$2$DIINIT | 0 | 12 | 0 |
DIG | 0 | 0 | 1 |