magic_action
Record table of Himegari Dungeon Meister, records 0 to 29, 11 fields.
MAINIT's actions keyed by action id, 11 written ($1$MAINIT writes none): the field magics 1 to 6, which MAGIC lists on the map, and the base's rituals, research 7 to 9 (STUDY) and growth 10 and 11 (EVOLVE). current_magic_action_id selects one; its description is the script information_handler_script_id names (MAMES, which has text for 1 to 9).
The game builds it at boot. Record id is [magic_action.id] in a data file, magic_action[id] in OMS and Lua, and a field magic_action.id.field.
The database lists it: Magic actions.
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 himegari-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
namemagic_action_names | string[30] | — | yes: text the save's code page (932) can encode |
icon_idmagic_action_icon_ids | int[30] | — | yes: a whole number |
menu_kindmagic_action_menu_kinds | int[30] | — | yes: a whole number |
target_modemagic_action_target_modes | int[30] | — | yes: a whole number |
costmagic_action_costs | int[30] | — | yes: a whole number |
facility_progress_gainmagic_action_facility_progress_gains | int[30] | — | yes: a whole number |
required_magic_facility_levelmagic_action_required_magic_facility_levels | int[30] | — | yes: a whole number |
required_story_flag_idmagic_action_required_story_flag_ids | int[30] | — | yes: a whole number |
required_maximum_spiritmagic_action_required_maximum_spirit | int[30] | — | yes: a whole number |
required_training_progressmagic_action_required_training_progress | int[30] | — | yes: a whole number |
information_handler_script_idmagic_action_information_handler_script_ids | int[30] | — | yes: a whole number |