magic_action_menu_kinds
Global of Himegari Dungeon Meister: the cell G:0x156106, of type int[30], data-table, values 1 base ritual, 2 field magic.
MAINIT's menu for each action. MAGIC, which FIELD opens on the map (FIELD@0x24b7), lists the actions of kind 2 in id order (MAGIC@0x4bc-0x510), at most six (MAGIC@0x513). Kind 1 are the base's rituals, which MAGIC2 reaches from FORT (FORT@0x486, MAGIC2@0x21-0x2d): STUDY's research rows are actions 7..9 (STUDY@0x8c7, row - 5) and EVOLVE's growth rituals 10 and 11 (EVOLVE@0x18, row + 8); neither reads the kind.
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 0x1560e7.
Record tables
It is a field of the table magic_action, as magic_action.id.menu_kind.
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 |
|---|---|---|---|
MAINIT | 0 | 11 | 0 |
MAGIC | 0 | 0 | 1 |