unit
Record table of Kamidori Alchemy Meister, records 0 to 999, 44 fields.
EBINIT unit records keyed by unit id, with the per-unit runtime arrays (history face, voice family and setting slot). unit[761].stats.max_hp is unit_base_stats[761].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 kamidori-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
speaker_nameunit_speaker_names | string[1000][5] | — | yes: a row of 5 columns by name; write speaker_name.<column> = ... |
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 |
bestiary_descriptionunit_bestiary_description_lines | string[1000][3] | — | yes: a row of 3 columns by name; write bestiary_description.<column> = ... |
history_face_asset_idunit_history_face_asset_ids | int[1000] | a picture | yes: a whole number |
voice_family_unit_idunit_voice_family_unit_ids | int[1000] | unit | yes: a whole number |
voice_setting_slotunit_voice_setting_slot | 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> = ... |
graphicunit_graphic_asset_ids | int[1000][17] | a picture | yes: a row of 17 columns by name; write graphic.<column> = ... |
sort_keyunit_sort_key | int[1000] | — | yes: a whole number |
bestiary_listedunit_bestiary_listed | int[1000] | — | yes: a whole number |
raceunit_race | int[1000] | race | yes: a whole number |
sexunit_sex | int[1000] | — | yes: a whole number |
boss_classunit_boss_class | int[1000] | — | yes: a whole number |
canonical_character_idunit_canonical_character_id | int[1000] | — | yes: a whole number |
cutin_elementunit_cutin_element | int[1000] | — | yes: a whole number |
element_resistanceunit_element_resistance_levels | int[1000][8] | — | yes: a row of 8 columns by name where a column has one and by number where it has none; write element_resistance.<column> = ... |
default_attack_item_idunit_default_attack_item_id | int[1000] | item | yes: a whole number |
initial_weapon_levelunit_initial_weapon_level | int[1000] | — | yes: a whole number |
equippable_category_maskunit_equippable_category_mask | int[1000] | — | yes: a whole number |
initial_equipmentunit_initial_equipment_item_ids | int[1000][3] | item | yes: a row of 3 columns by name; write initial_equipment.<column> = ... |
default_costume_item_idunit_default_costume_item_id | int[1000] | item | yes: a whole number |
skillunit_skill_ids | int[1000][8] | skill | yes: a row of 8 columns by name; write skill.<column> = ... |
initial_party_capacityunit_initial_party_capacity | int[1000] | — | yes: a whole number |
unused_0x2bd024unit_unused_0x2bd024 | int[1000] | — | yes: a whole number |
party_costunit_party_cost | int[1000] | — | yes: a whole number |
initial_affinity_tenthsunit_initial_affinity_tenths | 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 |
experience_level_capunit_experience_level_cap | 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> = ... |
initial_stat_capsunit_initial_stat_caps | int[1000][14] | — | yes: a row of 14 columns by name; write initial_stat_caps.<column> = ... |
experience_rewardunit_experience_reward | int[1000] | — | yes: a whole number |
bestiary_knowledge_gainunit_bestiary_knowledge_gain | int[1000] | — | yes: a whole number |
drop_itemunit_drop_item_ids | int[1000][5] | item | yes: a row of 5 columns by name; write drop_item.<column> = ... |
drop_chanceunit_drop_chance_percent | int[1000][5] | — | yes: a row of 5 columns by name; write drop_chance.<column> = ... |
drop_knowledge_thresholdunit_drop_knowledge_threshold | int[1000][5] | — | yes: a row of 5 columns by number, 0 to 4; write drop_knowledge_threshold.<number> = ... |
drop_required_flagunit_drop_required_flag_ids | int[1000][10] | — | yes: a row of 10 columns by name; write drop_required_flag.<column> = ... |
drop_excluding_flagunit_drop_excluding_flag_ids | int[1000][5] | — | yes: a row of 5 columns by number, 0 to 4; write drop_excluding_flag.<number> = ... |
large_battle_spriteunit_large_battle_sprite | int[1000] | — | yes: a whole number |
habitat_areaunit_habitat_area_ids | int[1000][4] | world_area | yes: a row of 4 columns by number, 0 to 3; write habitat_area.<number> = ... |