unit
Record table of Himegari Dungeon Meister, records 0 to 999, 49 fields.
EBINIT unit records keyed by unit id, with the CNINIT/CVINIT voice maps and the per-unit story flags. unit[id].stats.max_hp is unit_base_stats[id].max_hp.
The game builds it at boot. Record id is [unit.id] in a data file, unit[id] in OMS and Lua, and a field unit.id.field.
The database lists it: Units.
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 |
|---|---|---|---|
full_nameunit_full_names | string[1000] | — | yes: text the save's code page (932) can encode |
display_nameunit_display_names | string[1000] | — | yes: text the save's code page (932) can encode |
initial_class_titleunit_initial_class_titles | string[1000] | — | yes: text the save's code page (932) can encode |
trait_notesunit_trait_notes | string[1000][2] | — | yes: a row of 2 columns by name; write trait_notes.<column> = ... |
story_display_nameunit_story_display_names | string[1000] | — | yes: text the save's code page (932) can encode |
story_speaker_seen_flagunit_story_speaker_seen_flags | int[1000] | — | no: saved state: a load brings the saved value back, so a file does not set it |
voice_family_unit_idunit_voice_family_unit_ids | int[1000] | unit | yes: a whole number |
voice_suppression_flag_idunit_voice_suppression_flag_ids | int[1000] | — | yes: a whole number |
voiceunit_voice_asset_ids | int[1000][30] | — | yes: a row of 30 columns by name where a column has one and by number where it has none; write voice.<column> = ... |
status_art_asset_idsunit_status_art_asset_ids | int[1000][3] | a picture | yes: a row of 3 columns by name; write status_art_asset_ids.<column> = ... |
map_sprite_asset_idsunit_map_sprite_asset_ids | int[1000][5] | a picture | yes: a row of 5 columns by name; write map_sprite_asset_ids.<column> = ... |
battle_sprite_asset_idunit_battle_sprite_asset_id | int[1000] | a picture | yes: a whole number |
battle_portrait_asset_idsunit_battle_portrait_asset_ids | int[1000][2] | a picture | yes: a row of 2 columns by name; write battle_portrait_asset_ids.<column> = ... |
battle_cutin_asset_idsunit_battle_cutin_asset_ids | int[1000][2] | a picture | yes: a row of 2 columns by name; write battle_cutin_asset_ids.<column> = ... |
sort_keyunit_sort_key | int[1000] | — | yes: a whole number |
enemy_info_listedunit_enemy_info_listed | int[1000] | — | yes: a whole number |
icon_idunit_icon_id | int[1000] | — | yes: a whole number |
species_categoryunit_species_category | int[1000] | — | yes: a whole number |
sex_categoryunit_sex_category | int[1000] | — | yes: a whole number |
boss_classunit_boss_class | int[1000] | — | yes: a whole number |
canonical_idunit_canonical_id | int[1000] | unit | yes: a whole number |
capturableunit_capturable | int[1000] | — | yes: a whole number |
roster_state_flag_base_indexunit_roster_state_flag_base_index | int[1000] | — | yes: a whole number |
sally_action_unlock_requirementsunit_sally_action_unlock_requirements | int[1000][4] | — | yes: a row of 4 columns by name; write sally_action_unlock_requirements.<column> = ... |
sally_event_idsunit_sally_event_ids | int[1000][8] | — | yes: a row of 8 columns by name; write sally_event_ids.<column> = ... |
roster_variant_idsunit_roster_variant_ids | int[1000][2] | unit | yes: a row of 2 columns by name; write roster_variant_ids.<column> = ... |
sex_magic_bonus_item_idunit_sex_magic_bonus_item_id | int[1000] | item | yes: a whole number |
essence_yieldunit_essence_yield | int[1000] | — | yes: a whole number |
summon_unlock_flag_indexunit_summon_unlock_flag_index | int[1000] | item | yes: a whole number |
summon_knowledge_thresholdunit_summon_knowledge_threshold | int[1000] | — | yes: a whole number |
summon_point_costunit_summon_point_cost | int[1000] | — | yes: a whole number |
defense_elementunit_defense_element | int[1000] | element | yes: a whole number |
default_attack_item_idunit_default_attack_item_id | int[1000] | item | yes: a whole number |
power_tierunit_power_tier | int[1000] | — | yes: a whole number |
weapon_item_categoryunit_weapon_item_category | int[1000] | — | yes: a whole number |
starting_equipment_item_idunit_starting_equipment_item_id | int[1000] | item | yes: a whole number |
starting_skillunit_starting_skill_ids | int[1000][4] | skill | yes: a row of 4 columns by name; write starting_skill.<column> = ... |
deployment_cost_baseunit_deployment_cost_base | int[1000] | — | yes: a whole number |
starting_levelunit_starting_level | int[1000] | — | yes: a whole number |
level_capunit_level_cap | int[1000] | — | yes: a whole number |
auto_level_scale_divisorunit_auto_level_scale_divisor | int[1000] | — | yes: a whole number |
statsunit_base_stats | int[1000][14] | — | yes: a row of 14 columns by name; write stats.<column> = ... |
stat_growthunit_stat_growth_rates | int[1000][14] | — | yes: a row of 14 columns by name; write stat_growth.<column> = ... |
movement_routine_setunit_movement_routine_set_ids | int[1000][3] | — | yes: a row of 3 columns by name; write movement_routine_set.<column> = ... |
battle_routine_setunit_battle_routine_set_ids | int[1000][3] | — | yes: a row of 3 columns by name; write battle_routine_set.<column> = ... |
experience_rewardunit_experience_reward | int[1000] | — | yes: a whole number |
drop_itemunit_drop_item_ids | int[1000][8] | item | yes: a row of 8 columns by name; write drop_item.<column> = ... |
drop_chanceunit_drop_chance_percent | int[1000][8] | — | yes: a row of 8 columns by name; write drop_chance.<column> = ... |
large_battle_spriteunit_large_battle_sprite | int[1000] | — | yes: a whole number |