dig_table
Record table of Kamidori Alchemy Meister, records 0 to 199, 4 fields.
DIINIT's gathering drop tables, ten slots each: table (object type - 0x20) * 100 + payload, so 採取 points take 0 to 99 and 発掘 points 100 to 199. DIG rolls once and takes the first enabled slot whose threshold is above the roll; 93 tables are written.
The game builds it at boot. Record id is [dig_table.id] in a data file, dig_table[id] in OMS and Lua, and a field dig_table.id.field.
Fields
Each field is a global, one cell per record, named under the field. The last column is what a data file may write to it, as the base mod kamidori-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
roll_thresholdsdig_table_roll_thresholds | int[200][10] | — | yes: a row of 10 columns by number, 0 to 9; write roll_thresholds.<number> = ... |
item_idsdig_table_item_ids | int[200][10] | item | yes: a row of 10 columns by number, 0 to 9; write item_ids.<number> = ... |
required_story_flagsdig_table_required_story_flags | int[200][10] | — | yes: a row of 10 columns by number, 0 to 9; write required_story_flags.<number> = ... |
forbidden_story_flagsdig_table_forbidden_story_flags | int[200][10] | — | yes: a row of 10 columns by number, 0 to 9; write forbidden_story_flags.<number> = ... |