card_generation_card_ids
Global of Himegari Dungeon Meister: the cell G:0x1525b2, of type int[100], data-table, values CDINIT2 card id; zero means empty candidate slot.
The card list CDINIT builds for current_card_generation_list_id, slot by slot from 1 (CDINIT@0x1f on). CDINIT zeroes slots 0 to 49 first (CDINIT@0x0-0xc) and writes one of nine lists: 1, 11, 31, 41, 55, 61, 71, 94 and 160, with 11, 36, 38, 51, 26, 52, 64, 30 and 75 slots; any other id writes nothing (the fallback comment at CDINIT@0x1e96). FIELD calls it when a type-28 card object is used, with that object's stage_object_primary_payload (FIELD@0x65ee-0x65fa), then draws from slots 0 to 99 (FIELD@0x6616-0x66c9). As CDINIT clears only 50 slots, a shorter list loaded after a longer one keeps the longer one's slots 50 on.
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.
It depends on 0x1519f8, 0x152485, 0x152486.
Record tables
It is a field of the table card_list_entry, as card_list_entry.id.card_id.
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 |
|---|---|---|---|
CDINIT | 0 | 383 | 1 |
FIELD | 0 | 0 | 2 |