quest_appear_required_flag_ids
Global of Kamidori Alchemy Meister: the cell G:0x3b8dd2, of type int[2000][3], data-table, values story flag id; 0 = unused.
CHECKCONTRACT@0x10d: every nonzero column must have story_event_flags[v-1]==1 before the quest is posted. Base quests typically pair a story flag with an 8xxx 'quest offered' scene flag; placeholder ids 1021..1040 use 10000/9999 (debug-only, never posted).
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 required_flag_1, 1 required_flag_2, 2 required_flag_3. Lua and an event’s cell write a row’s column quest_appear_required_flag_ids[i].column.
Record tables
It is a field of the table quest, as quest.id.appear_required_flags.
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 |
|---|---|---|---|
QUINIT | 0 | 272 | 0 |
$3$QUINIT | 0 | 43 | 0 |
$1$QUINIT | 0 | 12 | 0 |
$2$QUINIT | 0 | 6 | 0 |
CHECKCONTRACT | 0 | 0 | 2 |