<schema>
  <table table_name='_kv_battle_ai_ability_usage_variables_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_experience_bonuses_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_experience_bonuses_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_fatigue_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_fatigue_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_fire_values_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_key_buildings_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_key_buildings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_morale_ext_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='unknown2' type='int' />
    <field name='unknown3' type='int' />
    <field name='unknown4' type='int' />
    <field name='unknown5' type='int' />
  </table>
  <table table_name='_kv_morale_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_morale_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_naval_morale_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_naval_morale_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_naval_rules_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_rules_ext_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='unknown2' type='int' />
    <field name='unknown3' type='int' />
  </table>
  <table table_name='_kv_rules_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_rules_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_special_ability_effects_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_ui_tweakers_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_unit_ability_scaling_rules_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='_kv_winds_of_magic_params_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='abilities_tables'
         table_version='0' >
    <field name='ability' type='string' pk='true' />
    <field fkey='agent_attributes_tables.key' name='associated_attribute' type='optstring' />
    <field fkey='cursors_tables.key' name='associated_cursor_mode' type='string' />
    <field name='is_active' type='boolean' />
  </table>
  <table table_name='abilities_tables'
         table_version='1' >
    <field name='ability' type='string_ascii' pk='true' />
    <field name='cannot_fail' type='boolean' />
  </table>
  <table table_name='abilities_tables'
         table_version='2' >
    <field name='ability' type='string_ascii' pk='true' />
    <field name='cannot_fail' type='boolean' />
  </table>
  <table table_name='abilities_tables'
         table_version='3' >
    <field name='ability' type='string_ascii' pk='true' />
  </table>
  <table table_name='abilities_tables'
         table_version='4' >
    <field name='ability' type='string_ascii' pk='true' />
    <field fkey='agent_ability_categories_tables.category' name='category' type='string_ascii' />
  </table>
  <table table_name='achievements_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='achievements_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_aesthetics_tables.key' name='aesthetic' type='optstring' />
  </table>
  <table table_name='achievements_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='achievements_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='steam_id' type='optstring_ascii' />
    <field fkey='texc_expansions_tables.expansion' name='game_expansion_key' type='optstring_ascii' />
  </table>
  <table table_name='action_results_additional_outcomes_tables'
         table_version='2' >
    <field fkey='action_results_additional_outcomes_enums_tables.key' name='outcome' type='string_ascii' />
    <field fkey='action_results_tables.key' name='action_result_key' type='string_ascii' />
    <field name='value' type='float' />
    <field fkey='effects_tables.effect' name='effect_record' type='optstring_ascii' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope_record' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='opportune_failure_weighing' type='optstring_ascii' />
  </table>
  <table table_name='action_results_additional_outcomes_tables'
         table_version='3' >
    <field fkey='action_results_additional_outcomes_enums_tables.key' name='outcome' type='string_ascii' />
    <field fkey='action_results_tables.key' name='action_result_key' type='string_ascii' />
    <field name='value' type='float' />
    <field fkey='effects_tables.effect' name='effect_record' type='optstring_ascii' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope_record' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='opportune_failure_weighing' type='optstring_ascii' />
    <field name='authority_value_coefficient' type='float' />
    <field name='subterfuge_value_coefficient' type='float' />
    <field name='zeal_value_coefficient' type='float' />
  </table>
  <table table_name='action_results_additional_outcomes_tables'
         table_version='3' >
    <field fkey='action_results_additional_outcomes_enums_tables.key' name='outcome' type='string_ascii' />
    <field fkey='action_results_tables.key' name='action_result_key' type='string_ascii' />
    <field name='value' type='float' />
    <field fkey='effects_tables.effect' name='effect_record' type='optstring_ascii' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope_record' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='opportune_failure_weighting' type='optstring_ascii' />
    <field name='affects_target' type='boolean' />
    <field fkey='effect_bundle_advancement_stages_tables.key' name='advancement_stage' type='optstring_ascii' />
  </table>
  <table table_name='action_results_additional_outcomes_tables'
         table_version='4' >
    <field fkey='action_results_additional_outcomes_enums_tables.key' name='outcome' type='string_ascii' />
    <field fkey='action_results_tables.key' name='action_result_key' type='string_ascii' />
    <field name='value' type='float' />
    <field fkey='effects_tables.effect' name='effect_record' type='optstring_ascii' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope_record' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='(has_opportune_failure_weighting)' type='boolean' />
    <field name='opportune_failure_weighting' type='int' />
    <field name='affects_target' type='boolean' />
    <field fkey='effect_bundle_advancement_stages_tables.key' name='advancement_stage' type='optstring_ascii' />
  </table>
  <table table_name='action_results_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='actor_effect_bundle' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='target_effect_bundle' type='string_ascii' />
  </table>
  <table table_name='action_results_tables'
         table_version='1' >
    <field fkey='effect_bundles_tables.key' name='actor_effect_bundle' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='target_effect_bundle' type='string_ascii' />
    <field name='actor_effect_bundle_turns' type='int' />
    <field name='target_effect_bundle_turns' type='int' />
  </table>
  <table table_name='advice_info_texts_tables'
         table_version='2' >
    <field fkey='advice_levels_tables.key' name='advice_level_lookup' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='persistant' type='boolean' />
    <field name='show_instant' type='boolean' />
    <field name='show_on_navigate' type='boolean' />
    <field name='is_header' type='boolean' />
    <field name='navigation_order' type='int' />
  </table>
  <table table_name='advice_info_texts_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='persistant' type='boolean' />
    <field name='show_instant' type='boolean' />
    <field name='show_on_navigate' type='boolean' />
    <field name='is_header' type='boolean' />
    <field name='navigation_order' type='int' />
  </table>
  <table table_name='advice_levels_info_text_juncs_tables'
         table_version='0' >
    <field fkey='advice_info_texts_tables.key' name='advice_info_text' type='string_ascii' pk='true' />
    <field fkey='advice_levels_tables.key' name='advice_level' type='int' pk='true' />
  </table>
  <table table_name='advice_levels_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='advice_threads_tables.thread' name='advice_thread' type='string' />
    <field name='advice_thread_level' type='int' />
    <field name='points_needed' type='int' />
    <field name='game_area' type='string' />
    <field name='category' type='string' />
    <field name='sub_category' type='string' />
    <field name='max_repeat_count' type='int' />
    <field name='repeat_interval' type='int' />
    <field name='pause_battle' type='boolean' />
    <field name='priority_level' type='int' />
    <field name='high_verbosity_only' type='boolean' />
    <field name='locatable' type='boolean' />
    <field name='parameter' type='string' />
    <field name='on_display_script' type='optstring' />
    <field name='on_click_script' type='optstring' />
    <field name='suppressible' type='boolean' />
    <field name='uninhibitable' type='boolean' />
    <field name='audio_clip' type='string' />
  </table>
  <table table_name='advice_levels_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field fkey='advice_threads_tables.thread' name='advice_thread' type='string' />
    <field name='advice_thread_level' type='int' />
    <field name='points_needed' type='int' />
    <field name='game_area' type='string' />
    <field name='category' type='string' />
    <field name='sub_category' type='string' />
    <field name='max_repeat_count' type='int' />
    <field name='repeat_interval' type='int' />
    <field name='pause_battle' type='boolean' />
    <field name='priority_level' type='int' />
    <field name='high_verbosity_only' type='boolean' />
    <field name='locatable' type='boolean' />
    <field name='parameter' type='string' />
    <field name='on_display_script' type='optstring' />
    <field name='on_click_script' type='optstring' />
    <field name='suppressible' type='boolean' />
    <field name='uninhibitable' type='boolean' />
    <field name='audio_clip' type='string' />
    <field fkey='advisors_tables.advisor_name' name='advisor_name' type='string' />
    <field name='for_loading_screen' type='boolean' />
  </table>
  <table table_name='advice_levels_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='advice_threads_tables.thread' name='advice_thread' type='string_ascii' />
    <field name='advice_thread_level' type='int' />
    <field name='points_needed' type='int' />
    <field name='game_area' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='sub_category' type='string_ascii' />
    <field name='max_repeat_count' type='int' />
    <field name='repeat_interval' type='int' />
    <field name='pause_battle' type='boolean' />
    <field name='priority_level' type='int' />
    <field name='high_verbosity_only' type='boolean' />
    <field name='locatable' type='boolean' />
    <field name='parameter' type='string_ascii' />
    <field name='on_display_script' type='optstring_ascii' />
    <field name='on_click_script' type='optstring_ascii' />
    <field name='suppressible' type='boolean' />
    <field name='uninhibitable' type='boolean' />
    <field name='audio_clip' type='string_ascii' />
    <field fkey='advisors_tables.advisor_name' name='advisor_name' type='string_ascii' />
    <field name='for_loading_screen' type='boolean' />
    <field name='movie_link' type='optstring_ascii' />
  </table>
  <table table_name='advice_threads_tables'
         table_version='0' >
    <field name='thread' type='string' pk='true' />
  </table>
  <table table_name='advice_threads_tables'
         table_version='0' >
    <field name='thread' type='string_ascii' pk='true' />
  </table>
  <table table_name='advice_threads_tables'
         table_version='1' >
    <field name='thread' type='string_ascii' pk='true' />
    <field fkey='texc_expansions_tables.expansion' name='game_expansion_key' type='optstring_ascii' />
  </table>
  <table table_name='advisors_tables'
         table_version='0' >
    <field name='advisor_name' type='string' pk='true' />
    <field name='advisor_icon_path' type='string' />
  </table>
  <table table_name='advisors_tables'
         table_version='1' >
    <field name='advisor_name' type='string_ascii' pk='true' />
    <field name='advisor_icon_path' type='string' />
  </table>
  <table table_name='agent_ability_categories_tables'
         table_version='0' >
    <field name='category' type='string_ascii' pk='true' />
  </table>
  <table table_name='agent_action_message_events_tables'
         table_version='0' >
    <field fkey='message_events_tables.event' name='critical_failure' type='optstring_ascii' />
    <field fkey='message_events_tables.event' name='critical_success' type='optstring_ascii' />
    <field fkey='message_events_tables.event' name='failure' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='message_events_tables.event' name='opportune_failure' type='optstring_ascii' />
    <field fkey='message_events_tables.event' name='success' type='optstring_ascii' />
  </table>
  <table table_name='agent_actions_subculture_overrides_tables'
         table_version='0' >
    <field fkey='agent_actions_tables.unique_id' name='agent_action' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
  <table table_name='agent_actions_tables'
         table_version='3' >
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string_ascii' pk='true' />
    <field fkey='action_results_tables.key' name='cannot_fail' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_success' type='string_ascii' />
    <field fkey='action_results_tables.key' name='failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='opportune_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='success' type='string_ascii' />
    <field name='localised_action_name' type='string_ascii' />
    <field name='localized_action_description' type='string_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='your_message_events_male' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='your_message_events_female' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='their_message_events_male' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='their_message_events_female' type='optstring_ascii' />
  </table>
  <table table_name='agent_actions_tables'
         table_version='4' >
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string_ascii' pk='true' />
    <field fkey='action_results_tables.key' name='cannot_fail' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_success' type='string_ascii' />
    <field fkey='action_results_tables.key' name='failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='opportune_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='success' type='string_ascii' />
    <field name='localised_action_name' type='string_ascii' />
    <field name='localized_action_description' type='string_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='your_message_events_male' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='your_message_events_female' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='their_message_events_male' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='their_message_events_female' type='optstring_ascii' />
    <field fkey='effects_tables.effect' name='enabled_by_effect' type='optstring_ascii' />
  </table>
  <table table_name='agent_actions_tables'
         table_version='4' >
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string_ascii' />
    <field fkey='action_results_tables.key' name='cannot_fail' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_success' type='string_ascii' />
    <field fkey='action_results_tables.key' name='failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='opportune_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='success' type='string_ascii' />
    <field name='localised_action_name' type='string_ascii' />
    <field name='localized_action_description' type='string_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='your_message_events_male' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='your_message_events_female' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='their_message_events_male' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='their_message_events_female' type='optstring_ascii' />
    <field name='unique_id' type='string_ascii' pk='true' />
    <field fkey='agent_attributes_tables.key' name='target_attribute' type='string_ascii' />
    <field name='critical_success_proportion_modifier' type='float' />
    <field name='opportune_failure_proportion_modifier' type='float' />
    <field name='critical_failure_proportion_modifier' type='float' />
  </table>
  <table table_name='agent_actions_tables'
         table_version='5' >
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string_ascii' />
    <field fkey='action_results_tables.key' name='cannot_fail' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_success' type='string_ascii' />
    <field fkey='action_results_tables.key' name='failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='opportune_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='success' type='string_ascii' />
    <field name='localised_action_name' type='string_ascii' />
    <field name='localized_action_description' type='string_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='your_message_events_male' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='your_message_events_female' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='their_message_events_male' type='optstring_ascii' />
    <field fkey='agent_action_message_events_tables.key' name='their_message_events_female' type='optstring_ascii' />
    <field name='unique_id' type='string_ascii' pk='true' />
    <field fkey='agent_attributes_tables.key' name='target_attribute' type='string_ascii' />
    <field name='critical_success_proportion_modifier' type='float' />
    <field name='opportune_failure_proportion_modifier' type='float' />
    <field name='critical_failure_proportion_modifier' type='float' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' />
  </table>
  <table table_name='agent_actions_tables'
         table_version='8' >
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string_ascii' />
    <field fkey='action_results_tables.key' name='cannot_fail' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_success' type='string_ascii' />
    <field fkey='action_results_tables.key' name='failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='opportune_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='success' type='string_ascii' />
    <field name='localised_action_name' type='string_ascii' />
    <field name='localized_action_description' type='string_ascii' />
    <field name='unique_id' type='string_ascii' pk='true' />
    <field fkey='agent_attributes_tables.key' name='target_attribute' type='string_ascii' />
    <field name='critical_success_proportion_modifier' type='float' />
    <field name='opportune_failure_proportion_modifier' type='float' />
    <field name='critical_failure_proportion_modifier' type='float' />
    <field name='chance_of_success' type='int' />
    <field fkey='audio_vo_campaign_special_ability_states_tables.name' name='voiceover' type='string_ascii' />
    <field name='icon_path' type='string_ascii' />
  </table>
    <table table_name='agent_actions_tables'
         table_version='11' >
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string_ascii' />
    <field fkey='action_results_tables.key' name='cannot_fail' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_success' type='string_ascii' />
    <field fkey='action_results_tables.key' name='failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='opportune_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='success' type='string_ascii' />
    <field name='localised_action_name' type='string_ascii' />
    <field name='localized_action_description' type='string_ascii' />
    <field name='unique_id' type='string_ascii' pk='true' />
    <field fkey='agent_attributes_tables.key' name='target_attribute' type='string_ascii' />
    <field name='critical_success_proportion_modifier' type='float' />
    <field name='opportune_failure_proportion_modifier' type='float' />
    <field name='critical_failure_proportion_modifier' type='float' />
    <field name='chance_of_success' type='int' />
    <field fkey='audio_vo_campaign_special_ability_states_tables.name' name='voiceover' type='string_ascii' />
    <field name='icon_path' type='string_ascii' />
    <field name='show_action_info_in_ui' type='boolean' />
    <field name='subculture' type='optstring_ascii' />
    <field name='succeed_always_override' type='boolean' />
  </table>
  <table table_name='agent_actions_tables'
         table_version='12' >
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string_ascii' />
    <field fkey='action_results_tables.key' name='cannot_fail' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='critical_success' type='string_ascii' />
    <field fkey='action_results_tables.key' name='failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='opportune_failure' type='string_ascii' />
    <field fkey='action_results_tables.key' name='success' type='string_ascii' />
    <field name='localised_action_name' type='string_ascii' />
    <field name='localized_action_description' type='string_ascii' />
    <field name='unique_id' type='string_ascii' pk='true' />
    <field fkey='agent_attributes_tables.key' name='target_attribute' type='string_ascii' />
    <field name='critical_success_proportion_modifier' type='float' />
    <field name='opportune_failure_proportion_modifier' type='float' />
    <field name='critical_failure_proportion_modifier' type='float' />
    <field name='chance_of_success' type='int' />
    <field fkey='audio_vo_campaign_special_ability_states_tables.name' name='voiceover' type='string_ascii' />
    <field name='icon_path' type='string_ascii' />
    <field name='show_action_info_in_ui' type='boolean' />
    <field name='subculture' type='optstring_ascii' />
    <field name='succeed_always_override' type='boolean' />
    <field name='order' type='int' />
  </table>
  <table table_name='agent_attribute_situations_tables'
         table_version='0' >
    <field name='situation_id' type='string' pk='true' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string' />
  </table>
  <table table_name='agent_attributes_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='icon_path' type='string' />
  </table>
  <table table_name='agent_attributes_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='agent_culture_details_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='agent_uniforms_tables.uniform_name' name='model' type='string' />
    <field fkey='unit_stats_land_tables.key' name='generals_unit' type='optstring' />
  </table>
  <table table_name='agent_culture_details_tables'
         table_version='3' >
    <field fkey='agents_tables.key' name='agent' type='string' />
    <field fkey='cultures_tables.key' name='culture' type='string' />
    <field fkey='agent_uniforms_tables.uniform_name' name='model' type='string' />
    <field fkey='unit_stats_land_tables.key' name='generals_unit' type='optstring' />
    <field name='key' type='int' pk='true' />
    <field name='season' type='optstring' />
    <field name='level' type='int' />
    <field name='equipment_theme' type='optstring' />
    <field fkey='movie_event_strings_tables.event' name='agent_recruited_movie' type='optstring' />
  </table>
  <table table_name='agent_culture_details_tables'
         table_version='5' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='associated_unit' type='optstring_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='season' type='optstring_ascii' />
    <field name='level' type='int' />
    <field name='equipment_theme' type='optstring_ascii' />
    <field fkey='movie_event_strings_tables.event' name='agent_recruited_movie' type='optstring_ascii' />
    <field fkey='genders_tables.gender' name='gender' type='optstring_ascii' />
  </table>
  <table table_name='agent_culture_details_tables'
         table_version='9' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='associated_unit' type='optstring_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='season' type='optstring_ascii' />
    <field name='level' type='int' />
    <field fkey='movie_event_strings_tables.event' name='agent_recruited_movie' type='optstring_ascii' />
    <field fkey='genders_tables.gender' name='gender' type='optstring_ascii' />
    <field name='icon' type='optstring_ascii' />
    <field name='small_icon' type='string_ascii' />
    <field name='recruitable_in_ui' type='boolean' />
  </table>
  <table table_name='agent_culture_details_tables'
         table_version='10' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='associated_unit' type='optstring_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='season' type='optstring_ascii' />
    <field name='level' type='int' />
    <field fkey='movie_event_strings_tables.event' name='agent_recruited_movie' type='optstring_ascii' />
    <field fkey='genders_tables.gender' name='gender' type='optstring_ascii' />
    <field name='icon' type='optstring_ascii' />
    <field name='small_icon' type='string_ascii' />
  </table>
  <table table_name='agent_localisations_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='agent_spawning_to_building_chains_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
    <field fkey='building_chains_tables.key' name='building_chain' type='string' pk='true' />
    <field name='modifier_per_level' type='float' />
  </table>
  <table table_name='agent_spawning_to_government_types_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field name='modifier' type='float' />
  </table>
  <table table_name='agent_spawnings_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
    <field name='base_chance' type='float' />
  </table>
  <table table_name='agent_string_faction_overrides_tables'
         table_version='1' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' pk='true' />
    <field name='icon_path' type='optstring_ascii' />
  </table>
  <table table_name='agent_string_faction_overrides_tables'
         table_version='2' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' />
    <field name='icon_path' type='optstring_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring_ascii' />
  </table>
  <table table_name='agent_string_subculture_overrides_tables'
         table_version='1' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field name='icon_path' type='optstring_ascii' />
  </table>
  <table table_name='agent_string_subculture_overrides_tables'
         table_version='2' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='icon_path' type='optstring_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring_ascii' />
  </table>
  <table table_name='agent_subculture_gender_overrides_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
    <table table_name='agent_subtype_civil_war_faction_overrides_tables'
         table_version='0' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='override_faction' type='string_ascii' pk='true' />
    <field fkey='faction_civil_war_setups_tables.secondary_faction' name='secondary_faction' type='string_ascii' pk='true' />
  </table>
    <table table_name='agent_subtype_military_force_creation_overrides_tables'
         table_version='0' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' pk='true' />
    <field fkey='military_force_types_tables.key' name='military_force_type' type='string_ascii' />
  </table>
  <table table_name='agent_subtype_subculture_overrides_tables'
         table_version='2' >
    <field fkey='main_units_tables.unit' name='associated_unit_override' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field fkey='agent_subtypes_tables.key' name='subtype' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field name='icon' type='optstring_ascii' />
    <field name='small_icon' type='optstring_ascii' />
  </table>
  <table table_name='agent_subtype_subculture_overrides_tables'
         table_version='5' >
    <field fkey='main_units_tables.unit' name='associated_unit_override' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field fkey='agent_subtypes_tables.key' name='subtype' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field name='small_icon' type='optstring_ascii' />
  </table>
  <table table_name='agent_subtype_to_vows_tables'
         table_version='0' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' pk='true' />
    <field fkey='bretonnia_vows_tables.key' name='vow' type='string_ascii' pk='true' />
  </table>
  <table table_name='agent_subtypes_tables'
         table_version='12' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='auto_generate' type='boolean' />
    <field name='is_caster' type='boolean' />
    <field name='small_icon' type='optstring_ascii' />
    <field fkey='main_units_tables.unit' name='associated_unit_override' type='optstring_ascii' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
    <field name='show_in_ui' type='boolean' />
  </table>
  <table table_name='agent_subtypes_tables'
         table_version='13' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='auto_generate' type='boolean' />
    <field name='is_caster' type='boolean' />
    <field name='small_icon' type='optstring_ascii' />
    <field fkey='main_units_tables.unit' name='associated_unit_override' type='optstring_ascii' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
    <field name='show_in_ui' type='boolean' />
    <field name='has_female_name' type='boolean' />
  </table>
  <table table_name='agent_subtypes_tables'
         table_version='14' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='auto_generate' type='boolean' />
    <field name='is_caster' type='boolean' />
    <field name='small_icon' type='optstring_ascii' />
    <field fkey='main_units_tables.unit' name='associated_unit_override' type='optstring_ascii' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
    <field name='show_in_ui' type='boolean' />
    <field name='cap' type='int' />
    <field name='has_female_name' type='boolean' />
    <field name='can_gain_xp' type='boolean' />
  </table>
    <table table_name='agent_subtypes_tables'
         table_version='15' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='auto_generate' type='boolean' />
    <field name='is_caster' type='boolean' />
    <field name='small_icon' type='optstring_ascii' />
    <field fkey='main_units_tables.unit' name='associated_unit_override' type='optstring_ascii' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
    <field name='show_in_ui' type='boolean' />
    <field name='cap' type='int' />
    <field name='has_female_name' type='boolean' />
    <field name='can_gain_xp' type='boolean' />
    <field name='loyality_is_applicable' type='boolean' />
  </table>
  <table table_name='agent_to_agent_abilities_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
    <field fkey='abilities_tables.ability' name='ability' type='string' pk='true' />
    <field name='default_value' type='int' />
  </table>
  <table table_name='agent_to_agent_abilities_tables'
         table_version='3' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' pk='true' />
    <field name='localised_ability_name' type='string_ascii' />
    <field name='localised_ability_description' type='string_ascii' />
  </table>
  <table table_name='agent_to_agent_abilities_tables'
         table_version='4' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field fkey='abilities_tables.ability' name='ability' type='string_ascii' pk='true' />
  </table>
  <table table_name='agent_to_agent_attributes_tables'
         table_version='0' >
    <field fkey='agent_attributes_tables.key' name='attribute' type='string' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
    <field name='default_value' type='int' />
    <field name='visible' type='boolean' />
  </table>
  <table table_name='agent_to_agent_attributes_tables'
         table_version='2' >
    <field fkey='agent_attributes_tables.key' name='attribute' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field name='default_value' type='int' />
  </table>
  <table table_name='agent_to_bribe_actions_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
    <field fkey='bribe_actions_tables.action' name='bribe_action' type='string' />
  </table>
  <table table_name='agent_to_building_levels_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string' />
    <field name='bonus' type='int' />
  </table>
  <table table_name='agent_uniform_colours_tables'
         table_version='0' >
    <field fkey='agent_uniforms_tables.uniform_name' name='uniform_name' type='string' pk='true' />
    <field name='primary_colour_b' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_r' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='tertiary_colour_b' type='float' />
    <field name='tertiary_colour_g' type='float' />
    <field name='tertiary_colour_r' type='float' />
  </table>
  <table table_name='agent_uniforms_tables'
         table_version='0' >
    <field name='filename' type='string' />
    <field name='uniform_name' type='string' pk='true' />
    <field name='battle_filename' type='string' />
  </table>
  <table table_name='agent_uniforms_tables'
         table_version='1' >
    <field name='filename' type='string' />
    <field name='uniform_name' type='string' pk='true' />
  </table>
  <table table_name='agent_uniforms_tables'
         table_version='2' >
    <field name='filename' type='string' />
    <field name='uniform_name' type='string' pk='true' />
    <field name='battle_filename' type='string' />
  </table>
  <table table_name='agent_uniforms_tables'
         table_version='6' >
    <field fkey='variants_tables.variant_name' name='filename' type='string_ascii' />
    <field name='uniform_name' type='string_ascii' pk='true' />
    <field fkey='variants_tables.variant_name' name='battle_filename' type='optstring_ascii' />
    <field fkey='variants_tables.variant_name' name='campaign_porthole_filename' type='optstring_ascii' />
    <field name='audio_armour_type' type='string_ascii' />
    <field name='audio_weapon_type' type='string_ascii' />
    <field name='audio_shield_type' type='string_ascii' />
    <field name='campaign_politician_filename' type='optstring_ascii' />
  </table>
  <table table_name='agent_uniforms_tables'
         table_version='9' >
    <field fkey='variants_tables.variant_name' name='filename' type='string_ascii' />
    <field name='uniform_name' type='string_ascii' pk='true' />
    <field fkey='variants_tables.variant_name' name='battle_filename' type='optstring_ascii' />
    <field fkey='variants_tables.variant_name' name='campaign_porthole_filename' type='optstring_ascii' />
    <field name='campaign_politician_filename' type='optstring_ascii' />
  </table>
  <table table_name='agent_voice_events_junctions_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_key' type='string' pk='true' />
    <field fkey='sound_events_tables.name' name='sound_event_key' type='string' pk='true' />
    <field fkey='voice_events_tables.name' name='voice_event_key' type='string' pk='true' />
  </table>
  <table table_name='agents_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='zone_of_control' type='int' />
    <field name='is_playable' type='boolean' />
    <field name='animation_type' type='string' />
    <field name='portrait_override' type='optstring' />
    <field name='is_spawnable' type='boolean' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring' />
  </table>
  <table table_name='agents_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='zone_of_control' type='int' />
    <field name='is_playable' type='boolean' />
    <field name='animation_type' type='string' />
    <field name='portrait_override' type='optstring' />
    <field name='is_spawnable' type='boolean' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring' />
    <field name='faction_total_cap' type='int' />
  </table>
  <table table_name='agents_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='zone_of_control' type='int' />
    <field name='is_playable' type='boolean' />
    <field name='portrait_override' type='optstring' />
    <field name='animation_type' type='string' />
    <field name='portrait' type='optstring' />
    <field name='is_spawnable' type='boolean' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring' />
    <field name='faction_total_cap' type='int' />
    <field name='faction_cap_lower_bound' type='int' />
    <field name='cost' type='int' />
    <field fkey='sound_events_tables.name' name='audio_selected' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_complete' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_complete_can_move_again' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_illegal' type='string' />
    <field fkey='sound_events_tables.name' name='audio_embark' type='string' />
    <field fkey='sound_events_tables.name' name='audio_disembark' type='string' />
    <field fkey='sound_events_tables.name' name='audio_death' type='string' />
    <field name='VO_actor_numbers' type='string' />
  </table>
  <table table_name='agents_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='zone_of_control' type='int' />
    <field name='is_playable' type='boolean' />
    <field name='is_spawnable' type='boolean' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring' />
    <field name='faction_total_cap' type='int' />
    <field name='faction_cap_lower_bound' type='int' />
  </table>
  <table table_name='agents_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='zone_of_control' type='int' />
    <field name='is_playable' type='boolean' />
    <field name='animation_type' type='string' />
    <field name='portrait_override' type='optstring' />
    <field name='is_spawnable' type='boolean' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring' />
    <field name='faction_total_cap' type='int' />
    <field name='faction_cap_lower_bound' type='int' />
  </table>
  <table table_name='agents_tables'
         table_version='4' >
    <field name='key' type='string' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='zone_of_control' type='int' />
    <field name='is_playable' type='boolean' />
    <field name='portrait_override' type='optstring' />
    <field name='is_spawnable' type='boolean' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring' />
    <field name='faction_total_cap' type='int' />
    <field name='faction_cap_lower_bound' type='int' />
    <field name='cost' type='int' />
    <field fkey='sound_events_tables.name' name='audio_selected' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_complete' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_complete_can_move_again' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_illegal' type='string' />
    <field fkey='sound_events_tables.name' name='audio_embark' type='string' />
    <field fkey='sound_events_tables.name' name='audio_disembark' type='string' />
    <field fkey='sound_events_tables.name' name='audio_death' type='string' />
  </table>
  <table table_name='agents_tables'
         table_version='5' >
    <field name='key' type='string' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='zone_of_control' type='int' />
    <field name='is_playable' type='boolean' />
    <field name='portrait_override' type='optstring' />
    <field name='is_spawnable' type='boolean' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring' />
    <field name='faction_total_cap' type='int' />
    <field name='faction_cap_lower_bound' type='int' />
    <field name='cost' type='int' />
    <field fkey='sound_events_tables.name' name='audio_selected' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_complete' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_complete_can_move_again' type='string' />
    <field fkey='sound_events_tables.name' name='audio_move_illegal' type='string' />
    <field fkey='sound_events_tables.name' name='audio_embark' type='string' />
    <field fkey='sound_events_tables.name' name='audio_disembark' type='string' />
    <field fkey='sound_events_tables.name' name='audio_death' type='string' />
    <field name='VO_actor_numbers' type='string' />
  </table>
  <table table_name='agents_tables'
         table_version='8' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='playable' type='boolean' />
    <field name='porttrait_override' type='optstring_ascii' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string_ascii' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring_ascii' />
    <field name='faction_total_cap' type='int' />
    <field name='cost' type='int' />
    <field name='in_encyclopedia' type='boolean' />
  </table>
  <table table_name='agents_tables'
         table_version='9' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='move_points' type='int' />
    <field name='line_of_sight' type='int' />
    <field name='playable' type='boolean' />
    <field name='portrait_override' type='optstring_ascii' />
    <field fkey='agent_attributes_tables.key' name='primary_attribute' type='string_ascii' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring_ascii' />
    <field name='faction_total_cap' type='int' />
    <field name='cost' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field name='encyclopedia_url' type='optstring_ascii' />
  </table>
  <table table_name='ai_usage_groups_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='melee' type='boolean' />
    <field name='ranged' type='boolean' />
    <field name='ranged_direct' type='boolean' />
    <field name='fast' type='boolean' />
    <field name='flanker' type='boolean' />
    <field name='support' type='boolean' />
    <field name='flying' type='boolean' />
    <field name='high_value' type='boolean' />
    <field name='gate_crusher' type='boolean' />
    <field name='bomber' type='boolean' />
    <field name='shock' type='boolean' />
    <field name='use_skirmish' type='boolean' />
  </table>
  <table table_name='ai_usage_groups_tables'
         table_version='7' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='melee' type='boolean' />
    <field name='ranged_indirect' type='boolean' />
    <field name='ranged_direct' type='boolean' />
    <field name='fast' type='boolean' />
    <field name='flanker' type='boolean' />
    <field name='support' type='boolean' />
    <field name='flying' type='boolean' />
    <field name='high_value' type='boolean' />
    <field name='gate_crusher' type='boolean' />
    <field name='bomber' type='boolean' />
    <field name='shock' type='boolean' />
    <field name='use_skirmish' type='boolean' />
    <field name='harasser' type='boolean' />
    <field name='stalker' type='boolean' />
  </table>
  <table table_name='aide_de_camp_categories_tables'
         table_version='1' >
    <field name='always_play' type='boolean' />
    <field name='cooldown_time' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='play_once_only' type='boolean' />
  </table>
  <table table_name='aide_de_camp_speeches_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='text' type='string' />
    <field name='picture_in_picture' type='boolean' />
    <field name='offset_angle' type='float' />
    <field name='offset_range' type='float' />
  </table>
  <table table_name='aide_de_camp_speeches_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='text' type='string' />
    <field name='picture_in_picture' type='boolean' />
    <field name='offset_angle' type='float' />
    <field name='offset_range' type='float' />
    <field name='circumvent_cooldown' type='boolean' />
  </table>
  <table table_name='aide_de_camp_speeches_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='picture_in_picture' type='boolean' />
    <field name='offset_angle' type='float' />
    <field name='offset_range' type='float' />
    <field name='circumvent_cooldown' type='boolean' />
    <field fkey='battle_cinematic_events_tables.key' name='cinematic_event' type='optstring_ascii' />
  </table>
  <table table_name='aide_de_camp_speeches_tables'
         table_version='8' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='picture_in_picture' type='boolean' />
    <field name='offset_angle' type='float' />
    <field name='offset_range' type='float' />
    <field fkey='battle_cinematic_events_tables.key' name='cinematic_event' type='optstring_ascii' />
    <field name='icon_name' type='string_ascii' />
    <field fkey='aide_de_camp_categories_tables.key' name='category' type='string_ascii' />
  </table>
  <table table_name='aide_de_camp_speeches_tables'
         table_version='8' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='picture_in_picture' type='boolean' />
    <field name='offset_angle' type='float' />
    <field name='offset_range' type='float' />
    <field name='circumvent_cooldown' type='boolean' />
    <field fkey='battle_cinematic_events_tables.key' name='cinematic_event' type='optstring_ascii' />
    <field name='icon_name' type='string_ascii' />
    <field name='ui_duration_ms' type='int' />
    <field name='has_worldspace_ui_ping' type='boolean' />
  </table>
  <table table_name='ancillaries_categories_agent_type_scores_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' pk='true' />
    <field fkey='ancillaries_categories_tables.category' name='category' type='string_ascii' pk='true' />
    <field name='score' type='float' />
  </table>
  <table table_name='ancillaries_categories_faction_junctions_tables'
         table_version='0' >
    <field name='allowed_per_character' type='int' />
    <field fkey='ancillaries_categories_tables.category' name='ancillary_category' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='ancillaries_categories_faction_junctions_tables'
         table_version='1' >
    <field name='allowed_per_character' type='int' />
    <field fkey='ancillaries_categories_tables.category' name='ancillary_category' type='string_ascii' pk='true'/>
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='ancillaries_categories_tables'
         table_version='0' >
    <field name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='ancillaries_categories_tables'
         table_version='4' >
    <field name='category' type='string_ascii' pk='true' />
    <field name='icon_name' type='string_ascii' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='ancillaries_included_agent_subtypes_tables'
         table_version='0' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' pk='true' />
    <field fkey='ancillaries_tables.key' name='ancillary' type='string_ascii' pk='true' />
  </table>
  <table table_name='ancillaries_required_skills_tables'
         table_version='1' >
    <field fkey='ancillaries_tables.key' name='ancillary' type='string_ascii' pk='true' />
    <field fkey='character_skills_tables.key' name='required_skill' type='string_ascii' pk='true' />
    <field name='required_skill_level' type='int' />
  </table>
  <table table_name='ancillaries_subcategories_tables'
         table_version='0' >
    <field name='subcategory' type='string_ascii' pk='true' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string' pk='true' />
    <field fkey='ancillary_types_tables.type' name='type' type='string' />
    <field name='applies_to' type='string' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='5' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string' pk='true' />
    <field fkey='ancillary_types_tables.type' name='type' type='string' />
    <field name='applies_to' type='string' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
    <field fkey='avatar_skills_tables.key' name='avatar_skill' type='optstring' />
    <field name='avatar_special_ability' type='optstring' />
    <field name='legendary_item' type='boolean' />
    <field fkey='avatar_ancillaries_localised_source_lookups_tables.key' name='mp_localised_source' type='string' />
    <field name='mp_exclusive' type='boolean' />
    <field fkey='avatar_drop_probabilities_tables.key' name='mp_drop_probability' type='string' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='6' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string' pk='true' />
    <field fkey='ancillary_types_tables.type' name='type' type='string' />
    <field name='applies_to' type='string' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
    <field fkey='avatar_skills_tables.key' name='avatar_skill' type='optstring' />
    <field name='avatar_special_ability' type='optstring' />
    <field name='legendary_item' type='boolean' />
    <field fkey='avatar_ancillaries_localised_source_lookups_tables.key' name='mp_localised_source' type='string' />
    <field name='mp_exclusive' type='boolean' />
    <field fkey='avatar_drop_probabilities_tables.key' name='mp_drop_probability' type='string' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='7' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string_ascii' pk='true' />
    <field fkey='ancillary_types_tables.type' name='type' type='string_ascii' />
    <field name='applies_to' type='string_ascii' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
    <field name='explanation_text' type='optstring_ascii' />
    <field name='exclusion_text' type='optstring_ascii' />
    <field name='avatar_skill' type='optstring_ascii' />
    <field name='avatar_special_ability' type='optstring_ascii' />
    <field name='is_wife_ancillary' type='boolean' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='9' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='type' type='string_ascii' />
    <field name='applies_to' type='string_ascii' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
    <field name='avatar_skill' type='optstring_ascii' />
    <field name='avatar_special_ability' type='optstring_ascii' />
    <field name='legendary_item' type='boolean' />
    <field name='mp_exclusive' type='boolean' />
    <field name='is_wife_ancillary' type='boolean' />
    <field name='category' type='string_ascii' />
    <field name='min_starting_age' type='int' />
    <field name='max_starting_age' type='int' />
    <field name='min_expiry_age' type='int' />
    <field name='max_expiry_age' type='int' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='10' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string_ascii' pk='true' />
    <field fkey='ancillary_type_tables.type' name='type' type='string_ascii' />
    <field name='applies_to' type='string_ascii' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
    <field name='avatar_skill' type='optstring_ascii' />
    <field name='avatar_special_ability' type='optstring_ascii' />
    <field name='legendary_item' type='boolean' />
    <field name='mp_exclusive' type='boolean' />
    <field name='is_wife_ancillary' type='boolean' />
    <field name='is_husband_ancillary' type='boolean' />
    <field name='is_diplomatic_ancillary' type='boolean' />
    <field name='is_dynastic_ancillary' type='boolean' />
    <field fkey='cultures_subcultures_tables.subculture' name='spouse_subculture' type='optstring_ascii' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='12' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string_ascii' pk='true' />
    <field fkey='ancillary_type_tables.type' name='type' type='string_ascii' />
    <field name='applies_to' type='string_ascii' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
    <field name='avatar_skill' type='optstring_ascii' />
    <field name='avatar_special_ability' type='optstring_ascii' />
    <field name='legendary_item' type='boolean' />
    <field name='mp_exclusive' type='boolean' />
    <field name='is_wife_ancillary' type='boolean' />
    <field name='is_husband_ancillary' type='boolean' />
    <field name='is_diplomatic_ancillary' type='boolean' />
    <field name='is_dynastic_ancillary' type='boolean' />
    <field fkey='cultures_subcultures_tables.subculture' name='spouse_subculture' type='optstring_ascii' />
    <field fkey='ancillaries_categories_tables.category' name='category' type='string_ascii' />
    <field name='min_starting_age' type='int' />
    <field name='max_starting_age' type='int' />
    <field name='min_expiry_age' type='int' />
    <field name='max_expiry_age' type='int' />
    <field fkey='marriage_types_tables.key' name='spouse_type' type='optstring_ascii' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='15' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string_ascii' pk='true' />
    <field fkey='ancillary_types_tables.type' name='type' type='string_ascii' />
    <field name='applies_to' type='string_ascii' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
    <field name='avatar_skill' type='optstring_ascii' />
    <field name='avatar_special_ability' type='optstring_ascii' />
    <field name='legendary_item' type='boolean' />
    <field name='mp_exclusive' type='boolean' />
    <field name='is_wife_ancillary' type='boolean' />
    <field fkey='ancillaries_categories_tables.category' name='category' type='string_ascii' />
    <field name='min_starting_age' type='int' />
    <field name='max_starting_age' type='int' />
    <field name='min_expiry_age' type='int' />
    <field name='max_expiry_age' type='int' />
    <field name='immortal' type='boolean' />
    <field fkey='main_units_tables.unit' name='provided_bodyguard_unit' type='optstring_ascii' />
    <field fkey='banners_tables.banner' name='provided_banner' type='optstring_ascii' />
    <field name='uniqueness_score' type='int' />
    <field name='turns_before_swap_allowed' type='int' />
    <field fkey='ancillaries_subcategories_tables.subcategory' name='subcategory' type='optstring_ascii' />
  </table>
  <table table_name='ancillaries_tables'
         table_version='16' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string_ascii' pk='true' />
    <field fkey='ancillary_types_tables.type' name='type' type='string_ascii' />
    <field name='applies_to' type='string_ascii' />
    <field name='transferrable' type='boolean' />
    <field name='unique_to_world' type='boolean' />
    <field name='unique_to_faction' type='boolean' />
    <field name='precedence' type='int' />
    <field name='start_date' type='int' />
    <field name='end_date' type='int' />
    <field name='avatar_skill' type='optstring_ascii' />
    <field name='avatar_special_ability' type='optstring_ascii' />
    <field name='legendary_item' type='boolean' />
    <field name='mp_exclusive' type='boolean' />
    <field name='is_wife_ancillary' type='boolean' />
    <field fkey='ancillaries_categories_tables.category' name='category' type='string_ascii' />
    <field name='min_starting_age' type='int' />
    <field name='max_starting_age' type='int' />
    <field name='min_expiry_age' type='int' />
    <field name='max_expiry_age' type='int' />
    <field name='immortal' type='boolean' />
    <field fkey='main_units_tables.unit' name='provided_bodyguard_unit' type='optstring_ascii' />
    <field fkey='banners_tables.banner' name='provided_banner' type='optstring_ascii' />
    <field name='uniqueness_score' type='int' />
    <field name='turns_before_swap_allowed' type='int' />
    <field fkey='ancillaries_subcategories_tables.subcategory' name='subcategory' type='optstring_ascii' />
    <field name='randomly_dropped' type='boolean' />
  </table>
  <table table_name='ancillary_included_subcultures_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' pk='true' />
  </table>
  <table table_name='ancillary_included_subcultures_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
  <table table_name='ancillary_info_tables'
         table_version='0' >
    <field name='ancillary' type='string' pk='true' />
  </table>
  <table table_name='ancillary_info_tables'
         table_version='0' >
    <field name='ancillary' type='string_ascii' pk='true' />
  </table>
  <table table_name='ancillary_salvage_resources_tables'
         table_version='0' >
    <field fkey='ancillaries_categories_tables.category' name='category' type='string_ascii' pk='true' />
    <field name='min_uniqueness_score' type='int' pk='true' />
    <field fkey='resource_costs_tables.id' name='salvage_resources' type='string_ascii' />
  </table>
  <table table_name='ancillary_to_attribute_effects_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string' pk='true' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string' pk='true' />
    <field name='effect_value' type='int' />
  </table>
  <table table_name='ancillary_to_attribute_situation_effects_tables'
         table_version='0' >
    <field fkey='ancillaries_tables.id' name='ancillary' type='string' pk='true' />
    <field fkey='agent_attribute_situations_tables.situation' name='attribute_situation' type='string' pk='true' />
    <field name='effect_value' type='int' />
  </table>
  <table table_name='ancillary_to_effects_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='ancillary_to_effects_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='value' type='float' />
  </table>
  <table table_name='ancillary_to_excluded_ancillaries_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string' pk='true' />
    <field fkey='ancillary_info_tables.ancillary' name='excluded_ancillary' type='string' pk='true' />
  </table>
  <table table_name='ancillary_to_excluded_ancillaries_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string_ascii' pk='true' />
    <field fkey='ancillary_info_tables.ancillary' name='excluded_ancillary' type='string_ascii' pk='true' />
  </table>
  <table table_name='ancillary_to_included_agents_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
  </table>
  <table table_name='ancillary_to_included_agents_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
  </table>
  <table table_name='ancillary_types_tables'
         table_version='0' >
    <field name='type' type='string' pk='true' />
    <field name='ui_icon' type='string' />
  </table>
  <table table_name='ancillary_types_tables'
         table_version='0' >
    <field name='type' type='string_ascii' pk='true' />
    <field name='ui_icon' type='string_ascii' />
  </table>
  <table table_name='ancillary_uniqueness_groupings_tables'
         table_version='3' >
    <field name='col_b' type='int' />
    <field name='col_g' type='int' />
    <field name='col_r' type='int' />
    <field name='group_key' type='string_ascii' pk='true' />
    <field name='uniqueness_max' type='int' />
    <field name='uniqueness_min' type='int' />
    <field name='ui_state' type='string_ascii' />
  </table>
  <table table_name='anim_reference_poses_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='path' type='string' />
    <field name='root_node' type='string' />
  </table>
  <table table_name='anim_reference_poses_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='path' type='string_ascii' />
    <field name='root_node' type='string_ascii' />
  </table>
  <table table_name='animals_tables'
         table_version='0' >
    <field name='animation' type='string_ascii' />
    <field fkey='unit_armour_types_tables.key' name='armour' type='optstring_ascii' />
    <field name='charge_bonus' type='int' />
    <field fkey='battle_entities_tables.key' name='entity' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
  </table>
  <table table_name='animals_tables'
         table_version='2' >
    <field fkey='battle_animations_table_tables.key' name='animation' type='string_ascii' />
    <field fkey='unit_armour_types_tables.key' name='armour' type='optstring_ascii' />
    <field name='charge_bonus' type='int' />
    <field fkey='battle_entities_tables.key' name='entity' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
  </table>
  <table table_name='animation_set_prebattle_group_junctions_tables'
         table_version='0' >
    <field fkey='campaign_anim_set_enums_tables.name' name='anim_set' type='string_ascii' pk='true' />
    <field fkey='animation_set_prebattle_groups_tables.key' name='group' type='string_ascii' />
  </table>
  <table table_name='animation_set_prebattle_group_view_configurations_tables'
         table_version='0' >
    <field fkey='animation_set_prebattle_groups_tables.key' name='attacker' type='string_ascii' pk='true' />
    <field name='camera_distance' type='float' />
    <field name='camera_height' type='float' />
    <field fkey='animation_set_prebattle_groups_tables.key' name='defender' type='string_ascii' pk='true' />
    <field name='scale' type='float' />
    <field name='separation' type='float' />
  </table>
  <table table_name='animation_set_prebattle_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='area_of_effect_displays_tables'
         table_version='6' >
    <field name='decal' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='spline' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='vfx_central' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='vfx_ring' type='optstring_ascii' />
    <field name='spline_width' type='float' />
    <field name='spline_col_r' type='int' />
    <field name='spline_col_g' type='int' />
    <field name='spline_col_b' type='int' />
    <field name='spline_oor_col_r' type='int' />
    <field name='spline_oor_col_g' type='int' />
    <field name='spline_oor_col_b' type='int' />
    <field name='spline_vertical' type='boolean' />
    <field name='spline_animation_speed' type='float' />
    <field name='spline_tile_count' type='int' />
    <field name='composite_scene' type='optstring_ascii' />
    <field name='is_targetting_per_entity' type='boolean' />
  </table>
  <table table_name='area_of_effect_displays_tables'
         table_version='7' >
    <field name='decal' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='spline' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='vfx_central' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='vfx_ring' type='optstring_ascii' />
    <field name='spline_width' type='float' />
    <field name='spline_col_r' type='int' />
    <field name='spline_col_g' type='int' />
    <field name='spline_col_b' type='int' />
    <field name='spline_oor_col_r' type='int' />
    <field name='spline_oor_col_g' type='int' />
    <field name='spline_oor_col_b' type='int' />
    <field name='spline_vertical' type='boolean' />
    <field name='spline_animation_speed' type='float' />
    <field name='spline_tile_count' type='int' />
    <field name='composite_scene' type='optstring_ascii' />
    <field name='is_targetting_per_entity' type='boolean' />
    <field name='vfx_ring_segment_length' type='int' />
  </table>
  <table table_name='area_of_effect_displays_tables'
         table_version='8' >
    <field name='decal' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='spline' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='vfx_central' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='vfx_ring' type='optstring_ascii' />
    <field name='spline_width' type='float' />
    <field name='spline_col_r' type='int' />
    <field name='spline_col_g' type='int' />
    <field name='spline_col_b' type='int' />
    <field name='spline_oor_col_r' type='int' />
    <field name='spline_oor_col_g' type='int' />
    <field name='spline_oor_col_b' type='int' />
    <field name='spline_vertical' type='boolean' />
    <field name='spline_animation_speed' type='float' />
    <field name='spline_tile_count' type='int' />
    <field name='composite_scene' type='optstring_ascii' />
    <field name='is_targetting_per_entity' type='boolean' />
    <field name='vfx_ring_segment_length' type='int' />
    <field name='use_model_time' type='boolean' />
  </table>
  <table table_name='armed_citizenry_unit_groups_tables'
         table_version='0' >
    <field name='unit_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='armed_citizenry_units_to_unit_groups_junctions_tables'
         table_version='0' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='priority' type='int' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' />
    <field fkey='armed_citizenry_unit_groups_tables.unit_group' name='unit_group' type='string_ascii' />
  </table>
  <table table_name='army_special_abilities_for_faction_junctions_tables'
         table_version='0' >
    <field fkey='army_special_abilities_tables.army_special_ability' name='army_special_ability' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='army_special_abilities_tables'
         table_version='2' >
    <field name='army_special_ability' type='string_ascii' pk='true' />
    <field fkey='unit_special_abilities_tables.key' name='unit_special_ability' type='string_ascii' />
    <field name='unique_id' type='int' />
    <field name='-' type='int' />
    <field name='enables_siege_assault' type='boolean' />
  </table>
  <table table_name='audio_abilities_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='ui_enable_event' type='optstring_ascii' />
    <field name='ui_disable_event' type='optstring_ascii' />
    <field name='ui_targetting_event_start' type='optstring_ascii' />
    <field name='ui_targetting_event_stop' type='optstring_ascii' />
    <field name='ui_select_event' type='optstring_ascii' />
    <field name='enable_event' type='optstring_ascii' />
    <field name='disable_event' type='optstring_ascii' />
    <field name='max_distance' type='float' />
    <field name='use_reverb' type='boolean' />
    <field name='switch' type='optstring_ascii' />
  </table>
  <table table_name='audio_abilities_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='ui_enable_event' type='optstring_ascii' />
    <field name='ui_disable_event' type='optstring_ascii' />
    <field name='ui_targetting_event_start' type='optstring_ascii' />
    <field name='ui_targetting_event_stop' type='optstring_ascii' />
    <field name='ui_select_event' type='optstring_ascii' />
    <field name='enable_event' type='optstring_ascii' />
    <field name='disable_event' type='optstring_ascii' />
    <field name='max_distance' type='float' />
    <field name='use_reverb' type='boolean' />
    <field name='switch' type='optstring_ascii' />
    <field name='wind_up_target_enable_event' type='optstring_ascii' />
    <field name='wind_up_target_disable_event' type='optstring_ascii' />
    <field name='wind_up_target_max_distance' type='float' />
    <field name='wind_up_target_use_reverb' type='boolean' />
    <field name='wind_up_target_switch' type='optstring_ascii' />
  </table>
  <table table_name='audio_abilities_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='ui_enable_event' type='optstring_ascii' />
    <field name='ui_disable_event' type='optstring_ascii' />
    <field name='ui_targetting_event_start' type='optstring_ascii' />
    <field name='ui_targetting_event_stop' type='optstring_ascii' />
    <field name='ui_select_event' type='optstring_ascii' />
    <field name='enable_event' type='optstring_ascii' />
    <field name='disable_event' type='optstring_ascii' />
    <field name='max_distance' type='float' />
    <field name='use_reverb' type='boolean' />
    <field name='switch' type='optstring_ascii' />
    <field name='wind_up_target_enable_event' type='optstring_ascii' />
    <field name='wind_up_target_disable_event' type='optstring_ascii' />
    <field name='wind_up_target_max_distance' type='float' />
    <field name='wind_up_target_use_reverb' type='boolean' />
    <field name='wind_up_target_switch' type='optstring_ascii' />
    <field name='use_active_time' type='boolean' />
    <field name='use_casting_time' type='boolean' />
    <field name='casting_rtpc_name' type='optstring_ascii' />
  </table>
  <table table_name='audio_ability_phases_tables'
         table_version='0' >
    <field fkey='audio_group_sounds_tables.name' name='group_sound' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_distance' type='float' />
    <field name='start_event' type='optstring_ascii' />
    <field name='stop_event' type='optstring_ascii' />
    <field name='use_reverb' type='boolean' />
    <field name='switch' type='optstring_ascii' />
  </table>
  <table table_name='audio_ability_phases_tables'
         table_version='1' >
    <field fkey='audio_group_sounds_tables.name' name='group_sound' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_distance' type='float' />
    <field name='start_event' type='optstring_ascii' />
    <field name='stop_event' type='optstring_ascii' />
    <field name='use_reverb' type='boolean' />
    <field name='switch' type='optstring_ascii' />
    <field name='looping_group_sound' type='boolean' />
  </table>
  <table table_name='audio_area_of_effects_tables'
         table_version='0' >
    <field name='event_start' type='string_ascii' />
    <field name='event_stop' type='optstring_ascii' />
    <field name='max_distance' type='float' />
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='audio_area_of_effect_positioning_types_tables.type' name='positioning_type' type='string_ascii' />
    <field name='switch' type='optstring_ascii' />
    <field name='use_reverb' type='boolean' />
    <field name='velocity_rtpc' type='optstring_ascii' />
  </table>
  <table table_name='audio_armour_types_tables'
         table_version='3' >
    <field fkey='audio_group_sounds_tables.name' name='group_movement' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='switch' type='string_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_collision' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_impact' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_melee' type='optstring_ascii' />
  </table>
  <table table_name='audio_battle_environment_loop_junctions_tables'
         table_version='0' >
    <field fkey='audio_battle_environments_tables.name' name='environment' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_loops_tables.name' name='loop' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_types_tables.name' name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_battle_environment_loops_tables'
         table_version='2' >
    <field name='can_weather_disable' type='boolean' />
    <field name='event_start' type='optstring_ascii' />
    <field name='event_stop' type='optstring_ascii' />
    <field name='intensity_rtpc' type='optstring_ascii' />
    <field name='make_rtpc_global' type='boolean' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='sample_distance' type='float' />
    <field name='height_influence' type='boolean' />
    <field name='height_scale' type='float' />
    <field name='use_building_height' type='boolean' />
    <field name='use_tree_height' type='boolean' />
    <field name='always_play' type='boolean' />
  </table>
  <table table_name='audio_battle_environment_one_shot_junctions_tables'
         table_version='0' >
    <field fkey='audio_battle_environments_tables.name' name='environment' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_one_shots_tables.name' name='one_shot' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_types_tables.name' name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_battle_environment_one_shots_tables'
         table_version='1' >
    <field name='can_weather_disable' type='boolean' />
    <field name='event' type='optstring_ascii' />
    <field name='max_distance' type='float' />
    <field name='max_height' type='float' />
    <field name='max_time' type='float' />
    <field name='min_distance' type='float' />
    <field name='min_height' type='float' />
    <field name='min_time' type='float' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='required_intensity' type='float' />
    <field name='probability' type='float' />
  </table>
  <table table_name='audio_battle_environment_reverb_junctions_tables'
         table_version='0' >
    <field fkey='audio_battle_environment_tables.name' name='environment' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_reverbs_tables.name' name='reverb' type='string_ascii' />
    <field fkey='audio_battle_environment_reverb_types_tables.type' name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_battle_environment_reverbs_tables'
         table_version='0' >
    <field name='aux_fl' type='optstring_ascii' />
    <field name='aux_fr' type='optstring_ascii' />
    <field name='aux_rl' type='optstring_ascii' />
    <field name='aux_rr' type='optstring_ascii' />
    <field name='name' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_battle_environment_weather_loop_junctions_tables'
         table_version='0' >
    <field fkey='audio_battle_environment_loops_tables.name' name='loop' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_types_tables.name' name='type' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_weathers_tables.name' name='weather' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_battle_environment_weather_one_shot_junctions_tables'
         table_version='0' >
    <field fkey='audio_battle_environment_one_shots_tables.name' name='one_shot' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_types_tables.name' name='type' type='string_ascii' pk='true' />
    <field fkey='audio_battle_environment_weathers_tables.name' name='weather' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_battle_environment_weathers_tables'
         table_version='0' >
    <field name='disables_environment' type='boolean' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='wind_intensity_modifier' type='float' />
  </table>
  <table table_name='audio_battle_environments_tables'
         table_version='1' >
    <field name='global_water_rtpc' type='optstring_ascii' />
    <field name='is_default' type='boolean' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='global_plains_rtpc' type='optstring_ascii' />
    <field name='global_forest_rtpc' type='optstring_ascii' />
    <field name='global_urban_rtpc' type='optstring_ascii' />
  </table>
  <table table_name='audio_battle_ground_types_tables'
         table_version='0' >
    <field fkey='audio_materials_tables.key' name='audio_material' type='string_ascii' />
    <field name='can_be_snow' type='boolean' />
    <field fkey='audio_battle_ground_types_tables.key' name='fallback' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='switch' type='string_ascii' />
  </table>
  <table table_name='audio_campaign_building_enums_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_campaign_buildings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='ambience_start_event' type='optstring_ascii' />
    <field name='ambience_stop_event' type='optstring_ascii' />
    <field name='ambience_only_play_if_primary' type='boolean' />
    <field name='ambience_only_play_if_port' type='boolean' />
    <field name='one_shot_event' type='optstring_ascii' />
    <field name='one_shot_min_time' type='float' />
    <field name='one_shot_max_time' type='float' />
    <field name='one_shot_only_play_if_primary' type='boolean' />
    <field name='one_shot_only_play_if_port' type='boolean' />
    <field name='selected_event' type='optstring_ascii' />
  </table>
  <table table_name='audio_campaign_environment_ground_type_sound_assignments_tables'
         table_version='0' >
    <field fkey='audio_campaign_maps_tables.key' name='map' type='string_ascii' pk='true' />
    <field fkey='audio_campaign_environment_ground_type_sounds_tables.key' name='sound' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_campaign_environment_ground_type_sound_ground_types_tables'
         table_version='0' >
    <field fkey='campaign_ground_types_tables.type' name='ground_type' type='string_ascii' pk='true' />
    <field fkey='audio_campaign_environment_ground_type_sounds_tables.key' name='sound' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_campaign_environment_ground_type_sound_sounds_tables'
         table_version='0' >
    <field name='is_3d' type='boolean' />
    <field fkey='audio_campaign_environment_looping_sounds_tables.key' name='looping_sound' type='string_ascii' pk='true' />
    <field fkey='audio_campaign_environment_ground_type_sounds_tables.key' name='sound' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_campaign_environment_ground_type_sounds_tables'
         table_version='0' >
    <field name='grouping_size' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='required_intensity' type='float' />
    <field name='sample_range' type='float' />
  </table>
  <table table_name='audio_campaign_environment_looping_sounds_tables'
         table_version='0' >
    <field name='intensity_rtpc' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='start_event' type='string_ascii' />
    <field name='stop_event' type='string_ascii' />
  </table>
  <table table_name='audio_campaign_environment_static_sounds_tables'
         table_version='0' >
    <field fkey='audio_campaign_environment_looping_sounds_tables.key' name='looping_sound' type='string_ascii' pk='true' />
    <field fkey='audio_campaign_maps_tables.key' name='map' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_campaign_environment_tree_sound_assignments_tables'
         table_version='0' >
    <field fkey='audio_campaign_maps_tables.key' name='map' type='string_ascii' pk='true' />
    <field fkey='audio_campaign_envirionment_tree_sounds_tables.key' name='sound' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_campaign_environment_tree_sound_sounds_tables'
         table_version='0' >
    <field name='is_3d' type='boolean' />
    <field fkey='audio_campaign_environment_looping_sounds_tables.key' name='looping_sound' type='string_ascii' pk='true' />
    <field fkey='audio_campaign_environment_tree_sounds_tables.key' name='tree_sound' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_campaign_environment_tree_sound_trees_tables'
         table_version='0' >
    <field fkey='audio_campaign_environment_tree_sounds_tables.key' name='sound' type='string_ascii' pk='true' />
    <field fkey='audio_campaign_tree_types_tables.key' name='tree' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_campaign_environment_tree_sounds_tables'
         table_version='0' >
    <field name='grouping_size' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='required_intensity' type='float' />
    <field name='sample_range' type='float' />
  </table>
  <table table_name='audio_campaign_maps_tables'
         table_version='0' >
    <field fkey='campaign_maps_tables.mapname' name='key' type='string_ascii' pk='true' />
    <field name='listener_scaling_factor' type='float' />
    <field name='reverb_default' type='string_ascii' />
    <field name='reverb_underground' type='string_ascii' />
  </table>
  <table table_name='audio_campaign_stances_tables'
         table_version='1' >
    <field fkey='campaign_stances_tables.key' name='stance' type='string_ascii' pk='true' />
    <field name='ui_sound_event' type='string_ascii' />
    <field name='enter_event' type='optstring_ascii' />
    <field name='leave_event' type='optstring_ascii' />
  </table>
  <table table_name='audio_entity_actors_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='actor_switch' type='string_ascii' />
    <field name='number_of_actors' type='int' />
  </table>
  <table table_name='audio_entity_looping_sounds_tables'
         table_version='3' >
    <field name='event_start' type='string_ascii' />
    <field name='event_stop' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='limitation_scale' type='float' />
    <field name='use_obstruction' type='boolean' />
    <field name='use_reverb' type='boolean' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field name='switch_1' type='optstring_ascii' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
  </table>
  <table table_name='audio_entity_random_vocalisations_tables'
         table_version='3' >
    <field name='event' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_time' type='float' />
    <field name='min_time' type='float' />
    <field name='use_reverb' type='boolean' />
    <field name='use_obstruction' type='boolean' />
    <field name='limitation_scale' type='float' />
    <field name='min_probability' type='float' />
    <field name='max_probability' type='float' />
  </table>
  <table table_name='audio_entity_type_limitations_tables'
         table_version='4' >
    <field name='far_inside' type='int' />
    <field name='far_outside' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_distance_animation_driven' type='float' />
    <field name='near_inside' type='int' />
    <field name='near_outside' type='int' />
    <field name='animation_uncapped' type='boolean' />
    <field name='max_distance_code_driven' type='float' />
    <field name='can_play_at_bone' type='boolean' />
    <field name='code_uncapped' type='boolean' />
  </table>
  <table table_name='audio_entity_type_limitations_tables'
         table_version='5' >
    <field name='far_inside' type='int' />
    <field name='far_outside' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_distance_animation_driven' type='float' />
    <field name='near_inside' type='int' />
    <field name='near_outside' type='int' />
    <field name='animation_uncapped' type='boolean' />
    <field name='max_distance_code_driven' type='float' />
    <field name='can_play_at_bone' type='boolean' />
    <field name='code_uncapped' type='boolean' />
    <field name='contains_unique_entity_switches' type='boolean' />
  </table>
  <table table_name='audio_entity_types_tables'
         table_version='17' >
    <field fkey='audio_entity_random_vocalisations_tables.key' name='combat_random_vocalization' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='drowning_random_vocalization' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='fatigued_idle_random_vocalization' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='fatigued_moving_random_vocalization' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='idle_random_vocalization' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='running_random_vocalization' type='optstring_ascii' />
    <field name='musician_event' type='optstring_ascii' />
    <field name='switch' type='optstring_ascii' />
    <field fkey='audio_materials_tables.key' name='material' type='string_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='walking_random_vocalization' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_movement' type='optstring_ascii' />
    <field fkey='audio_entity_type_limitations_tables.key' name='limitation' type='string_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='idle_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='moving_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='rotating_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_actors_tables.key' name='actor_type' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_flying_idle' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_flying_moving' type='optstring_ascii' />
    <field name='only_uses_material' type='boolean' />
    <field fkey='audio_group_sounds_tables.name' name='group_movement_armour_override' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_idle' type='optstring_ascii' />
    <field name='attenuation_scale' type='float' />
    <field fkey='audio_group_sounds_tables.name' name='group_melee_armour_override' type='optstring_ascii' />
    <field name='triggers_cinematic' type='boolean' />
  </table>
  <table table_name='audio_entity_types_tables'
         table_version='18' >
    <field fkey='audio_entity_random_vocalisations_tables.key' name='combat_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='drowning_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='fatigued_idle_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='fatigued_moving_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='idle_random_vocalisation' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='running_random_vocalisation' type='optstring_ascii' />
    <field name='musician_event' type='optstring_ascii' />
    <field name='switch' type='optstring_ascii' />
    <field fkey='audio_materials_tables.key' name='material' type='string_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='walking_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_movement' type='optstring_ascii' />
    <field fkey='audio_entity_type_limitations_tables.key' name='limitation' type='string_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='idle_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='moving_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='rotating_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_actors_tables.key' name='actor_type' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_flying_idle' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_flying_moving' type='optstring_ascii' />
    <field name='only_uses_material' type='boolean' />
    <field fkey='audio_group_sounds_tables.name' name='group_movement_armour_override' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_idle' type='optstring_ascii' />
    <field name='attenuation_scale' type='float' />
    <field fkey='audio_group_sounds_tables.name' name='group_melee_armour_override' type='optstring_ascii' />
    <field name='triggers_cinematic' type='boolean' />
    <field fkey='audio_sphere_of_influences_tables.key' name='sphere_of_influence_default' type='optstring_ascii' />
    <field fkey='audio_sphere_of_influences_tables.key' name='sphere_of_influence_combat' type='optstring_ascii' />
  </table>
  <table table_name='audio_entity_types_tables'
         table_version='25' >
    <field fkey='audio_entity_random_vocalisations_tables.key' name='combat_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='drowning_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='fatigued_idle_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='fatigued_moving_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='idle_random_vocalisation' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='running_random_vocalisation' type='optstring_ascii' />
    <field name='musician_event' type='optstring_ascii' />
    <field name='switch' type='optstring_ascii' />
    <field fkey='audio_materials_tables.key' name='material' type='string_ascii' />
    <field fkey='audio_entity_random_vocalisations_tables.key' name='walking_random_vocalisation' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_movement' type='optstring_ascii' />
    <field fkey='audio_entity_type_limitations_tables.key' name='limitation' type='string_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='idle_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='moving_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_looping_sounds_tables.key' name='rotating_looping_sound' type='optstring_ascii' />
    <field fkey='audio_entity_actors_tables.key' name='actor_type' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_flying_idle' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_flying_moving' type='optstring_ascii' />
    <field name='only_uses_material' type='boolean' />
    <field fkey='audio_group_sounds_tables.name' name='group_movement_armour_override' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_idle' type='optstring_ascii' />
    <field name='attenuation_scale' type='float' />
    <field fkey='audio_group_sounds_tables.name' name='group_melee_armour_override' type='optstring_ascii' />
    <field name='triggers_cinematic' type='boolean' />
    <field fkey='audio_sphere_of_influences_tables.key' name='sphere_of_influence_default' type='optstring_ascii' />
    <field fkey='audio_sphere_of_influences_tables.key' name='sphere_of_influence_combat' type='optstring_ascii' />
    <field name='should_use_unique_entity_switches' type='boolean' />
    <field name='max_unique_entity_switches' type='float' />
    <field name='use_focus_rtpc' type='boolean' />
    <field name='max_camera_distance_for_focus' type='float' />
    <field name='min_camera_distance_for_focus' type='float' />
    <field name='focus_rtpc' type='optstring_ascii' />
    <field name='unique_entity_switch' type='optstring_ascii' />
    <field name='ignore_moving_outside_combat' type='boolean' />
    <field name='ignore_moving' type='boolean' />
    <field fkey='audio_group_sounds_tables.name' name='group_idle_shoot' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_idle_combat_ready' type='optstring_ascii' />
  </table>
  <table table_name='audio_explosions_tables'
         table_version='2' >
    <field name='event' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_attenuation' type='float' />
    <field name='group_event' type='optstring_ascii' />
  </table>
  <table table_name='audio_explosions_tables'
         table_version='5' >
    <field name='event' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_attenuation' type='float' />
    <field name='obstruction_size' type='float' />
    <field name='use_reverb' type='boolean' />
    <field fkey='audio_group_sounds_tables.name' name='group_sound' type='optstring_ascii' />
    <field name='only_trigger_once_per_volley' type='boolean' />
  </table>
  <table table_name='audio_explosions_tables'
         table_version='6' >
    <field name='event' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_attenuation' type='float' />
    <field name='obstruction_size' type='float' />
    <field name='use_reverb' type='boolean' />
    <field fkey='audio_group_sounds_tables.name' name='group_sound' type='optstring_ascii' />
    <field name='only_trigger_once_per_volley' type='boolean' />
    <field fkey='audio_sphere_of_influence_one_shots_tables.key' name='sphere_of_influence' type='optstring_ascii' />
  </table>
  <table table_name='audio_group_sound_assignments_tables'
         table_version='1' >
    <field fkey='audio_entity_types_tables.key' name='entity_type' type='string_ascii' pk='true' />
    <field fkey='audio_group_sounds_tables.name' name='group_sound' type='string_ascii' />
    <field fkey='audio_group_sound_situations_tables.situation' name='situation' type='string_ascii' pk='true' />
    <field fkey='audio_abilities_tables.key' name='ability' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='audio_group_sound_groupings_tables'
         table_version='1' >
    <field name='event_start' type='string_ascii' />
    <field name='event_stop' type='string_ascii' />
    <field name='grouping_size' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field name='rtpc_1_max_grouping_difference' type='float' />
  </table>
  <table table_name='audio_group_sounds_tables'
         table_version='15' >
    <field name='density_scaled' type='boolean' />
    <field name='distance_scaled' type='boolean' />
    <field name='event_start' type='optstring_ascii' />
    <field name='event_stop' type='optstring_ascii' />
    <field name='grouping_size' type='float' />
    <field name='max_distance' type='float' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='split' type='boolean' />
    <field name='split_close' type='float' />
    <field name='split_far' type='float' />
    <field name='split_offset' type='float' />
    <field name='spotlight' type='boolean' />
    <field name='use_reverb' type='boolean' />
    <field name='max_delay_start_near' type='float' />
    <field name='max_delay_start_far' type='float' />
    <field name='stop_delay' type='float' />
    <field name='min_refire_time' type='float' />
    <field name='size_game_parameter' type='string_ascii' />
    <field name='grouping_switch' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='linked_group_sound' type='optstring_ascii' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field fkey='audio_group_sound_groupings_tables.key' name='grouping' type='optstring_ascii' />
    <field name='rtpc_1_max_grouping_difference' type='float' />
    <field name='rtpc_2_max_grouping_difference' type='float' />
    <field name='size_scaler' type='float' />
    <field name='min_distance' type='float' />
    <field fkey='audio_group_sounds_tables.name' name='dual_group_sound' type='optstring_ascii' />
    <field name='min_size' type='float' />
    <field name='one_shot_influence_duration' type='float' />
    <field name='scaled_azimuth_rtpc' type='optstring_ascii' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
    <field name='obstruction_size' type='float' />
  </table>
    <table table_name='audio_group_sounds_tables'
         table_version='16' >
    <field name='density_scaled' type='boolean' />
    <field name='distance_scaled' type='boolean' />
    <field name='event_start' type='optstring_ascii' />
    <field name='event_stop' type='optstring_ascii' />
    <field name='grouping_size' type='float' />
    <field name='max_distance' type='float' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='split' type='boolean' />
    <field name='split_close' type='float' />
    <field name='split_far' type='float' />
    <field name='split_offset' type='float' />
    <field name='spotlight' type='boolean' />
    <field name='use_reverb' type='boolean' />
    <field name='max_delay_start_near' type='float' />
    <field name='max_delay_start_far' type='float' />
    <field name='stop_delay' type='float' />
    <field name='min_refire_time' type='float' />
    <field name='size_game_parameter' type='string_ascii' />
    <field name='grouping_switch' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='linked_group_sound' type='optstring_ascii' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field fkey='audio_group_sound_groupings_tables.key' name='grouping' type='optstring_ascii' />
    <field name='rtpc_1_max_grouping_difference' type='float' />
    <field name='rtpc_2_max_grouping_difference' type='float' />
    <field name='size_scaler' type='float' />
    <field name='min_distance' type='float' />
    <field fkey='audio_group_sounds_tables.name' name='dual_group_sound' type='optstring_ascii' />
    <field name='min_size' type='float' />
    <field name='one_shot_influence_duration' type='float' />
    <field name='scaled_azimuth_rtpc' type='optstring_ascii' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
    <field name='obstruction_size' type='float' />
    <field name='trigger_charge_time_to_target' type='float' />
  </table>
  <table table_name='audio_group_sounds_tables'
         table_version='17' >
    <field name='density_scaled' type='boolean' />
    <field name='distance_scaled' type='boolean' />
    <field name='event_start' type='optstring_ascii' />
    <field name='event_stop' type='optstring_ascii' />
    <field name='grouping_size' type='float' />
    <field name='max_distance' type='float' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='split' type='boolean' />
    <field name='split_close' type='float' />
    <field name='split_far' type='float' />
    <field name='split_offset' type='float' />
    <field name='spotlight' type='boolean' />
    <field name='use_reverb' type='boolean' />
    <field name='max_delay_start_near' type='float' />
    <field name='max_delay_start_far' type='float' />
    <field name='stop_delay' type='float' />
    <field name='min_refire_time' type='float' />
    <field name='size_game_parameter' type='string_ascii' />
    <field name='grouping_switch' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='linked_group_sound' type='optstring_ascii' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field fkey='audio_group_sound_groupings_tables.key' name='grouping' type='optstring_ascii' />
    <field name='rtpc_1_max_grouping_difference' type='float' />
    <field name='rtpc_2_max_grouping_difference' type='float' />
    <field name='size_scaler' type='float' />
    <field name='min_distance' type='float' />
    <field fkey='audio_group_sounds_tables.name' name='dual_group_sound' type='optstring_ascii' />
    <field name='min_size' type='float' />
    <field name='one_shot_influence_duration' type='float' />
    <field name='scaled_azimuth_rtpc' type='optstring_ascii' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
    <field name='obstruction_size' type='float' />
    <field name='trigger_charge_time_to_target' type='float' />
    <field name='disable_group_merging' type='boolean' />
  </table>
  <table table_name='audio_markers_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_marker_types_tables.key' name='type' type='string_ascii' />
    <field name='battle_start' type='optstring_ascii' />
    <field name='battle_stop' type='optstring_ascii' />
    <field name='battle_rtpc' type='optstring_ascii' />
    <field name='distance_battle' type='float' />
    <field name='campaign_start' type='optstring_ascii' />
    <field name='campaign_stop' type='optstring_ascii' />
    <field name='campaign_rtpc' type='optstring_ascii' />
    <field name='distance_campaign' type='float' />
    <field name='min_time' type='float' />
    <field name='max_time' type='float' />
    <field name='random_position' type='boolean' />
    <field name='flatten_rtpc_to_2d' type='boolean' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
  </table>
  <table table_name='audio_materials_tables'
         table_version='0' >
    <field name='can_be_snow' type='boolean' />
    <field fkey='audio_materials_tables.key' name='fallback' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='switch' type='string_ascii' />
  </table>
  <table table_name='audio_melee_hit_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='switch' type='string_ascii' />
    <field name='cannot_hit_shields' type='boolean' />
    <field name='cannot_hit_weapons' type='boolean' />
  </table>
  <table table_name='audio_melee_weapon_types_tables'
         table_version='3' >
    <field fkey='audio_group_sounds_tables.name' name='group_melee' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='switch' type='string_ascii' />
    <field name='cannot_parry' type='boolean' />
    <field fkey='audio_melee_hit_types_tables.key' name='melee_hit_type' type='string_ascii' />
  </table>
  <table table_name='audio_metadata_tag_entity_overrides_tables'
         table_version='0' >
    <field fkey='audio_entity_types_tables.key' name='entity_type' type='string_ascii' pk='true' />
    <field fkey='audio_metadata_tags_tables.key' name='metadata_tag' type='string_ascii' pk='true' />
    <field name='sound_event_battle_start' type='optstring_ascii' />
    <field name='sound_event_battle_stop' type='optstring_ascii' />
    <field name='sound_event_campaign_start' type='optstring_ascii' />
    <field name='sound_event_campaign_stop' type='optstring_ascii' />
  </table>
  <table table_name='audio_metadata_tags_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='sound_event_battle_start' type='optstring_ascii' />
    <field name='sound_event_battle_stop' type='optstring_ascii' />
    <field name='sound_event_campaign_start' type='optstring_ascii' />
    <field name='sound_event_campaign_stop' type='optstring_ascii' />
    <field name='limitation_scale' type='float' />
    <field name='entity_type_switch' type='optstring_ascii' />
    <field fkey='audio_melee_hit_categories_tables.key' name='melee_hit_category' type='optstring_ascii' />
    <field fkey='audio_melee_hit_types_tables.key' name='melee_hit_type_override' type='optstring_ascii' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field name='scaled_sound_upsize' type='int' />
    <field name='scaled_max_delay' type='float' />
    <field fkey='audio_metadata_tags_tables.key' name='scaled_sound_next' type='optstring_ascii' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
    <field name='min_probability' type='float' />
    <field name='max_probability' type='float' />
    <field name='is_vocalisation' type='boolean' />
    <field name='play_at_bone' type='boolean' />
    <field name='play_at_position' type='boolean' />
    <field name='play_at_base' type='boolean' />
    <field name='require_ground_type_limited' type='boolean' />
    <field name='require_ground_type' type='boolean' />
    <field name='require_armor_type' type='boolean' />
    <field name='require_melee_weapon_type' type='boolean' />
    <field name='require_shield_type' type='boolean' />
    <field name='triggers_blood' type='boolean' />
    <field name='is_tracked' type='boolean' />
    <field name='require_reverb' type='boolean' />
    <field name='require_obstruction' type='boolean' />
    <field name='can_play_under_splice' type='boolean' />
    <field name='ignore_if_headless' type='boolean' />
    <field name='play_on_looping_sound' type='boolean' />
    <field name='cinematic_only' type='boolean' />
    <field name='requires_cinematic' type='boolean' />
    <field name='flip_direction' type='boolean' />
    <field name='blood_enabled_only' type='boolean' />
  </table>
    <table table_name='audio_metadata_tags_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='sound_event_battle_start' type='optstring_ascii' />
    <field name='sound_event_battle_stop' type='optstring_ascii' />
    <field name='sound_event_campaign_start' type='optstring_ascii' />
    <field name='sound_event_campaign_stop' type='optstring_ascii' />
    <field name='limitation_scale' type='float' />
    <field name='entity_type_switch' type='optstring_ascii' />
    <field fkey='audio_melee_hit_categories_tables.key' name='melee_hit_category' type='optstring_ascii' />
    <field fkey='audio_melee_hit_types_tables.key' name='melee_hit_type_override' type='optstring_ascii' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field name='scaled_sound_upsize' type='int' />
    <field name='scaled_max_delay' type='float' />
    <field fkey='audio_metadata_tags_tables.key' name='scaled_sound_next' type='optstring_ascii' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
    <field name='min_probability' type='float' />
    <field name='max_probability' type='float' />
    <field name='is_vocalisation' type='boolean' />
    <field name='play_at_bone' type='boolean' />
    <field name='play_at_position' type='boolean' />
    <field name='play_at_base' type='boolean' />
    <field name='require_ground_type_limited' type='boolean' />
    <field name='require_ground_type' type='boolean' />
    <field name='require_armor_type' type='boolean' />
    <field name='require_melee_weapon_type' type='boolean' />
    <field name='require_shield_type' type='boolean' />
    <field name='triggers_blood' type='boolean' />
    <field name='is_tracked' type='boolean' />
    <field name='require_reverb' type='boolean' />
    <field name='require_obstruction' type='boolean' />
    <field name='can_play_under_splice' type='boolean' />
    <field name='ignore_if_headless' type='boolean' />
    <field name='play_on_looping_sound' type='boolean' />
    <field name='cinematic_only' type='boolean' />
    <field name='requires_cinematic' type='boolean' />
    <field name='flip_direction' type='boolean' />
    <field name='blood_enabled_only' type='boolean' />
    <field name='use_limitation_type_override' type='boolean' />
    <field fkey='audio_entity_type_limitations_tables.key' name='limitation_type_override' type='string_ascii' />
    <field name='culling_distance_override' type='float' />
  </table>
  <table table_name='audio_metadata_tags_tables'
         table_version='8' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='sound_event_battle_start' type='optstring_ascii' />
    <field name='sound_event_battle_stop' type='optstring_ascii' />
    <field name='sound_event_campaign_start' type='optstring_ascii' />
    <field name='sound_event_campaign_stop' type='optstring_ascii' />
    <field name='limitation_scale' type='float' />
    <field name='entity_type_switch' type='optstring_ascii' />
    <field fkey='audio_melee_hit_categories_tables.key' name='melee_hit_category' type='optstring_ascii' />
    <field fkey='audio_melee_hit_types_tables.key' name='melee_hit_type_override' type='optstring_ascii' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field name='scaled_sound_upsize' type='int' />
    <field name='scaled_max_delay' type='float' />
    <field fkey='audio_metadata_tags_tables.key' name='scaled_sound_next' type='optstring_ascii' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
    <field name='min_probability' type='float' />
    <field name='max_probability' type='float' />
    <field name='is_vocalisation' type='boolean' />
    <field name='play_at_bone' type='boolean' />
    <field name='play_at_position' type='boolean' />
    <field name='play_at_base' type='boolean' />
    <field name='require_ground_type_limited' type='boolean' />
    <field name='require_ground_type' type='boolean' />
    <field name='require_armor_type' type='boolean' />
    <field name='require_melee_weapon_type' type='boolean' />
    <field name='require_shield_type' type='boolean' />
    <field name='triggers_blood' type='boolean' />
    <field name='is_tracked' type='boolean' />
    <field name='require_reverb' type='boolean' />
    <field name='require_obstruction' type='boolean' />
    <field name='can_play_under_splice' type='boolean' />
    <field name='ignore_if_headless' type='boolean' />
    <field name='play_on_looping_sound' type='boolean' />
    <field name='cinematic_only' type='boolean' />
    <field name='requires_cinematic' type='boolean' />
    <field name='flip_direction' type='boolean' />
    <field name='blood_enabled_only' type='boolean' />
    <field name='use_limitation_type_override' type='boolean' />
    <field fkey='audio_entity_type_limitations_tables.key' name='limitation_type_override' type='string_ascii' />
    <field name='culling_distance_override' type='float' />
    <field name='ignore_alpha_check' type='boolean' />
    <field name='override_vo' type='boolean' />
  </table>
  <table table_name='audio_missile_weapon_types_tables'
         table_version='4' >
    <field name='fire_start_event' type='optstring_ascii' />
    <field name='fire_stop_event' type='optstring_ascii' />
    <field name='fire_max_attenuation' type='float' />
    <field fkey='audio_group_sounds_tables.name' name='group_fire' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='switch' type='string_ascii' />
    <field name='only_trigger_once_per_volley' type='boolean' />
    <field name='fire_use_reverb' type='boolean' />
    <field name='fire_obstruction_size' type='float' />
    <field fkey='audio_group_sounds_tables.name' name='group_fire_start' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_fire_stop' type='optstring_ascii' />
  </table>
  <table table_name='audio_projectile_bombardments_tables'
         table_version='0' >
    <field name='event' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_attenuation' type='float' />
    <field name='obstruction_size' type='float' />
  </table>
  <table table_name='audio_projectile_bombardments_tables'
         table_version='0' >
    <field name='event' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_attenuation' type='float' />
    <field name='obstruction_size' type='float' />
    <field name='use_reverb' type='boolean' />
  </table>
  <table table_name='audio_projectile_limitations_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='near_inside' type='int' />
    <field name='near_outside' type='int' />
    <field name='far_inside' type='int' />
    <field name='far_outside' type='int' />
    <field name='uncapped' type='boolean' />
    <field name='max_distance' type='float' />
  </table>
  <table table_name='audio_projectiles_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='audio_projectile_type' type='string_ascii' />
    <field name='max_attenuation_fire' type='float' />
    <field name='max_attenuation_impact' type='float' />
    <field name='max_attenuation_inflight' type='float' />
    <field name='play_incoming_sound' type='boolean' />
    <field name='requires_distance' type='boolean' />
    <field name='requires_speed' type='boolean' />
    <field name='inflight_min_speed' type='float' />
  </table>
  <table table_name='audio_projectiles_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_attenuation_fire' type='float' />
    <field name='max_attenuation_impact' type='float' />
    <field name='max_attenuation_inflight' type='float' />
    <field name='requires_distance' type='boolean' />
    <field name='requires_speed' type='boolean' />
    <field name='inflight_min_speed' type='float' />
    <field name='fire_event' type='optstring_ascii' />
    <field name='fire_group_event' type='optstring_ascii' />
    <field name='incoming_event' type='optstring_ascii' />
    <field name='impact_event' type='optstring_ascii' />
    <field name='impact_blood_event' type='optstring_ascii' />
    <field name='inflight_start_event' type='optstring_ascii' />
    <field name='inflight_stop_event' type='optstring_ascii' />
    <field name='hit_tree_start_event' type='optstring_ascii' />
    <field name='hit_tree_stop_event' type='optstring_ascii' />
    <field name='idle_start_event' type='optstring_ascii' />
    <field name='idle_stop_event' type='optstring_ascii' />
    <field name='max_attenuation_idle' type='float' />
    <field name='impact_group_event' type='optstring_ascii' />
  </table>
  <table table_name='audio_projectiles_tables'
         table_version='13' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_attenuation_fire' type='float' />
    <field name='max_attenuation_impact' type='float' />
    <field name='max_attenuation_inflight' type='float' />
    <field name='inflight_min_speed' type='float' />
    <field name='fire_start_event' type='optstring_ascii' />
    <field name='fire_stop_event' type='optstring_ascii' />
    <field name='incoming_event' type='optstring_ascii' />
    <field name='impact_event' type='optstring_ascii' />
    <field name='impact_blood_event' type='optstring_ascii' />
    <field name='inflight_start_event' type='optstring_ascii' />
    <field name='inflight_stop_event' type='optstring_ascii' />
    <field name='hit_tree_start_event' type='optstring_ascii' />
    <field name='hit_tree_stop_event' type='optstring_ascii' />
    <field name='idle_start_event' type='optstring_ascii' />
    <field name='idle_stop_event' type='optstring_ascii' />
    <field name='max_attenuation_idle' type='float' />
    <field name='obstruction_size' type='float' />
    <field name='use_reverb' type='boolean' />
    <field fkey='audio_group_sounds_tables.name' name='group_fire' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_inflight' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_impact' type='optstring_ascii' />
    <field name='incoming_time' type='float' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field name='switch_1' type='optstring_ascii' />
    <field name='fire_only_trigger_once_per_volley' type='boolean' />
    <field name='inflight_only_trigger_once_per_volley' type='boolean' />
    <field name='impact_only_trigger_once_per_volley' type='boolean' />
    <field name='flyby_event' type='optstring_ascii' />
    <field name='flyby_distance' type='float' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
  </table>
  <table table_name='audio_projectiles_tables'
         table_version='14' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_attenuation_fire' type='float' />
    <field name='max_attenuation_impact' type='float' />
    <field name='max_attenuation_inflight' type='float' />
    <field name='inflight_min_speed' type='float' />
    <field name='fire_start_event' type='optstring_ascii' />
    <field name='fire_stop_event' type='optstring_ascii' />
    <field name='incoming_event' type='optstring_ascii' />
    <field name='impact_event' type='optstring_ascii' />
    <field name='impact_blood_event' type='optstring_ascii' />
    <field name='inflight_start_event' type='optstring_ascii' />
    <field name='inflight_stop_event' type='optstring_ascii' />
    <field name='hit_tree_start_event' type='optstring_ascii' />
    <field name='hit_tree_stop_event' type='optstring_ascii' />
    <field name='idle_start_event' type='optstring_ascii' />
    <field name='idle_stop_event' type='optstring_ascii' />
    <field name='max_attenuation_idle' type='float' />
    <field name='obstruction_size' type='float' />
    <field name='use_reverb' type='boolean' />
    <field fkey='audio_group_sounds_tables.name' name='group_fire' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_inflight' type='optstring_ascii' />
    <field fkey='audio_group_sounds_tables.name' name='group_impact' type='optstring_ascii' />
    <field name='incoming_time' type='float' />
    <field name='rtpc_1_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_1_assignment' type='optstring_ascii' />
    <field name='rtpc_2_name' type='optstring_ascii' />
    <field fkey='audio_rtpc_assignments_tables.name' name='rtpc_2_assignment' type='optstring_ascii' />
    <field name='switch_1' type='optstring_ascii' />
    <field name='fire_only_trigger_once_per_volley' type='boolean' />
    <field name='inflight_only_trigger_once_per_volley' type='boolean' />
    <field name='impact_only_trigger_once_per_volley' type='boolean' />
    <field name='flyby_event' type='optstring_ascii' />
    <field name='flyby_distance' type='float' />
    <field name='doppler_rtpc_name' type='optstring_ascii' />
    <field fkey='audio_projectile_limitations_tables.key' name='limitation' type='string_ascii' />
    <field name='limitation_scale_fire' type='float' />
    <field name='limitation_scale_inflight' type='float' />
    <field name='limitation_scale_impact' type='float' />
    <field name='limitation_scale_incoming' type='float' />
    <field name='limitation_scale_flyby' type='float' />
  </table>
  <table table_name='audio_shield_types_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='switch' type='string_ascii' />
    <field fkey='audio_melee_hit_types_tables.key' name='melee_hit_type' type='string_ascii' />
  </table>
  <table table_name='audio_sphere_of_influence_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_sphere_of_influence_one_shots_tables'
         table_version='0' >
    <field name='duration' type='float' />
    <field name='fade_in' type='float' />
    <field name='fade_out' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_sphere_of_influences_tables.key' name='sphere' type='string_ascii' />
  </table>
  <table table_name='audio_sphere_of_influences_tables'
         table_version='0' >
    <field fkey='audio_sphere_of_influence_groups_tables.key' name='group' type='string_ascii' />
    <field name='is_reversed' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_camera_distance' type='float' />
    <field name='max_influence' type='float' />
    <field name='max_influence_distance' type='float' />
    <field name='max_visual_attenuation' type='float' />
    <field name='min_camera_distance' type='float' />
    <field name='min_influence_distance' type='float' />
    <field name='priority' type='float' />
  </table>
  <table table_name='audio_technologies_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology' type='string_ascii' pk='true' />
    <field fkey='audio_ui_categories_tables.key' name='ui_audio' type='string_ascii' />
  </table>
  <table table_name='audio_ui_categories_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='left_click' type='optstring_ascii' />
    <field name='right_click' type='optstring_ascii' />
    <field name='mouse_on' type='optstring_ascii' />
    <field name='mouse_off' type='optstring_ascii' />
    <field name='drag_start' type='optstring_ascii' />
    <field name='drag_stop' type='optstring_ascii' />
    <field name='shortcut' type='optstring_ascii' />
    <field name='panel_opened' type='optstring_ascii' />
    <field name='panel_closed' type='optstring_ascii' />
  </table>
  <table table_name='audio_vo_actor_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_vo_actors_tables.key' name='actor_1' type='string_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_2' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_3' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_4' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_5' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_6' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_7' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_8' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_9' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_10' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_11' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_12' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_13' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_14' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_15' type='optstring_ascii' />
  </table>
  <table table_name='audio_vo_actor_groups_tables'
         table_version='2' >
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_1' type='string_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_2' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_3' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_4' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_5' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_6' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_7' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_8' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_9' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_10' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_11' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_12' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_13' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_14' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='vo_actor_15' type='optstring_ascii' />
  </table>
    <table table_name='audio_vo_actor_groups_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_vo_actors_tables.key' name='actor_1' type='string_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_2' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_3' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_4' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_5' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_6' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_7' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_8' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_9' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_10' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_11' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_12' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_13' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_14' type='optstring_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='actor_15' type='optstring_ascii' />
    <field name='cooldown_overlap' type='float' />
  </table>
  <table table_name='audio_vo_actors_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='audio_vo_factions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='autoresolver_ai_usage_group_combat_potential_modifiers_tables'
         table_version='0' >
    <field name='additive_mod' type='float' />
    <field name='multiplier' type='float' />
    <field fkey='ai_usage_groups_tables.key' name='usage_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='autoresolver_battle_types_tables'
         table_version='0' >
    <field name='autoresolver_stance' type='optstring_ascii' />
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='optstring_ascii' />
    <field fkey='autoresolver_optional_bool_enums_tables.key' name='is_encampment' type='optstring_ascii' />
    <field fkey='autoresolver_optional_bool_enums_tables.key' name='is_night_battle' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='autoresolver_modifier_group_keys_tables'
         table_version='0' >
    <field name='group_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='autoresolver_modifier_group_lookups_tables'
         table_version='0' >
    <field fkey='autoresolver_battle_types_tables.key' name='battle_type' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='autoresolver_modifier_group_keys_tables.group_key' name='modifier_group_applied' type='string_ascii' />
    <field fkey='autoresolver_modifier_multiplier_mechanic_enums_tables.key' name='modifier_value_multiplier_mechanic' type='string_ascii' />
    <field fkey='autoresolver_player_types_tables.key' name='player_type' type='string_ascii' />
  </table>
  <table table_name='autoresolver_modifier_group_to_modifiers_tables'
         table_version='0' >
    <field fkey='autoresolver_modifier_group_keys_tables.group_key' name='group' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='autoresolver_modifier_bonus_types_tables.key' name='modifier_bonus' type='string_ascii' />
    <field fkey='autoresolver_modifier_targets_tables.key' name='modifier_target' type='string_ascii' />
    <field name='value' type='float' />
  </table>
  <table table_name='autoresolver_modifier_targets_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='unit_class_tables.key' name='target_unit_class' type='optstring_ascii' />
    <field fkey='unit_class_tables.key' name='vs_unit_class' type='optstring_ascii' />
  </table>
  <table table_name='autoresolver_player_types_tables'
         table_version='0' >
    <field fkey='autoresolver_difficulty_level_enums_tables.key' name='enemy_player_campaign_difficulty' type='optstring_ascii' />
    <field fkey='autoresolver_optional_bool_enums_tables.key' name='enemy_player_is_human' type='optstring_ascii' />
    <field name='if_player_is_attacker' type='boolean' />
    <field name='if_player_is_defender' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='autoresolver_difficulty_level_enums_tables.key' name='player_campaign_difficulty' type='optstring_ascii' />
    <field fkey='autoresolver_optional_bool_enums_tables.key' name='player_is_human' type='optstring_ascii' />
  </table>
  <table table_name='autoresolver_unit_record_usage_flags_tables'
         table_version='1' >
    <field name='always_destroy_if_engaged_in_melee' type='boolean' />
    <field fkey='main_units_tables.unit' name='main_unit_record' type='string_ascii' pk='true' />
  </table>
  <table table_name='avatar_advanced_skills_requirements_tables'
         table_version='0' >
    <field fkey='avatar_skill_chain_lookups_tables.skill_chain' name='chain' type='string' pk='true' />
    <field name='points_needed' type='int' />
    <field fkey='avatar_skills_tables.key' name='skill' type='string' pk='true' />
  </table>
  <table table_name='avatar_advanced_skills_requirements_tables'
         table_version='1' >
    <field fkey='avatar_skill_chain_lookups_tables.skill_chain' name='chain' type='string' pk='true' />
    <field name='points_needed' type='int' />
    <field fkey='avatar_skills_tables.key' name='skill' type='string' pk='true' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_aesthetic_sets_tables'
         table_version='3' >
    <field fkey='ancillaries_tables.key' name='ancillary' type='optstring' />
    <field name='key' type='string' pk='true' />
    <field name='localised_name' type='string' />
    <field name='icon_path' type='string' />
  </table>
  <table table_name='avatar_aesthetic_sets_tables'
         table_version='4' >
    <field fkey='ancillaries_tables.key' name='ancillary' type='optstring' />
    <field name='key' type='string' pk='true' />
    <field name='localised_name' type='string' />
    <field name='icon_path' type='string' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_aesthetic_sources_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_aesthetics_localised_source_lookups_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='achievements_tables.key' name='second_description' type='optstring' />
  </table>
  <table table_name='avatar_aesthetics_tables'
         table_version='6' >
    <field fkey='avatar_skills_tables.key' name='avatar_skill' type='optstring' />
    <field name='avatar_skill_set' type='optstring' />
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_aesthetic_sets_tables.key' name='armour_set' type='optstring' />
    <field fkey='avatar_aesthetic_sources_tables.key' name='source' type='optstring' />
    <field fkey='avatar_drop_probabilities_tables.key' name='grouping' type='optstring' />
    <field fkey='mount_variants_tables.display_key' name='model' type='optstring' />
    <field name='localised_name' type='string' />
    <field name='icon_path' type='string' />
    <field name='model_path' type='string' />
    <field fkey='avatar_aesthetics_categories_enum_tables.key' name='category' type='string' />
    <field fkey='avatar_aesthetics_localised_source_lookups_tables.key' name='onscreen_source' type='string' />
    <field name='default_item' type='boolean' />
    <field name='unique_index' type='int' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='warscape_equipment_item' type='optstring' />
  </table>
  <table table_name='avatar_aesthetics_tables'
         table_version='7' >
    <field fkey='avatar_skills_tables.key' name='avatar_skill' type='optstring' />
    <field name='avatar_skill_set' type='optstring' />
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_aesthetic_sets_tables.key' name='armour_set' type='optstring' />
    <field fkey='avatar_aesthetic_sources_tables.key' name='source' type='optstring' />
    <field fkey='avatar_drop_probabilities_tables.key' name='grouping' type='optstring' />
    <field fkey='mount_variants_tables.display_key' name='model' type='optstring' />
    <field name='localised_name' type='string' />
    <field name='icon_path' type='string' />
    <field name='model_path' type='string' />
    <field fkey='avatar_aesthetics_categories_enum_tables.key' name='category' type='string' />
    <field fkey='avatar_aesthetics_localised_source_lookups_tables.key' name='onscreen_source' type='string' />
    <field name='default_item' type='boolean' />
    <field name='unique_index' type='int' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='warscape_equipment_item' type='optstring' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_ancillaries_descriptions_tables'
         table_version='0' >
    <field fkey='ancillaries_tables.key' name='key' type='string' pk='true' />
    <field name='string_order' type='int' pk='true' />
  </table>
  <table table_name='avatar_ancillaries_localised_source_lookups_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='localised_source_text' type='string' />
  </table>
  <table table_name='avatar_ancillaries_to_categories_juncs_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='key' type='string' pk='true' />
    <field fkey='avatar_ancillaries_categories_lookups_tables.key' name='retainer_category' type='string' pk='true' />
  </table>
  <table table_name='avatar_ancillaries_to_effects_junctions_tables'
         table_version='4' >
    <field fkey='avatar_effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='ancillaries_tables.key' name='key' type='string' pk='true' />
    <field name='value' type='float' />
    <field name='multiplier' type='boolean' />
    <field name='debuff' type='boolean' />
    <field fkey='avatar_unit_group_ids_tables.group_id' name='unit_group_key' type='optstring' />
  </table>
  <table table_name='avatar_ancillaries_to_effects_junctions_tables'
         table_version='5' >
    <field fkey='avatar_effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='ancillaries_tables.key' name='key' type='string' pk='true' />
    <field name='value' type='float' />
    <field name='multiplier' type='boolean' />
    <field name='debuff' type='boolean' />
    <field fkey='avatar_unit_group_ids_tables.group_id' name='unit_group_key' type='optstring' />
    <field name='string_order' type='int' />
  </table>
  <table table_name='avatar_army_makeup_traits_tables'
         table_version='0' >
    <field name='army_percentage' type='int' />
    <field fkey='avatar_traits_tables.key' name='key' type='string' pk='true' />
    <field fkey='unit_category_tables.key' name='unit_category' type='string' />
  </table>
  <table table_name='avatar_campaign_maps_tables'
         table_version='5' >
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_1' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_10' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_11' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_12' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_13' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_14' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_15' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_2' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_3' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_4' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_5' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_6' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_7' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_8' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_9' type='optstring' />
    <field fkey='avatar_dojo_chains_tables.key' name='dojo' type='optstring' />
    <field name='is_land' type='boolean' />
    <field name='is_starting_region' type='boolean' />
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_aesthetics_tables.key' name='unlock_aesthetic' type='optstring' />
    <field fkey='ancillaries_tables.key' name='unlock_ancillary' type='optstring' />
    <field name='red' type='int' />
    <field name='green' type='int' />
    <field name='blue' type='int' />
    <field name='onscreen_name' type='string' />
    <field fkey='avatar_campaign_maps_tables.key' name='start_sea_region' type='optstring' />
  </table>
  <table table_name='avatar_campaign_maps_tables'
         table_version='6' >
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_1' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_10' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_11' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_12' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_13' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_14' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_15' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_2' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_3' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_4' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_5' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_6' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_7' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_8' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_9' type='optstring' />
    <field fkey='avatar_dojo_chains_tables.key' name='dojo' type='optstring' />
    <field name='is_land' type='boolean' />
    <field name='is_starting_region' type='boolean' />
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_aesthetics_tables.key' name='unlock_aesthetic' type='optstring' />
    <field fkey='ancillaries_tables.key' name='unlock_ancillary' type='optstring' />
    <field name='red' type='int' />
    <field name='green' type='int' />
    <field name='blue' type='int' />
    <field name='onscreen_name' type='string' />
    <field fkey='avatar_campaign_maps_tables.key' name='start_sea_region' type='optstring' />
    <field name='unique_index' type='int' />
  </table>
  <table table_name='avatar_campaign_maps_tables'
         table_version='8' >
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_1' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_10' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_11' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_12' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_13' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_14' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_15' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_2' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_3' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_4' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_5' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_6' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_7' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_8' type='optstring' />
    <field fkey='avatar_campaign_maps_tables.key' name='adjacent_9' type='optstring' />
    <field fkey='avatar_dojo_chains_tables.key' name='dojo' type='optstring' />
    <field name='is_land' type='boolean' />
    <field name='is_starting_region' type='boolean' />
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_aesthetics_tables.key' name='unlock_aesthetic' type='optstring' />
    <field fkey='ancillaries_tables.key' name='unlock_ancillary' type='optstring' />
    <field name='red' type='int' />
    <field name='green' type='int' />
    <field name='blue' type='int' />
    <field name='onscreen_name' type='string' />
    <field fkey='avatar_campaign_maps_tables.key' name='start_sea_region' type='optstring' />
    <field name='unique_index' type='int' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
    <field fkey='avatar_campaign_map_regions_tables.region' name='region' type='string' />
  </table>
  <table table_name='avatar_clan_specialisms_tables'
         table_version='0' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_clan_specialisms_tables'
         table_version='1' >
    <field fkey='ancillary_info_tables.ancillary' name='ancillary' type='string' />
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_dojo_chains_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='onscreen_name' type='string' />
    <field name='recruitment_requirement_description' type='optstring' />
  </table>
  <table table_name='avatar_dojo_chains_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='onscreen_name' type='string' />
    <field name='recruitment_requirement_description' type='optstring' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_dojo_codependencies_tables'
         table_version='0' >
    <field fkey='avatar_dojos_tables.codependency_key' name='codependency' type='string' />
    <field fkey='avatar_dojos_tables.key' name='key' type='string' pk='true' />
    <field fkey='units_tables.key' name='unit' type='string' pk='true' />
  </table>
  <table table_name='avatar_dojos_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='chain' type='optstring' />
    <field name='level' type='int' pk='true' />
    <field fkey='units_tables.key' name='unit' type='optstring' pk='true'/>
    <field fkey='ancillaries_tables.key' name='ancillary' type='optstring' />
  </table>
  <table table_name='avatar_dojos_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='chain' type='optstring' />
    <field name='level' type='int' pk='true' />
    <field fkey='units_tables.key' name='unit' type='optstring' pk='true' />
    <field fkey='ancillaries_tables.key' name='ancillary' type='optstring' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_drop_probabilities_tables'
         table_version='0' >
    <field name='drop_chance' type='float' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_effects_tables'
         table_version='0' >
    <field name='effect' type='string' pk='true' />
  </table>
  <table table_name='avatar_faction_flags_tables'
         table_version='0' >
    <field name='image_file' type='optstring' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_flags_tables'
         table_version='0' >
    <field name='unique_index' type='int' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_flags_tables'
         table_version='1' >
    <field name='unique_index' type='int' />
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_ancillaries_localised_source_lookups_tables.key' name='source' type='string' />
  </table>
  <table table_name='avatar_flags_tables'
         table_version='3' >
    <field name='unique_index' type='int' />
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_ancillaries_localised_source_lookups_tables.key' name='source' type='string' />
    <field name='order' type='int' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_gempei_dojos_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='chain' type='optstring' />
    <field name='level' type='int' pk='true' />
    <field fkey='units_tables.key' name='unit' type='optstring' pk='true' />
    <field fkey='ancillaries_tables.key' name='ancillary' type='optstring' />
  </table>
  <table table_name='avatar_product_lookups_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_ranks_tables'
         table_version='1' >
    <field name='ancillary_slots' type='int' />
    <field name='key' type='string' pk='true' />
    <field name='onscreen_name' type='optstring' />
    <field name='rank_sequence' type='int' />
    <field name='skill_points' type='int' />
    <field name='veteran_slots' type='int' />
    <field name='xp' type='int' />
    <field name='avatar_unit_cost' type='int' />
  </table>
  <table table_name='avatar_ranks_tables'
         table_version='2' >
    <field name='ancillary_slots' type='int' />
    <field name='key' type='string' pk='true' />
    <field name='onscreen_name' type='optstring' />
    <field name='rank_sequence' type='int' />
    <field name='skill_points' type='int' />
    <field name='veteran_slots' type='int' />
    <field name='xp' type='int' />
    <field name='avatar_unit_cost' type='int' />
    <field name='times_reset' type='int' pk='true' />
  </table>
  <table table_name='avatar_ranks_tables'
         table_version='3' >
    <field name='ancillary_slots' type='int' />
    <field name='key' type='string' pk='true' />
    <field name='onscreen_name' type='optstring' />
    <field name='rank_sequence' type='int' />
    <field name='skill_points' type='int' />
    <field name='veteran_slots' type='int' />
    <field name='xp' type='int' />
    <field name='avatar_unit_cost' type='int' />
    <field name='times_reset' type='int' pk='true' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_ranks_tables'
         table_version='4' >
    <field name='ancillary_slots' type='int' />
    <field name='key' type='string' pk='true' />
    <field name='onscreen_name' type='optstring' />
    <field name='rank_sequence' type='int' />
    <field name='skill_points' type='int' />
    <field name='veteran_slots' type='int' />
    <field name='xp' type='int' />
    <field name='avatar_unit_cost' type='int' />
    <field name='times_reset' type='int' pk='true' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
    <field name='avatar_naval_unit_cost' type='int' />
  </table>
  <table table_name='avatar_skill_chain_lookups_tables'
         table_version='0' >
    <field name='skill_chain' type='string' pk='true' />
  </table>
  <table table_name='avatar_skill_effects_juncs_tables'
         table_version='2' >
    <field fkey='avatar_effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='effect_value' type='float' />
    <field fkey='avatar_skills_tables.key' name='skill' type='string' pk='true' />
    <field name='multiplier' type='boolean' />
  </table>
  <table table_name='avatar_skill_effects_juncs_tables'
         table_version='3' >
    <field fkey='avatar_effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='effect_value' type='float' />
    <field fkey='avatar_skills_tables.key' name='skill' type='string' pk='true' />
    <field name='multiplier' type='boolean' />
    <field fkey='avatar_unit_group_ids_tables.group_id' name='unit_group' type='optstring' />
  </table>
  <table table_name='avatar_skill_prerequisites_tables'
         table_version='0' >
    <field name='points_needed' type='int' />
    <field fkey='avatar_skills_tables.key' name='prerequisite' type='string' pk='true' />
    <field fkey='avatar_skills_tables.key' name='skill' type='string' pk='true' />
  </table>
  <table table_name='avatar_skill_sets_tables'
         table_version='0' >
    <field name='unknown1' type='string' />
    <field name='unknown2' type='string' />
    <field name='unknown3' type='boolean' />
  </table>
  <table table_name='avatar_skill_tree_traits_tables'
         table_version='0' >
    <field fkey='avatar_traits_tables.key' name='key' type='string' pk='true' />
    <field fkey='avatar_skill_chain_lookups_tables.skill_chain' name='skill_chain' type='string' />
    <field name='skill_points_allocated' type='int' />
  </table>
  <table table_name='avatar_skills_descriptions_tables'
         table_version='0' >
    <field fkey='avatar_skills_tables.key' name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_skills_tables'
         table_version='9' >
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_skill_level_lookups_tables.key' name='level' type='int' />
    <field fkey='avatar_skill_chain_lookups_tables.skill_chain' name='skill_chain' type='string' />
    <field name='icon' type='string' />
    <field fkey='avatar_skills_tables.key' name='supersedes_skill' type='optstring' />
    <field name='advanced_skill' type='boolean' />
    <field fkey='avatar_clan_specialisms_tables.key' name='clan_skill' type='optstring' />
    <field name='clan_tokens_required' type='int' />
    <field fkey='avatar_skill_sub_chain_lookups_tables.key' name='skill_sub_chain' type='string' />
    <field name='cost' type='int' />
    <field fkey='avatar_skill_sub_chain_lookups_tables.key' name='skill_sub_chain_superceded' type='optstring' />
    <field name='unique_index' type='int' />
  </table>
  <table table_name='avatar_skills_tables'
         table_version='10' >
    <field name='key' type='string' pk='true' />
    <field fkey='avatar_skill_level_lookups_tables.key' name='level' type='int' />
    <field fkey='avatar_skill_chain_lookups_tables.skill_chain' name='skill_chain' type='string' />
    <field name='icon' type='string' />
    <field fkey='avatar_skills_tables.key' name='supersedes_skill' type='optstring' />
    <field name='advanced_skill' type='boolean' />
    <field fkey='avatar_clan_specialisms_tables.key' name='clan_skill' type='optstring' />
    <field name='clan_tokens_required' type='int' />
    <field fkey='avatar_skill_sub_chain_lookups_tables.key' name='skill_sub_chain' type='string' />
    <field name='cost' type='int' />
    <field fkey='avatar_skill_sub_chain_lookups_tables.key' name='skill_sub_chain_superceded' type='optstring' />
    <field name='unique_index' type='int' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_skills_to_units_juncs_tables'
         table_version='0' >
    <field fkey='avatar_skills_tables.key' name='skill' type='string' pk='true' />
    <field fkey='units_tables.key' name='unit' type='string' pk='true' />
  </table>
  <table table_name='avatar_special_abilities_tables'
         table_version='0' >
    <field name='unknown1' type='optstring' />
    <field name='unknown2' type='optstring' />
    <field name='unknown3' type='string' />
  </table>
  <table table_name='avatar_startpos_units_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_startpos_units_tables'
         table_version='1' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_traits_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='avatar_traits_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='unique_index' type='int' />
  </table>
  <table table_name='avatar_unit_group_ids_tables'
         table_version='0' >
    <field name='group_id' type='string' pk='true' />
  </table>
  <table table_name='avatar_unit_group_recruitment_limits_tables'
         table_version='0' >
    <field name='number_of_units' type='int' />
    <field fkey='random_localisation_strings_tables.key' name='string' type='string' />
    <field fkey='avatar_unit_group_ids_tables.group_id' name='unit_group' type='string' pk='true' />
  </table>
  <table table_name='avatar_unit_groups_tables'
         table_version='0' >
    <field fkey='avatar_unit_group_ids_tables.group_id' name='group_id' type='string' pk='true' />
    <field fkey='avatar_units_tables.key' name='unit_key' type='string' pk='true' />
  </table>
  <table table_name='avatar_unit_info_card_abilites_strings_tables'
         table_version='0' >
    <field fkey='avatar_effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='icon' type='string' />
  </table>
  <table table_name='avatar_unit_levels_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='skill_points' type='int' />
    <field name='xp' type='int' />
  </table>
  <table table_name='avatar_unit_levels_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='skill_points' type='int' />
    <field name='xp' type='int' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_unit_ui_categories_tables'
         table_version='0' >
    <field name='unit_ui_category' type='string' pk='true' />
  </table>
  <table table_name='avatar_units_tables'
         table_version='2' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='xp_scaling_factor' type='float' />
    <field name='default_avatar_general_model_unit' type='boolean' />
    <field name='unique_index' type='int' />
  </table>
  <table table_name='avatar_units_tables'
         table_version='3' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='xp_scaling_factor' type='float' />
    <field name='default_avatar_general_model_unit' type='boolean' />
    <field name='unique_index' type='int' />
    <field fkey='avatar_unit_ui_categories_tables.unit_ui_category' name='unit_ui_category' type='string' />
    <field name='unit_ui_category_order' type='int' />
  </table>
  <table table_name='avatar_units_tables'
         table_version='4' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='xp_scaling_factor' type='float' />
    <field name='default_avatar_general_model_unit' type='boolean' />
    <field name='unique_index' type='int' />
    <field fkey='avatar_unit_ui_categories_tables.unit_ui_category' name='unit_ui_category' type='string' />
    <field name='unit_ui_category_order' type='int' />
    <field name='hero_unit' type='boolean' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_units_tables'
         table_version='6' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='xp_scaling_factor' type='float' />
    <field name='default_avatar_general_model_unit' type='boolean' />
    <field name='unique_index' type='int' />
    <field fkey='avatar_unit_ui_categories_tables.unit_ui_category' name='unit_ui_category' type='string' />
    <field name='unit_ui_category_order' type='int' />
    <field name='hero_unit' type='boolean' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='avatar_units_tables'
         table_version='8' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='xp_scaling_factor' type='float' />
    <field name='default_avatar_general_model_unit' type='boolean' />
    <field name='unique_index' type='int' />
    <field fkey='avatar_unit_ui_categories_tables.unit_ui_category' name='unit_ui_category' type='string' />
    <field name='unit_ui_category_order' type='int' />
    <field name='hero_unit' type='boolean' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
    <field name='start_unit_as_veteran' type='boolean' />
    <field fkey='avatar_clan_specialisms_tables.key' name='clan_specialism' type='optstring' />
  </table>
  <table table_name='avatar_xp_rewards_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='xp_value' type='float' />
  </table>
  <table table_name='avatar_xp_rewards_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='xp_value' type='float' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' />
  </table>
  <table table_name='banditry_events_tables'
         table_version='0' >
    <field name='maximum_banditry' type='int' />
    <field fkey='message_events_tables.event' name='message_event' type='string_ascii' />
    <field name='minimum_banditry' type='int' />
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='province_effect_bundle' type='string_ascii' />
    <field name='weight' type='int' />
  </table>
  <table table_name='banditry_events_tables'
         table_version='1' >
    <field name='maximum_banditry' type='int' />
    <field fkey='message_events_tables.event' name='message_event' type='string_ascii' />
    <field name='minimum_banditry' type='int' />
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='province_effect_bundle' type='string_ascii' />
    <field name='weight' type='int' />
    <field name='duration' type='int' />
  </table>
  <table table_name='banners_permitted_unit_sets_tables'
         table_version='0' >
    <field fkey='banners_tables.banner' name='banner' type='string_ascii' pk='true' />
    <field fkey='unit_sets_tables.key' name='unit_set' type='string_ascii' pk='true' />
  </table>
  <table table_name='banners_tables'
         table_version='1' >
    <field name='banner' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
  </table>
  <table table_name='battle_ai_abilities_usage_params_tables'
         table_version='1' >
    <field name='usage_param' type='string_ascii' pk='true' />
    <field name='divisor_factor' type='float' />
  </table>
  <table table_name='battle_ai_abilities_usage_template_names_tables'
         table_version='1' >
    <field name='ai_ability_usage_template_key' type='string_ascii' pk='true'/>
    <field name='factor_bias' type='float' />
  </table>
  <table table_name='battle_ai_abilities_usage_templates_to_params_tables'
         table_version='0' >
    <field fkey='battle_ai_abilities_usage_params_tables.usage_params' name='parameter' type='string_ascii' pk='true' />
    <field fkey='battle_ai_abilities_usage_template_names_tables.ai_ability_usage_template_key' name='template' type='string_ascii' pk='true' />
    <field name='weighting' type='float' />
  </table>
  <table table_name='battle_animations_table_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_skeletons_tables.name' name='skeleton' type='string_ascii' />
  </table>
  <table table_name='battle_autoresolver_balances_tables'
         table_version='0' >
    <field name='melee_potential_multiplier' type='float' />
    <field name='missile_potential_multiplier' type='float' />
    <field fkey='unit_class_tables.key' name='source_unit_class' type='string' pk='true' />
    <field fkey='unit_class_tables.key' name='target_unit_class' type='string' pk='true' />
  </table>
  <table table_name='battle_autoresolver_balances_tables'
         table_version='0' >
    <field name='melee_potential_multiplier' type='float' />
    <field name='missile_potential_multiplier' type='float' />
    <field fkey='unit_class_tables.key' name='source_unit_class' type='string_ascii' pk='true' />
    <field fkey='unit_class_tables.key' name='target_unit_class' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_bridge_subculture_jcts_tables'
         table_version='0' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' pk='true' />
    <field fkey='battlefield_buildings_tables.key' name='simple_bridge' type='string' />
    <field fkey='battlefield_buildings_tables.key' name='refined_bridge' type='string' />
  </table>
  <table table_name='battle_bridge_subculture_jcts_tables'
         table_version='0' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' pk='true' />
    <field fkey='battlefield_buildings_tables.key' name='simple_bridge' type='string_ascii' />
    <field fkey='battlefield_buildings_tables.key' name='refined_bridge' type='string_ascii' />
  </table>
  <table table_name='battle_bridge_subculture_jcts_tables'
         table_version='0' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field fkey='battlefield_buildings_tables.key' name='simple_bridge' type='string_ascii' />
    <field fkey='battlefield_buildings_tables.key' name='refined_bridge' type='string_ascii' />
  </table>
  <table table_name='battle_camera_shake_parameters_tables'
         table_version='0' >
    <field name='attack' type='float' />
    <field name='decay' type='float' />
    <field name='fall_off_distance' type='float' />
    <field name='horizontal_amplitude' type='float' />
    <field name='horizontal_frequency' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='octave_amplitude_multiplier' type='float' />
    <field name='octave_frequency_multiplier' type='float' />
    <field name='octaves' type='int' />
    <field name='pitch_amplitude' type='float' />
    <field name='pitch_frequency' type='float' />
    <field name='release' type='float' />
    <field name='roll_amplitude' type='float' />
    <field name='roll_frequency' type='float' />
    <field name='sustain' type='float' />
    <field name='sustain_multiplier' type='float' />
    <field name='vertical_amplitude' type='float' />
    <field name='vertical_frequency' type='float' />
    <field name='yaw_amplitude' type='float' />
    <field name='yaw_frequency' type='float' />
  </table>
  <table table_name='battle_cameras_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='max_height_large' type='float' />
    <field name='max_height_small' type='float' />
    <field name='min_fort_max_height' type='float' />
    <field name='min_height' type='float' />
    <field name='move_speed_max_multiplier' type='float' />
    <field name='move_speed_min_multiplier' type='float' />
    <field name='turn_speed_multiplier' type='float' />
    <field name='move_fast_multiplier' type='float' />
  </table>
  <table table_name='battle_cameras_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_height_large' type='float' />
    <field name='max_height_small' type='float' />
    <field name='min_fort_max_height' type='float' />
    <field name='min_height' type='float' />
    <field name='move_speed_max_multiplier' type='float' />
    <field name='move_speed_min_multiplier' type='float' />
    <field name='turn_speed_multiplier' type='float' />
    <field name='move_fast_multiplier' type='float' />
  </table>
  <table table_name='battle_cameras_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_height_large' type='float' />
    <field name='max_height_small' type='float' />
    <field name='min_fort_max_height' type='float' />
    <field name='min_height' type='float' />
    <field name='move_speed_max_multiplier' type='float' />
    <field name='move_speed_min_multiplier' type='float' />
    <field name='turn_speed_multiplier' type='float' />
    <field name='move_fast_multiplier' type='float' />
    <field name='playable_area_offset' type='float' />
  </table>
  <table table_name='battle_catchment_override_areas_tables'
         table_version='0' >
    <field name='area' type='string_ascii' pk='true' />
    <field name='blue' type='int' />
    <field name='green' type='int' />
    <field name='red' type='int' />
  </table>
  <table table_name='battle_catchment_override_battle_mappings_tables'
         table_version='1' >
    <field fkey='battle_catchment_override_areas_tables.area' name='area' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='attacker' type='string_ascii' pk='true' />
    <field fkey='battle_catchment_override_groups_tables.group' name='battle_group' type='string_ascii' />
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='string_ascii' pk='true' />
    <field fkey='campaign_maps_tables.mapname' name='campaign' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='defender' type='string_ascii' pk='true' />
  </table>
    <table table_name='battle_catchment_override_battle_mappings_tables'
         table_version='2' >
    <field fkey='battle_catchment_override_areas_tables.area' name='area' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='attacker' type='string_ascii' pk='true' />
    <field fkey='battle_catchment_override_groups_tables.group' name='battle_group' type='string_ascii' />
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='string_ascii' pk='true' />
    <field fkey='campaign_maps_tables.mapname' name='campaign' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='defender' type='string_ascii' pk='true' />
    <field name='required_tile_upgrades' type='optstring_ascii' />
  </table>
  <table table_name='battle_catchment_override_group_battles_tables'
         table_version='2' >
    <field name='battle_map_location' type='string_ascii' pk='true' />
    <field fkey='battle_catchment_override_groups_tables.group' name='group' type='string_ascii' pk='true' />
    <field name='catchment_name' type='optstring_ascii' />
    <field name='tile_upgrades' type='optstring_ascii' />
  </table>
  <table table_name='battle_catchment_override_groups_tables'
         table_version='0' >
    <field name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_cinematic_event_categories_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_cinematic_events_tables'
         table_version='3' >
    <field name='filename' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='level' type='string_ascii' />
    <field name='priority' type='int' />
    <field name='window_in' type='int' />
    <field name='window_out' type='int' />
    <field name='repeat_wait_ms' type='int' />
    <field fkey='battle_cinematic_event_categories_tables.key' name='event_category' type='string_ascii' />
    <field name='time_after_event' type='int' />
  </table>
  <table table_name='battle_cities_tables'
         table_version='0' >
    <field name='city' type='string' pk='true' />
    <field name='minimum_building_scale' type='float' />
    <field name='maximum_building_scale' type='float' />
    <field name='town_min_distance' type='float' />
    <field name='city_min_distance' type='float' />
    <field name='town_radius' type='float' />
    <field name='city_radius' type='float' />
    <field name='number_of_town_buildings' type='int' />
    <field name='number_of_city_buildings' type='int' />
  </table>
  <table table_name='battle_cities_tables'
         table_version='0' >
    <field name='city' type='string_ascii' pk='true' />
    <field name='minimum_building_scale' type='float' />
    <field name='maximum_building_scale' type='float' />
    <field name='town_min_distance' type='float' />
    <field name='city_min_distance' type='float' />
    <field name='town_radius' type='float' />
    <field name='city_radius' type='float' />
    <field name='number_of_town_buildings' type='int' />
    <field name='number_of_city_buildings' type='int' />
  </table>
  <table table_name='battle_city_buildings_tables'
         table_version='0' >
    <field fkey='warscape_rigid_tables.key' name='building' type='string' pk='true' />
    <field fkey='battle_cities_tables.city' name='city' type='string' />
    <field name='amount_in_town' type='int' />
    <field name='amount_in_city' type='int' />
  </table>
  <table table_name='battle_city_buildings_tables'
         table_version='0' >
    <field fkey='warscape_rigid_tables.key' name='building' type='string_ascii' pk='true' />
    <field fkey='battle_cities_tables.city' name='city' type='string_ascii' />
    <field name='amount_in_town' type='int' />
    <field name='amount_in_city' type='int' />
  </table>
  <table table_name='battle_city_subculture_jct_tables'
         table_version='0' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' pk='true' />
    <field fkey='battle_cities_tables.city' name='city' type='string' />
  </table>
  <table table_name='battle_city_subculture_jct_tables'
         table_version='0' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field fkey='battle_cities_tables.city' name='city' type='string_ascii' />
  </table>
  <table table_name='battle_climate_groupings_tables'
         table_version='0' >
    <field name='climate_id' type='string' pk='true' />
  </table>
  <table table_name='battle_climate_weather_descriptions_tables'
         table_version='0' >
    <field name='key' type='string' />
    <field fkey='climates_tables.climate_type' name='climate_type' type='string' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string' pk='true' />
    <field fkey='battle_weather_types_tables.key' name='weather_type' type='string' pk='true' />
    <field name='probability' type='int' />
    <field name='ambient_fog_probability' type='int' />
    <field name='volumetric_fog_probability' type='int' />
    <field name='heat_fatigue' type='int' />
    <field name='cold_fatigue' type='int' />
    <field name='haze_index' type='int' />
    <field name='fog_index' type='int' />
  </table>
  <table table_name='battle_climate_weather_descriptions_tables'
         table_version='1' >
    <field name='key' type='string_ascii' />
    <field fkey='climates_tables.climate_type' name='climate_type' type='string_ascii' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string_ascii' pk='true' />
    <field fkey='battle_weather_types_tables.key' name='weather_type' type='string_ascii' pk='true' />
    <field name='probability' type='int' />
    <field name='heat_fatigue' type='int' />
    <field name='cold_fatigue' type='int' />
    <field name='spotting_scalar' type='float' />
  </table>
  <table table_name='battle_context_army_special_ability_junctions_tables'
         table_version='0' >
    <field fkey='army_special_abilities_tables.army_special_ability' name='army_special_ability' type='string_ascii' />
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
    <table table_name='battle_context_unit_ability_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='unit_abilities_tables.key' name='unit_ability' type='string_ascii' />
  </table>
  <table table_name='battle_context_unit_attribute_junctions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='battle_context' type='string_ascii' />
    <field fkey='unit_attributes_tables.key' name='unit_attribute' type='string_ascii' />
  </table>
  <table table_name='battle_difficulty_modifiers_tables'
         table_version='1' >
    <field name='difficulty_level' type='string_ascii' pk='true' />
    <field name='human' type='boolean' pk='true' />
    <field name='stat' type='string_ascii' pk='true' />
    <field fkey='ui_unit_stats_tables.key' name='value' type='optstring_ascii' />
  </table>
  <table table_name='battle_entities_gradient_strategy_enums_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_entities_size_enums_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_entities_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='battle_entities_class_validation_enum_tables.key' name='class_validation' type='string' />
    <field fkey='battle_entities_types_enum_tables.key' name='type' type='string' />
    <field name='walk_speed' type='float' />
    <field name='run_speed' type='float' />
    <field name='acceleration' type='float' />
    <field name='deceleration' type='float' />
    <field name='charge_speed' type='float' />
    <field name='crawl_speed' type='float' />
    <field name='charge_distance_commence_run' type='float' />
    <field name='charge_distance_adopt_charge_pose' type='float' />
    <field name='charge_distance_pick_target' type='float' />
    <field name='radius' type='float' />
    <field fkey='battle_entities_shape_enum_tables.key' name='shape' type='string' />
    <field name='radii_ratio' type='float' />
    <field name='mass' type='float' />
    <field name='height' type='float' />
    <field name='fire_arc_close' type='float' />
    <field name='fire_arc_loose' type='float' />
    <field name='turn_speed' type='float' />
    <field name='hit_points' type='int' />
  </table>
  <table table_name='battle_entities_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='type' type='string_ascii' />
    <field name='walk_speed' type='float' />
    <field name='run_speed' type='float' />
    <field name='acceleration' type='float' />
    <field name='deceleration' type='float' />
    <field name='charge_speed' type='float' />
    <field name='crawl_speed' type='float' />
    <field name='charge_distance_commence_run' type='float' />
    <field name='charge_distance_adopt_charge_pose' type='float' />
    <field name='charge_distance_pick_target' type='float' />
    <field name='radius' type='float' />
    <field name='shape' type='string_ascii' />
    <field name='radii_ratio' type='float' />
    <field name='mass' type='float' />
    <field name='height' type='float' />
    <field name='fire_arc_close' type='float' />
    <field name='fire_arc_loose' type='float' />
    <field name='turn_speed' type='float' />
    <field name='hit_points' type='int' />
    <field name='allow_static_turn_anim' type='boolean' />
    <field name='allow_turn_to_move_anim' type='boolean' />
    <field name='tracking_threshold' type='float' />
    <field name='min_turning_speed' type='float' />
    <field name='display_model_offset_z' type='float' />
  </table>
  <table table_name='battle_entities_tables'
         table_version='27' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='type' type='string_ascii' />
    <field name='walk_speed' type='float' />
    <field name='run_speed' type='float' />
    <field name='acceleration' type='float' />
    <field name='deceleration' type='float' />
    <field name='charge_speed' type='float' />
    <field name='crawl_speed' type='float' />
    <field name='charge_distance_commence_run' type='float' />
    <field name='charge_distance_adopt_charge_pose' type='float' />
    <field name='charge_distance_pick_target' type='float' />
    <field name='shape' type='string_ascii' />
    <field name='radius' type='float' />
    <field name='mass' type='float' />
    <field name='height' type='float' />
    <field name='fire_arc_close' type='float' />
    <field name='turn_speed' type='float' />
    <field name='hit_points' type='int' />
    <field name='allow_turn_to_move_anim' type='boolean' />
    <field name='allow_static_turn_anim' type='boolean' />
    <field name='min_turning_speed' type='float' />
    <field name='fly_speed' type='float' />
    <field name='flying_charge_speed' type='float' />
    <field name='size' type='string_ascii' />
    <field name='strafe_speed' type='float' />
    <field name='gradient_strategy' type='string_ascii' />
    <field name='audio_entity_type' type='string_ascii' />
    <field name='combat_reaction_radius' type='float' />
    <field name='entity_effects' type='string_ascii' />
    <field name='hit_reactions_ignore_chance' type='int' />
    <field name='knock_interrupts_ignore_chance' type='int' />
    <field name='soft_collision_offset_z' type='float' />
    <field name='can_climb_ladder_and_stair_pipes' type='boolean' />
    <field name='projectile_intersection_radius_ratio' type='float' />
    <field name='projectile_penetration_speed_change' type='float' />
    <field name='projectile_penetration_resistence' type='int' />
    <field name='aura_vfx' type='optstring_ascii' />
    <field name='porthole_camera' type='optstring_ascii' />
    <field name='min_tracking_ratio' type='float' />
    <field name='max_tracking_ratio' type='float' />
    <field name='vfx_filter_id' type='int' />
    <field name='can_cast_projectile' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='unknown43' type='optstring_ascii' />
  </table>
  <table table_name='battle_entities_tables'
         table_version='31' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='type' type='string_ascii' />
    <field name='walk_speed' type='float' />
    <field name='run_speed' type='float' />
    <field name='acceleration' type='float' />
    <field name='deceleration' type='float' />
    <field name='charge_speed' type='float' />
    <field name='crawl_speed' type='float' />
    <field name='charge_distance_commence_run' type='float' />
    <field name='charge_distance_adopt_charge_pose' type='float' />
    <field name='charge_distance_pick_target' type='float' />
    <field name='shape' type='string_ascii' />
    <field name='radius' type='float' />
    <field name='mass' type='float' />
    <field name='height' type='float' />
    <field name='fire_arc_close' type='float' />
    <field name='turn_speed' type='float' />
    <field name='hit_points' type='int' />
    <field name='allow_turn_to_move_anim' type='boolean' />
    <field name='allow_static_turn_anim' type='boolean' />
    <field name='min_turning_speed' type='float' />
    <field name='fly_speed' type='float' />
    <field name='flying_charge_speed' type='float' />
    <field name='size' type='string_ascii' />
    <field name='strafe_speed' type='float' />
    <field name='gradient_strategy' type='string_ascii' />
    <field name='audio_entity_type' type='string_ascii' />
    <field name='combat_reaction_radius' type='float' />
    <field name='entity_effects' type='string_ascii' />
    <field name='hit_reactions_ignore_chance' type='int' />
    <field name='knock_interrupts_ignore_chance' type='int' />
    <field name='soft_collision_offset_z' type='float' />
    <field name='can_climb_ladder_and_stair_pipes' type='boolean' />
    <field name='projectile_intersection_radius_ratio' type='float' />
    <field name='projectile_penetration_speed_change' type='float' />
    <field name='projectile_penetration_resistance' type='int' />
    <field name='aura_vfx' type='optstring_ascii' />
    <field name='porthole_camera' type='optstring_ascii' />
    <field name='min_tracking_ratio' type='float' />
    <field name='max_tracking_ratio' type='float' />
    <field name='vfx_filter_id' type='int' />
    <field name='can_cast_projectile' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='has_blood' type='boolean' />
    <field name='can_dismember' type='boolean' />
    <field name='combat_camera_shake_type' type='optstring_ascii' />
    <field name='dismember_head_alive_hp_ratio' type='float' />
    <field name='dismember_arms_hp_ratio' type='float' />
  </table>
  <table table_name='battle_entities_tables'
         table_version='32' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='type' type='string_ascii' />
    <field name='walk_speed' type='float' />
    <field name='run_speed' type='float' />
    <field name='acceleration' type='float' />
    <field name='deceleration' type='float' />
    <field name='charge_speed' type='float' />
    <field name='crawl_speed' type='float' />
    <field name='charge_distance_commence_run' type='float' />
    <field name='charge_distance_adopt_charge_pose' type='float' />
    <field name='charge_distance_pick_target' type='float' />
    <field name='shape' type='string_ascii' />
    <field name='radius' type='float' />
    <field name='mass' type='float' />
    <field name='height' type='float' />
    <field name='fire_arc_close' type='float' />
    <field name='turn_speed' type='float' />
    <field name='hit_points' type='int' />
    <field name='allow_turn_to_move_anim' type='boolean' />
    <field name='allow_static_turn_anim' type='boolean' />
    <field name='min_turning_speed' type='float' />
    <field name='fly_speed' type='float' />
    <field name='flying_charge_speed' type='float' />
    <field name='size' type='string_ascii' />
    <field name='strafe_speed' type='float' />
    <field name='gradient_strategy' type='string_ascii' />
    <field name='audio_entity_type' type='string_ascii' />
    <field name='combat_reaction_radius' type='float' />
    <field name='entity_effects' type='string_ascii' />
    <field name='hit_reactions_ignore_chance' type='int' />
    <field name='knock_interrupts_ignore_chance' type='int' />
    <field name='soft_collision_offset_z' type='float' />
    <field name='can_climb_ladder_and_stair_pipes' type='boolean' />
    <field name='projectile_intersection_radius_ratio' type='float' />
    <field name='projectile_penetration_speed_change' type='float' />
    <field name='projectile_penetration_resistance' type='int' />
    <field name='aura_vfx' type='optstring_ascii' />
    <field name='porthole_camera' type='optstring_ascii' />
    <field name='min_tracking_ratio' type='float' />
    <field name='max_tracking_ratio' type='float' />
    <field name='vfx_filter_id' type='int' />
    <field name='can_cast_projectile' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='has_blood' type='boolean' />
    <field name='can_dismember' type='boolean' />
    <field name='combat_camera_shake_type' type='optstring_ascii' />
    <field name='dismember_head_alive_hp_ratio' type='float' />
    <field name='dismember_arms_hp_ratio' type='float' />
    <field name='jump_attack_chance' type='int' />
  </table>
  <table table_name='battle_entity_effects_junctions_tables'
         table_version='1' >
    <field fkey='battle_entity_effects_tables.name' name='impact_dust' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_entity_effects_tables.name' name='melee_dust' type='optstring_ascii' />
    <field fkey='battle_entity_effects_tables.name' name='run_dust' type='optstring_ascii' />
    <field fkey='battle_entity_effects_tables.name' name='walk_dust' type='optstring_ascii' />
    <field fkey='battle_entity_effects_tables.name' name='footsteps' type='optstring_ascii' />
  </table>
  <table table_name='battle_entity_effects_junctions_tables'
         table_version='4' >
    <field fkey='battle_entity_effects_tables.name' name='impact_dust' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_entity_effects_tables.name' name='melee_dust' type='optstring_ascii' />
    <field fkey='battle_entity_effects_tables.name' name='run_dust' type='optstring_ascii' />
    <field fkey='battle_entity_effects_tables.name' name='walk_dust' type='optstring_ascii' />
    <field fkey='battle_entity_effects_tables.name' name='footsteps' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='blood_spurt_small' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='blood_spurt_medium' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='blood_spurt_large' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='blood_explosion' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='blood_spurt_large_decal' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='blood_explosion_decal' type='optstring_ascii' />
  </table>
  <table table_name='battle_entity_effects_tables'
         table_version='0' >
    <field fkey='particle_effects_tables.key' name='deep_water' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='forest' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='grass' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='mud' type='optstring_ascii' />
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='road' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='rock' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='sand' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='scrub' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='shallow_water' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='snow' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='wooden_floor' type='optstring_ascii' />
  </table>
  <table table_name='battle_entity_effects_tables'
         table_version='2' >
    <field fkey='particle_effects_tables.key' name='deep_water' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='forest' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='grass' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='mud' type='optstring_ascii' />
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='road' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='rock' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='sand' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='scrub' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='shallow_water' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='snow' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='wooden_floor' type='optstring_ascii' />
    <field name='effect_frequency' type='float' />
    <field fkey='battle_camera_shake_parameters_tables.key' name='footstep_camera_shake' type='optstring_ascii' />
  </table>
  <table table_name='battle_entity_stats_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true'  />
    <field fkey='melee_weapons_tables.key' name='primary_melee_weapon' type='optstring_ascii' />
    <field fkey='missile_weapons_tables.key' name='primary_missile_weapon' type='optstring_ascii' />
  </table>
  <table table_name='battle_groundcover_density_maps_tables'
         table_version='0' >
    <field fkey='climates_tables.climate_type' name='local_climate' type='string' pk='true' />
    <field fkey='campaign_ground_types_tables.type' name='terrain_type' type='string' pk='true' />
    <field name='terrain_path' type='string' />
  </table>
  <table table_name='battle_groundcover_distribution_maps_tables'
         table_version='0' >
    <field fkey='climates_tables.climate_type' name='local_climate' type='string' pk='true' />
    <field name='terrain_map' type='string' pk='true' />
    <field name='lod_do_not_change' type='int' />
  </table>
  <table table_name='battle_misc_effects_tables'
         table_version='0' >
    <field fkey='particle_effects_tables.key' name='effect' type='optstring_ascii' />
    <field name='name' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_personalities_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field name='behaviour' type='string' />
    <field name='equipment_theme' type='string' />
    <field fkey='battle_personality_types_enum_tables.key' name='type' type='string' />
  </table>
  <table table_name='battle_personalities_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field name='equipment_theme' type='string' />
    <field fkey='battle_personality_types_enum_tables.key' name='type' type='string' />
    <field fkey='projectiles_tables.key' name='missile_type' type='optstring' />
  </table>
  <table table_name='battle_personalities_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string_ascii' />
    <field name='man_animations_table' type='string_ascii' />
    <field name='type' type='string_ascii' />
    <field fkey='projectiles_tables.key' name='missile_type' type='optstring_ascii' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
  </table>
  <table table_name='battle_personalities_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='warscape_animated_tables.key' name='man_animations_table' type='string_ascii' />
    <field fkey='battle_personality_types_enum_tables.key' name='type' type='string_ascii' />
    <field fkey='projectiles_tables.key' name='missile_type' type='optstring_ascii' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='optstring_ascii' />
    <field name='rider_attachment_point' type='optstring_ascii' />
    <field fkey='battle_entity_stats_tables.key' name='battle_entity_stats' type='optstring_ascii' />
  </table>
  <table table_name='battle_personalities_tables'
         table_version='7' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='warscape_animated_tables.key' name='man_animations_table' type='string_ascii' />
    <field fkey='battle_personality_types_enum_tables.key' name='type' type='string_ascii' />
    <field fkey='projectiles_tables.key' name='missile_type' type='optstring_ascii' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='optstring_ascii' />
    <field name='rider_attachment_point' type='optstring_ascii' />
    <field fkey='battle_entity_stats_tables.key' name='battle_entity_stats' type='optstring_ascii' />
    <field name='autonomous_rider_hero' type='boolean' />
  </table>
  <table table_name='battle_result_types_tables'
         table_version='2' >
    <field name='battle_result_type' type='string_ascii' pk='true' />
    <field name='unit_exp_gain' type='int' />
  </table>
  <table table_name='battle_script_advice_strings_tables'
         table_version='0' >
    <field fkey='advisors_tables.advisor_name' name='advisor_name' type='string' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='battle_script_strings_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='string' type='string' />
  </table>
  <table table_name='battle_script_strings_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='string' type='string' />
    <field fkey='advisors_tables.advisor_name' name='advisor_name' type='string' />
  </table>
  <table table_name='battle_script_strings_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='string' type='string' />
    <field fkey='advisors_tables.advisor_name' name='advisor_name' type='string' />
    <field name='title' type='string' />
  </table>
  <table table_name='battle_sequences_tables'
         table_version='0' >
    <field fkey='battles_tables.key' name='battle' type='string' pk='true' />
    <field name='unlock_order' type='int' />
  </table>
  <table table_name='battle_sequences_tables'
         table_version='0' >
    <field fkey='battles_tables.key' name='battle' type='string_ascii' pk='true' />
    <field name='unlock_order' type='int' />
  </table>
  <table table_name='battle_set_piece_armies_characters_items_tables'
         table_version='0' >
    <field fkey='ancillaries_tables.key' name='character_item' type='string_ascii' pk='true' />
    <field fkey='battle_set_piece_armies_characters_tables.character_name' name='character_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_set_piece_armies_characters_junctions_tables'
         table_version='1' >
    <field fkey='battle_set_piece_armies_tables.army_name' name='army_name' type='string_ascii' pk='true' />
    <field fkey='battle_set_piece_armies_characters_tables.character_name' name='character_name' type='string_ascii' pk='true' />
    <field name='script_name' type='optstring_ascii' />
  </table>
  <table table_name='battle_set_piece_armies_characters_skills_tables'
         table_version='2' >
    <field fkey='battle_set_piece_armies_characters_tables.character_name' name='character_name' type='string_ascii' pk='true' />
    <field fkey='character_skills_tables.key' name='skill' type='string_ascii' pk='true' />
    <field name='level' type='int' />
  </table>
  <table table_name='battle_set_piece_armies_characters_skillsets_skills_tables'
         table_version='1' >
    <field fkey='character_skills_tables.key' name='skill' type='string_ascii' pk='true' />
    <field fkey='battle_set_piece_armies_characters_skillsets_tables.key' name='skillset_key' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' pk='true' />
  </table>
  <table table_name='battle_set_piece_armies_characters_skillsets_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_set_piece_armies_characters_tables'
         table_version='7' >
    <field name='character_level' type='int' />
    <field name='character_name' type='string_ascii' pk='true' />
    <field fkey='names_tables.id' name='forename' type='string_ascii' />
    <field fkey='special_ability_groups_tables.ability_group' name='magic_lore' type='optstring_ascii' />
    <field name='num_men' type='int' />
    <field fkey='names_tables.id' name='surname' type='optstring_ascii' />
    <field fkey='main_units_tables.unit' name='unit_type' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' />
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='optstring_ascii' />
    <field name='portrait' type='optstring_ascii' />
    <field fkey='campaign_character_arts_tables.id' name='character_model' type='int' />
    <field fkey='battle_set_piece_armies_characters_skillsets_tables.key' name='skillset' type='optstring_ascii' />
    <field name='male' type='boolean' />
  </table>
  <table table_name='battle_set_piece_armies_effect_bundles_tables'
         table_version='0' >
    <field fkey='battle_set_piece_armies_tables.army_name' name='battle_set_piece_army' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_set_piece_armies_junctions_tables'
         table_version='0' >
    <field fkey='battle_set_piece_armies_tables.army_name' name='army_name' type='string_ascii' pk='true' />
    <field fkey='battle_set_pieces_tables.battle_name' name='battle_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_set_piece_armies_skills_junctions_tables'
         table_version='0' >
    <field fkey='battle_set_piece_armies_tables.army_name' name='army_name' type='string_ascii' pk='true' />
    <field fkey='ancillaries_tables.key' name='army_skill' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_set_piece_armies_tables'
         table_version='6' >
    <field name='ai_army_tactic' type='optstring_ascii' />
    <field name='approach_angle' type='int' />
    <field fkey='military_force_legacy_emblems_tables.key' name='army_emblem' type='string_ascii' />
    <field fkey='campaign_character_arts_tables.id' name='army_model' type='int' />
    <field name='army_name' type='string_ascii' pk='true' />
    <field name='deployment_zone_id' type='int' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field name='is_allied_to_player' type='boolean' />
    <field name='is_reinforcement_army' type='boolean' />
    <field name='is_frontend_player_army' type='boolean' />
    <field name='use_default_deployment_zones' type='boolean' />
    <field name='is_hidden_army' type='boolean' />
  </table>
  <table table_name='battle_set_piece_armies_tables'
         table_version='7' >
    <field name='ai_army_tactic' type='optstring_ascii' />
    <field name='approach_angle' type='int' />
    <field fkey='military_force_legacy_emblems_tables.key' name='army_emblem' type='string_ascii' />
    <field fkey='campaign_character_arts_tables.id' name='army_model' type='int' />
    <field name='army_name' type='string_ascii' pk='true' />
    <field name='deployment_zone_id' type='int' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field name='is_allied_to_player' type='boolean' />
    <field name='is_reinforcement_army' type='boolean' />
    <field name='is_frontend_player_army' type='boolean' />
    <field name='use_default_deployment_zones' type='boolean' />
    <field name='is_hidden_army' type='boolean' />
    <field name='should_merge_army' type='boolean' />
  </table>
  <table table_name='battle_set_piece_armies_units_junctions_tables'
         table_version='3' >
    <field fkey='battle_set_piece_armies_tables.army_name' name='army_name' type='string_ascii' pk='true' />
    <field fkey='battle_set_piece_armies_units_tables.unit_name' name='unit_name' type='string_ascii' pk='true' />
    <field name='script_name' type='optstring_ascii' pk='true' />
    <field name='number_of_unit' type='int' />
  </table>
  <table table_name='battle_set_piece_armies_units_tables'
         table_version='2' >
    <field name='unit_level' type='int' />
    <field name='unit_name' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit_type' type='string_ascii' />
    <field name='percentage_num_men' type='int' />
  </table>
  <table table_name='battle_set_piece_campaign_battle_scene_view_configurations_tables'
         table_version='0' >
    <field name='camera_distance' type='float' />
    <field name='camera_height' type='float' />
    <field name='scale' type='float' />
    <field name='separation' type='float' />
    <field fkey='battle_set_piece_campaign_battle_scenes_tables.battle_set_piece' name='set_piece_battle_scene' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_set_piece_campaign_battle_scenes_tables'
         table_version='0' >
    <field fkey='battle_set_pieces_tables.battle_name' name='battle_set_piece' type='string_ascii' pk='true' />
    <field name='bmd' type='string_ascii' />
    <field name='environment' type='string_ascii' />
  </table>
  <table table_name='battle_set_piece_frontend_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='battle_set_piece_frontend_groups_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
    <field name='campaign_map' type='int' />
  </table>
  <table table_name='battle_set_piece_frontend_groups_to_characters_tables'
         table_version='0' >
    <field fkey='battle_set_piece_armies_characters_tables.character_name' name='character' type='string_ascii' pk='true' />
    <field fkey='battle_set_piece_frontend_groups_tables.key' name='frontend_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_set_pieces_tables'
         table_version='8' >
    <field name='battle_duration' type='int' />
    <field name='battle_environment' type='optstring_ascii' />
    <field name='battle_name' type='string_ascii' pk='true' />
    <field name='battle_script' type='optstring_ascii' />
    <field fkey='battle_types_tables.type' name='battle_type' type='string_ascii' />
    <field name='frontend_icon_offset_x' type='int' />
    <field name='frontend_icon_offset_y' type='int' />
    <field name='is_player_attacker' type='boolean' />
    <field fkey='bmd_export_types_tables.name' name='bmd_layer_type' type='optstring_ascii' />
    <field name='use_large_armies' type='boolean' />
    <field name='battlefield_folder' type='optstring_ascii' />
    <field name='teleport_cost' type='int' />
  </table>
  <table table_name='battle_set_pieces_tables'
         table_version='10' >
    <field name='battle_duration' type='int' />
    <field name='battle_environment' type='optstring_ascii' />
    <field name='battle_name' type='string_ascii' pk='true' />
    <field name='battle_script' type='optstring_ascii' />
    <field fkey='battle_types_tables.type' name='battle_type' type='string_ascii' />
    <field name='frontend_icon_offset_x' type='int' />
    <field name='frontend_icon_offset_y' type='int' />
    <field name='is_player_attacker' type='boolean' />
    <field fkey='bmd_export_types_tables.name' name='bmd_layer_type' type='optstring_ascii' />
    <field name='use_large_armies' type='boolean' />
    <field name='battlefield_folder' type='optstring_ascii' />
    <field name='teleport_cost' type='int' />
    <field name='catchment_area' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='intro_movie' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='outro_movie_win' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='outro_movie_lose' type='optstring_ascii' />
  </table>
  <table table_name='battle_set_pieces_tables'
         table_version='11' >
    <field name='battle_duration' type='int' />
    <field name='battle_environment' type='optstring_ascii' />
    <field fkey='audio_battle_environments_tables.name' name='battle_environment_audio' type='optstring_ascii' />
    <field name='battle_name' type='string_ascii' pk='true' />
    <field name='battle_script' type='optstring_ascii' />
    <field fkey='battle_types_tables.type' name='battle_type' type='string_ascii' />
    <field name='frontend_icon_offset_x' type='int' />
    <field name='frontend_icon_offset_y' type='int' />
    <field name='is_player_attacker' type='boolean' />
    <field fkey='bmd_export_types_tables.name' name='bmd_layer_type' type='optstring_ascii' />
    <field name='use_large_armies' type='boolean' />
    <field name='battlefield_folder' type='optstring_ascii' />
    <field name='teleport_cost' type='int' />
    <field name='catchment_area' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='intro_movie' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='outro_movie_win' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='outro_movie_lose' type='optstring_ascii' />
  </table>
    <table table_name='battle_set_pieces_tables'
         table_version='12' >
    <field name='battle_duration' type='int' />
    <field name='battle_environment' type='optstring_ascii' />
    <field fkey='audio_battle_environments_tables.name' name='battle_environment_audio' type='optstring_ascii' />
    <field name='battle_name' type='string_ascii' pk='true' />
    <field name='battle_script' type='optstring_ascii' />
    <field fkey='battle_types_tables.type' name='battle_type' type='string_ascii' />
    <field name='frontend_icon_offset_x' type='int' />
    <field name='frontend_icon_offset_y' type='int' />
    <field name='is_player_attacker' type='boolean' />
    <field fkey='bmd_export_types_tables.name' name='bmd_layer_type' type='optstring_ascii' />
    <field name='use_large_armies' type='boolean' />
    <field name='battlefield_folder' type='optstring_ascii' />
    <field name='teleport_cost' type='int' />
    <field name='catchment_area' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='intro_movie' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='outro_movie_win' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='outro_movie_lose' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='campaign_pre_battle_intro_movie' type='optstring_ascii' />
  </table>
  <table table_name='battle_siege_vehicle_permissions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='battlefield_siege_vehicles_tables.key' name='vehicle' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_skeletons_tables'
         table_version='1' >
    <field fkey='battle_skeleton_category_enums_tables.type' name='category' type='string_ascii' />
    <field name='head_node' type='optstring_ascii' />
    <field name='hips_node' type='optstring_ascii' />
    <field name='leftarm_node' type='optstring_ascii' />
    <field name='leftfoot_node' type='optstring_ascii' />
    <field name='lefthand_node' type='optstring_ascii' />
    <field name='leftleg_node' type='optstring_ascii' />
    <field name='leftshoulder_node' type='optstring_ascii' />
    <field name='leftupleg_node' type='optstring_ascii' />
    <field name='leftwheel_node' type='optstring_ascii' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='neck_node' type='optstring_ascii' />
    <field name='rightarm_node' type='optstring_ascii' />
    <field name='rightfoot_node' type='optstring_ascii' />
    <field name='righthand_node' type='optstring_ascii' />
    <field name='rightleg_node' type='optstring_ascii' />
    <field name='rightshoulder_node' type='optstring_ascii' />
    <field name='rightupleg_node' type='optstring_ascii' />
    <field name='rightwheel_node' type='optstring_ascii' />
    <field name='root' type='string_ascii' />
    <field name='scale' type='float' />
    <field name='scale_deviation' type='float' />
    <field name='spine_node' type='optstring_ascii' />
    <field name='weapon1_node' type='optstring_ascii' />
    <field name='weapon2_node' type='optstring_ascii' />
    <field name='weapon3_node' type='optstring_ascii' />
    <field name='weapon4_node' type='optstring_ascii' />
    <field name='weapon5_node' type='optstring_ascii' />
    <field name='leftfinger_node' type='optstring_ascii' />
    <field name='rightfinger_node' type='optstring_ascii' />
    <field name='lefttoe_node' type='optstring_ascii' />
    <field name='righttoe_node' type='optstring_ascii' />
  </table>
  <table table_name='battle_skeletons_tables'
         table_version='2' >
    <field fkey='battle_skeleton_category_enums_tables.type' name='category' type='string_ascii' />
    <field name='head_node' type='optstring_ascii' />
    <field name='hips_node' type='optstring_ascii' />
    <field name='leftarm_node' type='optstring_ascii' />
    <field name='leftfoot_node' type='optstring_ascii' />
    <field name='lefthand_node' type='optstring_ascii' />
    <field name='leftleg_node' type='optstring_ascii' />
    <field name='leftshoulder_node' type='optstring_ascii' />
    <field name='leftupleg_node' type='optstring_ascii' />
    <field name='leftwheel_node' type='optstring_ascii' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='neck_node' type='optstring_ascii' />
    <field name='rightarm_node' type='optstring_ascii' />
    <field name='rightfoot_node' type='optstring_ascii' />
    <field name='righthand_node' type='optstring_ascii' />
    <field name='rightleg_node' type='optstring_ascii' />
    <field name='rightshoulder_node' type='optstring_ascii' />
    <field name='rightupleg_node' type='optstring_ascii' />
    <field name='rightwheel_node' type='optstring_ascii' />
    <field name='root' type='string_ascii' />
    <field name='scale' type='float' />
    <field name='scale_deviation' type='float' />
    <field name='spine_node' type='optstring_ascii' />
    <field name='weapon1_node' type='optstring_ascii' />
    <field name='weapon2_node' type='optstring_ascii' />
    <field name='weapon3_node' type='optstring_ascii' />
    <field name='weapon4_node' type='optstring_ascii' />
    <field name='weapon5_node' type='optstring_ascii' />
    <field name='leftfinger_node' type='optstring_ascii' />
    <field name='rightfinger_node' type='optstring_ascii' />
    <field name='lefttoe_node' type='optstring_ascii' />
    <field name='righttoe_node' type='optstring_ascii' />
    <field name='back_node' type='optstring_ascii' />
  </table>
  <table table_name='battle_skeletons_tables'
         table_version='15' >
    <field name='head_node' type='optstring_ascii' />
    <field name='hips_node' type='optstring_ascii' />
    <field name='leftarm_node' type='optstring_ascii' />
    <field name='leftfoot_node' type='optstring_ascii' />
    <field name='lefthand_node' type='optstring_ascii' />
    <field name='leftleg_node' type='optstring_ascii' />
    <field name='leftshoulder_node' type='optstring_ascii' />
    <field name='leftupleg_node' type='optstring_ascii' />
    <field name='leftwheel_node' type='optstring_ascii' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='neck_node' type='optstring_ascii' />
    <field name='rightarm_node' type='optstring_ascii' />
    <field name='rightfoot_node' type='optstring_ascii' />
    <field name='righthand_node' type='optstring_ascii' />
    <field name='rightleg_node' type='optstring_ascii' />
    <field name='rightshoulder_node' type='optstring_ascii' />
    <field name='rightupleg_node' type='optstring_ascii' />
    <field name='rightwheel_node' type='optstring_ascii' />
    <field name='root' type='string_ascii' />
    <field name='scale' type='float' />
    <field name='scale_deviation' type='float' />
    <field name='spine_node' type='optstring_ascii' />
    <field name='weapon1_node' type='optstring_ascii' />
    <field name='weapon2_node' type='optstring_ascii' />
    <field name='weapon3_node' type='optstring_ascii' />
    <field name='weapon4_node' type='optstring_ascii' />
    <field name='weapon5_node' type='optstring_ascii' />
    <field name='leftfinger_node' type='optstring_ascii' />
    <field name='rightfinger_node' type='optstring_ascii' />
    <field name='lefttoe_node' type='optstring_ascii' />
    <field name='righttoe_node' type='optstring_ascii' />
    <field name='category_man' type='boolean' />
    <field name='category_mount' type='boolean' />
    <field name='category_engine' type='boolean' />
    <field name='weapon6_node' type='optstring_ascii' />
    <field name='category_animal' type='boolean' />
    <field name='category_fauna' type='boolean' />
    <field name='cinematic' type='boolean' />
    <field fkey='battle_skeletons_locomotion_enums_tables.key' name='locomotion' type='string_ascii' />
    <field name='leftwingbase_node' type='optstring_ascii' />
    <field name='rightwingbase_node' type='optstring_ascii' />
    <field name='head_tracking_angle' type='float' />
    <field name='back_node' type='optstring_ascii' />
    <field name='front_left_upper_leg_node' type='optstring_ascii' />
    <field name='front_right_upper_leg_node' type='optstring_ascii' />
    <field name='front_lefttoe_node' type='optstring_ascii' />
    <field name='front_righttoe_node' type='optstring_ascii' />
    <field name='rear_left_upper_leg_node' type='optstring_ascii' />
    <field name='rear_right_upper_leg_node' type='optstring_ascii' />
    <field name='rear_lefttoe_node' type='optstring_ascii' />
    <field name='rear_righttoe_node' type='optstring_ascii' />
    <field name='footstep_nodes' type='optstring_ascii' />
    <field name='footstep_detection_height' type='float' />
    <field name='articulation_node' type='optstring_ascii' />
    <field name='flying_pivot_node' type='optstring_ascii' />
    <field name='filter_projectiles_node' type='optstring_ascii' />
    <field name='torso_splice_node' type='optstring_ascii' />
  </table>
  <table table_name='battle_sky_types_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string' />
    <field fkey='battle_weather_types_tables.key' name='weather_type' type='string' />
    <field name='time_of_day' type='string' />
    <field fkey='climates_tables.climate_type' name='climate' type='optstring' />
    <field name='sky_file' type='string' />
    <field name='supports_ambient_fog' type='boolean' />
    <field name='supports_volumetric_fog' type='boolean' />
  </table>
  <table table_name='battle_sky_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string_ascii' />
    <field fkey='battle_weather_types_tables.key' name='weather_type' type='string_ascii' />
    <field name='time_of_day' type='string_ascii' />
    <field fkey='climates_tables.climate_type' name='climate' type='optstring_ascii' />
    <field name='sky_file' type='string_ascii' />
    <field name='supports_ambient_fog' type='boolean' />
    <field name='supports_volumetric_fog' type='boolean' />
  </table>
  <table table_name='battle_terrain_farm_walls_tables'
         table_version='0' >
    <field name='terrain_id' type='string' pk='true' />
    <field name='fence_panel' type='string' />
    <field name='fence_panel3' type='string' />
    <field name='fence_panel4' type='string' />
    <field name='fence_panel5' type='string' />
    <field name='fence_panel6' type='string' />
    <field name='hedge_panel' type='string' />
    <field name='hedge_panel8' type='string' />
    <field name='hedge_panel9' type='string' />
    <field name='hedge_panel10' type='string' />
    <field name='hedge_panel11' type='string' />
  </table>
  <table table_name='battle_terrain_farms_tables'
         table_version='0' >
    <field name='farm' type='string' pk='true' />
    <field name='tile_model' type='string' />
    <field name='blend_map_model' type='string' />
    <field name='alternate_blend_map_model' type='string' />
    <field name='road_blend_map_model' type='string' />
    <field name='colour_map_model' type='string' />
    <field name='alternate_colour_map_model' type='string' />
    <field name='road_colour_map_model' type='string' />
    <field name='grass_map_model' type='string' />
    <field name='alternate_grass_map_model' type='string' />
    <field name='road_grass_map_model' type='string' />
    <field name='tile_map' type='optstring' />
    <field name='wall_texture' type='string' />
    <field fkey='warscape_rigid_tables.key' name='wall_end' type='string' />
    <field name='wall_cross_section' type='string' />
  </table>
  <table table_name='battle_terrain_set_climates_jcts_tables'
         table_version='0' >
    <field fkey='battle_climate_weather_descriptions_tables.climate_type' name='local_climate' type='string' pk='true' />
    <field fkey='battle_terrain_set_groupings_tables.terrain_set_id' name='terrain' type='string' pk='true' />
  </table>
  <table table_name='battle_terrain_set_groupings_tables'
         table_version='0' >
    <field name='terrain_set_id' type='string' pk='true' />
    <field fkey='battle_climate_groupings_tables.climate_id' name='climate' type='string' />
  </table>
  <table table_name='battle_terrain_sets_tables'
         table_version='0' >
    <field fkey='battle_terrain_set_groupings_tables.terrain_set_id' name='terrain' type='string' pk='true' />
    <field name='variation' type='int' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string' pk='true' />
    <field name='colour_map' type='string' />
    <field name='blend_map' type='string' />
    <field name='grass_map' type='optstring' />
    <field name='cliff_map' type='string' />
    <field name='rock_map' type='string' />
    <field name='tiled_map' type='string' />
    <field name='detail_map_a' type='string' />
    <field name='detail_map_b' type='string' />
    <field name='detail_map_c' type='string' />
    <field name='detail_map_d' type='string' />
    <field name='forest_underlay' type='string' />
    <field name='climate' type='string' />
  </table>
  <table table_name='battle_type_faction_presets_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field fkey='battle_type_setup_limits_tables.id' name='weighting_type' type='int' pk='true' />
    <field name='id' type='int' />
  </table>
  <table table_name='battle_type_faction_presets_tables'
         table_version='1' >
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field fkey='battle_type_setup_limits_tables.id' name='weighting_type' type='int' pk='true' />
    <field name='id' type='int' />
    <field name='-' type='float' />
  </table>
  <table table_name='battle_type_faction_presets_tables'
         table_version='1' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='battle_type_setup_limits_tables.id' name='weighting_type' type='int' pk='true' />
    <field name='id' type='int' />
    <field name='-' type='int' />
  </table>
  <table table_name='battle_type_setup_limits_tables'
         table_version='0' >
    <field fkey='battle_types_tables.type' name='battle_type' type='string' pk='true' />
    <field name='weighting_type' type='string' pk='true' />
    <field name='army_size' type='string' pk='true' />
    <field name='era' type='string' pk='true' />
    <field name='max_infantry' type='int' />
    <field name='max_cavalry' type='int' />
    <field name='max_artillery' type='int' />
    <field name='max_small_ship' type='int' />
    <field name='max_frigate' type='int' />
    <field name='max_line_of_battle' type='int' />
    <field name='id' type='int' />
  </table>
  <table table_name='battle_type_setup_limits_tables'
         table_version='1' >
    <field fkey='battle_types_tables.type' name='battle_type' type='string' pk='true' />
    <field name='weighting_type' type='string' pk='true' />
    <field name='army_size' type='string' pk='true' />
    <field name='era' type='string' pk='true' />
    <field name='max_infantry' type='int' />
    <field name='max_cavalry' type='int' />
    <field name='max_artillery' type='int' />
    <field name='max_small_ship' type='int' />
    <field name='max_frigate' type='int' />
    <field name='max_line_of_battle' type='int' />
    <field name='id' type='int' />
    <field name='-' type='int' />
  </table>
  <table table_name='battle_type_setup_limits_tables'
         table_version='1' >
    <field fkey='battle_types_tables.type' name='battle_type' type='string_ascii' pk='true' />
    <field name='weighting_type' type='string_ascii' pk='true' />
    <field name='army_size' type='string_ascii' pk='true' />
    <field name='era' type='string_ascii' pk='true' />
    <field name='max_infantry' type='int' />
    <field name='max_cavalry' type='int' />
    <field name='max_artillery' type='int' />
    <field name='max_small_ship' type='int' />
    <field name='max_frigate' type='int' />
    <field name='max_line_of_battle' type='int' />
    <field name='id' type='int' />
    <field name='-' type='int' />
  </table>
  <table table_name='battle_type_unit_to_faction_presets_tables'
         table_version='0' >
    <field name='id' type='string' pk='true' />
    <field fkey='battle_type_faction_presets_tables.id' name='preset_id' type='int' />
    <field fkey='units_tables.key' name='unit' type='string' />
    <field name='experience' type='int' />
  </table>
  <table table_name='battle_types_tables'
         table_version='0' >
    <field name='type' type='string' pk='true' />
  </table>
  <table table_name='battle_types_tables'
         table_version='1' >
    <field name='type' type='string' pk='true' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='battle_types_tables'
         table_version='1' >
    <field name='type' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='max_teamsize' type='int' />
  </table>
  <table table_name='battle_types_tables'
         table_version='2' >
    <field name='type' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='max_teamsize' type='int' />
  </table>
  <table table_name='battle_types_to_victory_conditions_tables'
         table_version='2' >
    <field fkey='battle_types_tables.type' name='battle_type' type='string' pk='true' />
    <field fkey='victory_conditions_tables.condition' name='attacker_victory_condition' type='optstring_ascii' pk='true' />
    <field fkey='victory_conditions_tables.condition' name='defender_victory_condition' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='battle_unit_permission_junctions_tables'
         table_version='0' >
    <field fkey='battle_types_tables.type' name='battle_type' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_vortex_collision_responses_tables'
         table_version='0' >
    <field name='description' type='string_ascii' />
    <field name='vortex_collision_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_vortex_composite_scene_group_to_scenes_tables'
         table_version='0' >
    <field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene' type='string_ascii' />
    <field fkey='battle_vortex_composite_scene_groups_tables.group_id' name='group_id' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='trigger_delay' type='float' />
    <field name='freeze_position' type='boolean' />
    <field name='freeze_rotation' type='boolean' />
  </table>
  <table table_name='battle_vortex_composite_scene_groups_tables'
         table_version='0' >
    <field name='group_id' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_vortex_launch_sources_tables'
         table_version='0' >
    <field name='description' type='string_ascii' />
    <field name='suggested_launch_source' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_vortexs_tables'
         table_version='11' >
    <field name='change_max_angle' type='int' />
    <field fkey='special_ability_phases_tables.id' name='contact_effect' type='optstring_ascii' />
    <field name='damage' type='int' />
    <field name='damage_ap' type='int' />
    <field name='duration' type='float' />
    <field name='expansion_speed' type='float' />
    <field name='goal_radius' type='float' />
    <field name='infinite_height' type='boolean' />
    <field name='move_change_freq' type='float' />
    <field name='movement_speed' type='float' />
    <field name='start_radius' type='float' />
    <field name='vortex_key' type='string_ascii' pk='true' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene' type='string_ascii' />
    <field name='detonation_force' type='float' />
    <field fkey='battle_vortex_launch_sources_tables.suggested_launch_source' name='launch_source' type='string_ascii' />
    <field name='delay' type='float' />
    <field fkey='battle_vortex_collision_responses_tables.vortex_collision_type' name='building_collision' type='string_ascii' />
    <field fkey='particle_effects_tables.key' name='launch_vfx' type='optstring_ascii' />
    <field name='unknown20' type='boolean' />
    <field name='unknown21' type='boolean' />
    <field name='unknown22' type='boolean' />
    <field name='unknown23' type='boolean' />
  </table>
  <table table_name='battle_vortexs_tables'
         table_version='12' >
    <field name='change_max_angle' type='int' />
    <field fkey='special_ability_phases_tables.id' name='contact_effect' type='optstring_ascii' />
    <field name='damage' type='int' />
    <field name='damage_ap' type='int' />
    <field name='duration' type='float' />
    <field name='expansion_speed' type='float' />
    <field name='goal_radius' type='float' />
    <field name='infinite_height' type='boolean' />
    <field name='move_change_freq' type='float' />
    <field name='movement_speed' type='float' />
    <field name='start_radius' type='float' />
    <field name='vortex_key' type='string_ascii' pk='true' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene' type='string_ascii' />
    <field name='detonation_force' type='float' />
    <field fkey='battle_vortex_launch_sources_tables.suggested_launch_source' name='launch_source' type='string_ascii' />
    <field fkey='battle_vortex_collision_responses_tables.vortex_collision_type' name='building_collision' type='string_ascii' />
    <field fkey='particle_effects_tables.key' name='launch_vfx' type='optstring_ascii' />
    <field name='height_off_ground' type='float' />
    <field name='delay' type='float' />
    <field name='num_vortexs' type='int' />
    <field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene_blood' type='optstring_ascii' />
  </table>
  <table table_name='battle_vortexs_tables'
         table_version='14' >
    <field name='change_max_angle' type='int' />
    <field fkey='special_ability_phases_tables.id' name='contact_effect' type='optstring_ascii' />
    <field name='damage' type='int' />
    <field name='damage_ap' type='int' />
    <field name='duration' type='float' />
    <field name='expansion_speed' type='float' />
    <field name='goal_radius' type='float' />
    <field name='infinite_height' type='boolean' />
    <field name='move_change_freq' type='float' />
    <field name='movement_speed' type='float' />
    <field name='start_radius' type='float' />
    <field name='vortex_key' type='string_ascii' pk='true' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene' type='string_ascii' />
    <field name='detonation_force' type='float' />
    <field fkey='battle_vortex_launch_sources_tables.suggested_launch_source' name='launch_source' type='string_ascii' />
    <field fkey='battle_vortex_collision_responses_tables.vortex_collision_type' name='building_collision' type='string_ascii' />
    <field fkey='particle_effects_tables.key' name='launch_vfx' type='optstring_ascii' />
    <field name='height_off_ground' type='float' />
    <field name='delay' type='float' />
    <field name='num_vortexs' type='int' />
    <field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene_blood' type='optstring_ascii' />
    <field name='affects_allies' type='boolean' />
    <field name='launch_source_offset' type='float' />
  </table>
  <table table_name='battle_vortexs_tables'
         table_version='15' >
    <field name='change_max_angle' type='int' />
    <field fkey='special_ability_phases_tables.id' name='contact_effect' type='optstring_ascii' />
    <field name='damage' type='int' />
    <field name='damage_ap' type='int' />
    <field name='duration' type='float' />
    <field name='expansion_speed' type='float' />
    <field name='goal_radius' type='float' />
    <field name='infinite_height' type='boolean' />
    <field name='move_change_freq' type='float' />
    <field name='movement_speed' type='float' />
    <field name='start_radius' type='float' />
    <field name='vortex_key' type='string_ascii' pk='true' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene' type='string_ascii' />
    <field name='detonation_force' type='float' />
    <field fkey='battle_vortex_launch_sources_tables.suggested_launch_source' name='launch_source' type='string_ascii' />
    <field fkey='battle_vortex_collision_responses_tables.vortex_collision_type' name='building_collision' type='string_ascii' />
    <field fkey='particle_effects_tables.key' name='launch_vfx' type='optstring_ascii' />
    <field name='height_off_ground' type='float' />
    <field name='delay' type='float' />
    <field name='num_vortexs' type='int' />
    <field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene_blood' type='optstring_ascii' />
    <field name='affects_allies' type='boolean' />
    <field name='launch_source_offset' type='float' />
    <field name='composite_scene_group' type='optstring_ascii' />
  </table>
  <table table_name='battle_weather_effects_tables'
         table_version='1' >
    <field fkey='ui_unit_stats_tables.key' name='stat' type='string_ascii' pk='true' />
    <field name='value' type='int' />
    <field fkey='battle_weather_types_tables.key' name='weather_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='battle_weather_types_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='level' type='int' />
    <field name='precipitation_type' type='int' />
    <field name='num_particles' type='int' />
    <field name='particle_size' type='float' />
    <field name='particle_speed' type='float' />
    <field name='list_order' type='int' />
    <field name='naval_appropriate' type='boolean' />
  </table>
  <table table_name='battle_weather_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='level' type='int' />
    <field name='precipitation_type' type='int' />
    <field name='num_particles' type='int' />
    <field name='particle_size' type='float' />
    <field name='particle_speed' type='float' />
    <field name='list_order' type='int' />
    <field name='naval_appropriate' type='boolean' />
  </table>
  <table table_name='battle_weather_types_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='level' type='int' />
    <field name='precipitation_type' type='int' />
    <field name='num_particles' type='int' />
    <field name='particle_size' type='float' />
    <field name='particle_speed' type='float' />
    <field name='list_order' type='int' />
    <field name='naval_appropriate' type='boolean' />
    <field name='accuracy_multiplier' type='float' />
    <field name='bow_reload_bonus' type='int' />
    <field name='gun_reload_bonus' type='int' />
  </table>
  <table table_name='battlefield_building_categories_tables'
         table_version='0' >
    <field name='category' type='string' pk='true' />
    <field name='onscreen_name' type='string' />
    <field fkey='particle_effects_tables.key' name='default_destruction_effect' type='string' />
  </table>
  <table table_name='battlefield_building_categories_tables'
         table_version='3' >
    <field name='category' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='default_destruction_effect' type='string_ascii' />
    <field fkey='particle_effects_tables.key' name='icon_path' type='string_ascii' />
  </table>
  <table table_name='battlefield_building_transformations_tables'
         table_version='0' >
    <field name='transformation' type='string' pk='true' />
  </table>
  <table table_name='battlefield_building_transformations_tables'
         table_version='0' >
    <field name='transformation' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_buildings_names_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='onscreen_name' type='string_ascii' />
    <field name='global_effects_description' type='optstring_ascii' />
    <field name='local_effects_description' type='optstring_ascii' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string' />
    <field fkey='models_building_tables.key' name='model' type='string' />
    <field fkey='battlefield_building_audio_materials_tables.audio_material' name='audio_material' type='string' />
    <field name='hit_points' type='int' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='battlefield_building_transformations_tables.transformation' name='transformation' type='optstring' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string' />
    <field fkey='models_building_tables.key' name='model' type='string' />
    <field fkey='battlefield_building_audio_materials_tables.audio_material' name='audio_material' type='string' />
    <field name='hit_points' type='int' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='battlefield_building_transformations_tables.transformation' name='transformation' type='optstring' />
    <field name='capacity_in_men' type='int' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string' />
    <field fkey='models_building_tables.key' name='model' type='string' />
    <field fkey='battlefield_building_audio_materials_tables.audio_material' name='audio_material' type='string' />
    <field name='hit_points' type='int' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='battlefield_building_transformations_tables.transformation' name='transformation' type='optstring' />
    <field name='capacity_in_men' type='int' />
    <field name='ignition_threshold' type='int' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='4' >
    <field name='key' type='string' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string' />
    <field fkey='models_building_tables.key' name='model' type='string' />
    <field fkey='battlefield_building_audio_materials_tables.audio_material' name='audio_material' type='string' />
    <field name='hit_points' type='int' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='battlefield_building_transformations_tables.transformation' name='transformation' type='optstring' />
    <field name='capacity_in_men' type='int' />
    <field name='ignition_threshold' type='int' />
    <field fkey='unit_stats_land_tables.key' name='spawned_unit' type='optstring' />
    <field name='radar_icon' type='optstring' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='5' >
    <field name='key' type='string' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string' />
    <field fkey='models_building_tables.key' name='model' type='string' />
    <field fkey='battlefield_building_audio_materials_tables.audio_material' name='audio_material' type='string' />
    <field name='hit_points' type='int' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='battlefield_building_transformations_tables.transformation' name='transformation' type='optstring' />
    <field name='capacity_in_men' type='int' />
    <field name='ignition_threshold' type='int' />
    <field fkey='unit_stats_land_tables.key' name='spawned_unit' type='optstring' />
    <field name='radar_icon' type='optstring' />
    <field name='visible_in_public_ted' type='boolean' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='6' >
    <field name='key' type='string' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string' />
    <field fkey='models_building_tables.key' name='model' type='string' />
    <field fkey='battlefield_building_audio_materials_tables.audio_material' name='audio_material' type='string' />
    <field name='hit_points' type='int' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='battlefield_building_transformations_tables.transformation' name='transformation' type='optstring' />
    <field name='capacity_in_men' type='int' />
    <field name='ignition_threshold' type='int' />
    <field fkey='unit_stats_land_tables.key' name='spawned_unit' type='optstring' />
    <field name='radar_icon' type='optstring' />
    <field name='visible_in_public_ted' type='boolean' />
    <field name='fortwall_penetration_chance' type='int' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='14' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string_ascii' />
    <field fkey='models_building_tables.key' name='model' type='string_ascii' />
    <field name='audio_material' type='string_ascii' />
    <field name='hit_points' type='int' />
    <field fkey='missile_weapons_tables.key' name='gun_type' type='optstring_ascii' />
    <field fkey='battlefield_buildings_names_tables.key' name='onscreen_name' type='optstring_ascii' />
    <field name='ignition_threshold' type='int' />
    <field name='radar_icon' type='optstring_ascii' />
    <field name='visible_in_public_ted' type='boolean' />
    <field name='fortwall_penetration_chance' type='int' />
    <field name='collision_3d' type='boolean' />
    <field name='destruct_thresholds' type='optstring_ascii' />
    <field name='joiner' type='boolean' />
    <field name='auxiliary' type='boolean' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='15' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string_ascii' />
    <field fkey='models_building_tables.key' name='model' type='string_ascii' />
    <field name='audio_material' type='string_ascii' />
    <field name='hit_points' type='int' />
    <field fkey='missile_weapons_tables.key' name='gun_type' type='optstring_ascii' />
    <field fkey='battlefield_buildings_names_tables.key' name='onscreen_name' type='optstring_ascii' />
    <field name='ignition_threshold' type='int' />
    <field name='radar_icon' type='optstring_ascii' />
    <field name='visible_in_public_ted' type='boolean' />
    <field name='fortwall_penetration_chance' type='int' />
    <field name='collision_3d' type='boolean' />
    <field name='destruct_thresholds' type='optstring_ascii' />
    <field name='joiner' type='boolean' />
    <field name='auxiliary' type='boolean' />
    <field name='burn_rate' type='float' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='18' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string_ascii' />
    <field fkey='models_building_tables.key' name='model' type='string_ascii' />
    <field fkey='audio_materials_enums_tables.key' name='audio_material' type='string_ascii' />
    <field name='hit_points' type='int' />
    <field fkey='missile_weapons_tables.key' name='gun_type' type='optstring_ascii' />
    <field fkey='battlefield_buildings_names_tables.key' name='onscreen_name' type='optstring_ascii' />
    <field name='ignition_threshold' type='int' />
    <field name='radar_icon' type='optstring_ascii' />
    <field name='visible_in_public_ted' type='boolean' />
    <field name='fortwall_penetration_chance' type='int' />
    <field name='collision_3d' type='boolean' />
    <field name='destruct_thresholds' type='optstring_ascii' />
    <field name='joiner' type='boolean' />
    <field name='auxiliary' type='boolean' />
    <field name='burn_rate' type='float' />
    <field name='height_map_mesh' type='boolean' />
    <field name='can_burn' type='boolean' />
    <field fkey='battle_building_visibility_enums_tables.key' name='visibility_mode' type='string_ascii' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='19' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string_ascii' />
    <field fkey='models_building_tables.key' name='model' type='string_ascii' />
    <field fkey='audio_materials_enums_tables.key' name='audio_material' type='string_ascii' />
    <field name='hit_points' type='int' />
    <field fkey='missile_weapons_tables.key' name='gun_type' type='optstring_ascii' />
    <field fkey='battlefield_buildings_names_tables.key' name='onscreen_name' type='optstring_ascii' />
    <field name='ignition_threshold' type='int' />
    <field name='radar_icon' type='optstring_ascii' />
    <field name='visible_in_public_ted' type='boolean' />
    <field name='fortwall_penetration_chance' type='int' />
    <field name='collision_3d' type='boolean' />
    <field name='destruct_thresholds' type='optstring_ascii' />
    <field name='joiner' type='boolean' />
    <field name='auxiliary' type='boolean' />
    <field name='burn_rate' type='float' />
    <field name='height_map_mesh' type='boolean' />
    <field name='can_burn' type='boolean' />
    <field fkey='battle_building_visibility_enums_tables.key' name='visibility_mode' type='string_ascii' />
    <field name='blood_pack_model_override_folder' type='optstring_ascii' />
  </table>
  <table table_name='battlefield_buildings_tables'
         table_version='20' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battlefield_building_categories_tables.category' name='category' type='string_ascii' />
    <field fkey='models_building_tables.key' name='model' type='string_ascii' />
    <field fkey='audio_materials_enums_tables.key' name='audio_material' type='string_ascii' />
    <field name='hit_points' type='int' />
    <field fkey='missile_weapons_tables.key' name='gun_type' type='optstring_ascii' />
    <field fkey='battlefield_buildings_names_tables.key' name='onscreen_name' type='optstring_ascii' />
    <field name='ignition_threshold' type='int' />
    <field name='radar_icon' type='optstring_ascii' />
    <field name='visible_in_public_ted' type='boolean' />
    <field name='fortwall_penetration_chance' type='int' />
    <field name='collision_3d' type='boolean' />
    <field name='destruct_thresholds' type='optstring_ascii' />
    <field name='joiner' type='boolean' />
    <field name='auxiliary' type='boolean' />
    <field name='burn_rate' type='float' />
    <field name='height_map_mesh' type='boolean' />
    <field fkey='ground_types_tables.type' name='ground_type' type='string_ascii' />
    <field name='can_burn' type='boolean' />
    <field name='audio_count_as_urban' type='boolean' />
  </table>
  <table table_name='battlefield_buildings_with_projectiles_names_tables'
         table_version='0' >
    <field fkey='battlefield_building_categories_tables.category' name='building_category' type='string_ascii' pk='true' />
    <field fkey='battlefield_buildings_names_tables.key' name='name' type='string_ascii' />
    <field fkey='projectiles_tables.key' name='projectile' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_chariots_tables'
         table_version='0' >
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field fkey='battle_animations_table_tables.key' name='chariot_animation_table' type='string_ascii' />
    <field fkey='chariot_types_enums_tables.key' name='chariot_type' type='string_ascii' />
    <field fkey='warscape_rigid_tables.key' name='destroyed_model' type='string_ascii' />
    <field fkey='warscape_animated_tables.key' name='destruction_animation' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='warscape_animated_tables.key' name='model' type='string_ascii' />
  </table>
  <table table_name='battlefield_civilian_amounts_tables'
         table_version='0' >
    <field name='amount' type='int' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_civilian_behaviour_groups_behaviour_proportions_tables'
         table_version='0' >
    <field fkey='battlefield_civilian_behaviours_tables.key' name='behaviour' type='string_ascii' />
    <field fkey='battlefield_civilian_behaviour_groups_tables.key' name='behaviour_group' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='proportion' type='float' />
  </table>
  <table table_name='battlefield_civilian_behaviour_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_civilian_behaviours_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='attack_nearby_soldiers' type='boolean' />
    <field name='unit_threat_distance' type='float' />
    <field name='building_damage_threat_distance' type='float' />
    <field name='large_projectile_threat_distance' type='float' />
    <field name='friendly_entity_hit_by_projectile_threat_distance' type='float' />
    <field name='non_local_fleeing_civilian_threat_distance' type='float' />
    <field name='chance_to_wander' type='float' />
    <field name='rally_nearby_civilians_radius' type='float' />
    <field name='chance_to_wander_from_shelter' type='float' />
    <field name='chance_to_pick_shelter_as_wander_target' type='float' />
  </table>
  <table table_name='battlefield_civilian_group_variations_tables'
         table_version='2' >
    <field name='civilian_amount_scale' type='float' />
    <field fkey='battlefield_civilian_behaviours_groups_tables.key' name='civilian_behaviour_group' type='string_ascii' />
    <field fkey='battlefield_civilian_groups_tables.key' name='civilian_group' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='civilian_unit' type='string_ascii' />
    <field name='climate_lookup' type='optstring_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='precipitation_type_lookup' type='optstring_ascii' />
    <field name='season_lookup' type='optstring_ascii' />
    <field name='time_of_day_lookup' type='optstring_ascii' />
    <field name='proportion_of_civilians_to_spawn_inside_shelters' type='float' />
    <field name='max_shelter_capacity' type='int' />
    <field name='tile_upgrades_lookup' type='optstring_ascii' />
  </table>
  <table table_name='battlefield_civilian_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_civilian_type_civilian_group_junctions_tables'
         table_version='0' >
    <field fkey='battlefield_civilian_groups_tables.key' name='civilian_group' type='string_ascii' />
    <field fkey='battlefield_civilian_types_tables.key' name='civilian_type' type='string_ascii' />
    <field fkey='cultures_tables.key' name='culture_lookup' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_lookup' type='optstring_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_lookup' type='optstring_ascii' />
  </table>
  <table table_name='battlefield_civilian_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_deployable_siege_items_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='siege_point_cost' type='int' />
    <field name='turns_to_build' type='int' />
    <field name='string' type='string' />
    <field name='icon_name' type='string' />
    <field name='info_pic' type='string' />
  </table>
  <table table_name='battlefield_deployable_siege_items_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battlefield_siege_vehicles_tables.key' name='battlefield_siege_vehicle' type='string_ascii' />
    <field name='level' type='int' />
    <field name='type' type='optstring_ascii' />
  </table>
  <table table_name='battlefield_deployable_siege_items_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battlefield_siege_vehicles_tables.key' name='battlefield_siege_vehicle' type='string_ascii' />
    <field name='level' type='int' />
    <field name='type' type='optstring_ascii' />
    <field name='siege_effort_cost' type='int' />
  </table>
  <table table_name='battlefield_engines_autonomous_tables'
         table_version='0' >
    <field fkey='battlefield_engines_tables.key' name='autonomous_engine_type' type='string_ascii' />
    <field name='engine_crew_anims' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='engine_crew_entity' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_engines_autonomous_tables'
         table_version='1' >
    <field fkey='battlefield_engines_tables.key' name='autonomous_engine_type' type='string_ascii' />
    <field fkey='battle_animations_table_tables.key' name='engine_crew_anims' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='engine_crew_entity' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='num_ammo' type='int' />
  </table>
  <table table_name='battlefield_engines_tables'
         table_version='4' >
    <field fkey='warscape_rigid_tables.key' name='destroyed_model' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='destruction_animation' type='optstring_ascii' />
    <field fkey='gun_types_enum_tables.key' name='engine_type' type='string_ascii' />
    <field fkey='battle_animations_table_tables.key' name='gun_animation_table' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='missile_weapons_tables.key' name='missile_weapon' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field name='can_move' type='boolean' />
  </table>
  <table table_name='battlefield_engines_tables'
         table_version='17' >
    <field name='destroyed_model' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='destruction_animation' type='optstring_ascii' />
    <field fkey='gun_types_enum_tables.key' name='engine_type' type='string_ascii' />
    <field fkey='battle_animations_table_tables.key' name='gun_animation_table' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='missile_weapons_tables.key' name='missile_weapon' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field name='asset_folder' type='optstring_ascii' />
    <field fkey='variants_tables.variant_name' name='variant' type='optstring_ascii' />
    <field name='draught_attachment_point' type='optstring_ascii' />
    <field name='tech_folder' type='optstring_ascii' />
    <field name='rider_attachment_point' type='optstring_ascii' />
    <field fkey='first_person_engines_tables.key' name='first_person' type='optstring_ascii' />
  </table>
  <table table_name='battlefield_engines_tables'
         table_version='19' >
    <field name='destroyed_model' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='destruction_animation' type='optstring_ascii' />
    <field fkey='gun_types_enum_tables.key' name='engine_type' type='string_ascii' />
    <field fkey='battle_animations_table_tables.key' name='gun_animation_table' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='missile_weapons_tables.key' name='missile_weapon' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field name='asset_folder' type='optstring_ascii' />
    <field fkey='variants_tables.variant_name' name='variant' type='optstring_ascii' />
    <field name='draught_attachment_point' type='optstring_ascii' />
    <field name='tech_folder' type='optstring_ascii' />
    <field name='rider_attachment_point' type='optstring_ascii' />
    <field fkey='first_person_engines_tables.key' name='first_person' type='optstring_ascii' />
    <field name='destruct_model' type='optstring_ascii' />
    <field name='destruct_anim' type='optstring_ascii' />
    <field name='destruct_meta' type='optstring_ascii' />
  </table>
  <table table_name='battlefield_siege_vehicles_custom_battles_tables'
         table_version='0' >
    <field name='cap' type='int' />
    <field name='probability' type='float' />
    <field fkey='battlefield_siege_vehicles_tables.key' name='vehicle' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_siege_vehicles_tables'
         table_version='13' >
    <field name='hit_points' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_sieges_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field name='gun_type' type='optstring' />
    <field name='docking_clearance' type='float' />
    <field fkey='battlefield_engines_tables.key' name='engine' type='string_ascii' />
    <field name='image_path' type='string_ascii' />
    <field name='recruitment_cap' type='int' />
    <field name='uses_8m_wall' type='boolean' />
    <field name='uses_15m_wall' type='boolean' />
    <field name='cost' type='int' />
    <field name='category_image_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
    <field name='ignition_threshold' type='int' />
    <field name='attack_damage' type='float' />
  </table>
  <table table_name='battlefield_siege_vehicles_tables'
         table_version='14' >
    <field name='hit_points' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_sieges_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field name='gun_type' type='optstring' />
    <field name='docking_clearance' type='float' />
    <field fkey='battlefield_engines_tables.key' name='engine' type='optstring_ascii' />
    <field name='image_path' type='string_ascii' />
    <field name='recruitment_cap' type='int' />
    <field name='uses_8m_wall' type='boolean' />
    <field name='uses_15m_wall' type='boolean' />
    <field name='cost' type='int' />
    <field name='category_image_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
    <field name='ignition_threshold' type='int' />
    <field name='attack_damage' type='float' />
  </table>
  <table table_name='battlefield_siege_vehicles_tables'
         table_version='15' >
    <field name='hit_points' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_sieges_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field name='gun_type' type='optstring_ascii' />
    <field name='docking_clearance' type='float' />
    <field fkey='battlefield_engines_autonomous_tables.key' name='engine' type='optstring_ascii' />
    <field name='image_path' type='string_ascii' />
    <field name='recruitment_cap' type='int' />
    <field name='uses_8m_wall' type='boolean' />
    <field name='uses_15m_wall' type='boolean' />
    <field name='cost' type='int' />
    <field name='category_image_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
    <field name='ignition_threshold' type='int' />
    <field name='attack_damage' type='float' />
    <field name='selection_priority' type='float' />
  </table>
  <table table_name='battlefield_siege_vehicles_tables'
         table_version='17' >
    <field name='hit_points' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_sieges_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field name='gun_type' type='optstring_ascii' />
    <field name='docking_clearance' type='float' />
    <field fkey='battlefield_engines_autonomous_tables.key' name='engine' type='optstring_ascii' />
    <field name='image_path' type='string_ascii' />
    <field name='recruitment_cap' type='int' />
    <field name='uses_8m_wall' type='boolean' />
    <field name='uses_15m_wall' type='boolean' />
    <field name='cost' type='int' />
    <field name='category_image_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
    <field name='ignition_threshold' type='int' />
    <field name='attack_damage' type='float' />
    <field name='selection_priority' type='float' />
    <field name='autoresolver_effectiveness' type='float' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='battlefield_siege_vehicles_tables'
         table_version='18' >
    <field name='hit_points' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_sieges_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field name='gun_type' type='optstring_ascii' />
    <field name='docking_clearance' type='float' />
    <field fkey='battlefield_engines_autonomous_tables.key' name='engine' type='optstring_ascii' />
    <field name='image_path' type='string_ascii' />
    <field name='recruitment_cap' type='int' />
    <field name='uses_8m_wall' type='boolean' />
    <field name='uses_15m_wall' type='boolean' />
    <field name='cost' type='int' />
    <field name='category_image_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
    <field name='ignition_threshold' type='int' />
    <field name='attack_damage' type='float' />
    <field name='selection_priority' type='float' />
    <field name='sort_order' type='int' />
    <field name='autoresolver_effectiveness' type='float' />
    <field fkey='audio_entity_types_tables.key' name='audio_type' type='optstring_ascii' />
  </table>
  <table table_name='battlefield_siege_vehicles_to_autonomous_engines_tables'
         table_version='0' >
    <field fkey='battlefield_engines_autonomous_tables.key' name='engine' type='string_ascii' pk='true' />
    <field fkey='battlefield_siege_vehicles_tables.key' name='vehicle' type='string_ascii' pk='true' />
  </table>
  <table table_name='battlefield_snow_props_tables'
         table_version='0' >
    <field fkey='battlefield_buildings_tables.key' name='prop' type='string' pk='true' />
    <field name='enable_for_snow' type='boolean' />
  </table>
  <table table_name='battlefield_snow_props_tables'
         table_version='0' >
    <field fkey='battlefield_buildings_tables.key' name='prop' type='string_ascii' pk='true' />
    <field name='enable_for_snow' type='boolean' pk='true' />
  </table>
  <table table_name='battles_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='battle_types_tables.type' name='battle_type' type='string' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string' />
    <field name='screenshot_path' type='optstring' />
    <field name='map_path' type='optstring' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
  </table>
  <table table_name='battles_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string' />
    <field name='screenshot_path' type='optstring' />
    <field name='map_path' type='optstring' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring' />
    <field name='year' type='int' />
  </table>
  <table table_name='battles_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string' />
    <field name='screenshot_path' type='optstring' />
    <field name='map_path' type='optstring' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring' />
    <field name='year' type='int' />
    <field name='defender_funds_ratio' type='float' />
  </table>
  <table table_name='battles_tables'
         table_version='3' >
    <field name='key' type='string' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string' />
    <field name='screenshot_path' type='optstring' />
    <field name='map_path' type='optstring' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring' />
    <field name='year' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='has_key_buildings' type='boolean' />
  </table>
  <table table_name='battles_tables'
         table_version='4' >
    <field name='key' type='string' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string' />
    <field name='screenshot_path' type='optstring' />
    <field name='map_path' type='optstring' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring' />
    <field name='year' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='has_key_buildings' type='boolean' />
    <field name='matchmaking' type='boolean' />
  </table>
  <table table_name='battles_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string_ascii' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string_ascii' />
    <field name='screenshot_path' type='optstring_ascii' />
    <field name='map_path' type='optstring_ascii' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring_ascii' />
    <field name='year' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='has_key_buildings' type='boolean' />
    <field name='matchmaking' type='boolean' />
    <field name='playable_area_width' type='float' />
    <field name='playable_area_height' type='float' />
    <field name='is_large_settlement' type='boolean' />
    <field name='has_15m_walls' type='boolean' />
  </table>
  <table table_name='battles_tables'
         table_version='7' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string_ascii' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string_ascii' />
    <field name='screenshot_path' type='optstring_ascii' />
    <field name='map_path' type='optstring_ascii' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring_ascii' />
    <field name='year' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='has_key_buildings' type='boolean' />
    <field name='matchmaking' type='boolean' />
    <field name='playable_area_width' type='float' />
    <field name='playable_area_height' type='float' />
    <field name='is_large_settlement' type='boolean' />
    <field name='has_15m_walls' type='boolean' />
    <field name='is_underground' type='boolean' />
  </table>
  <table table_name='battles_tables'
         table_version='8' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string_ascii' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string_ascii' />
    <field name='screenshot_path' type='optstring_ascii' />
    <field name='map_path' type='optstring_ascii' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring_ascii' />
    <field name='year' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='has_key_buildings' type='boolean' />
    <field name='matchmaking' type='boolean' />
    <field name='playable_area_width' type='float' />
    <field name='playable_area_height' type='float' />
    <field name='is_large_settlement' type='boolean' />
    <field name='has_15m_walls' type='boolean' />
    <field name='is_underground' type='boolean' />
    <field name='catchment_name' type='optstring_ascii' />
  </table>
  <table table_name='battles_tables'
         table_version='11' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string_ascii' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string_ascii' />
    <field name='screenshot_path' type='optstring_ascii' />
    <field name='map_path' type='optstring_ascii' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring_ascii' />
    <field name='year' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='has_key_buildings' type='boolean' />
    <field name='matchmaking' type='boolean' />
    <field name='playable_area_width' type='float' />
    <field name='playable_area_height' type='float' />
    <field name='is_large_settlement' type='boolean' />
    <field name='has_15m_walls' type='boolean' />
    <field name='is_underground' type='boolean' />
    <field name='catchment_name' type='optstring_ascii' />
    <field name='title_upgrade' type='optstring_ascii' />
    <field name='battle_environment' type='optstring_ascii' />
    <field fkey='audio_battle_environments_tables.name' name='battle_environment_audio' type='optstring_ascii' />
  </table>
    <table table_name='battles_tables'
         table_version='13' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_types_tables.type' name='type' type='string_ascii' />
    <field name='is_naval' type='boolean' />
    <field name='specification' type='string_ascii' />
    <field name='screenshot_path' type='optstring_ascii' />
    <field name='map_path' type='optstring_ascii' />
    <field name='team_size_1' type='int' />
    <field name='team_size_2' type='int' />
    <field name='release' type='boolean' />
    <field name='multiplayer' type='boolean' />
    <field name='singleplayer' type='boolean' />
    <field name='intro_movie' type='optstring_ascii' />
    <field name='year' type='int' />
    <field name='defender_funds_ratio' type='float' />
    <field name='has_key_buildings' type='boolean' />
    <field name='matchmaking' type='boolean' />
    <field name='playable_area_width' type='float' />
    <field name='playable_area_height' type='float' />
    <field name='is_large_settlement' type='boolean' />
    <field name='has_15m_walls' type='boolean' />
    <field name='is_underground' type='boolean' />
    <field name='catchment_name' type='optstring_ascii' />
    <field name='title_upgrade' type='optstring_ascii' />
    <field name='battle_environment' type='optstring_ascii' />
    <field fkey='audio_battle_environments_tables.name' name='battle_environment_audio' type='optstring_ascii' />
  </table>
  <table table_name='battles_to_avatar_product_lookups_junctions_tables'
         table_version='0' >
    <field fkey='battles_tables.key' name='battle' type='string' pk='true' />
    <field fkey='avatar_product_lookups_tables.key' name='product' type='string' pk='true' />
  </table>
  <table table_name='battles_to_battle_sky_types_junctions_tables'
         table_version='0' >
    <field fkey='battles_tables.key' name='battle_key' type='string' pk='true' />
    <field fkey='battle_sky_types_tables.key' name='battle_sky_type_key' type='string' pk='true' />
  </table>
  <table table_name='battles_to_battle_sky_types_junctions_tables'
         table_version='0' >
    <field fkey='battles_tables.key' name='battle_key' type='string_ascii' pk='true' />
    <field fkey='battle_sky_types_tables.key' name='battle_sky_type_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='bmd_export_types_tables'
         table_version='1' >
    <field name='description' type='optstring_ascii' />
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='bmd_layer_groups_tables.key' name='group' type='optstring_ascii' />
    <field name='default' type='boolean' />
  </table>
  <table table_name='bmd_layer_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='bombardment_quality_to_artillery_support_modifiers_tables'
         table_version='0' >
    <field name='bombardment_quality' type='int' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='bretonnia_vows_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='order' type='int' />
    <field name='image' type='string_ascii' />
  </table>
  <table table_name='bretonnia_vows_to_traits_tables'
         table_version='0' >
    <field name='order' type='int' />
    <field fkey='character_traits_tables.key' name='trait' type='string_ascii' pk='true' />
    <field fkey='bretonnia_vows_tables.key' name='vow' type='string_ascii' pk='true' />
  </table>
  <table table_name='bribe_actions_tables'
         table_version='0' >
    <field name='action' type='string' pk='true' />
    <field name='onscreen' type='string' />
  </table>
  <table table_name='bribe_actions_tables'
         table_version='0' >
    <field name='action' type='string_ascii' pk='true' />
    <field name='onscreen' type='string_ascii' />
  </table>
  <table table_name='building_benefit_categories_tables'
         table_version='0' >
    <field name='icon_path' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_chain_availabilities_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='building_chain' type='string_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='sub_culture' type='optstring_ascii' />
  </table>
  <table table_name='building_chain_availabilities_tables'
         table_version='1' >
    <field fkey='building_chain_availability_set_ids_tables.id' name='set_id' type='string_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='sub_culture' type='optstring_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' />
  </table>
  <table table_name='building_chain_availability_set_ids_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_chain_availability_sets_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='building_chain' type='string_ascii' pk='true' />
    <field fkey='building_chain_availability_set_ids_tables.id' name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_chain_to_slots_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='chain' type='string' pk='true' />
    <field fkey='slots_tables.slot' name='slot' type='string' pk='true' />
  </table>
  <table table_name='building_chain_to_slots_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' pk='true' />
    <field fkey='slots_tables.slot' name='slot' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_chains_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='tech_category_tab' type='optstring' />
    <field name='tech_category_position' type='optstring' />
    <field name='chain_category' type='optstring' />
  </table>
  <table table_name='building_chains_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='tech_category_tab' type='optstring' />
    <field name='tech_category_position' type='optstring' />
    <field name='chain_category' type='optstring' />
    <field name='in_encyclopedia' type='boolean' />
  </table>
  <table table_name='building_chains_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='tech_category_tab' type='optstring_ascii' />
    <field name='tech_category_position' type='optstring_ascii' />
    <field name='chain_category' type='optstring_ascii' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='building_superchains_tables.key' name='building_superchain' type='optstring_ascii' />
  </table>
  <table table_name='building_chains_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='tech_category_tab' type='optstring_ascii' />
    <field name='tech_category_position' type='optstring_ascii' />
    <field name='chain_category' type='optstring_ascii' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='building_superchains_tables.key' name='building_superchain' type='optstring_ascii' />
    <field name='colour_r' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_b' type='int' />
  </table>
  <table table_name='building_chains_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='tech_category_tab' type='optstring_ascii' />
    <field name='tech_category_position' type='optstring_ascii' />
    <field name='chain_category' type='optstring_ascii' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='building_superchains_tables.key' name='building_superchain' type='optstring_ascii' />
    <field name='optional_tier_icon' type='optstring_ascii' />
    <field name='optional_sort_order' type='int' />
  </table>
    <table table_name='building_chains_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='tech_category_tab' type='optstring_ascii' />
    <field name='tech_category_position' type='optstring_ascii' />
    <field name='chain_category' type='optstring_ascii' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='building_superchains_tables.key' name='building_superchain' type='optstring_ascii' />
    <field name='optional_tier_icon' type='optstring_ascii' />
    <field name='optional_sort_order' type='int' />
    <field name='optional_required_horde_commander' type='optstring_ascii' />
  </table>
  <table table_name='building_culture_gov_type_variants_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field fkey='warscape_rigid_tables.key' name='artpiece' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artpiece_animated' type='optstring' />
    <field fkey='building_description_texts_tables.key' name='description' type='string' />
    <field name='icon' type='optstring' />
  </table>
  <table table_name='building_culture_gov_type_variants_tables'
         table_version='1' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field fkey='warscape_rigid_tables.key' name='artpiece' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='artpiece_animated' type='optstring_ascii' />
    <field fkey='building_description_texts_tables.key' name='description' type='string_ascii' />
    <field name='icon' type='optstring_ascii' />
    <field fkey='building_short_description_texts_tables.key' name='short_description' type='string_ascii' />
  </table>
  <table table_name='building_culture_variants_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='battlefield_buildings_tables.key' name='battlefield_building' type='optstring' />
    <field fkey='warscape_rigid_tables.key' name='artpiece' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artpiece_animated' type='optstring' />
    <field fkey='building_description_texts_tables.key' name='description' type='optstring' />
    <field name='icon' type='optstring' />
  </table>
  <table table_name='building_culture_variants_tables'
         table_version='3' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field fkey='battlefield_buildings_tables.key' name='battlefield_building' type='optstring_ascii' />
    <field fkey='warscape_rigid_tables.key' name='artpiece' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='artpiece_animated' type='optstring_ascii' />
    <field fkey='building_description_texts_tables.key' name='description' type='optstring_ascii' />
    <field name='icon' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='disables' type='boolean' />
    <field fkey='building_short_description_texts_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='building_flavor_texts_tables.key' name='flavour' type='optstring_ascii' />
    <field name='display_tooltip' type='boolean' />
  </table>
  <table table_name='building_culture_variants_tables'
         table_version='4' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field fkey='building_description_texts_tables.key' name='description' type='optstring_ascii' />
    <field name='icon' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='disables' type='boolean' />
    <field fkey='building_short_description_texts_tables.key' name='short_description' type='optstring_ascii' />
    <field name='display_tooltip' type='boolean' />
  </table>
  <table table_name='building_description_texts_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='building_downgrade_junctions_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='from' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='to' type='string_ascii' />
  </table>
  <table table_name='building_effects_junction_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='building_effects_junction_tables'
         table_version='3' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='value' type='float' />
    <field name='value_damaged' type='float' />
    <field name='value_ruined' type='float' />
  </table>
  <table table_name='building_faction_variants_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field fkey='warscape_rigid_tables.key' name='artpiece' type='optstring' />
    <field fkey='building_description_texts_tables.key' name='description' type='optstring' />
    <field name='icon' type='optstring' />
  </table>
  <table table_name='building_faction_variants_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='warscape_rigid_tables.key' name='artpiece' type='optstring_ascii' />
    <field fkey='building_description_texts_tables.key' name='description' type='string_ascii' />
    <field name='icon' type='optstring_ascii' />
    <field fkey='building_short_description_texts_tables.key' name='short_description' type='string_ascii' />
  </table>
  <table table_name='building_factionwide_effects_junctions_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='effect_value' type='float' />
  </table>
  <table table_name='building_factionwide_effects_junctions_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field name='effect_value' type='float' />
  </table>
  <table table_name='building_instances_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='num_instances' type='int' />
  </table>
  <table table_name='building_level_armed_citizenry_junctions_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_level' type='string' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='float' />
    <field name='priority' type='int' />
    <field fkey='units_tables.key' name='unit' type='string' />
  </table>
  <table table_name='building_level_armed_citizenry_junctions_tables'
         table_version='1' >
    <field fkey='building_levels_tables.level_name' name='building_level' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='armed_citizenry_unit_groups_tables.unit_group' name='unit_group' type='string_ascii' />
  </table>
  <table table_name='building_level_required_buildings_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_level' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='required' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_level_required_technology_junctions_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_level_key' type='string' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string' pk='true' />
  </table>
  <table table_name='building_level_required_technology_junctions_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_level_key' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_levels_campaign_bmd_layer_group_junctions_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_level' type='string_ascii' pk='true' />
    <field fkey='campaign_bmd_layer_group_ids_tables.id' name='campaign_bmd_layer_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_levels_tables'
         table_version='0' >
    <field name='level_name' type='string' pk='true' />
    <field fkey='building_chains_tables.key' name='building_chain' type='string' />
    <field name='level' type='int' />
    <field name='condition' type='string' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='demolition_cost' type='int' />
    <field name='zoc' type='int' />
    <field name='lower_happiness' type='int' />
    <field name='upper_happiness' type='int' />
    <field name='repression' type='int' />
    <field name='gdp' type='int' />
    <field name='town_wealth_growth' type='int' />
    <field name='pop_change' type='float' />
    <field name='maxpop_change' type='float' />
    <field fkey='commodities_tables.key' name='commodity' type='string' />
    <field fkey='government_types_tables.government_type' name='gov_type_key' type='string' />
    <field name='commodity_vol' type='int' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
  </table>
  <table table_name='building_levels_tables'
         table_version='2' >
    <field name='level_name' type='string' pk='true' />
    <field fkey='building_chains_tables.key' name='building_chain' type='string' />
    <field name='level' type='int' />
    <field name='condition' type='string' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='demolition_cost' type='int' />
    <field name='zoc' type='int' />
    <field name='lower_happiness' type='int' />
    <field name='upper_happiness' type='int' />
    <field name='repression' type='int' />
    <field name='gdp' type='int' />
    <field name='town_wealth_growth' type='int' />
    <field name='pop_change' type='float' />
    <field name='maxpop_change' type='float' />
    <field fkey='commodities_tables.key' name='commodity' type='string' />
    <field fkey='government_types_tables.government_type' name='gov_type_key' type='string' />
    <field name='commodity_vol' type='int' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='destruction_terminator' type='boolean' />
    <field name='faction_unique' type='boolean' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring' />
    <field fkey='effect_bundles_tables.key' name='first_in_world_bundle' type='optstring' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring' />
    <field fkey='warscape_rigid_tables.key' name='working_model' type='string' />
    <field name='unique_index' type='int' />
  </table>
  <table table_name='building_levels_tables'
         table_version='3' >
    <field name='level_name' type='string' pk='true' />
    <field fkey='building_chains_tables.key' name='building_chain' type='string' />
    <field name='level' type='int' />
    <field name='condition' type='string' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='demolition_cost' type='int' />
    <field name='zoc' type='int' />
    <field name='lower_happiness' type='int' />
    <field name='upper_happiness' type='int' />
    <field name='repression' type='int' />
    <field name='gdp' type='int' />
    <field name='town_wealth_growth' type='int' />
    <field name='pop_change' type='float' />
    <field name='maxpop_change' type='float' />
    <field fkey='commodities_tables.key' name='commodity' type='string' />
    <field fkey='government_types_tables.government_type' name='gov_type_key' type='string' />
    <field name='commodity_vol' type='int' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='destruction_terminator' type='boolean' />
    <field name='faction_unique' type='boolean' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring' />
    <field fkey='effect_bundles_tables.key' name='first_in_world_bundle' type='optstring' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring' />
    <field fkey='warscape_rigid_tables.key' name='working_model' type='string' />
    <field name='unique_index' type='int' />
    <field fkey='warscape_rigid_tables.key' name='damage_model' type='optstring' />
  </table>
  <table table_name='building_levels_tables'
         table_version='3' >
    <field name='level_name' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' />
    <field name='level' type='int' />
    <field name='condition' type='optstring_ascii' />
    <field name='only_in_capital' type='boolean' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='demolition_cost' type='int' />
    <field name='zoc' type='float' />
    <field name='lower_happiness' type='int' />
    <field name='upper_happiness' type='int' />
    <field name='repression' type='int' />
    <field name='gdp' type='int' />
    <field name='town_wealth_growth' type='int' />
    <field name='pop_change' type='float' />
    <field name='maxpop_change' type='float' />
    <field name='commodity' type='optstring_ascii' />
    <field name='commodity_vol' type='int' />
    <field name='building_category' type='optstring_ascii' />
    <field name='gov_type_key' type='optstring_ascii' />
    <field name='unknown_22' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='unknown_27' type='optstring_ascii' />
    <field name='destruction_terminator' type='boolean' />
    <field name='faction_unique' type='boolean' />
    <field name='religion_requirement' type='optstring_ascii' />
    <field name='first_in_world_bundle' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field fkey='warscape_rigid_tables.key' name='working_model' type='string_ascii' />
    <field name='unique_index' type='int' />
    <field name='can_convert' type='boolean' />
    <field fkey='building_instances_tables.key' name='building_instance_key' type='optstring_ascii' />
    <field fkey='audio_campaign_building_enums_tables.key' name='audio_building_type' type='string_ascii' />
    <field name='should_show_building_level_in_ui_for_technology' type='boolean' />
  </table>
  <table table_name='building_levels_tables'
         table_version='7' >
    <field name='level_name' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' />
    <field name='level' type='int' />
    <field name='condition' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='demolition_cost' type='int' />
    <field name='zoc' type='int' />
    <field name='lower_happiness' type='int' />
    <field name='upper_happiness' type='int' />
    <field name='repression' type='int' />
    <field name='gdp' type='int' />
    <field name='town_wealth_growth' type='int' />
    <field name='pop_change' type='float' />
    <field name='maxpop_change' type='float' />
    <field fkey='commodities_tables.key' name='commodity' type='string_ascii' />
    <field fkey='government_types_tables.government_type' name='gov_type_key' type='string_ascii' />
    <field name='commodity_vol' type='int' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='destruction_terminator' type='boolean' />
    <field name='faction_unique' type='boolean' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='first_in_world_bundle' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field fkey='warscape_rigid_tables.key' name='working_model' type='string_ascii' />
    <field name='unique_index' type='int' />
    <field name='can_convert' type='boolean' />
    <field fkey='building_instances_tables.key' name='building_instance_key' type='optstring_ascii' />
    <field fkey='audio_campaign_building_enums_tables.key' name='audio_building_type' type='string_ascii' />
    <field name='should_show_building_level_in_ui_for_technology' type='boolean' />
    <field name='is_new' type='boolean' />
  </table>
  <table table_name='building_levels_tables'
         table_version='10' >
    <field name='level_name' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' />
    <field name='level' type='int' />
    <field name='unknown3' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='demolition_cost' type='int' />
    <field name='zoc' type='float' />
    <field name='lower_happiness' type='int' />
    <field name='upper_happiness' type='int' />
    <field name='repression' type='int' />
    <field name='unknown12' type='boolean' />
    <field name='unknown13' type='optstring_ascii' />
    <field name='unknown14' type='optstring_ascii' />
    <field name='unknown15' type='optstring_ascii' />
    <field name='unknown16' type='int' />
    <field name='unknown17' type='boolean' />
    <field name='unknown18' type='optstring_ascii' />
    <field name='unknown19' type='string_ascii' />
    <field name='unknown20' type='int' />
    <field name='unknown21' type='int' />
    <field name='unknown22' type='boolean' />
    <field name='unknown23' type='boolean' />
    <field name='unknown24' type='boolean' />
  </table>
  <table table_name='building_levels_tables'
         table_version='11' >
    <field name='level_name' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' />
    <field name='level' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field fkey='commodities_tables.key' name='commodity' type='string_ascii' />
    <field name='commodity_vol' type='int' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='destruction_terminator' type='boolean' />
    <field name='faction_unique' type='boolean' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='first_in_world_bundle' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='unique_index' type='int' />
    <field name='can_convert' type='boolean' />
    <field fkey='building_instances_tables.key' name='building_instance_key' type='optstring_ascii' />
    <field fkey='audio_campaign_building_enums_tables.key' name='audio_building_type' type='string_ascii' />
    <field name='should_show_building_level_in_ui_for_technology' type='boolean' />
    <field name='health_override' type='float' />
    <field name='development_point_cost' type='int' />
    <field name='has_aqueduct' type='boolean' />
    <field name='can_be_damaged' type='boolean' />
  </table>
  <table table_name='building_levels_tables'
         table_version='11' >
    <field name='level_name' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' />
    <field name='level' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field fkey='commodities_tables.key' name='commodity' type='string_ascii' />
    <field name='commodity_vol' type='int' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='destruction_terminator' type='boolean' />
    <field name='faction_unique' type='boolean' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='first_in_world_bundle' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='unique_index' type='int' />
    <field name='can_convert' type='boolean' />
    <field fkey='building_instances_tables.key' name='building_instance_key' type='optstring_ascii' />
    <field fkey='audio_campaign_building_enums_tables.key' name='audio_building_type' type='string_ascii' />
    <field name='should_show_building_level_in_ui_for_technology' type='boolean' />
    <field name='health_override' type='float' />
    <field name='development_point_cost' type='int' />
    <field name='has_aqueduct' type='boolean' />
    <field name='can_be_damaged' type='boolean' />
    <field fkey='building_requirement_groups_tables.key' name='requires_primary_slot_in_group' type='optstring_ascii' />
  </table>
  <table table_name='building_levels_tables'
         table_version='14' >
    <field name='level_name' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' />
    <field name='level' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field fkey='commodities_tables.key' name='commodity' type='string_ascii' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='faction_unique' type='boolean' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='first_in_world_bundle' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='can_convert' type='boolean' />
    <field fkey='building_instances_tables.key' name='building_instance_key' type='optstring_ascii' />
    <field name='should_show_building_level_in_ui_for_technology' type='boolean' />
    <field name='health_override' type='float' />
    <field name='development_point_cost' type='int' />
    <field name='can_be_damaged' type='boolean' />
    <field name='primary_slot_building_building_level_requirement' type='int' />
    <field fkey='audio_campaign_buildings_tables.key' name='audio_building_type' type='optstring_ascii' />
    <field name='visible_in_ui' type='boolean' />
  </table>
  <table table_name='building_levels_tables'
         table_version='15' >
    <field name='level_name' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' />
    <field name='level' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field fkey='commodities_tables.key' name='commodity' type='string_ascii' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='faction_unique' type='boolean' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='first_in_world_bundle' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='can_convert' type='boolean' />
    <field fkey='building_instances_tables.key' name='building_instance_key' type='optstring_ascii' />
    <field name='should_show_building_level_in_ui_for_technology' type='boolean' />
    <field name='health_override' type='float' />
    <field name='development_point_cost' type='int' />
    <field name='can_be_damaged' type='boolean' />
    <field name='primary_slot_building_building_level_requirement' type='int' />
    <field fkey='audio_campaign_buildings_tables.key' name='audio_building_type' type='optstring_ascii' />
    <field name='visible_in_ui' type='boolean' />
    <field name='food_cost' type='int' />
  </table>
  <table table_name='building_levels_tables'
         table_version='16' >
    <field name='level_name' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='chain' type='string_ascii' />
    <field name='level' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field fkey='commodities_tables.key' name='commodity' type='string_ascii' />
    <field name='only_in_capital' type='boolean' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='faction_unique' type='boolean' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='first_in_world_bundle' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='can_convert' type='boolean' />
    <field fkey='building_instances_tables.key' name='building_instance_key' type='optstring_ascii' />
    <field name='should_show_building_level_in_ui_for_technology' type='boolean' />
    <field name='health_override' type='float' />
    <field name='development_point_cost' type='int' />
    <field name='can_be_damaged' type='boolean' />
    <field name='primary_slot_building_building_level_requirement' type='int' />
    <field fkey='audio_campaign_buildings_tables.key' name='audio_building_type' type='optstring_ascii' />
    <field name='visible_in_ui' type='boolean' />
    <field name='food_cost' type='int' />
    <field name='slave_cap_contribution' type='int' />
  </table>
  <table table_name='building_requirement_group_junctions_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_level' type='string_ascii' pk='true' />
    <field fkey='building_requirement_groups_tables.key' name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_requirement_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_research_thread_junction_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='technology_threads_tables.thread_id' name='technology_tree' type='string' pk='true' />
    <field name='speed_bonus' type='float' />
  </table>
  <table table_name='building_resources_junction_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='resources_tables.key' name='resource' type='string' pk='true' />
    <field name='build_cost_reduction' type='float' />
  </table>
  <table table_name='building_set_to_building_junctions_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='building_chain' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_level' type='optstring_ascii' pk='true' />
    <field fkey='building_sets_tables.key' name='building_set' type='string_ascii' pk='true' />
    <field name='exclude' type='boolean' />
  </table>
  <table table_name='building_sets_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_sets_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='icon' type='string_ascii' />
    <field name='sort_order' type='int' />
    <field name='colour_r' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_b' type='int' />
  </table>
  <table table_name='building_sets_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='icon' type='string_ascii' />
    <field name='sort_order' type='int' />
    <field name='colour_r' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_b' type='int' />
  </table>
  <table table_name='building_states_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_superchains_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_instances_per_region' type='int' />
  </table>
  <table table_name='building_superchains_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_to_building_benefit_junctions_tables'
         table_version='0' >
    <field fkey='building_benefit_categories_tables.key' name='benefit' type='string_ascii' />
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_to_unit_abilities_junctions_tables'
         table_version='0' >
    <field fkey='unit_abilities_tables.key' name='ability' type='string' pk='true' />
    <field fkey='battlefield_buildings_tables.key' name='building_name' type='string' pk='true' />
  </table>
  <table table_name='building_to_unit_abilities_junctions_tables'
         table_version='0' >
    <field fkey='unit_abilities_tables.key' name='ability' type='string_ascii' pk='true' />
    <field fkey='battlefield_buildings_tables.key' name='building_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='building_units_allowed_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' pk='true' />
    <field fkey='units_tables.key' name='unit' type='string' pk='true' />
    <field name='XP' type='int' />
    <field name='conditions' type='optstring' />
  </table>
  <table table_name='building_units_allowed_tables'
         table_version='2' >
    <field fkey='building_levels_tables.level_name' name='building' type='string' />
    <field fkey='units_tables.key' name='unit' type='string' />
    <field name='XP' type='int' />
    <field name='conditions' type='optstring' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='factions_tables.key' name='faction' type='optstring' />
    <field name='enabled' type='boolean' />
  </table>
  <table table_name='building_units_allowed_tables'
         table_version='3' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' />
    <field name='XP' type='int' />
    <field name='conditions' type='optstring_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='enabled' type='boolean' />
  </table>
  <table table_name='building_units_allowed_tables'
         table_version='4' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' />
    <field name='XP' type='int' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='enabled' type='boolean' />
  </table>
  <table table_name='building_upgrades_junction_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='from' type='string' pk='true' />
    <field fkey='building_levels_tables.level_name' name='to' type='string' pk='true' />
  </table>
  <table table_name='building_upgrades_junction_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='from' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='to' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_distribution_profiles_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_agent_distribution_profiles_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_distribution_types_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_agent_distribution_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_embed_profile_agent_type_junctions_tables'
         table_version='0' >
    <field fkey='cai_agent_embed_profiles_tables.key' name='agent_embed_profile_key' type='string_ascii' pk='true' />
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string_ascii' pk='true' />
    <field name='free_agent_type_cap' type='int' />
    <field name='free_agent_type_cap_per_horde_multiplier' type='float' />
    <field name='free_agent_type_cap_per_region_multiplier' type='float' />
  </table>
  <table table_name='cai_agent_embed_profile_agent_type_junctions_tables'
         table_version='1' >
    <field fkey='cai_agent_embed_profiles_tables.key' name='agent_embed_profile_key' type='string_ascii' pk='true' />
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string_ascii' pk='true' />
    <field name='free_agent_type_cap' type='int' />
    <field name='free_agent_type_cap_per_horde_multiplier' type='float' />
    <field name='free_agent_type_cap_per_region_multiplier' type='float' />
    <field name='exempt_from_free_agent_caps' type='boolean' />
  </table>
  <table table_name='cai_agent_embed_profiles_tables'
         table_version='0' >
    <field name='free_agent_default_type_cap' type='int' />
    <field name='free_agent_default_type_cap_per_horde_multiplier' type='float' />
    <field name='free_agent_default_type_cap_per_region_multiplier' type='float' />
    <field name='free_agent_excess_cap' type='int' />
    <field name='free_agent_excess_cap_per_horde_multiplier' type='float' />
    <field name='free_agent_excess_cap_per_region_multiplier' type='float' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_record_to_cai_agent_type_junctions_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_record_key' type='string' pk='true' />
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string' pk='true' />
  </table>
  <table table_name='cai_agent_record_to_cai_agent_type_junctions_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_record_key' type='string_ascii' pk='true' />
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_record_to_cai_agent_type_junctions_tables'
         table_version='1' >
    <field fkey='agents_tables.key' name='agent_record_key' type='string_ascii' pk='true' />
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string_ascii' pk='true' />
    <field fkey='agent_subtypes_tables.key' name='agent_subtype_key' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_recruitment_profiles_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_agent_recruitment_profiles_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_recruitment_types_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_agent_recruitment_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_type_distribution_profile_junctions_tables'
         table_version='0' >
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string' pk='true' />
    <field fkey='cai_agent_distribution_profiles_tables.key' name='distribution_profile_key' type='string' pk='true' />
    <field fkey='cai_agent_distribution_types_tables.key' name='distribution_type_key' type='string' pk='true' />
  </table>
  <table table_name='cai_agent_type_distribution_profile_junctions_tables'
         table_version='0' >
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string_ascii' pk='true' />
    <field fkey='cai_agent_distribution_profiles_tables.key' name='distribution_profile_key' type='string_ascii' pk='true' />
    <field fkey='cai_agent_distribution_types_tables.key' name='distribution_type_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_type_recruitment_profile_junctions_tables'
         table_version='0' >
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string' pk='true' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='recruitment_profile_key' type='string' pk='true' />
    <field fkey='cai_agent_recruitment_types_tables.key' name='recruitment_type_key' type='string' pk='true' />
  </table>
  <table table_name='cai_agent_type_recruitment_profile_junctions_tables'
         table_version='0' >
    <field fkey='cai_agent_types_tables.key' name='agent_type_key' type='string_ascii' pk='true' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='recruitment_profile_key' type='string_ascii' pk='true' />
    <field fkey='cai_agent_recruitment_types_tables.key' name='recruitment_type_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_agent_types_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_agent_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_base_building_context_values_tables'
         table_version='1' >
    <field fkey='building_levels_tables.level_name' name='building_key' type='string' pk='true' />
    <field name='economic_value' type='float' />
    <field name='education_value' type='float' />
    <field name='happiness_value' type='float' />
    <field name='military_value' type='float' />
    <field name='prestige_value' type='float' />
    <field name='existing_buildings_apply_discount_over_limit' type='float' />
    <field name='existing_buildings_discount_per_building' type='float' />
    <field name='existing_buildings_maximum_discount' type='float' />
  </table>
  <table table_name='cai_base_building_context_values_tables'
         table_version='1' >
    <field fkey='building_levels_tables.level_name' name='building_key' type='string_ascii' pk='true' />
    <field name='economic_value' type='float' />
    <field name='education_value' type='float' />
    <field name='happiness_value' type='float' />
    <field name='military_value' type='float' />
    <field name='prestige_value' type='float' />
    <field name='existing_buildings_apply_discount_over_limit' type='float' />
    <field name='existing_buildings_discount_per_building' type='float' />
    <field name='existing_buildings_maximum_discount' type='float' />
  </table>
  <table table_name='cai_character_skill_synergies_tables'
         table_version='0' >
    <field fkey='character_skills_tables.key' name='existing_character_skill_key' type='string_ascii' pk='true' />
    <field fkey='character_skills_tables.key' name='potential_character_skill_key' type='string_ascii' pk='true' />
    <field fkey='cai_character_skill_synergy_levels_tables.key' name='synergy_level_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_character_skill_synergy_levels_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='relative_effect' type='float' />
  </table>
  <table table_name='cai_construction_system_blocking_buildings_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_end' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_start' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_blocking_categories_tables.key' name='category' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_blocking_categories_tables'
         table_version='1' >
    <field name='absence_of_non_blocking_building_is_a_problem' type='boolean' />
    <field name='blocking_penalty' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='non_blocking' type='float' />
    <field name='number_of_turns_before_enabling_conversion' type='int' />
    <field name='number_of_turns_before_enabling_demolition' type='int' />
    <field name='should_disable_recruitment_when_blocking' type='boolean' />
  </table>
  <table table_name='cai_construction_system_building_values_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='building_chain' type='optstring_ascii' pk='true' />
    <field fkey='building_instances_tables.level_name' name='building_instance' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_or_building_range_start_inclusive' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_range_end_inclusive' type='optstring_ascii' pk='true' />
    <field fkey='building_superchains_tables.key' name='building_super_chain' type='optstring_ascii' pk='true' />
    <field fkey='cai_construction_system_categories_tables.key' name='cai_construction_system_category' type='optstring_ascii' pk='true' />
    <field fkey='cai_construction_system_category_groups_tables.key' name='cai_construction_system_category_group' type='optstring_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='per_faction_building_limit_end' type='int' />
    <field name='per_faction_building_limit_start' type='int' />
    <field name='per_faction_building_maximum_discount_when_exceeding_limit_end' type='int' />
    <field name='per_faction_building_maximum__discount_when_exceeding_limit_start' type='int' />
    <field name='per_faction_building_minimum_discount_when_exceeding_limit_end' type='int' />
    <field name='per_faction_building_minimum_discount_when_exceeding_limit_start' type='int' />
    <field name='per_faction_per_building_discount_increment_when_exceeding_limit_end' type='int' />
    <field name='per_faction_per_building_discount_increment_when_exceeding_limit_start' type='int' />
    <field name='per_province_building_limit_end' type='int' />
    <field name='per_province_building_limit_start' type='int' />
    <field name='per_province_building_maximum_discount_when_exceeding_limit_end' type='int' />
    <field name='per_province_building_maximum_discount_when_exceeding_limit_start' type='int' />
    <field name='per_province_building_minimum_discount_when_exceeding_limit_end' type='int' />
    <field name='per_province_building_minimum_discount_when_exceeding_limit_start' type='int' />
    <field name='per_province_per_building_discount_increment_when_exceeding_limit_end' type='int' />
    <field name='per_province_per_building_discount_increment_when_exceeding_limit_start' type='int' />
    <field name='score_end_inclusive' type='int' />
    <field name='score_or_score_start_inclusive' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='sub_culture' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_categories_tables'
         table_version='0' >
    <field fkey='cai_construction_system_category_groups_tables.key' name='cai_construction_system_category_group' type='string_ascii' />
    <field fkey='cdir_military_generator_unit_groups_tables.key' name='cdir_military_generator_unit_group' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_category_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_province_template_assignment_policies_tables'
         table_version='0' >
    <field fkey='cai_construction_system_templates_tables.key' name='capital_province_template' type='string_ascii' />
    <field fkey='cai_construction_system_templates_tables.key' name='economic_port_province_template' type='string_ascii' />
    <field fkey='cai_construction_system_templates_tables.key' name='economic_province_template' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_templates_tables.key' name='military_port_province_template' type='string_ascii' />
    <field fkey='cai_construction_system_templates_tables.key' name='military_province_template' type='string_ascii' />
    <field name='non_port_province_military_ideal_percentage' type='int' />
    <field name='port_province_military_ideal_percentage' type='int' />
  </table>
  <table table_name='cai_construction_system_province_template_assignment_policies_tables'
         table_version='1' >
    <field fkey='cai_construction_system_templates_tables.key' name='capital_province_template' type='string_ascii' />
    <field fkey='cai_construction_system_templates_tables.key' name='economic_port_province_template' type='string_ascii' />
    <field fkey='cai_construction_system_templates_tables.key' name='economic_province_template' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_templates_tables.key' name='military_port_province_template' type='string_ascii' />
    <field fkey='cai_construction_system_templates_tables.key' name='military_province_template' type='string_ascii' />
    <field name='non_port_province_military_ideal_percentage' type='int' />
    <field name='port_province_military_ideal_percentage' type='int' />
    <field fkey='cai_construction_system_template_assignment_schemes_tables.scheme_key' name='default_template_assignment_scheme' type='string_ascii' />
  </table>
  <table table_name='cai_construction_system_province_template_assignment_policies_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_template_assignment_schemes_tables.scheme_key' name='default_template_assignment_scheme' type='string_ascii' />
  </table>
  <table table_name='cai_construction_system_strategic_context_faction_status_overrides_tables'
         table_version='0' >
    <field fkey='cai_construction_system_templates_tables.key' name='cai_construction_system_template' type='string_ascii' />
    <field fkey='cai_construction_system_strategic_context_template_policies_tables.key' name='construction_system_strategic_context_policy' type='string_ascii' pk='true' />
    <field fkey='cai_faction_statuses_tables.faction_status' name='faction_status' type='string_ascii' pk='true' />
    <field fkey='cai_strategic_context_types_tables.key' name='strategic_context' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_strategic_context_template_policies_tables'
         table_version='0' >
    <field fkey='cai_construction_system_templates_tables.key' name='default_cai_construction_system_template' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_strategic_context_template_policy_junctions_tables'
         table_version='0' >
    <field fkey='cai_construction_system_strategic_context_template_policies_tables.key' name='cai_construction_system_strategic_context_policy' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_templates_tables.key' name='cai_construction_system_template' type='string_ascii' pk='true' />
    <field fkey='cai_strategic_context_types_tables.key' name='cai_strategic_context' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_superchain_hints_tables'
         table_version='0' >
    <field name='economic_specialisation_recommended' type='boolean' />
    <field name='military_specialisation_recommended' type='boolean' />
    <field fkey='building_superchains_tables.key' name='super_chain_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_synergies_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='existing_building_chain_key' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='existing_building_level_inclusive_end' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='existing_building_level_inclusive_start' type='optstring_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='potential_buiding_chain_key' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='potential_building_level_inclusive_end' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='potential_building_level_inclusive_start' type='optstring_ascii' pk='true' />
    <field fkey='cai_construction_system_synergy_levels_tables.key' name='synergy_level_key' type='string_ascii' />
    <field fkey='cai_construction_system_synergy_policies_tables.key' name='synergy_policy_key' type='string_ascii' pk='true' />
    <field fkey='building_instances_tables.key' name='existing_building_instance' type='optstring_ascii' pk='true' />
    <field fkey='building_superchains_tables.key' name='existing_building_super_chain' type='string_ascii' pk='true' />
    <field fkey='building_instances_tables.key' name='potential_building_instance' type='optstring_ascii' pk='true' />
    <field fkey='building_superchains_tables.key' name='potential_building_super_chain' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_synergies_tables'
         table_version='1' >
    <field fkey='building_chains_tables.key' name='existing_building_chain_key' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='existing_building_level_inclusive_end' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='existing_building_level_inclusive_start' type='optstring_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='potential_buiding_chain_key' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='potential_building_level_inclusive_end' type='optstring_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='potential_building_level_inclusive_start' type='optstring_ascii' pk='true' />
    <field fkey='cai_construction_system_synergy_levels_tables.key' name='synergy_level_key' type='string_ascii' />
    <field fkey='cai_construction_system_synergy_policies_tables.key' name='synergy_policy_key' type='string_ascii' pk='true' />
    <field fkey='building_instances_tables.key' name='existing_building_instance' type='optstring_ascii' pk='true' />
    <field fkey='building_superchains_tables.key' name='existing_building_super_chain' type='string_ascii' pk='true' />
    <field fkey='building_instances_tables.key' name='potential_building_instance' type='optstring_ascii' pk='true' />
    <field fkey='building_superchains_tables.key' name='potential_building_super_chain' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_synergy_scopes_tables.key' name='synergy_scope_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_synergy_levels_tables'
         table_version='0' >
    <field name='absolute_effect' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
    <field name='relative_effect' type='float' />
  </table>
  <table table_name='cai_construction_system_synergy_policies_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_synergy_scopes_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
    <table table_name='cai_construction_system_template_assignment_policy_faction_status_overrides_tables'
         table_version='0' >
    <field fkey='cai_faction_statuses_tables.faction_status' name='faction_status' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_province_template_assignment_policies_tables.key' name='template_assignment_policy' type='string_ascii' pk='true' />
    <field fkey='cai_construction_sytesm_template_assignment_schemes_tables.scheme_key' name='template_assignment_scheme' type='string_ascii' />
  </table>
  <table table_name='cai_construction_system_template_assignment_schemes_tables'
         table_version='0' >
    <field fkey='cai_construction_system_templates_tables.key' name='basic_economic_template' type='string_ascii' />
    <field name='basic_ideal_military_template_percentage' type='int' />
    <field fkey='cai_construction_system_templates_tables.key' name='basic_military_template' type='string_ascii' />
    <field fkey='cai_construction_system_templates_tables.key' name='capital_template' type='string_ascii' />
    <field fkey='cai_construction_system_templates_tables.key' name='naval_economic_template' type='string_ascii' />
    <field name='naval_ideal_military_template_percentage' type='int' />
    <field fkey='cai_construction_system_templates_tables.key' name='naval_military_template' type='string_ascii' />
    <field name='scheme_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_templates_junctions_tables'
         table_version='0' >
    <field fkey='cai_construction_system_categories_tables.key' name='cai_construction_system_category' type='optstring_ascii' pk='true' />
    <field fkey='cai_construction_system_category_groups_tables.key' name='cai_construction_system_category_group' type='optstring_ascii' pk='true' />
    <field fkey='cai_construction_system_templates_tables.key' name='cai_construction_system_template' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='cai_construction_system_templates_tables'
         table_version='0' >
    <field name='default_category_and_group_value' type='float' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_construction_system_unblocking_buildings_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_end' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_start' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_blocking_categories_tables.key' name='category' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_diplomacy_complex_treacheries_tables'
         table_version='0' >
    <field fkey='cai_personality_diplomatic_events_tables.id' name='first_event' type='string_ascii' pk='true' />
    <field name='max_turn_difference' type='int' />
    <field fkey='cai_personality_diplomatic_events_tables.id' name='second_event' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='cai_diplomacy_excluded_factions_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_diplomacy_simple_treacheries_tables'
         table_version='0' >
    <field fkey='cai_personality_diplomatic_events_tables.id' name='event' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='cai_faction_statuses_tables'
         table_version='0' >
    <field name='faction_status' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_factions_to_hint_profile_groups_tables'
         table_version='2' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='cai_hint_profile_groups_tables.key' name='hint_profile_group_key' type='string_ascii' />
    <field name='campaign' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_hint_profile_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_region_hint_profiles_tables.key' name='region_hint_profile_key' type='string_ascii' />
  </table>
  <table table_name='cai_military_aggressiveness_policies_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_military_aggressiveness_policies_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_military_aggressiveness_policies_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
  </table>
  <table table_name='cai_military_behaviour_policies_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_military_behaviour_policies_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_budget_allocation_faction_status_overides_tables'
         table_version='0' >
    <field fkey='cai_personalities_budget_allocations_tables.key' name='budget_allocation' type='string_ascii' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_allocation_policy' type='string_ascii' pk='true' />
    <field fkey='cai_faction_statuses_tables.faction_status' name='faction_status' type='string_ascii' pk='true' />
    <field fkey='cai_strategic_context_types_tables.key' name='strategic_context' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_budget_allocation_policy_junctions_tables'
         table_version='0' >
    <field fkey='cai_personalities_budget_allocations_tables.key' name='budget_allocation_key' type='string' pk='true' />
    <field fkey='cai_personalities_budget_context_types_tables.key' name='budget_context_key' type='string' pk='true' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='cai_personalities_budget_allocation_policy_junctions_tables'
         table_version='0' >
    <field fkey='cai_personalities_budget_allocations_tables.key' name='budget_allocation_key' type='string_ascii' pk='true' />
    <field fkey='cai_strategic_context_types_tables.key' name='budget_context_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='cai_personalities_budget_allocation_policy_junctions_tables'
         table_version='1' >
    <field fkey='cai_personalities_budget_allocations_tables.key' name='budget_allocation_key' type='string_ascii' pk='true' />
    <field fkey='cai_strategic_context_types_tables.key' name='budget_context_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_budget_allocations_tables'
         table_version='0' >
    <field name='agents_funding_cap' type='int' />
    <field name='agents_funds_allocation_percentage' type='int' />
    <field name='agents_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='agents_turns_of_inactivity_until_cap' type='int' />
    <field name='army_funding_cap' type='int' />
    <field name='army_funds_allocation_percentage' type='int' />
    <field name='army_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='army_turns_of_inactivity_until_cap' type='int' />
    <field name='construction_funding_cap' type='int' />
    <field name='construction_funds_allocation_percentage' type='int' />
    <field name='construction_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='construction_turns_of_inactivity_until_cap' type='int' />
    <field name='diplomacy_funding_cap' type='int' />
    <field name='diplomacy_funds_allocation_percentage' type='int' />
    <field name='diplomacy_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='diplomacy_turns_of_inactivity_until_cap' type='int' />
    <field name='key' type='string' pk='true' />
    <field name='navy_funding_cap' type='int' />
    <field name='navy_funds_allocation_percentage' type='int' />
    <field name='navy_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='navy_turns_of_inactivity_until_cap' type='int' />
  </table>
  <table table_name='cai_personalities_budget_allocations_tables'
         table_version='0' >
    <field name='agents_funding_cap' type='int' />
    <field name='agents_funds_allocation_percentage' type='int' />
    <field name='agents_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='agents_turns_of_inactivity_until_cap' type='int' />
    <field name='army_funding_cap' type='int' />
    <field name='army_funds_allocation_percentage' type='int' />
    <field name='army_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='army_turns_of_inactivity_until_cap' type='int' />
    <field name='construction_funding_cap' type='int' />
    <field name='construction_funds_allocation_percentage' type='int' />
    <field name='construction_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='construction_turns_of_inactivity_until_cap' type='int' />
    <field name='diplomacy_funding_cap' type='int' />
    <field name='diplomacy_funds_allocation_percentage' type='int' />
    <field name='diplomacy_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='diplomacy_turns_of_inactivity_until_cap' type='int' />
    <field name='key' type='string' pk='true' />
    <field name='navy_funding_cap' type='int' />
    <field name='navy_funds_allocation_percentage' type='int' />
    <field name='navy_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='navy_turns_of_inactivity_until_cap' type='int' />
    <field fkey='taxes_levels_tables.tax_level' name='minimum_settable_tax_level' type='string' />
    <field fkey='taxes_levels_tables.tax_level' name='maximum_settable_tax_level' type='string' />
  </table>
  <table table_name='cai_personalities_budget_allocations_tables'
         table_version='2' >
    <field name='agents_funding_cap' type='int' />
    <field name='agents_funds_allocation_percentage' type='int' />
    <field name='agents_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='agents_turns_of_inactivity_until_cap' type='int' />
    <field name='army_funding_cap' type='int' />
    <field name='army_funds_allocation_percentage' type='int' />
    <field name='army_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='army_turns_of_inactivity_until_cap' type='int' />
    <field name='construction_funding_cap' type='int' />
    <field name='construction_funds_allocation_percentage' type='int' />
    <field name='construction_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='construction_turns_of_inactivity_until_cap' type='int' />
    <field name='diplomacy_funding_cap' type='int' />
    <field name='diplomacy_funds_allocation_percentage' type='int' />
    <field name='diplomacy_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='diplomacy_turns_of_inactivity_until_cap' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='navy_funding_cap' type='int' />
    <field name='navy_funds_allocation_percentage' type='int' />
    <field name='navy_percentage_of_pool_to_save_on_fail' type='int' />
    <field name='navy_turns_of_inactivity_until_cap' type='int' />
    <field fkey='taxes_levels_tables.tax_level' name='minimum_settable_tax_level' type='string_ascii' />
    <field fkey='taxes_levels_tables.tax_level' name='maximum_settable_tax_level' type='string_ascii' />
    <field name='technology_funds_allocation_percentage' type='int' />
    <field name='technology_turns_of_inactivity_until_cap' type='int' />
    <field name='technology_funding_cap' type='int' />
    <field name='technology_percentage_of_pool_to_save_on_fail' type='int' />
  </table>
  <table table_name='cai_personalities_budget_context_types_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_budget_policies_tables'
         table_version='0' >
    <field fkey='cai_personalities_budget_allocations_tables.key' name='default_budget_allocation_key' type='string' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_budget_policies_tables'
         table_version='0' >
    <field fkey='cai_personalities_budget_allocations_tables.key' name='default_budget_allocation_key' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_budget_policies_tables'
         table_version='1' >
    <field fkey='cai_personalities_budget_allocations_tables.key' name='default_budget_allocation_key' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
  </table>
  <table table_name='cai_personalities_building_synergies_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='existing_building_chain_key' type='string' pk='true' />
    <field fkey='building_levels_tables.level_name' name='existing_building_level_inclusive_end' type='optstring' pk='true' />
    <field fkey='building_levels_tables.level_name' name='existing_building_level_inclusive_start' type='optstring' pk='true' />
    <field fkey='building_chains_tables.key' name='potential_buiding_chain_key' type='string' pk='true' />
    <field fkey='building_levels_tables.level_name' name='potential_building_level_inclusive_end' type='optstring' pk='true' />
    <field fkey='building_levels_tables.level_name' name='potential_building_level_inclusive_start' type='optstring' pk='true' />
    <field fkey='cai_personalities_building_synergy_levels_tables.key' name='synergy_level_key' type='string' />
    <field fkey='cai_personalities_building_synergy_policies_tables.key' name='synergy_policy_key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_building_synergy_levels_tables'
         table_version='0' >
    <field name='absolute_effect' type='float' />
    <field name='key' type='string' pk='true' />
    <field name='priority' type='int' />
    <field name='relative_effect' type='float' />
  </table>
  <table table_name='cai_personalities_building_synergy_policies_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_character_skill_selection_policies_skill_utilization_hints_junctions_tables'
         table_version='0' >
    <field fkey='cai_personalities_character_skill_selection_policies_tables.key' name='skill_selection_policy_key' type='string_ascii' pk='true' />
    <field fkey='character_skill_utilization_hints_tables.key' name='skill_utilization_hint_key' type='string_ascii' pk='true' />
    <field name='skill_utilization_multiplier' type='float' />
  </table>
  <table table_name='cai_personalities_character_skill_selection_policies_tables'
         table_version='1' >
    <field name='existing_skill_selection_weight_maximum' type='float' />
    <field name='existing_skill_selection_weight_mean' type='float' />
    <field name='existing_skill_selection_weight_minimum' type='float' />
    <field name='existing_skill_selection_weight_standard_deviation' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='priority_chain_selection_weight_maximum' type='float' />
    <field name='priority_chain_selection_weight_mean' type='float' />
    <field name='priority_chain_selection_weight_minimum' type='float' />
    <field name='priority_chain_selection_weight_standard_deviation' type='float' />
    <field name='skill_utilization_default_multiplier' type='float' />
  </table>
  <table table_name='cai_personalities_construction_preference_policies_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_construction_preference_policies_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_construction_preference_policy_building_junctions_tables'
         table_version='1' >
    <field name='bias_level' type='float' />
    <field fkey='building_levels_tables.level_name' name='building_key' type='string' pk='true' />
    <field fkey='cai_personalities_construction_preference_policies_tables.key' name='policy_key' type='string' pk='true' />
    <field name='absolute_adjustment' type='float' />
  </table>
  <table table_name='cai_personalities_construction_preference_policy_building_junctions_tables'
         table_version='2' >
    <field name='bias_level' type='float' />
    <field fkey='building_levels_tables.level_name' name='building_key' type='string' pk='true' />
    <field fkey='cai_personalities_construction_preference_policies_tables.key' name='policy_key' type='string' pk='true' />
    <field name='absolute_adjustment' type='float' />
    <field name='building_discount_limit_adjustment' type='int' />
  </table>
  <table table_name='cai_personalities_construction_preference_policy_building_junctions_tables'
         table_version='2' >
    <field name='bias_level' type='float' />
    <field fkey='building_levels_tables.level_name' name='building_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_construction_preference_policies_tables.key' name='policy_key' type='string_ascii' pk='true' />
    <field name='absolute_adjustment' type='float' />
    <field name='building_discount_limit_adjustment' type='int' />
  </table>
  <table table_name='cai_personalities_construction_system_policies_tables'
         table_version='0' >
    <field fkey='cai_construction_system_synergy_policies_tables.key' name='building_synergies_policy' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_construction_system_province_template_assignment_policies_tables.key' name='province_specialisation_template_assignment_policy' type='string_ascii' />
    <field fkey='cai_construction_system_strategic_context_template_policies_tables.key' name='strategic_context_template_assignment_policy' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_faction_junctions_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='string' pk='true' />
    <field fkey='cai_personalities_tables.key' name='default_personality' type='string' />
    <field fkey='factions_tables.key' name='faction_key' type='string' pk='true' />
    <field fkey='cai_personalities_random_groups_tables.random_personality_group_key' name='personality_group' type='string' />
    <field fkey='cai_personalities_randomisation_policies_tables.randomisation_policy_key' name='randomisation_policy_key' type='string' />
  </table>
  <table table_name='cai_personalities_faction_junctions_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_tables.key' name='default_personality' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_random_groups_tables.random_personality_group_key' name='personality_group' type='string_ascii' />
    <field fkey='cai_personalities_randomisation_policies_tables.randomisation_policy_key' name='randomisation_policy_key' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_income_allocation_policies_tables'
         table_version='0' >
    <field name='default_positive_net_income_survival_rounds' type='int' />
    <field name='default_proportion_of_net_income_to_spend' type='float' />
    <field name='defualt_zero_or_negative_net_income_survival_rounds' type='int' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_income_allocation_policies_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_income_allocations_tables.key' name='default_income_allocation' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_income_allocation_policy_faction_status_for_context_junctions_tables'
         table_version='0' >
    <field fkey='cai_faction_statuses_tables.faction_status' name='faction_status' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_income_allocations_tables.key' name='income_allocation' type='string_ascii' />
    <field fkey='cai_personalities_income_allocation_policies_tables.key' name='income_allocation_policy' type='string_ascii' pk='true' />
    <field fkey='cai_strategic_context_types_tables.key' name='strategic_context' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_income_allocation_policy_strategic_context_junctions_tables'
         table_version='0' >
    <field fkey='cai_personalities_income_allocation_policies_tables.key' name='income_allocation_policy_key' type='string_ascii' pk='true' />
    <field name='positive_net_income_survival_rounds' type='int' />
    <field name='proportion_of_net_income_to_spend' type='float' />
    <field fkey='cai_strategic_context_types_tables.key' name='strategic_context_key' type='string_ascii' pk='true' />
    <field name='zero_or_negative_net_income_survival_rounds' type='int' />
  </table>
  <table table_name='cai_personalities_income_allocation_policy_strategic_context_junctions_tables'
         table_version='1' >
    <field fkey='cai_personalities_income_allocation_policies_tables.key' name='income_allocation_policy_key' type='string_ascii' pk='true' />
    <field name='positive_net_income_survival_rounds' type='int' />
    <field name='proportion_of_net_income_to_spend' type='float' />
    <field fkey='cai_strategic_context_types_tables.key' name='strategic_context_key' type='string_ascii' pk='true' />
    <field name='zero_or_negative_net_income_survival_rounds' type='int' />
    <field fkey='cai_personalities_income_allocations_tables.key' name='income_allocation' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_income_allocations_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='positive_net_income_survival_rounds' type='int' />
    <field name='proportion_of_net_income_to_spend' type='float' />
    <field name='zero_or_negative_net_income_survival_rounds' type='int' />
  </table>
  <table table_name='cai_personalities_random_group_junctions_tables'
         table_version='0' >
    <field fkey='cai_personalities_tables.key' name='personality_key' type='string' pk='true' />
    <field fkey='cai_personalities_random_groups_tables.random_personality_group_key' name='random_personality_group_key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_random_group_junctions_tables'
         table_version='0' >
    <field fkey='cai_personalities_tables.key' name='personality_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_random_groups_tables.random_personality_group_key' name='random_personality_group_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_random_groups_tables'
         table_version='0' >
    <field name='random_personality_group_key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_random_groups_tables'
         table_version='0' >
    <field name='random_personality_group_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_randomisation_policies_tables'
         table_version='0' >
    <field name='randomisation_policy_key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_randomisation_policies_tables'
         table_version='0' >
    <field name='randomisation_policy_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_reliability_policies_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_reliability_policies_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_reliability_policies_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='join_ally_bias' type='float' />
  </table>
  <table table_name='cai_personalities_reliability_policies_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='join_ally_bias' type='float' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
    <field name='no_war_declaration_gift_threshold_min' type='float' />
    <field name='no_war_declaration_gift_threshold_max' type='float' />
    <field name='no_war_declaration_gift_bonus' type='float' />
    <field name='no_raiding_gift_threshold' type='float' />
  </table>
  <table table_name='cai_personalities_religion_change_management_policies_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='percent_probability_of_religion_change_once_threshold_reached' type='int' />
    <field name='proportion_over_mean_state_religion_value_for_religion_change_tick' type='float' />
    <field name='religion_change_ticks_required_to_change' type='int' />
  </table>
  <table table_name='cai_personalities_religious_conversion_policies_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='cai_personalities_religious_conversion_policies_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_tables'
         table_version='1' >
    <field fkey='cai_agent_distribution_profiles_tables.key' name='agent_distribution_profile_key' type='string' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='agent_recruitment_profile_key' type='string' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string' />
    <field fkey='campaign_ai_character_skill_tree_managers_tables.key' name='character_skill_tree_manager_key' type='string' />
    <field fkey='cai_personalities_construction_preference_policies_tables.key' name='construction_policy_key' type='string' />
    <field name='key' type='string' pk='true' />
    <field fkey='cai_military_aggressiveness_policies_tables.key' name='military_aggressiveness_policy' type='string' />
    <field fkey='cai_military_behaviour_policies_tables.key' name='military_behaviour_policy' type='string' />
    <field fkey='cai_personalities_reliability_policies_tables.key' name='reliability_policy_key' type='string' />
    <field fkey='cai_personalities_religious_conversion_policies_tables.key' name='religious_conversion_policy' type='string' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='technology_manager_key' type='string' />
    <field name='allowed_for_random_selection' type='boolean' />
  </table>
  <table table_name='cai_personalities_tables'
         table_version='2' >
    <field fkey='cai_agent_distribution_profiles_tables.key' name='agent_distribution_profile_key' type='string' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='agent_recruitment_profile_key' type='string' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string' />
    <field fkey='campaign_ai_character_skill_tree_managers_tables.key' name='character_skill_tree_manager_key' type='string' />
    <field fkey='cai_personalities_construction_preference_policies_tables.key' name='construction_policy_key' type='string' />
    <field name='key' type='string' pk='true' />
    <field fkey='cai_military_aggressiveness_policies_tables.key' name='military_aggressiveness_policy' type='string' />
    <field fkey='cai_military_behaviour_policies_tables.key' name='military_behaviour_policy' type='string' />
    <field fkey='cai_personalities_reliability_policies_tables.key' name='reliability_policy_key' type='string' />
    <field fkey='cai_personalities_religious_conversion_policies_tables.key' name='religious_conversion_policy' type='string' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='technology_manager_key' type='string' />
    <field name='allowed_for_random_selection' type='boolean' />
    <field fkey='cai_personalities_building_synergy_policies_tables.key' name='building_synergy_policy' type='string' />
  </table>
  <table table_name='cai_personalities_tables'
         table_version='8' >
    <field fkey='cai_agent_distribution_profiles_tables.key' name='agent_distribution_profile_key' type='string_ascii' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='agent_recruitment_profile_key' type='string_ascii' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string_ascii' />
    <field fkey='campaign_ai_character_skill_tree_managers_tables.key' name='character_skill_tree_manager_key' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_military_aggressiveness_policies_tables.key' name='military_aggressiveness_policy' type='string_ascii' />
    <field fkey='cai_military_behaviour_policies_tables.key' name='military_behaviour_policy' type='string_ascii' />
    <field fkey='cai_personalities_reliability_policies_tables.key' name='reliability_policy_key' type='string_ascii' />
    <field fkey='cai_personalities_religious_conversion_policies_tables.key' name='religious_conversion_policy' type='string_ascii' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='technology_manager_key' type='string_ascii' />
    <field name='allowed_for_random_selection' type='boolean' />
    <field fkey='cai_personality_diplomatic_components_tables.id' name='diplomatic_component' type='string_ascii' />
    <field fkey='cai_personality_strategic_components_tables.id' name='strategic_component' type='string_ascii' />
    <field fkey='cai_personality_cultural_components_tables.id' name='cultural_component' type='string_ascii' />
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='deal_evaluation_component' type='string_ascii' />
    <field fkey='cai_personality_deal_generation_components_tables.id' name='deal_generation_component' type='string_ascii' />
    <field fkey='cai_personalities_construction_system_policies_tables.key' name='construction_system_policy' type='string_ascii' />
    <field fkey='cai_personalities_task_management_system_task_generator_profiles_tables.key' name='task_management_system_task_generation_profile' type='string_ascii' />
    <field fkey='cai_personality_negotiation_components_tables.id' name='negotiation_component' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_tables'
         table_version='10' >
    <field fkey='cai_agent_distribution_profiles_tables.key' name='agent_distribution_profile_key' type='string_ascii' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='agent_recruitment_profile_key' type='string_ascii' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string_ascii' />
    <field fkey='campaign_ai_character_skill_tree_managers_tables.key' name='character_skill_tree_manager_key' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_military_aggressiveness_policies_tables.key' name='military_aggressiveness_policy' type='string_ascii' />
    <field fkey='cai_military_behaviour_policies_tables.key' name='military_behaviour_policy' type='string_ascii' />
    <field fkey='cai_personalities_reliability_policies_tables.key' name='reliability_policy_key' type='string_ascii' />
    <field fkey='cai_personalities_religious_conversion_policies_tables.key' name='religious_conversion_policy' type='string_ascii' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='technology_manager_key' type='string_ascii' />
    <field name='allowed_for_random_selection' type='boolean' />
    <field fkey='cai_personality_diplomatic_components_tables.id' name='diplomatic_component' type='string_ascii' />
    <field fkey='cai_personality_strategic_components_tables.id' name='strategic_component' type='string_ascii' />
    <field fkey='cai_personality_cultural_components_tables.id' name='cultural_component' type='string_ascii' />
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='deal_evaluation_component' type='string_ascii' />
    <field fkey='cai_personality_deal_generation_components_tables.id' name='deal_generation_component' type='string_ascii' />
    <field fkey='cai_personalities_construction_system_policies_tables.key' name='construction_system_policy' type='string_ascii' />
    <field fkey='cai_personalities_task_management_system_task_generator_profiles_tables.key' name='task_management_system_task_generation_profile' type='string_ascii' />
    <field fkey='cai_personality_negotiation_components_tables.id' name='negotiation_component' type='string_ascii' />
    <field fkey='cai_personalities_income_allocation_policies_tables.key' name='income_allocation_policy' type='string_ascii' />
    <field fkey='cai_personality_occupation_decision_components_tables.id' name='occupation_decision_component' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_tables'
         table_version='14' >
    <field fkey='cai_agent_distribution_profiles_tables.key' name='agent_distribution_profile_key' type='string_ascii' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='agent_recruitment_profile_key' type='string_ascii' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string_ascii' />
    <field fkey='campaign_ai_character_skill_tree_managers_tables.key' name='character_skill_tree_manager_key' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_military_aggressiveness_policies_tables.key' name='military_aggressiveness_policy' type='string_ascii' />
    <field fkey='cai_military_behaviour_policies_tables.key' name='military_behaviour_policy' type='string_ascii' />
    <field fkey='cai_personalities_reliability_policies_tables.key' name='reliability_policy_key' type='string_ascii' />
    <field fkey='cai_personalities_religious_conversion_policies_tables.key' name='religious_conversion_policy' type='string_ascii' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='technology_manager_key' type='string_ascii' />
    <field name='allowed_for_random_selection' type='boolean' />
    <field fkey='cai_personality_diplomatic_components_tables.id' name='diplomatic_component' type='string_ascii' />
    <field fkey='cai_personality_strategic_components_tables.id' name='strategic_component' type='string_ascii' />
    <field fkey='cai_personality_cultural_components_tables.id' name='cultural_component' type='string_ascii' />
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='deal_evaluation_component' type='string_ascii' />
    <field fkey='cai_personality_deal_generation_components_tables.id' name='deal_generation_component' type='string_ascii' />
    <field fkey='cai_personalities_construction_system_policies_tables.key' name='construction_system_policy' type='string_ascii' />
    <field fkey='cai_personalities_task_management_system_task_generator_profiles_tables.key' name='task_management_system_task_generation_profile' type='string_ascii' />
    <field fkey='cai_personality_negotiation_components_tables.id' name='negotiation_component' type='string_ascii' />
    <field fkey='cai_personalities_income_allocation_policies_tables.key' name='income_allocation_policy' type='string_ascii' />
    <field fkey='cai_personality_occupation_decision_components_tables.id' name='occupation_decision_component' type='string_ascii' />
    <field fkey='cai_personality_religious_components_tables.id' name='religious_component' type='string_ascii' />
    <field fkey='cai_personality_empire_rivalry_components_tables.key' name='empire_rivalry_component' type='string_ascii' />
    <field fkey='cai_personalities_religion_change_management_policies_tables.key' name='religion_chanage_management_policy' type='string_ascii' />
    <field fkey='cai_personality_trespassing_components_tables.key' name='trespassing_component' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_tables'
         table_version='18' >
    <field fkey='cai_agent_distribution_profiles_tables.key' name='agent_distribution_profile_key' type='string_ascii' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='agent_recruitment_profile_key' type='string_ascii' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_military_aggressiveness_policies_tables.key' name='military_aggressiveness_policy' type='string_ascii' />
    <field fkey='cai_military_behaviour_policies_tables.key' name='military_behaviour_policy' type='string_ascii' />
    <field fkey='cai_personalities_reliability_policies_tables.key' name='reliability_policy_key' type='string_ascii' />
    <field fkey='cai_personalities_religious_conversion_policies_tables.key' name='religious_conversion_policy' type='string_ascii' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='technology_manager_key' type='string_ascii' />
    <field name='allowed_for_random_selection' type='boolean' />
    <field fkey='cai_personality_diplomatic_components_tables.id' name='diplomatic_component' type='string_ascii' />
    <field fkey='cai_personality_strategic_components_tables.id' name='strategic_component' type='string_ascii' />
    <field fkey='cai_personality_cultural_components_tables.id' name='cultural_component' type='string_ascii' />
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='deal_evaluation_component' type='string_ascii' />
    <field fkey='cai_personality_deal_generation_components_tables.id' name='deal_generation_component' type='string_ascii' />
    <field fkey='cai_personalities_construction_system_policies_tables.key' name='construction_system_policy' type='string_ascii' />
    <field fkey='cai_personalities_task_management_system_task_generator_profiles_tables.key' name='task_management_system_task_generation_profile' type='string_ascii' />
    <field fkey='cai_personality_negotiation_components_tables.id' name='negotiation_component' type='string_ascii' />
    <field fkey='cai_personalities_income_allocation_policies_tables.key' name='income_allocation_policy' type='string_ascii' />
    <field fkey='cai_personality_occupation_decision_components_tables.id' name='occupation_decision_component' type='string_ascii' />
    <field fkey='cai_personality_religious_components_tables.id' name='religious_component' type='string_ascii' />
    <field fkey='cai_personality_empire_rivalry_components_tables.key' name='empire_rivalry_component' type='string_ascii' />
    <field fkey='cai_personalities_religion_change_management_policies_tables.key' name='religion_chanage_management_policy' type='string_ascii' />
    <field fkey='cai_personality_trespassing_components_tables.key' name='trespassing_component' type='string_ascii' />
    <field fkey='cai_agent_embed_profiles_tables.key' name='agent_embed_profile' type='string_ascii' />
    <field fkey='cai_personalities_character_skill_selection_policies_tables.key' name='character_skill_selection_policy' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_tables'
         table_version='19' >
    <field fkey='cai_agent_distribution_profiles_tables.key' name='agent_distribution_profile_key' type='string_ascii' />
    <field fkey='cai_agent_recruitment_profiles_tables.key' name='agent_recruitment_profile_key' type='string_ascii' />
    <field fkey='cai_personalities_budget_policies_tables.key' name='budget_policy_key' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_military_aggressiveness_policies_tables.key' name='military_aggressiveness_policy' type='string_ascii' />
    <field fkey='cai_military_behaviour_policies_tables.key' name='military_behaviour_policy' type='string_ascii' />
    <field fkey='cai_personalities_reliability_policies_tables.key' name='reliability_policy_key' type='string_ascii' />
    <field fkey='cai_personalities_religious_conversion_policies_tables.key' name='religious_conversion_policy' type='string_ascii' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='technology_manager_key' type='string_ascii' />
    <field name='allowed_for_random_selection' type='boolean' />
    <field fkey='cai_personality_diplomatic_components_tables.id' name='diplomatic_component' type='string_ascii' />
    <field fkey='cai_personality_strategic_components_tables.id' name='strategic_component' type='string_ascii' />
    <field fkey='cai_personality_cultural_components_tables.id' name='cultural_component' type='string_ascii' />
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='deal_evaluation_component' type='string_ascii' />
    <field fkey='cai_personality_deal_generation_components_tables.id' name='deal_generation_component' type='string_ascii' />
    <field fkey='cai_personalities_construction_system_policies_tables.key' name='construction_system_policy' type='string_ascii' />
    <field fkey='cai_personalities_task_management_system_task_generator_profiles_tables.key' name='task_management_system_task_generation_profile' type='string_ascii' />
    <field fkey='cai_personality_negotiation_components_tables.id' name='negotiation_component' type='string_ascii' />
    <field fkey='cai_personalities_income_allocation_policies_tables.key' name='income_allocation_policy' type='string_ascii' />
    <field fkey='cai_personality_occupation_decision_components_tables.id' name='occupation_decision_component' type='string_ascii' />
    <field fkey='cai_personality_religious_components_tables.id' name='religious_component' type='string_ascii' />
    <field fkey='cai_personality_empire_rivalry_components_tables.key' name='empire_rivalry_component' type='string_ascii' />
    <field fkey='cai_personalities_religion_change_management_policies_tables.key' name='religion_chanage_management_policy' type='string_ascii' />
    <field fkey='cai_personality_trespassing_components_tables.key' name='trespassing_component' type='string_ascii' />
    <field fkey='cai_agent_embed_profiles_tables.key' name='agent_embed_profile' type='string_ascii' />
    <field fkey='cai_personalities_character_skill_selection_policies_tables.key' name='character_skill_selection_policy' type='string_ascii' />
    <field name='military_generator_config_override' type='optstring_ascii' />
  </table>
  <table table_name='cai_personalities_task_management_system_task_generator_profiles_tables'
         table_version='0' >
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='default_generator_group_when_no_owned_regions' type='string_ascii' />
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='default_generator_group_when_owning_regions' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_task_management_system_task_generator_profiles_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='default_generator_group' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_task_management_system_task_generator_profiles_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='default_generator_group' type='string_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
  </table>
  <table table_name='cai_personalities_technology_research_path_junctions_tables'
         table_version='0' >
    <field fkey='cai_personalities_technology_researches_tables.key' name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_ai_technology_paths_tables.key' name='path_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='cai_personalities_technology_research_policies_tables'
         table_version='0' >
    <field name='default_technology_research' type='string_ascii' pk='true' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_technology_research_policy_strategic_context_junctions_tables'
         table_version='0' >
    <field fkey='cai_faction_statuses_tables.faction_status' name='faction_status_key' type='optstring_ascii' pk='true' />
    <field fkey='campaign_ai_technology_managers_tables.key' name='key' type='string_ascii' pk='true' />
    <field fkey='cai_strategic_context_types_tables.key' name='strategic_context_key' type='optstring_ascii' pk='true' />
    <field fkey='cai_personalities_technology_researches_tables.key' name='technology_research_policy_key' type='string_ascii' />
  </table>
  <table table_name='cai_personalities_technology_researches_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_tms_task_generator_profile_faction_statuses_junctions_tables'
         table_version='0' >
    <field fkey='cai_faction_statuses_tables.faction_status' name='cai_action_status_key' type='string_ascii' pk='true' />
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='task_generator_group' type='string_ascii' />
    <field fkey='cai_personalities_task_management_system_task_generator_profiles_tables.key' name='task_generator_policy_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_tms_task_generator_profiles_strategic_contexts_junctions_tables'
         table_version='0' >
    <field name='for_use_when_the_faction_has_regions' type='boolean' pk='true' />
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='generator_group_key' type='string_ascii' />
    <field fkey='cai_strategic_context_types_tables.key' name='strategic_context_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_task_management_system_task_generator_profiles_tables.key' name='task_generator_profile_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personalities_tms_task_generator_profiles_strategic_contexts_junctions_tables'
         table_version='1' >
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='generator_group_key' type='string_ascii' />
    <field fkey='cai_strategic_context_types_tables.key' name='strategic_context_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_task_management_system_task_generator_profiles_tables.key' name='task_generator_profile_key' type='string_ascii' pk='true' />
    <field fkey='cai_faction_statuses_tables.faction_status' name='cai_faction_status_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_cultural_components_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_cultural_components_tables'
         table_version='2' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='base_bonus_multiplier' type='float' />
    <field name='base_penalty_multiplier' type='float' />
    <field name='event_bonus_multiplier' type='float' />
    <field name='event_penalty_multiplier' type='float' />
    <field name='short_description' type='optstring_ascii' />
    <field name='long_description' type='optstring_ascii' />
  </table>
  <table table_name='cai_personality_cultural_multipliers_tables'
         table_version='3' >
    <field fkey='cai_personality_cultural_components_tables.id' name='component_id' type='string_ascii' pk='true' />
    <field name='negative_attitude_multiplier' type='float' />
    <field name='positive_attitude_multiplier' type='float' />
    <field fkey='religions_tables.religion_key' name='source' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='target' type='string_ascii' pk='true' />
    <field name='attitude_base' type='float' />
  </table>
  <table table_name='cai_personality_cultural_relations_overrides_tables'
         table_version='1' >
    <field name='attitude_base' type='float' />
    <field fkey='cai_personality_cultural_components_tables.id' name='component_id' type='string_ascii' pk='true' />
    <field name='negative_attitude_mulitplier' type='float' />
    <field name='positive_attitude_multiplier' type='float' />
    <field fkey='cultures_subcultures_tables.subculture' name='source' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='target' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_deal_evaluation_component_overrides_tables'
         table_version='0' >
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='component' type='string_ascii' pk='true' />
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='parent' type='string_ascii' />
  </table>
  <table table_name='cai_personality_deal_evaluation_components_tables'
         table_version='2' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_payment_value' type='float' />
    <field name='payment_treachery_value' type='float' />
    <field name='payment_offered_multiplier' type='float' />
    <field name='payment_requested_multiplier' type='float' />
  </table>
  <table table_name='cai_personality_deal_evaluation_components_tables'
         table_version='5' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_payment_value' type='float' />
    <field name='payment_treachery_value' type='float' />
    <field name='payment_offered_multiplier_under' type='float' />
    <field name='payment_requested_multiplier' type='float' />
    <field name='payment_offered_multiplier_over' type='float' />
    <field name='peace_penalty' type='float' />
    <field name='peace_penalty_turns' type='float' />
    <field name='war_penalty' type='float' />
    <field name='war_penalty_turns' type='float' />
    <field name='trespassing_peace_effect_multiplier' type='float' />
    <field name='trespassing_peace_effect_cap' type='float' />
    <field name='trespassing_war_effect_multiplier' type='float' />
    <field name='trespassing_war_effect_cap' type='float' />
  </table>
  <table table_name='cai_personality_deal_evaluation_components_tables'
         table_version='7' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_payment_value' type='float' />
    <field name='payment_treachery_value' type='float' />
    <field name='payment_offered_multiplier_under' type='float' />
    <field name='payment_requested_multiplier' type='float' />
    <field name='payment_offered_multiplier_over' type='float' />
    <field name='peace_penalty' type='float' />
    <field name='peace_penalty_turns' type='float' />
    <field name='war_penalty' type='float' />
    <field name='war_penalty_turns' type='float' />
    <field name='trespassing_peace_effect_multiplier' type='float' />
    <field name='trespassing_peace_effect_cap' type='float' />
    <field name='trespassing_war_effect_multiplier' type='float' />
    <field name='trespassing_war_effect_cap' type='float' />
    <field name='confederation_bonus' type='float' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
  </table>
  <table table_name='cai_personality_deal_evaluation_components_tables'
         table_version='8' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_payment_value' type='float' />
    <field name='payment_treachery_value' type='float' />
    <field name='payment_offered_multiplier_under' type='float' />
    <field name='payment_requested_multiplier' type='float' />
    <field name='payment_offered_multiplier_over' type='float' />
    <field name='peace_penalty' type='float' />
    <field name='peace_penalty_turns' type='float' />
    <field name='war_penalty' type='float' />
    <field name='war_penalty_turns' type='float' />
    <field name='trespassing_peace_effect_multiplier' type='float' />
    <field name='trespassing_peace_effect_cap' type='float' />
    <field name='trespassing_war_effect_multiplier' type='float' />
    <field name='trespassing_war_effect_cap' type='float' />
    <field name='confederation_bonus' type='float' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
    <field name='war_break_treaty_bonus_towards_victory_region_owners' type='float' />
    <field name='peace_sign_treaty_penalty_towards_victory_region_owners' type='float' />
  </table>
  <table table_name='cai_personality_deal_evaluation_deal_component_names_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_deal_evaluation_deal_component_values_tables'
         table_version='3' >
    <field name='best_friends_value' type='float' />
    <field name='bitter_enemies_value' type='float' />
    <field fkey='cai_personality_deal_evaluation_deal_component_names_tables.id' name='deal_component' type='string_ascii' pk='true' />
    <field name='friendly_value' type='float' />
    <field name='neutral_value' type='float' />
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='personality_component' type='string_ascii' pk='true' />
    <field name='total_war_balance_factor' type='float' />
    <field name='last_stand_balance_factor' type='float' />
    <field name='unfriendly_value' type='float' />
    <field name='very_friendly_value' type='float' />
    <field name='very_unfriendly_value' type='float' />
    <field name='war_balance_factor' type='float' />
    <field name='tension_balance_factor' type='float' />
    <field name='peace_balance_factor' type='float' />
    <field name='treachery_value' type='float' />
  </table>
  <table table_name='cai_personality_deal_evaluation_deal_component_values_tables'
         table_version='4' >
    <field name='best_friends_value' type='float' />
    <field name='bitter_enemies_value' type='float' />
    <field fkey='cai_personality_deal_evaluation_deal_component_names_tables.id' name='deal_component' type='string_ascii' pk='true' />
    <field name='friendly_value' type='float' />
    <field name='neutral_value' type='float' />
    <field fkey='cai_personality_deal_evaluation_components_tables.id' name='personality_component' type='string_ascii' pk='true' />
    <field name='total_war_balance_factor' type='float' />
    <field name='last_stand_balance_factor' type='float' />
    <field name='unfriendly_value' type='float' />
    <field name='very_friendly_value' type='float' />
    <field name='very_unfriendly_value' type='float' />
    <field name='war_balance_factor' type='float' />
    <field name='tension_balance_factor' type='float' />
    <field name='peace_balance_factor' type='float' />
    <field name='treachery_value' type='float' />
    <field name='last_stand_opponent_strength_multiplier' type='float' />
    <field name='total_war_opponent_strength_multiplier' type='float' />
    <field name='war_opponent_strength_multiplier' type='float' />
    <field name='tension_opponent_strength_multiplier' type='float' />
    <field name='peace_opponent_strength_multiplier' type='float' />
    <field name='opponent_treachery_modifier' type='float' />
    <field name='opponent_respect_modifier' type='float' />
  </table>
  <table table_name='cai_personality_deal_generation_component_overrides_tables'
         table_version='0' >
    <field fkey='cai_personality_deal_generation_components_tables.id' name='component' type='string_ascii' pk='true' />
    <field fkey='cai_personality_deal_generation_components_tables.id' name='parent' type='string_ascii' />
  </table>
  <table table_name='cai_personality_deal_generation_components_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_deal_generation_generator_priorities_tables'
         table_version='1' >
    <field fkey='cai_personality_deal_generation_components_tables.id' name='component_key' type='string_ascii' pk='true' />
    <field fkey='cai_personality_deal_generation_generators_tables.id' name='generator_key' type='string_ascii' pk='true' />
    <field name='last_stand_priority' type='float' />
    <field name='param1' type='float' />
    <field name='param2' type='float' />
    <field name='param3' type='float' />
    <field name='param4' type='float' />
    <field name='peace_priority' type='float' />
    <field name='tension_priority' type='float' />
    <field name='total_war_priority' type='float' />
    <field name='war_priority' type='float' />
    <field name='failure_timeout' type='int' />
  </table>
  <table table_name='cai_personality_deal_generation_generator_priorities_tables'
         table_version='2' >
    <field fkey='cai_personality_deal_generation_components_tables.id' name='component_key' type='string_ascii' pk='true' />
    <field fkey='cai_personality_deal_generation_generators_tables.id' name='generator_key' type='string_ascii' pk='true' />
    <field name='last_stand_priority' type='float' />
    <field name='param1' type='float' />
    <field name='param2' type='float' />
    <field name='param3' type='float' />
    <field name='param4' type='float' />
    <field name='peace_priority' type='float' />
    <field name='tension_priority' type='float' />
    <field name='total_war_priority' type='float' />
    <field name='war_priority' type='float' />
    <field name='failure_timeout' type='int' />
    <field name='min_payment_cap' type='int' />
    <field name='max_payment_cap' type='int' />
    <field name='max_payment_pct' type='float' />
  </table>
  <table table_name='cai_personality_deal_generation_generators_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_diplomatic_component_overrides_tables'
         table_version='0' >
    <field fkey='cai_personality_diplomatic_components_tables.id' name='component' type='string_ascii' pk='true' />
    <field fkey='cai_personality_diplomatic_components_tables.id' name='parent' type='string_ascii' />
  </table>
  <table table_name='cai_personality_diplomatic_components_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_diplomatic_components_tables'
         table_version='1' >
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
  </table>
  <table table_name='cai_personality_diplomatic_event_values_tables'
         table_version='0' >
    <field fkey='cai_personality_diplomatic_components_tables.id' name='component_id' type='string_ascii' pk='true' />
    <field fkey='cai_personality_diplomatic_events_tables.id' name='event_id' type='string_ascii' pk='true' />
    <field name='falloff' type='int' />
    <field name='value' type='float' />
  </table>
  <table table_name='cai_personality_diplomatic_events_tables'
         table_version='2' >
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='diplomatic_factor_group_active' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='diplomatic_factor_group_inactive' type='optstring_ascii' />
  </table>
  <table table_name='cai_personality_diplomatic_treaty_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_diplomatic_treaty_values_tables'
         table_version='1' >
    <field name='defensive_alliance' type='float' />
    <field fkey='cai_personality_diplomatic_components_tables.id' name='component_id' type='string_ascii' pk='true' />
    <field name='trade_agreement' type='float' />
    <field name='military_alliance' type='float' />
    <field name='non_aggression_pact' type='float' />
    <field name='vassalage_master' type='float' />
    <field name='vassalage_vassal' type='float' />
    <field name='client_state_protector' type='float' />
    <field name='client_state_client' type='float' />
    <field name='war' type='float' />
    <field name='military_access' type='float' />
  </table>
  <table table_name='cai_personality_diplomatic_treaty_values_tables'
         table_version='3' >
    <field fkey='cai_personality_diplomatic_components_tables.id' name='component_id' type='string_ascii' pk='true' />
    <field name='initial_value' type='float' />
    <field name='value1' type='float' />
    <field name='turn1' type='float' />
    <field name='value2' type='float' />
    <field name='turn2' type='float' />
    <field fkey='cai_personality_diplomatic_treaty_types_tables.key' name='treaty' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_empire_rivalry_components_tables'
         table_version='1' >
    <field name='expansionism_multiplier_ai' type='float' />
    <field name='expansionism_multiplier_player' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
  </table>
  <table table_name='cai_personality_group_junctions_tables'
         table_version='0' >
    <field fkey='cai_personality_groups_tables.key' name='group_key' type='string_ascii' pk='true' />
    <field fkey='cai_personalities_tables.key' name='personality_key' type='string_ascii' pk='true' />
    <field name='starting_weight' type='float' />
    <field name='turn1' type='int' />
    <field name='turn2' type='int' />
    <field name='turn3' type='int' />
    <field name='turn4' type='int' />
    <field name='weight1' type='float' />
    <field name='weight2' type='float' />
    <field name='weight3' type='float' />
    <field name='weight4' type='float' />
  </table>
  <table table_name='cai_personality_group_overrides_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' pk='true' />
    <field name='difficulty_handicap' type='int' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
    <field fkey='cai_personality_groups_tables.key' name='personality_group' type='string_ascii' />
  </table>
  <table table_name='cai_personality_group_overrides_tables'
         table_version='2' >
    <field name='difficulty_handicap' type='int' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
    <field fkey='cai_personality_groups_tables.key' name='personality_group' type='string_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='player_faction' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='player_subculture' type='optstring_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='player_culture' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_negotiation_components_tables'
         table_version='0' >
    <field name='angry_reject_max' type='int' />
    <field name='angry_reject_min' type='int' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='initial_counter' type='int' />
    <field name='initial_decline' type='int' />
    <field name='irrelevant_accept' type='int' />
    <field name='irrelevant_counter_last' type='int' />
    <field name='irrelevant_counter_new' type='int' />
    <field name='irrelevant_decline' type='int' />
    <field name='max_interactions' type='int' />
    <field name='max_steps_above_acceptable' type='int' />
    <field name='no_offer_chance' type='int' />
    <field name='no_payment_chance' type='int' />
    <field name='num_goals_generated' type='int' />
  </table>
  <table table_name='cai_personality_negotiation_components_tables'
         table_version='3' >
    <field name='angry_reject_max' type='int' />
    <field name='angry_reject_min' type='int' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='initial_counter' type='int' />
    <field name='initial_decline' type='int' />
    <field name='irrelevant_accept' type='int' />
    <field name='irrelevant_counter_last' type='int' />
    <field name='irrelevant_counter_new' type='int' />
    <field name='irrelevant_decline' type='int' />
    <field name='max_interactions' type='int' />
    <field name='max_steps_above_acceptable' type='int' />
    <field name='no_offer_chance' type='int' />
    <field name='no_payment_chance' type='int' />
    <field name='num_goals_generated' type='int' />
    <field name='failed_payment_mod' type='float' />
    <field name='no_offer_chance_falloff' type='int' />
  </table>
  <table table_name='cai_personality_occupation_decision_components_tables'
         table_version='0' >
    <field name='food_excess_cap' type='int' />
    <field name='food_shortage_cap' type='int' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='min_attitude' type='int' />
    <field name='squalor_cap' type='int' />
  </table>
  <table table_name='cai_personality_occupation_decision_components_tables'
         table_version='2' >
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='cai_personality_occupation_decision_policies_tables.id' name='policy_suitable' type='string_ascii' />
    <field fkey='cai_personality_occupation_decision_policies_tables.id' name='policy_unsuitable' type='string_ascii' />
    <field fkey='cai_personality_occupation_decision_policies_tables.id' name='policy_uninhabitable' type='string_ascii' />
    <field fkey='cai_personality_occupation_decision_policies_tables.id' name='policy_uncapturable' type='string_ascii' />
  </table>
  <table table_name='cai_personality_occupation_decision_policies_tables'
         table_version='0' >
    <field name='food_excess_cap' type='int' />
    <field name='food_shortage_cap' type='int' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='min_attitude' type='int' />
    <field name='squalor_cap' type='int' />
  </table>
  <table table_name='cai_personality_occupation_decision_priorities_tables'
         table_version='0' >
    <field fkey='cai_personality_occupation_decision_components_tables.id' name='component_id' type='string_ascii' pk='true' />
    <field name='last_stand_priority' type='float' />
    <field name='option' type='string_ascii' pk='true' />
    <field name='peace_priority' type='float' />
    <field name='tension_priority' type='float' />
    <field name='total_war_priority' type='float' />
    <field name='war_priority' type='float' />
  </table>
  <table table_name='cai_personality_occupation_decision_priorities_tables'
         table_version='1' >
    <field fkey='cai_personality_occupation_decision_components_tables.id' name='component_id' type='string_ascii' pk='true' />
    <field name='last_stand_priority' type='float' />
    <field name='option' type='string_ascii' pk='true' />
    <field name='peace_priority' type='float' />
    <field name='tension_priority' type='float' />
    <field name='total_war_priority' type='float' />
    <field name='war_priority' type='float' />
    <field name='if_cant_capture' type='boolean' pk='true' />
  </table>
  <table table_name='cai_personality_occupation_decision_priorities_tables'
         table_version='2' >
    <field name='last_stand_priority' type='float' />
    <field name='option' type='string_ascii' pk='true' />
    <field name='peace_priority' type='float' />
    <field name='tension_priority' type='float' />
    <field name='total_war_priority' type='float' />
    <field name='war_priority' type='float' />
    <field fkey='cai_personality_occupation_decision_policies_tables.id' name='policy_id' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_religious_components_tables'
         table_version='2' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='base_bonus_multiplier' type='float' />
    <field name='base_penalty_multiplier' type='float' />
    <field name='event_bonus_multiplier' type='float' />
    <field name='event_penalty_multiplier' type='float' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
  </table>
  <table table_name='cai_personality_religious_relations_overrides_tables'
         table_version='1' >
    <field name='attitude_base' type='float' />
    <field name='negative_attitude_multiplier' type='float' />
    <field fkey='cai_personality_religious_components_tables.id' name='component_id' type='string_ascii' pk='true' />
    <field name='positive_attitude_multiplier' type='float' />
    <field fkey='religions_tables.religion_key' name='source' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='target' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_personality_strategic_components_tables'
         table_version='3' >
    <field name='friendly_towards_enemy_multiplier' type='float' />
    <field name='friendly_towards_friend_multiplier' type='float' />
    <field name='hostile_towards_enemy_multiplier' type='float' />
    <field name='hostile_towards_friend_multiplier' type='float' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_friendly_attitude' type='float' />
    <field name='max_hostile_attitude' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='max_merc_proportion' type='float' />
    <field name='min_merc_cap' type='int' />
  </table>
  <table table_name='cai_personality_strategic_components_tables'
         table_version='4' >
    <field name='friendly_towards_enemy_multiplier' type='float' />
    <field name='friendly_towards_friend_multiplier' type='float' />
    <field name='hostile_towards_enemy_multiplier' type='float' />
    <field name='hostile_towards_friend_multiplier' type='float' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_friendly_attitude' type='float' />
    <field name='max_hostile_attitude' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='max_merc_proportion' type='float' />
    <field name='min_merc_cap' type='int' />
    <field name='enemy_strength_multiplier' type='float' />
    <field name='enemy_threat_strength_modifier' type='float' />
    <field name='min_retreat_ratio' type='float' />
    <field name='min_retreat_to_settlement_ratio' type='float' />
  </table>
  <table table_name='cai_personality_strategic_components_tables'
         table_version='5' >
    <field name='friendly_towards_enemy_multiplier' type='float' />
    <field name='friendly_towards_friend_multiplier' type='float' />
    <field name='hostile_towards_enemy_multiplier' type='float' />
    <field name='hostile_towards_friend_multiplier' type='float' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_friendly_attitude' type='float' />
    <field name='max_hostile_attitude' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='max_merc_proportion' type='float' />
    <field name='min_merc_cap' type='int' />
    <field name='enemy_strength_multiplier' type='float' />
    <field name='enemy_threat_strength_modifier' type='float' />
    <field name='min_retreat_ratio' type='float' />
    <field name='min_retreat_to_settlement_ratio' type='float' />
    <field name='strategic_balance_oppurtunism_factor' type='float' />
  </table>
  <table table_name='cai_personality_strategic_components_tables'
         table_version='5' >
    <field name='friendly_towards_enemy_multiplier' type='float' />
    <field name='friendly_towards_friend_multiplier' type='float' />
    <field name='hostile_towards_enemy_multiplier' type='float' />
    <field name='hostile_towards_friend_multiplier' type='float' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_friendly_attitude' type='float' />
    <field name='max_hostile_attitude' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='max_merc_proportion' type='float' />
    <field name='min_merc_cap' type='int' />
    <field name='enemy_strength_multiplier' type='float' />
    <field name='enemy_threat_strength_modifier' type='float' />
    <field name='min_retreat_ratio' type='float' />
    <field name='min_retreat_to_settlement_ratio' type='float' />
    <field name='strategic_balance_oppurtunism_factor' type='float' />
    <field name='fortified_settlement_assault_strength_modifier' type='float' />
  </table>
  <table table_name='cai_personality_strategic_components_tables'
         table_version='6' >
    <field name='friendly_towards_enemy_multiplier' type='float' />
    <field name='friendly_towards_friend_multiplier' type='float' />
    <field name='hostile_towards_enemy_multiplier' type='float' />
    <field name='hostile_towards_friend_multiplier' type='float' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_friendly_attitude' type='float' />
    <field name='max_hostile_attitude' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='max_merc_proportion' type='float' />
    <field name='min_merc_cap' type='int' />
    <field name='enemy_strength_multiplier' type='float' />
    <field name='enemy_threat_strength_modifier' type='float' />
    <field name='min_retreat_ratio' type='float' />
    <field name='min_retreat_to_settlement_ratio' type='float' />
    <field name='strategic_balance_oppurtunism_factor' type='float' />
    <field name='fortified_settlement_assault_strength_modifier' type='float' />
    <field name='fortified_settlement_defend_strength_modifier' type='float' />
  </table>
  <table table_name='cai_personality_strategic_components_tables'
         table_version='8' >
    <field name='friendly_towards_enemy_multiplier' type='float' />
    <field name='friendly_towards_friend_multiplier' type='float' />
    <field name='hostile_towards_enemy_multiplier' type='float' />
    <field name='hostile_towards_friend_multiplier' type='float' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_friendly_attitude' type='float' />
    <field name='max_hostile_attitude' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='max_merc_proportion' type='float' />
    <field name='min_merc_cap' type='int' />
    <field name='enemy_strength_modifier' type='float' />
    <field name='enemy_threat_strength_modifier' type='float' />
    <field name='min_retreat_ratio' type='float' />
    <field name='min_retreat_to_settlement_ratio' type='float' />
    <field name='strategic_balance_opportunism_factor' type='float' />
    <field name='fortified_settlement_assault_strength_modifier' type='float' />
    <field name='fortified_settlement_defend_strength_modifier' type='float' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
    <field name='last_settlement_modifier' type='float' />
  </table>
  <table table_name='cai_personality_strategic_components_tables'
         table_version='9' >
    <field name='friendly_towards_enemy_multiplier' type='float' />
    <field name='friendly_towards_friend_multiplier' type='float' />
    <field name='hostile_towards_enemy_multiplier' type='float' />
    <field name='hostile_towards_friend_multiplier' type='float' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_friendly_attitude' type='float' />
    <field name='max_hostile_attitude' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='max_merc_proportion' type='float' />
    <field name='min_merc_cap' type='int' />
    <field name='enemy_strength_modifier' type='float' />
    <field name='enemy_threat_strength_modifier' type='float' />
    <field name='min_retreat_ratio' type='float' />
    <field name='min_retreat_to_settlement_ratio' type='float' />
    <field name='strategic_balance_opportunism_factor' type='float' />
    <field name='fortified_settlement_assault_strength_modifier' type='float' />
    <field name='fortified_settlement_defend_strength_multiplier' type='float' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
    <field name='last_settlement_modifier' type='float' />
    <field name='min_refuse_tunneling_intercept_ratio' type='float' />
  </table>
  <table table_name='cai_personality_strategic_components_tables'
         table_version='10' >
    <field name='friendly_towards_enemy_multiplier' type='float' />
    <field name='friendly_towards_friend_multiplier' type='float' />
    <field name='hostile_towards_enemy_multiplier' type='float' />
    <field name='hostile_towards_friend_multiplier' type='float' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='max_friendly_attitude' type='float' />
    <field name='max_hostile_attitude' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='max_merc_proportion' type='float' />
    <field name='min_merc_cap' type='int' />
    <field name='enemy_strength_modifier' type='float' />
    <field name='enemy_threat_strength_modifier' type='float' />
    <field name='min_retreat_ratio' type='float' />
    <field name='min_retreat_to_settlement_ratio' type='float' />
    <field name='strategic_balance_opportunism_factor' type='float' />
    <field name='fortified_settlement_assault_strength_modifier' type='float' />
    <field name='fortified_settlement_defend_strength_multiplier' type='float' />
    <field fkey='diplomacy_strings_tables.key' name='short_description' type='optstring_ascii' />
    <field fkey='diplomacy_strings_tables.key' name='long_description' type='optstring_ascii' />
    <field name='last_settlement_modifier' type='float' />
    <field name='min_refuse_tunneling_intercept_ratio' type='float' />
    <field name='use_classic_stance_generation_mechanics' type='boolean' />
  </table>
  <table table_name='cai_personality_strategic_desired_attitudes_tables'
         table_version='1' >
    <field name='best_friends_attitude' type='float' />
    <field name='best_friends_positive_factor' type='float' />
    <field name='bitter_enemies_attitude' type='float' />
    <field name='bitter_enemies_positive_factor' type='float' />
    <field name='friendly_attitude' type='float' />
    <field name='friendly_positive_factor' type='float' />
    <field name='neutral_attitude' type='float' />
    <field name='neutral_positive_factor' type='float' />
    <field fkey='cai_personality_strategic_components_tables.id' name='strategic_component' type='string_ascii' pk='true' />
    <field name='unfriendly_attitude' type='float' />
    <field name='unfriendly_positive_factor' type='float' />
    <field name='very_friendly_attitude' type='float' />
    <field name='very_friendly_positive_factor' type='float' />
    <field name='very_unfriendly_attitude' type='float' />
    <field name='very_unfriendly_positive_factor' type='float' />
    <field name='best_friends_negative_factor' type='float' />
    <field name='very_friendly_negative_factor' type='float' />
    <field name='friendly_negative_factor' type='float' />
    <field name='neutral_negative_factor' type='float' />
    <field name='unfriendly_negative_factor' type='float' />
    <field name='very_unfriendly_negative_factor' type='float' />
    <field name='bitter_enemies_negative_factor' type='float' />
  </table>
  <table table_name='cai_personality_strategic_resource_values_tables'
         table_version='0' >
    <field name='ownership_falloff' type='float' />
    <field name='ownership_value' type='float' />
    <field fkey='resources_tables.key' name='resource' type='string_ascii' pk='true' />
    <field fkey='cai_personality_strategic_components_tables.id' name='strategic_component' type='string_ascii' pk='true' />
    <field name='trade_falloff' type='float' />
    <field name='trade_value' type='float' />
  </table>
  <table table_name='cai_personality_trespassing_components_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='min_score' type='float' />
    <field name='min_score_horde' type='float' />
    <field name='stance_mod_best_friends' type='float' />
    <field name='stance_mod_bitter_enemies' type='float' />
    <field name='stance_mod_neutral' type='float' />
    <field name='stance_mod_unfriendly' type='float' />
    <field name='stance_mod_very_friendly' type='float' />
    <field name='stance_mod_very_unfriendly' type='float' />
    <field name='unknown_faction_multiplier' type='float' />
    <field name='stance_mod_friendly' type='float' />
  </table>
  <table table_name='cai_region_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_region_groups_to_regions_junctions_tables'
         table_version='0' >
    <field fkey='cai_region_groups_tables.key' name='region_group_key' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_region_hint_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cai_region_hints_tables.key' name='region_group_key' type='string_ascii' />
    <field fkey='cai_region_groups_tables.key' name='region_hint_key' type='string_ascii' />
  </table>
  <table table_name='cai_region_hint_profile_overrides_tables'
         table_version='0' >
    <field fkey='cai_region_hint_profiles_tables.key' name='region_hint_profile_key' type='string_ascii' pk='true' />
    <field fkey='cai_region_hint_profiles_tables.key' name='region_hint_profile_parent_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_region_hint_profiles_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_region_hint_profiles_to_region_hint_groups_tables'
         table_version='0' >
    <field fkey='cai_region_hint_groups_tables.key' name='region_hint_group_key' type='string_ascii' pk='true' />
    <field fkey='cai_region_hint_profiles_tables.key' name='region_hint_profile_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_region_hints_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_ritual_check_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_ritual_ritual_check_type_junctions_tables'
         table_version='0' >
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
    <field fkey='cai_ritual_check_types_tables.key' name='ritual_check_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_ritual_variables_tables'
         table_version='0' >
    <field name='description' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='cai_ritual_weights_tables'
         table_version='0' >
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
    <field name='weight' type='float' />
  </table>
  <table table_name='cai_siege_strength_modifiers_tables'
         table_version='0' >
    <field name='assault_strength_modifier' type='float' />
    <field name='defence_strength_modifier' type='float' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_stance_hints_tables'
         table_version='0' >
    <field fkey='campaign_stances_tables.key' name='attack_stance' type='optstring_ascii' />
    <field fkey='campaign_stances_tables.key' name='movement_stance' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_strategic_context_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_task_management_system_task_generator_group_overrides_tables'
         table_version='0' >
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='parent_task_generator_group' type='optstring_ascii' />
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='task_generator_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_task_management_system_task_generator_groups_generators_junctions_tables'
         table_version='0' >
    <field name='priority' type='float' />
    <field fkey='cai_task_management_system_task_generator_groups_tables.key' name='task_generator_group_key' type='string_ascii' pk='true' />
    <field fkey='cai_task_management_system_task_generators_tables.key' name='task_generator_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_task_management_system_task_generator_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_task_management_system_task_generators_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cai_variables_overides_tables'
         table_version='0' >
    <field fkey='cai_variables_tables.key' name='cai_variable_key' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='string_ascii' pk='true' />
    <field name='optional_campaign_type' type='optstring_ascii' pk='true'/>
    <field name='optional_difficulty_level' type='optstring_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='cai_variables_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
    <field name='description' type='string_ascii' />
  </table>
    <table table_name='campaign_agent_subtype_battle_tags_tables'
         table_version='0' >
    <field name='agent_subtype' type='string_ascii' />
    <field name='battle_tag' type='string_ascii' />
  </table>
  <table table_name='campaign_agent_subtype_battle_tags_tables'
         table_version='1' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' pk='true' />
    <field name='battle_tag' type='string_ascii' />
    <field name='attacking' type='boolean' pk='true' />
  </table>
  <table table_name='campaign_agent_subtype_factorial_effect_junctions_tables'
         table_version='2' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' />
    <field fkey='factorial_effects_tables.key' name='factorial_effect' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='value' type='int' />
    <field fkey='campaign_factorial_scopes_tables.key' name='scope' type='string_ascii' />
  </table>
  <table table_name='campaign_ai_character_skill_tree_distribution_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_character_skill_tree_distributions_tables.key' name='distribution_key' type='string' pk='true' />
    <field fkey='campaign_ai_character_skill_tree_agent_managers_tables.key' name='agent_manager_key' type='string' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='campaign_ai_character_skill_tree_distribution_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_character_skill_tree_distributions_tables.key' name='distribution_key' type='string_ascii' pk='true' />
    <field fkey='campaign_ai_character_skill_tree_agent_managers_tables.key' name='agent_manager_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='campaign_ai_character_skill_tree_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_character_skill_tree_agent_managers_tables.key' name='agent_manager_key' type='string' pk='true'/>
    <field name='priority' type='int' />
    <field fkey='character_skills_tables.key' name='skill_key' type='string' pk='true' />
  </table>
  <table table_name='campaign_ai_character_skill_tree_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_character_skill_tree_agent_managers_tables.key' name='agent_manager_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
    <field fkey='character_skills_tables.key' name='skill_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_ai_character_skill_tree_manager_agent_junctions_tables'
         table_version='0' >
    <field fkey='character_skill_node_sets_tables.key' name='agent_key' type='string' pk='true' />
    <field fkey='campaign_ai_character_skill_tree_agent_managers_tables.key' name='agent_manager_key' type='string' />
    <field fkey='campaign_ai_character_skill_tree_managers_tables.key' name='manager_key' type='string' pk='true' />
  </table>
  <table table_name='campaign_ai_character_skill_tree_manager_agent_junctions_tables'
         table_version='0' >
    <field fkey='character_skill_node_sets_tables.key' name='agent_key' type='string_ascii' pk='true' />
    <field fkey='campaign_ai_character_skill_tree_agent_managers_tables.key' name='agent_manager_key' type='string_ascii' />
    <field fkey='campaign_ai_character_skill_tree_managers_tables.key' name='manager_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_ai_manager_behaviour_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_managers_tables.manager' name='manager' type='string' pk='true' />
    <field fkey='campaign_ai_behaviours_tables.behaviour' name='behaviour' type='string' pk='true' />
    <field name='priority' type='float' />
  </table>
  <table table_name='campaign_ai_manager_behaviour_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_managers_tables.manager' name='manager' type='string_ascii' pk='true' />
    <field fkey='campaign_ai_behaviours_tables.behaviour' name='behaviour' type='string_ascii' pk='true' />
    <field name='priority' type='float' />
  </table>
  <table table_name='campaign_ai_managers_tables'
         table_version='0' >
    <field name='manager' type='string' pk='true' />
  </table>
  <table table_name='campaign_ai_managers_tables'
         table_version='0' >
    <field name='manager' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_ai_personalities_tables'
         table_version='0' >
    <field name='personality' type='string' pk='true' />
    <field name='is_default' type='boolean' />
  </table>
  <table table_name='campaign_ai_personalities_tables'
         table_version='0' >
    <field name='personality' type='string_ascii' pk='true' />
    <field name='is_default' type='boolean' />
  </table>
  <table table_name='campaign_ai_personality_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_personalities_tables.personality' name='personality' type='string' pk='true' />
    <field fkey='campaign_ai_personality_properties_tables.property' name='property' type='string' pk='true' />
    <field name='property_value' type='float' />
  </table>
  <table table_name='campaign_ai_personality_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_personalities_tables.personality' name='personality' type='string_ascii' pk='true' />
    <field fkey='campaign_ai_personality_properties_tables.property' name='property' type='string_ascii' pk='true' />
    <field name='property_value' type='float' />
  </table>
  <table table_name='campaign_ai_technology_manager_path_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_technology_managers_tables.key' name='manager_key' type='string' pk='true' />
    <field fkey='campaign_ai_technology_paths_tables.key' name='path_key' type='string' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='campaign_ai_technology_manager_path_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_technology_managers_tables.key' name='manager_key' type='string_ascii' pk='true' />
    <field fkey='campaign_ai_technology_paths_tables.key' name='path_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='campaign_ai_technology_managers_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_ai_technology_path_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_technology_paths_tables.key' name='path_key' type='string' pk='true' />
    <field name='priority' type='int' />
    <field fkey='technologies_tables.key' name='technology_key' type='string' pk='true' />
  </table>
  <table table_name='campaign_ai_technology_path_junctions_tables'
         table_version='0' >
    <field fkey='campaign_ai_technology_paths_tables.key' name='path_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_ai_technology_research_profiles_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_ambush_ground_types_tables'
         table_version='1' >
    <field name='ambush_chance_of_success' type='float' />
    <field fkey='campaign_ground_types_tables.type' name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_anim_action_to_sets_tables'
         table_version='0' >
    <field name='action_id' type='string' pk='true' />
    <field fkey='campaign_anim_sets_tables.animation_set_id' name='animation_set' type='string' pk='true' />
    <field fkey='campaign_anims_tables.animation_id' name='animation' type='string' />
  </table>
  <table table_name='campaign_anim_sets_tables'
         table_version='0' >
    <field name='animation_set_id' type='string' pk='true' />
  </table>
  <table table_name='campaign_anim_transitions_tables'
         table_version='0' >
    <field fkey='campaign_anims_tables.animation_id' name='end_animation' type='string' pk='true' />
    <field name='id' type='string' />
    <field fkey='campaign_anims_tables.animation_id' name='start_animation' type='string' pk='true' />
    <field name='animation_filepath' type='string' />
  </table>
  <table table_name='campaign_anims_tables'
         table_version='0' >
    <field name='animation_id' type='string' pk='true' />
    <field name='animation_filepath' type='string' />
    <field name='loop' type='boolean' />
    <field name='remove_bearing' type='boolean' />
    <field fkey='campaign_anim_sets_tables.animation_set_id' name='animation_set' type='string' pk='true' />
  </table>
  <table table_name='campaign_autoresolver_battle_situations_tables'
         table_version='0' >
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='optstring_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='night_battle' type='optstring_ascii' />
    <field name='stance' type='optstring_ascii' />
  </table>
  <table table_name='campaign_autoresolver_battle_situations_tables'
         table_version='1' >
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='optstring_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='night_battle' type='optstring_ascii' />
    <field name='stance' type='optstring_ascii' />
    <field name='is_encampment_battle' type='optstring_ascii' />
  </table>
  <table table_name='campaign_autoresolver_mod_group_modifier_values_tables'
         table_version='0' >
    <field fkey='campaign_autoresolver_mod_groups_tables.id' name='group_id' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='campaign_autoresolver_modifiers_tables.id' name='modification_id' type='string_ascii' />
    <field name='value' type='float' />
  </table>
  <table table_name='campaign_autoresolver_mod_group_targets_tables'
         table_version='1' >
    <field name='alliance_target' type='optstring_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='mechanic_target' type='optstring_ascii' />
    <field name='player_target' type='optstring_ascii' />
  </table>
  <table table_name='campaign_autoresolver_mod_groups_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_autoresolver_modifiers_tables'
         table_version='0' >
    <field fkey='unit_class_tables.key' name='class' type='optstring_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='campaign_autoresolver_stat_variables_tables.id' name='stat_variable_id' type='string_ascii' />
    <field fkey='unit_class_tables.key' name='vs_class' type='optstring_ascii' />
  </table>
  <table table_name='campaign_autoresolver_situation_mod_groups_tables'
         table_version='0' >
    <field fkey='campaign_autoresolver_mod_groups_tables.id' name='group_id' type='string_ascii' />
    <field fkey='campaign_autoresolver_mod_group_targets_tables.id' name='group_target_id' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='campaign_autoresolver_battle_situations_tables.id' name='situation_id' type='string_ascii' />
  </table>
  <table table_name='campaign_autoresolver_skirmish_effectiveness_relative_to_speeds_tables'
         table_version='0' >
    <field name='proportional_effectiveness_skirmisher_to_other' type='float' />
    <field name='relative_speed_skirmisher_to_other' type='float' pk='true' />
  </table>
  <table table_name='campaign_autoresolver_stat_variables_tables'
         table_version='0' >
    <field name='description' type='optstring_ascii' />
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_battle_presets_tables'
         table_version='3' >
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='string_ascii' />
    <field name='coord_x' type='float' />
    <field name='coord_y' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='tile_upgrade' type='optstring_ascii' />
    <field name='is_unique_settlement' type='boolean' />
  </table>
  <table table_name='campaign_battle_presets_tables'
         table_version='4' >
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='string_ascii' />
    <field name='coord_x' type='float' />
    <field name='coord_y' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='tile_upgrade' type='optstring_ascii' />
    <field name='is_unique_settlement' type='boolean' />
    <field fkey='campaign_map_playable_areas_tables.index' name='campaign_map' type='int' />
  </table>
  <table table_name='campaign_battle_presets_tables'
         table_version='6' >
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='string_ascii' />
    <field name='coord_x' type='float' />
    <field name='coord_y' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='tile_upgrade' type='optstring_ascii' />
    <field name='is_unique_settlement' type='boolean' />
    <field fkey='campaign_map_playable_areas_tables.index' name='campaign_map' type='int' />
    <field name='screenshot_path' type='string_ascii' />
    <field fkey='destruction_zone_mask_types_tables.key' name='creep_override' type='optstring_ascii' />
  </table>
  <table table_name='campaign_battle_scenes_tables'
         table_version='1' >
    <field name='bmd' type='string_ascii' />
    <field name='colour' type='int' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field name='environment' type='string_ascii' />
  </table>
    <table table_name='campaign_battle_scenes_tables'
         table_version='2' >
    <field name='bmd' type='string_ascii' />
    <field name='colour' type='int' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field name='environment' type='string_ascii' />
    <field name='agent_subtype_override' type='optstring_ascii' />
  </table>
  <table table_name='campaign_bmd_layer_group_bmd_export_types_junctions_tables'
         table_version='0' >
    <field fkey='bmd_export_types_tables.name' name='bmd_export_types' type='string_ascii' pk='true' />
    <field fkey='campaign_bmd_layer_group_ids_tables.id' name='campaign_bmd_layer_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_bonus_value_battle_context_battle_type_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context_key' type='string_ascii' pk='true' />
    <field name='battle_type_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_bonus_value_battle_context_culture_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context_key' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_bonus_value_battle_context_faction_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context_key' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_bonus_value_battle_context_force_status_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context_key' type='string_ascii' pk='true' />
    <field name='force_status_key' type='string_ascii' pk='true' />
    <field name='is_yours' type='boolean' />
  </table>
  <table table_name='campaign_bonus_value_battle_context_ground_type_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context_key' type='string_ascii' pk='true' />
    <field fkey='campaign_ground_types_tables.type' name='ground_type_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_bonus_value_battle_context_religion_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context_key' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_bonus_value_battle_context_specifiers_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='night_battles_only' type='boolean' />
  </table>
  <table table_name='campaign_bonus_value_battle_context_territory_status_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context_key' type='string_ascii' pk='true' />
    <field name='territory_status_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_bonus_value_ids_province_initiatives_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='notes' type='string_ascii' />
  </table>
  <table table_name='campaign_bonus_value_ids_technologies_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='notes' type='string_ascii' />
  </table>
  <table table_name='campaign_bonus_value_ids_unit_records_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='campaign_building_chain_slot_unlocks_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='building_chain' type='string_ascii' pk='true' />
    <field name='secondary_building_slot_unlock_count' type='int' />
  </table>
  <table table_name='campaign_building_chain_slot_unlocks_tables'
         table_version='1' >
    <field fkey='building_chains_tables.key' name='building_chain' type='string_ascii' pk='true' />
    <field name='active_slot_count' type='int' />
    <field name='level' type='int' pk='true' />
  </table>
  <table table_name='campaign_building_level_factorial_effect_junctions_tables'
         table_version='2' >
    <field fkey='building_levels_tables.level_name' name='building_level' type='string_ascii' />
    <field fkey='factorial_effects_tables.key' name='factorial_effect' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='value' type='int' />
    <field fkey='campaign_factorial_scopes_tables.key' name='scope' type='string_ascii' />
  </table>
  <table table_name='campaign_camera_map_bounds_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field name='max_x' type='float' />
    <field name='max_y' type='float' />
    <field name='min_x' type='float' />
    <field name='min_y' type='float' />
  </table>
  <table table_name='campaign_character_anim_set_agent_junctions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='campaign_character_anim_sets_tables.key' name='anim_set' type='string' />
    <field fkey='agents_tables.key' name='agent_key' type='optstring' />
    <field fkey='cultures_tables.key' name='culture_key' type='optstring' />
  </table>
  <table table_name='campaign_character_anim_sets_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='anim_reference_poses_tables.key' name='reference_pose' type='string' />
  </table>
  <table table_name='campaign_character_anim_walk_anim_junctions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='campaign_character_anim_sets_tables.key' name='character_anim_set' type='string' />
    <field fkey='campaign_walk_anim_sets_tables.key' name='walk_anim_set' type='string' />
    <field fkey='campaign_character_anim_status_tables.status' name='anim_status' type='string' />
  </table>
  <table table_name='campaign_character_anims_junctions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='campaign_character_anim_sets_tables.key' name='anim_set_key' type='string' />
    <field fkey='campaign_character_anim_status_tables.status' name='anim_status' type='string' />
    <field name='anim' type='string' />
    <field name='anim_type' type='string' />
    <field name='action_id' type='optstring' />
    <field name='transition_to_status' type='optstring' />
    <field name='idle_weighting' type='float' />
  </table>
  <table table_name='campaign_character_art_set_campaign_junctions_tables'
         table_version='0' >
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='string_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
  </table>
  <table table_name='campaign_character_art_set_inheritance_overrides_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field name='inherit_culture_art_sets' type='boolean' />
    <field name='inherit_subculture_art_sets' type='boolean' />
  </table>
  <table table_name='campaign_character_art_sets_campaign_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_character_art_sets_group_junctions_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='campaign_character_art_sets_campaign_groups_tables.key' name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_character_art_sets_tables'
         table_version='1' >
    <field fkey='agents_tables.key' name='agent_type' type='optstring' />
    <field name='art_set_id' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring' />
    <field fkey='factions_tables.key' name='faction' type='optstring' />
    <field name='is_custom' type='boolean' />
    <field name='is_male' type='boolean' />
    <field name='is_married' type='boolean' />
  </table>
  <table table_name='campaign_character_art_sets_tables'
         table_version='2' >
    <field fkey='agents_tables.key' name='agent_type' type='optstring' />
    <field name='art_set_id' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring' />
    <field fkey='factions_tables.key' name='faction' type='optstring' />
    <field name='is_custom' type='boolean' />
    <field name='is_male' type='boolean' />
    <field name='is_married' type='boolean' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring' />
  </table>
  <table table_name='campaign_character_art_sets_tables'
         table_version='3' >
    <field fkey='agents_tables.key' name='agent_type' type='optstring' />
    <field name='art_set_id' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring' />
    <field fkey='factions_tables.key' name='faction' type='optstring' />
    <field name='is_custom' type='boolean' />
    <field name='is_male' type='boolean' />
    <field name='is_married' type='boolean' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring' />
    <field name='origin' type='optstring' />
  </table>
  <table table_name='campaign_character_art_sets_tables'
         table_version='4' >
    <field fkey='agents_tables.key' name='agent_type' type='optstring_ascii' />
    <field name='art_set_id' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='is_custom' type='boolean' />
    <field name='is_male' type='boolean' />
  </table>
  <table table_name='campaign_character_art_sets_tables'
         table_version='5' >
    <field fkey='agents_tables.key' name='agent_type' type='optstring_ascii' />
    <field name='art_set_id' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='is_custom' type='boolean' />
    <field name='is_male' type='boolean' />
    <field fkey='campaign_character_art_sets_campaign_groups_tables.key' name='group' type='optstring_ascii' />
  </table>
  <table table_name='campaign_character_art_sets_tables'
         table_version='6' >
    <field fkey='agents_tables.key' name='agent_type' type='optstring_ascii' />
    <field name='art_set_id' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='is_custom' type='boolean' />
    <field name='is_male' type='boolean' />
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='optstring_ascii' />
    <field name='campaign_map_scale' type='float' />
  </table>
  <table table_name='campaign_character_arts_tables'
         table_version='1' >
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='string' pk='true' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment' type='optstring' />
    <field name='level' type='int' pk='true' />
    <field name='age' type='int' pk='true' />
    <field name='portrait' type='optstring' />
    <field name='season' type='string' pk='true' />
    <field fkey='agent_uniforms_tables.uniform_name' name='uniform' type='optstring' />
    <field name='card' type='optstring' />
    <field name='info' type='optstring' />
  </table>
  <table table_name='campaign_character_arts_tables'
         table_version='2' >
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='string' pk='true' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment' type='optstring' />
    <field name='level' type='int' pk='true' />
    <field name='age' type='int' pk='true' />
    <field name='portrait' type='optstring' />
    <field name='season' type='string' pk='true' />
    <field fkey='agent_uniforms_tables.uniform_name' name='uniform' type='optstring' />
    <field name='card' type='optstring' />
    <field name='info' type='optstring' />
    <field name='health' type='float' pk='true' />
  </table>
  <table table_name='campaign_character_arts_tables'
         table_version='5' >
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
    <field name='age' type='int' pk='true' />
    <field name='portrait' type='optstring_ascii' />
    <field name='season' type='string_ascii' pk='true' />
    <field fkey='agent_uniforms_tables.uniform_name' name='uniform' type='optstring_ascii' />
    <field name='card' type='optstring_ascii' />
    <field name='info' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='sea_uniform' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='navy_uniform' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='land_animation' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='sea_animation' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='navy_animation' type='optstring_ascii' />
  </table>
  <table table_name='campaign_character_arts_tables'
         table_version='6' >
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='string_ascii' />
    <field name='level' type='int' />
    <field name='age' type='int' />
    <field name='portrait' type='optstring_ascii' />
    <field name='season' type='string_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='uniform' type='optstring_ascii' />
    <field name='card' type='optstring_ascii' />
    <field name='info' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='sea_uniform' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='navy_uniform' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='land_animation' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='sea_animation' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='navy_animation' type='optstring_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring_ascii' />
  </table>
  <table table_name='campaign_character_arts_tables'
         table_version='7' >
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='string_ascii' />
    <field name='level' type='int' />
    <field name='age' type='int' />
    <field name='portrait' type='optstring_ascii' />
    <field name='season' type='string_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='uniform' type='optstring_ascii' />
    <field name='card' type='optstring_ascii' />
    <field name='info' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='sea_uniform' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='navy_uniform' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='land_animation' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='sea_animation' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='navy_animation' type='optstring_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring_ascii' />
    <field name='is_faction_leader' type='boolean' />
  </table>
  <table table_name='campaign_character_arts_tables'
         table_version='7' >
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='string_ascii' />
    <field name='level' type='int' />
    <field name='age' type='int' />
    <field name='portrait' type='optstring_ascii' />
    <field name='season' type='string_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='uniform' type='optstring_ascii' />
    <field name='card' type='optstring_ascii' />
    <field name='info' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='sea_uniform' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='navy_uniform' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='land_animation' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='sea_animation' type='optstring_ascii' />
    <field fkey='campaign_anim_set_enums_tables.name' name='navy_animation' type='optstring_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring_ascii' />
    <field name='land_animation_vfx_filter' type='int' />
    <field name='sea_animation_vfx_filter' type='int' />
    <field name='navy_animation_vfx_filter' type='int' />
  </table>
  <table table_name='campaign_character_attribute_effects_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_record' type='string_ascii' pk='true' />
    <field name='attribute_level' type='int' pk='true' />
    <field fkey='agent_attributes_tables.key' name='attribute_record' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture_record' type='optstring_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect_record' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' pk='true' />
    <field name='effect_value' type='float' />
    <field fkey='factions_tables.key' name='faction_record' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_record' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='campaign_character_attribute_effects_tables'
         table_version='1' >
    <field fkey='agents_tables.key' name='agent_record' type='string_ascii' pk='true' />
    <field name='attribute_level' type='int' pk='true' />
    <field fkey='agent_attributes_tables.key' name='attribute_record' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture_record' type='optstring_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect_record' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' pk='true' />
    <field name='effect_value' type='float' />
    <field fkey='factions_tables.key' name='faction_record' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_record' type='optstring_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_record' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='campaign_character_uniform_ancillary_junctions_tables'
         table_version='0' >
    <field fkey='ancillaries_tables.key' name='ancillary' type='string_ascii' pk='true' />
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set' type='string_ascii' pk='true' />
    <field fkey='agent_uniforms_tables.uniform_name' name='uniform' type='string_ascii' />
  </table>
  <table table_name='campaign_clan_level_infos_tables'
         table_version='1' >
    <field name='clan_level' type='int' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string' />
    <field name='modernisation_threshold' type='int' />
    <field fkey='factions_tables.key' name='optional_faction_key' type='optstring' pk='true' />
    <field name='technology_unlock_level' type='int' />
    <field name='optional_difficulty_level' type='optstring' pk='true' />
  </table>
  <table table_name='campaign_clan_level_infos_tables'
         table_version='1' >
    <field name='clan_level' type='int' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='modernisation_threshold' type='int' />
    <field fkey='factions_tables.key' name='optional_faction_key' type='optstring_ascii' pk='true' />
    <field name='technology_unlock_level' type='int' />
    <field name='optional_difficulty_level' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='campaign_climate_change_phases_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field name='climate_art_set' type='string_ascii' />
    <field name='human_imperium_threshold' type='int' />
    <field name='phase' type='int' pk='true' />
    <field name='round_threshold' type='int' />
  </table>
  <table table_name='campaign_climate_change_phases_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field name='climate_art_set' type='string_ascii' />
    <field name='human_imperium_threshold' type='int' />
    <field name='phase' type='int' pk='true' />
    <field name='round_threshold' type='int' />
    <field name='fertility_factor' type='int' />
  </table>
  <table table_name='campaign_climate_change_phases_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field name='human_imperium_threshold' type='int' />
    <field name='phase' type='int' pk='true' />
    <field name='round_threshold' type='int' />
  </table>
  <table table_name='campaign_companion_army_details_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_composite_scenes_tables'
         table_version='0' >
    <field name='filename' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_cultural_relations_tables'
         table_version='0' >
    <field name='attitude_base' type='float' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' pk='true' />
    <field name='negative_attitude_multiplier' type='float' />
    <field name='positive_attitude_multiplier' type='float' />
    <field fkey='cultures_subcultures_tables.subculture' name='source' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='target' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_design_controlled_factorial_categories_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_difficulty_handicap_effects_tables'
         table_version='0' >
    <field name='campaign_difficulty_handicap' type='int' pk='true' />
    <field name='human' type='boolean' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='effect_value' type='float' />
  </table>
  <table table_name='campaign_difficulty_handicap_effects_tables'
         table_version='0' >
    <field name='campaign_difficulty_handicap' type='int' pk='true' />
    <field name='human' type='boolean' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field name='effect_value' type='float' />
  </table>
  <table table_name='campaign_difficulty_handicap_effects_tables'
         table_version='0' >
    <field name='campaign_difficulty_handicap' type='int' pk='true' />
    <field name='human' type='boolean' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='effect_value' type='float' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' />
  </table>
  <table table_name='campaign_difficulty_handicap_effects_tables'
         table_version='1' >
    <field name='campaign_difficulty_handicap' type='int' pk='true' />
    <field name='human' type='boolean' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='effect_value' type='float' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring' pk='true' />
  </table>
  <table table_name='campaign_effect_scope_agent_junctions_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_key' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='campaign_effect_scope_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_effect_scope_categories_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
    <field name='category_icon' type='optstring_ascii' />
  </table>
  <table table_name='campaign_effect_scope_character_force_relationship_junctions_tables'
         table_version='0' >
    <field fkey='campaign_effect_scopes_tables.key' name='campaign_effect_scope_key' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scope_character_force_relationships_tables.key' name='force_relationship_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_effect_scope_character_unit_relationship_junctions_tables'
         table_version='0' >
    <field fkey='campaign_effect_scopes_tables.key' name='campaign_effect_scope_key' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scope_character_unit_relationships_tables.key' name='unit_relationship_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_effect_scope_territories_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_effect_scope_to_category_junctions_tables'
         table_version='1' >
    <field fkey='campaign_effect_scopes_tables.key' name='scope' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scope_categories_tables.key' name='category' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_effect_scopes_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scope_locations_tables.key' name='location' type='string_ascii' />
    <field name='order' type='int' />
    <field fkey='campaign_effect_scope_ownerships_tables.key' name='ownership' type='optstring_ascii' />
    <field fkey='campaign_effect_scope_objects_tables.key' name='source' type='string_ascii' />
    <field fkey='campaign_effect_scope_objects_tables.key' name='target' type='string_ascii' />
  </table>
  <table table_name='campaign_effect_scopes_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scope_locations_tables.key' name='location' type='string_ascii' />
    <field name='order' type='int' />
    <field fkey='campaign_effect_scope_ownerships_tables.key' name='ownership' type='optstring_ascii' />
    <field fkey='campaign_effect_scope_objects_tables.key' name='source' type='string_ascii' />
    <field fkey='campaign_effect_scope_objects_tables.key' name='target' type='string_ascii' />
    <field fkey='campaign_effect_scope_territories_tables.key' name='territory' type='optstring_ascii' />
  </table>
  <table table_name='campaign_effect_scopes_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scope_locations_tables.key' name='location' type='string_ascii' />
    <field fkey='campaign_effect_scope_ownerships_tables.key' name='ownership' type='optstring_ascii' />
    <field fkey='campaign_effect_scope_objects_tables.key' name='source' type='string_ascii' />
    <field fkey='campaign_effect_scope_objects_tables.key' name='target' type='string_ascii' />
    <field fkey='campaign_effect_scope_territories_tables.key' name='territory' type='optstring_ascii' />
  </table>
  <table table_name='campaign_faction_feature_forest_overrides_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='faction_feature_forests_tables.key' name='feature_forest' type='string_ascii' />
  </table>
  <table table_name='campaign_faction_religion_effects_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effects_bundle' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='percentage_upper_threshold' type='int' />
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' />
  </table>
  <table table_name='campaign_factorial_categories_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_factorial_category_base_thresholds_tables'
         table_version='0' >
    <field name='base_threshold' type='int' />
    <field fkey='campaign_factorial_category_junctions_tables.key' name='category' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_factorial_category_junctions_tables'
         table_version='0' >
    <field fkey='campaign_factorial_categories_tables.key' name='code_category' type='optstring_ascii' />
    <field fkey='campaign_design_controlled_factorial_categories_tables.key' name='design_controlled_category' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_factorial_scopes_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_factorial_ui_infos_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='negative_icon' type='string_ascii' />
    <field name='icon' type='string_ascii' />
  </table>
  <table table_name='campaign_features_tables'
         table_version='0' >
    <field name='available' type='boolean' />
    <field fkey='campaign_feature_ids_tables.id' name='feature' type='string_ascii' pk='true' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_ground_types_tables'
         table_version='0' >
    <field name='type' type='string' pk='true' />
    <field name='movement_modifier' type='float' />
    <field name='can_ambush' type='boolean' />
  </table>
  <table table_name='campaign_ground_types_tables'
         table_version='1' >
    <field name='type' type='string' pk='true' />
    <field name='movement_modifier' type='float' />
    <field name='can_ambush' type='boolean' />
    <field name='causes_heat_attrition' type='boolean' />
    <field name='causes_cold_attrition' type='boolean' />
  </table>
  <table table_name='campaign_ground_types_tables'
         table_version='2' >
    <field name='type' type='string' pk='true' />
    <field name='movement_modifier' type='float' />
    <field name='can_ambush' type='boolean' />
    <field name='causes_heat_attrition' type='boolean' />
    <field name='causes_cold_attrition' type='boolean' />
    <field name='causes_sea_attrition' type='boolean' />
  </table>
  <table table_name='campaign_ground_types_tables'
         table_version='6' >
    <field name='type' type='string_ascii' pk='true' />
    <field name='movement_cost' type='int' />
    <field name='can_ambush' type='boolean' />
    <field name='is_sea' type='boolean' />
    <field name='icon' type='string_ascii' />
  </table>
  <table table_name='campaign_ground_types_tables'
         table_version='7' >
    <field name='type' type='string_ascii' pk='true' />
    <field name='movement_cost' type='int' />
    <field name='can_ambush' type='boolean' />
    <field name='is_sea' type='boolean' />
    <field name='icon' type='string_ascii' />
    <field fkey='cursors_tables.key' name='standard_cursor' type='optstring_ascii' />
    <field fkey='cursors_tables.key' name='selection_cursor' type='optstring_ascii' />
  </table>
  <table table_name='campaign_ground_types_tables'
         table_version='9' >
    <field name='type' type='string_ascii' pk='true' />
    <field name='movement_cost' type='int' />
    <field name='is_sea' type='boolean' />
    <field name='icon' type='string_ascii' />
    <field fkey='audio_campaign_ground_types_tables.key' name='audio_type' type='string_ascii' />
    <field fkey='cursors_tables.key' name='standard_cursor' type='optstring_ascii' />
    <field fkey='cursors_tables.key' name='selection_cursor' type='optstring_ascii' />
  </table>
  <table table_name='campaign_group_abandoned_cultures_overrides_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
  </table>
  <table table_name='campaign_group_agent_action_composite_scenes_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='campaign_composite_scenes_tables.id' name='character_scene' type='optstring_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='garrison_scene' type='optstring_ascii' />
  </table>
  <table table_name='campaign_group_agent_action_foreign_slots_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='slot_sets_tables.key' name='slot_set' type='string_ascii' />
  </table>
  <table table_name='campaign_group_crafting_infos_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='pooled_resources_tables.key' name='unique_resource' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_faction_leader_gravitas_effects_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
  </table>
  <table table_name='campaign_group_food_effects_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_food_unique_agent_charges_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field name='charges' type='int' />
    <field fkey='unique_agents_tables.agent_subtype' name='unique_agent' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_loyalty_dilemmas_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='dilemma' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_action_results_tables'
         table_version='0' >
    <field fkey='action_results_tables.key' name='action_result' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_actor_genders_tables'
         table_version='0' >
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_agent_subtypes_tables'
         table_version='0' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_attrition_types_tables'
         table_version='0' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition_type' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_campaigns_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_climates_tables'
         table_version='0' >
    <field fkey='settlement_climate_types_tables.type' name='climate' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_culture_settlement_occupation_options_tables'
         table_version='0' >
    <field fkey='culture_settlement_occupation_options_tables.id' name='culture_settlement_occupation_option' type='int' />
    <field name='-' type='int' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_culture_settlement_occupation_options_tables'
         table_version='1' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='culture_settlement_occupation_options_tables.id' name='culture_settlement_occupation_option' type='int' />
  </table>
  <table table_name='campaign_group_member_criteria_cultures_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field fkey='campaign_group_members_tables.key' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_diplomatic_attitudes_tables'
         table_version='0' >
    <field fkey='diplomacy_negotiation_attitudes_tables.key' name='attitude' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_diplomatic_stances_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='stances_tables.key' name='stance' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_factions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
    <table table_name='campaign_group_member_criteria_involves_settlements_tables'
         table_version='0' >
    <field name='involves_settlement' type='boolean' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_ministerial_positions_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_morale_levels_tables'
         table_version='0' >
    <field name='unknown0' type='int' />
    <field name='unknown1' type='string_ascii' />
    <field name='unknown2' type='int' />
  </table>
  <table table_name='campaign_group_member_criteria_numeric_ranges_tables'
         table_version='0' >
    <field name='max_range' type='int' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field name='min_range' type='int' />
  </table>
    <table table_name='campaign_group_member_criteria_on_seas_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field name='on_sea' type='boolean' />
  </table>
  <table table_name='campaign_group_member_criteria_originating_cultures_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_originating_factions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_member_criteria_originating_subcultures_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_pooled_resources_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='pooled_resources_tables.key' name='pooled_resource' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_produce_resources_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='resources_tables.key' name='resource' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_region_owner_subcultures_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_regions_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_religions_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_subcultures_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
  </table>
  <table table_name='campaign_group_member_criteria_values_tables'
         table_version='0' >
    <field fkey='campaign_group_members_tables.id' name='member' type='string_ascii' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='campaign_group_members_tables'
         table_version='1' >
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='priority' type='float' />
  </table>
  <table table_name='campaign_group_morale_effects_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='name' type='string_ascii' />
  </table>
  <table table_name='campaign_group_occupation_purchasable_primary_slot_levels_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
    <field fkey='resource_costs_tables.id' name='resource_cost' type='optstring_ascii' />
  </table>
  <table table_name='campaign_group_pending_battle_purchasable_effects_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='purchasable_effects_tables.id' name='purchasable_effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_plague_military_force_effects_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field fkey='plagues_tables.name' name='plague' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_plague_region_effects_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field fkey='plagues_tables.name' name='plague' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_plagues_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='plagues_tables.name' name='plague' type='string_ascii' />
  </table>
  <table table_name='campaign_group_pooled_resource_effects_tables'
         table_version='2' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field fkey='pooled_resource_effect_types_tables.id' name='effect_type' type='string_ascii' />
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_pooled_resources_tables'
         table_version='1' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='pooled_resources_tables.key' name='resource' type='string_ascii' pk='true' />
    <field name='initial_amount' type='int' />
  </table>
  <table table_name='campaign_group_post_battle_looted_pooled_resources_tables'
         table_version='0' >
    <field name='base_multiplier' type='float' />
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field name='exponent' type='float' />
    <field name='exponent_multiplier' type='float' />
    <field name='maximum' type='int' />
    <field name='minimum' type='int' />
    <field fkey='pooled_resource_factor_junctions_tables.unique_id' name='resource_factor' type='string_ascii' pk='true' />
    <field name='base_amount' type='int' />
  </table>
  <table table_name='campaign_group_racial_suitability_effects_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
  </table>
  <table table_name='campaign_group_ritual_chains_tables'
         table_version='3' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='ritual_chains_tables.key' name='ritual_chain' type='string_ascii' pk='true' />
    <field name='unlock_turn' type='int' />
    <field fkey='missions_tables.key' name='unlock_mission' type='optstring_ascii' />
    <field name='shared_progress' type='boolean' />
    <field name='initially_unlocked' type='boolean' />
  </table>
  <table table_name='campaign_group_rituals_tables'
         table_version='1' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
    <field fkey='missions_tables.key' name='unlock_mission' type='optstring_ascii' />
    <field name='unlock_turn' type='int' />
    <field name='initially_unlocked' type='boolean' />
  </table>
  <table table_name='campaign_group_settlement_occupation_looted_pooled_resources_tables'
         table_version='0' >
    <field name='base_amount' type='int' />
    <field name='base_multiplier' type='float' />
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field name='exponent' type='float' />
    <field name='exponent_multiplier' type='float' />
    <field name='maximum' type='int' />
    <field name='minimum' type='int' />
    <field fkey='pooled_resource_factor_junctions_tables.unique_id' name='resource_factor' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_group_settlement_occupation_option_foreign_slots_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='slot_sets_tables.key' name='foreign_slot_set' type='string_ascii' />
  </table>
  <table table_name='campaign_group_unique_agents_tables'
         table_version='0' >
    <field name='base_charges' type='int' />
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='unique_agents_tables.agent_subtype' name='unique_agent' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_groups_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_hidden_settlement_overrides_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_initial_loyalty_distribution_tables'
         table_version='0' >
    <field name='loyalty' type='int' />
    <field name='roll' type='int' pk='true' />
  </table>
  <table table_name='campaign_interactable_marker_infos_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_interactable_marker_infos_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_marker_types_tables.id' name='marker_type' type='string_ascii' />
  </table>
  <table table_name='campaign_map_attrition_damages_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='percent_unit_damage' type='int' />
  </table>
  <table table_name='campaign_map_attrition_damages_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='percent_unit_damage' type='float' />
  </table>
  <table table_name='campaign_map_attrition_faction_immunities_tables'
         table_version='0' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_map_attrition_unit_immunities_tables'
         table_version='0' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_map_attritions_tables'
         table_version='2' >
    <field fkey='campaign_map_attrition_damages_tables.key' name='damage' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_map_attrition_types_tables.key' name='type' type='string_ascii' />
    <field fkey='message_events_tables.event' name='message_event_association' type='optstring_ascii' />
  </table>
  <table table_name='campaign_map_attritions_tables'
         table_version='3' >
    <field fkey='campaign_map_attrition_damages_tables.key' name='damage' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_map_attrition_types_tables.key' name='type' type='string_ascii' />
    <field fkey='message_events_tables.event' name='message_event_association' type='optstring_ascii' />
    <field name='is_snow' type='boolean' />
  </table>
  <table table_name='campaign_map_attritions_tables'
         table_version='4' >
    <field fkey='campaign_map_attrition_damages_tables.key' name='damage' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_map_attrition_types_tables.key' name='type' type='string_ascii' />
    <field fkey='message_events_tables.event' name='message_event_association' type='optstring_ascii' />
    <field name='is_snow' type='boolean' />
  </table>
  <table table_name='campaign_map_famous_battles_tables'
         table_version='0' >
    <field name='famous_battle_id' type='string' pk='true' />
    <field name='battle_name' type='string' />
    <field name='battle_date' type='string' />
    <field name='battle_description' type='string' />
    <field name='x_co-ordinate' type='float' />
    <field name='y_co-ordinate' type='float' />
  </table>
  <table table_name='campaign_map_masks_tables'
         table_version='0' >
    <field name='mask_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_map_masks_to_excluded_regions_tables'
         table_version='0' >
    <field fkey='regions_tables.key' name='excluded_region' type='string_ascii' pk='true' />
    <field fkey='campaign_map_masks_tables.mask_name' name='mask' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_map_playable_areas_tables'
         table_version='0' >
    <field name='index' type='string' pk='true' />
    <field name='sea_trade' type='boolean' />
    <field name='map_file' type='optstring' />
    <field name='overlay_file' type='optstring' />
    <field name='radar_file' type='optstring' />
    <field name='meaningful_id' type='string' />
    <field name='preview_width' type='int' />
    <field name='preview_height' type='int' />
    <field name='preview_border' type='int' />
  </table>
  <table table_name='campaign_map_playable_areas_tables'
         table_version='2' >
    <field name='index' type='string_ascii' pk='true' />
    <field name='sea_trade' type='boolean' />
    <field name='map_file' type='optstring_ascii' />
    <field name='overlay_file' type='optstring_ascii' />
    <field name='radar_file' type='optstring_ascii' />
    <field name='meaningful_id' type='string_ascii' />
    <field name='preview_width' type='int' />
    <field name='preview_height' type='int' />
    <field name='preview_border' type='int' />
    <field name='minx' type='float' />
    <field name='maxx' type='float' />
    <field name='miny' type='float' />
    <field name='maxy' type='float' />
    <field fkey='campaign_maps_tables.mapname' name='mapname' type='string_ascii' />
    <field name='minimap_lookup_file' type='optstring_ascii' />
  </table>
  <table table_name='campaign_map_playable_areas_tables'
         table_version='3' >
    <field name='index' type='string_ascii' pk='true' />
    <field name='sea_trade' type='boolean' />
    <field name='map_file' type='optstring_ascii' />
    <field name='overlay_file' type='optstring_ascii' />
    <field name='radar_file' type='optstring_ascii' />
    <field name='meaningful_id' type='string_ascii' />
    <field name='preview_width' type='int' />
    <field name='preview_height' type='int' />
    <field name='preview_border' type='int' />
    <field name='minx' type='float' />
    <field name='maxx' type='float' />
    <field name='miny' type='float' />
    <field name='maxy' type='float' />
    <field fkey='campaign_maps_tables.mapname' name='mapname' type='string_ascii' />
    <field name='minimap_lookup_file' type='optstring_ascii' />
    <field name='is_available_in_custom_battle' type='boolean' />
  </table>
  <table table_name='campaign_map_playable_areas_tables'
         table_version='4' >
    <field name='index' type='string_ascii' pk='true' />
    <field name='sea_trade' type='boolean' />
    <field name='map_file' type='optstring_ascii' />
    <field name='overlay_file' type='optstring_ascii' />
    <field name='radar_file' type='optstring_ascii' />
    <field name='meaningful_id' type='string_ascii' />
    <field name='preview_width' type='int' />
    <field name='preview_height' type='int' />
    <field name='preview_border' type='int' />
    <field name='minx' type='float' />
    <field name='maxx' type='float' />
    <field name='miny' type='float' />
    <field name='maxy' type='float' />
    <field fkey='campaign_maps_tables.mapname' name='mapname' type='string_ascii' />
    <field name='minimap_lookup_file' type='optstring_ascii' />
    <field name='is_available_in_custom_battle' type='boolean' />
    <field name='terrain_folder' type='string_ascii' />
  </table>
  <table table_name='campaign_map_playable_areas_tables'
         table_version='6' >
    <field name='index' type='string_ascii' pk='true' />
    <field name='sea_trade' type='boolean' />
    <field name='map_file' type='optstring_ascii' />
    <field name='overlay_file' type='optstring_ascii' />
    <field name='radar_file' type='optstring_ascii' />
    <field name='meaningful_id' type='string_ascii' />
    <field name='preview_width' type='int' />
    <field name='preview_height' type='int' />
    <field name='minx' type='float' />
    <field name='maxx' type='float' />
    <field fkey='campaign_maps_tables.mapname' name='mapname' type='string_ascii' />
    <field name='minimap_lookup_file' type='optstring_ascii' />
    <field name='is_available_in_custom_battle' type='boolean' />
    <field name='terrain_folder' type='string_ascii' />
    <field name='campaign_key' type='string_ascii' />
    <field name='frontend_image' type='optstring_ascii' />
  </table>
  <table table_name='campaign_map_playable_areas_tables'
         table_version='7' >
    <field name='index' type='string_ascii' pk='true' />
    <field name='sea_trade' type='boolean' />
    <field name='map_file' type='optstring_ascii' />
    <field name='overlay_file' type='optstring_ascii' />
    <field name='radar_file' type='optstring_ascii' />
    <field name='meaningful_id' type='string_ascii' />
    <field name='preview_width' type='int' />
    <field name='preview_height' type='int' />
    <field name='minx' type='float' />
    <field name='maxx' type='float' />
    <field fkey='campaign_maps_tables.mapname' name='mapname' type='string_ascii' />
    <field name='minimap_lookup_file' type='optstring_ascii' />
    <field name='is_available_in_custom_battle' type='boolean' />
    <field name='terrain_folder' type='string_ascii' />
    <field name='campaign_key' type='string_ascii' />
    <field name='frontend_image' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
  </table>
  <table table_name='campaign_map_playable_areas_tables'
         table_version='8' >
    <field name='index' type='string_ascii' pk='true' />
    <field name='sea_trade' type='boolean' />
    <field name='map_file' type='optstring_ascii' />
    <field name='overlay_file' type='optstring_ascii' />
    <field name='radar_file' type='optstring_ascii' />
    <field name='meaningful_id' type='string_ascii' />
    <field name='preview_width' type='int' />
    <field name='preview_height' type='int' />
    <field name='minx' type='float' />
    <field name='maxx' type='float' />
    <field fkey='campaign_maps_tables.mapname' name='mapname' type='string_ascii' />
    <field name='minimap_lookup_file' type='optstring_ascii' />
    <field name='is_available_in_custom_battle' type='boolean' />
    <field name='terrain_folder' type='string_ascii' />
    <field name='campaign_key' type='string_ascii' />
    <field name='frontend_image' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='is_mpc_available' type='boolean' />
  </table>
  <table table_name='campaign_map_playable_areas_tables'
         table_version='9' >
    <field name='index' type='string_ascii' pk='true' />
    <field name='sea_trade' type='boolean' />
    <field name='map_file' type='optstring_ascii' />
    <field name='overlay_file' type='optstring_ascii' />
    <field name='radar_file' type='optstring_ascii' />
    <field name='meaningful_id' type='string_ascii' />
    <field name='preview_width' type='int' />
    <field name='preview_height' type='int' />
    <field name='minx' type='float' />
    <field name='maxx' type='float' />
    <field fkey='campaign_maps_tables.mapname' name='mapname' type='string_ascii' />
    <field name='minimap_lookup_file' type='optstring_ascii' />
    <field name='is_available_in_custom_battle' type='boolean' />
    <field name='terrain_folder' type='string_ascii' />
    <field name='campaign_key' type='string_ascii' />
    <field name='frontend_image' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='is_mpc_available' type='boolean' />
    <field name='campaign_overlay_lookup' type='string_ascii' />
    <field name='campaign_overlay_map' type='string_ascii' />
  </table>
  <table table_name='campaign_map_regions_tables'
         table_version='0' >
    <field fkey='campaign_maps_tables.mapname' name='campaign_map' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_map_roads_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='movement_cost' type='int' />
    <field name='threshold' type='float' />
    <field name='turns_required_to_downgrade_from' type='int' />
    <field name='turns_required_to_upgrade_to' type='int' />
  </table>
  <table table_name='campaign_map_settlement_sprawl_descriptions_tables'
         table_version='0' >
    <field fkey='campaign_map_settlements_tables.settlement_id' name='settlement' type='string' pk='true' />
    <field name='sprawl_desc' type='string' />
  </table>
  <table table_name='campaign_map_settlements_tables'
         table_version='0' >
    <field name='settlement_id' type='string' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string' />
    <field name='default_onscreen_name' type='string' />
    <field name='slot_count' type='int' />
    <field fkey='slots_tables.slot' name='slot_type' type='string' />
  </table>
  <table table_name='campaign_map_settlements_tables'
         table_version='0' >
    <field name='settlement_id' type='string' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string' />
    <field name='default_onscreen_name' type='string' />
    <field fkey='campaign_map_settlement_templates_tables.template_name' name='template_name' type='string' />
    <field name='slot_count' type='int' />
    <field fkey='slots_tables.slot' name='slot_type' type='string' />
  </table>
  <table table_name='campaign_map_settlements_tables'
         table_version='0' >
    <field name='settlement_id' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' />
    <field name='default_onscreen_name' type='string_ascii' />
    <field fkey='campaign_map_settlement_templates_tables.template_name' name='template_name' type='string_ascii' />
    <field name='slot_count' type='int' />
    <field fkey='slots_tables.slot' name='slot_type' type='string_ascii' />
  </table>
  <table table_name='campaign_map_settlements_tables'
         table_version='1' >
    <field name='settlement_id' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' />
    <field name='default_onscreen_name' type='string_ascii' />
    <field fkey='campaign_map_settlement_templates_tables.template_name' name='template_name' type='string_ascii' />
    <field name='slot_count' type='int' />
    <field fkey='slots_tables.slot' name='slot_type' type='string_ascii' />
    <field fkey='settlement_climate_types_tables.type' name='climate_type' type='string_ascii' />
  </table>
  <table table_name='campaign_map_settlements_tables'
         table_version='3' >
    <field name='settlement_id' type='string_ascii' pk='true' />
    <field fkey='settlement_climate_types_tables.type' name='climate_type' type='string_ascii' />
  </table>
  <table table_name='campaign_map_settlements_tables'
         table_version='4' >
    <field name='settlement_id' type='string_ascii' pk='true' />
    <field fkey='settlement_climate_types_tables.type' name='climate_type' type='string_ascii' />
    <field name='citybar_height_offset' type='int' />
  </table>
  <table table_name='campaign_map_slots_tables'
         table_version='0' >
    <field name='slot_id' type='string' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string' />
    <field fkey='slots_tables.slot' name='slot_type' type='string' />
    <field fkey='campaign_map_slots_templates_tables.template_name' name='template' type='string' />
    <field name='rotation' type='int' />
    <field fkey='warscape_underlay_textures_tables.underlay_key' name='underlay' type='optstring' />
  </table>
  <table table_name='campaign_map_slots_tables'
         table_version='0' >
    <field name='slot_id' type='string' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string' />
    <field fkey='slots_tables.slot' name='slot_type' type='string' />
    <field name='rotation' type='int' />
    <field fkey='warscape_underlay_textures_tables.underlay_key' name='underlay' type='optstring' />
  </table>
  <table table_name='campaign_map_slots_tables'
         table_version='0' >
    <field name='slot_id' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' />
    <field fkey='slots_tables.slot' name='slot_type' type='string_ascii' />
    <field fkey='campaign_map_slots_templates_tables.template_name' name='template' type='string_ascii' />
    <field name='rotation' type='int' />
    <field fkey='warscape_underlay_textures_tables.underlay_key' name='underlay' type='optstring_ascii' />
  </table>
  <table table_name='campaign_map_slots_templates_rotations_tables'
         table_version='0' >
    <field name='rotation' type='string' pk='true' />
  </table>
  <table table_name='campaign_map_tooltips_tables'
         table_version='0' >
    <field fkey='campaign_map_tooltip_select_contexts_tables.select_context' name='select_context' type='string' pk='true' />
    <field fkey='campaign_map_tooltip_over_contexts_tables.over_contexts' name='over_context' type='string' pk='true' />
  </table>
  <table table_name='campaign_map_tooltips_tables'
         table_version='1' >
    <field fkey='campaign_map_tooltip_select_contexts_tables.select_context' name='select_context' type='string' pk='true' />
    <field fkey='campaign_map_tooltip_over_contexts_tables.over_contexts' name='over_context' type='string' pk='true' />
    <field fkey='campaign_map_tooltip_texts_tables.key' name='tooltip_line' type='optstring' />
    <field fkey='campaign_map_tooltip_texts_tables.key' name='advice_line' type='optstring' />
  </table>
  <table table_name='campaign_map_tooltips_tables'
         table_version='2' >
    <field fkey='campaign_map_tooltip_select_contexts_tables.select_context' name='select_context' type='string_ascii' pk='true' />
    <field fkey='campaign_map_tooltip_over_contexts_tables.over_contexts' name='over_context' type='string_ascii' pk='true' />
    <field fkey='campaign_map_tooltip_texts_tables.key' name='tooltip_line' type='optstring_ascii' />
    <field fkey='campaign_map_tooltip_texts_tables.key' name='advice_line' type='optstring_ascii' />
    <field fkey='campaign_map_tooltip_texts_tables.key' name='main_line' type='optstring_ascii' />
  </table>
  <table table_name='campaign_map_towns_and_ports_tables'
         table_version='0' >
    <field name='town_id' type='string' pk='true' />
    <field fkey='slots_tables.slot' name='slot_type' type='string' />
    <field name='onscreen_name' type='string' />
  </table>
  <table table_name='campaign_map_towns_and_ports_tables'
         table_version='0' >
    <field name='town_id' type='string' pk='true' />
    <field fkey='slots_tables.slot' name='slot_type' type='string' />
    <field name='onscreen_name' type='string' />
    <field fkey='campaign_map_slots_templates_tables.template_name' name='template' type='string' />
  </table>
  <table table_name='campaign_map_towns_and_ports_tables'
         table_version='0' >
    <field name='town_id' type='string_ascii' pk='true' />
    <field fkey='slots_tables.slot' name='slot_type' type='string_ascii' />
    <field name='onscreen_name' type='string_ascii' />
    <field fkey='campaign_map_slots_templates_tables.template_name' name='template' type='string_ascii' />
  </table>
  <table table_name='campaign_map_winds_of_magic_areas_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='region_groups_tables.group_key' name='region_group' type='string_ascii' />
  </table>
  <table table_name='campaign_map_winds_of_magic_persistent_region_strengths_tables'
         table_version='0' >
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
    <field fkey='campaign_map_winds_of_magic_strengths_tables.key' name='strength' type='string_ascii' />
  </table>
  <table table_name='campaign_map_winds_of_magic_strengths_tables'
         table_version='2' >
    <field name='default' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='int' />
    <field name='frequency' type='int' />
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='optstring_ascii' />
  </table>
  <table table_name='campaign_markers_tables'
         table_version='1' >
    <field name='file' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_markers_tables'
         table_version='2' >
    <field name='file' type='string_ascii' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
    <field fkey='campaign_marker_types_tables.id' name='marker_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_mercenary_unit_character_level_restrictions_tables'
         table_version='0' >
    <field name='character_level' type='int' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_mercenary_unit_character_level_restrictions_tables'
         table_version='1' >
    <field name='character_level' type='int' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_override' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='campaign_mount_animation_set_overrides_tables'
         table_version='1' >
    <field fkey='campaign_anim_set_enums_tables.name' name='character_animation_set' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='mount_unit' type='string_ascii' pk='true' />
    <field fkey='campaign_anim_set_enums_tables.name' name='rider_animation_set' type='string_ascii' />
  </table>
  <table table_name='campaign_mount_animation_set_overrides_tables'
         table_version='2' >
    <field fkey='campaign_anim_set_enums_tables.name' name='character_animation_set' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='mount_unit' type='string_ascii' pk='true' />
    <field fkey='campaign_anim_set_enums_tables.name' name='rider_animation_set' type='string_ascii' />
    <field name='vfx_filter_override' type='int' />
  </table>
  <table table_name='campaign_mounts_tables'
         table_version='6' >
    <field fkey='campaign_anim_set_enums_tables.name' name='animation_set' type='string_ascii' />
    <field name='model' type='string_ascii' pk='true' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field name='scale' type='float' />
    <field fkey='audio_voiceover_cultures_tables.name' name='actor' type='string_ascii' />
    <field name='ignore_rider_variant_scale' type='boolean' />
  </table>
  <table table_name='campaign_mounts_tables'
         table_version='8' >
    <field fkey='campaign_anim_set_enums_tables.name' name='animation_set' type='string_ascii' />
    <field name='model' type='string_ascii' pk='true' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field name='scale' type='float' />
    <field fkey='audio_voiceover_cultures_tables.name' name='actor' type='string_ascii' />
    <field name='ignore_rider_variant_scale' type='boolean' />
    <field name='vfx_filter' type='int' />
    <field name='banner_relative_to_mount' type='boolean' />
  </table>
  <table table_name='campaign_movement_spline_materials_tables'
         table_version='1' >
    <field name='head_material' type='string_ascii' />
    <field name='shaft_material' type='string_ascii' />
    <field name='id' type='int' pk='true' />
  </table>
  <table table_name='campaign_mp_coop_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_mp_coop_groups_to_factions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
    <field fkey='campaign_mp_coop_groups_tables.key' name='mp_coop_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_payload_ui_details_tables'
         table_version='0' >
    <field name='component' type='string_ascii' pk='true' />
    <field name='icon' type='optstring_ascii' />
  </table>
  <table table_name='campaign_political_difficulty_handicap_effects_tables'
         table_version='0' >
    <field name='campaign_political_difficulty_handicap' type='int' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='effect_value' type='float' />
    <field name='human' type='boolean' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' />
  </table>
  <table table_name='campaign_politics_strings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_post_battle_captive_options_tables'
         table_version='3' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='campaign_post_battle_captive_option_ids_tables.captive_option' name='captive_option' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field name='effect_bundle_turns' type='int' />
    <field name='icon_path' type='string_ascii' />
  </table>
  <table table_name='campaign_post_battle_captive_options_tables'
         table_version='4' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='campaign_post_battle_captive_option_ids_tables.captive_option' name='captive_option' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field name='effect_bundle_turns' type='int' />
    <field name='icon_path' type='string_ascii' />
    <field fkey='resource_costs_tables.id' name='resource_transaction' type='optstring_ascii' />
  </table>
  <table table_name='campaign_public_order_populace_effects_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='populace_happiness' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_region_transformation_composite_scenes_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_religious_relations_tables'
         table_version='0' >
    <field name='attitude_base' type='float' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' pk='true' />
    <field name='negative_attitude_multiplier' type='float' />
    <field name='positive_attitude_multiplier' type='float' />
    <field fkey='religions_tables.religion_key' name='source' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='target' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_rogue_army_group_units_tables'
         table_version='0' >
    <field fkey='campaign_rogue_army_groups_tables.key' name='group' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' />
    <field name='xp' type='int' />
  </table>
  <table table_name='campaign_rogue_army_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_rogue_army_leaders_tables'
         table_version='2' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' />
    <field name='is_male' type='boolean' />
    <field fkey='names_tables.id' name='name' type='string_ascii' />
    <field fkey='names_tables.id' name='surname' type='optstring_ascii' />
    <field fkey='names_tables.id' name='clan_name' type='optstring_ascii' />
    <field fkey='names_tables.id' name='other_name' type='optstring_ascii' />
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='artset' type='string_ascii' />
    <field name='can_naturally_spawn' type='boolean' />
  </table>
  <table table_name='campaign_rogue_army_setups_tables'
         table_version='0' >
    <field name='budget' type='int' />
    <field name='difficulty_level' type='int' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='campaign_rogue_army_groups_tables.key' name='group' type='string_ascii' />
  </table>
  <table table_name='campaign_rogue_army_spawn_groups_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_rogue_army_spawn_locations_tables'
         table_version='0' >
    <field fkey='campaign_rogue_army_spawn_groups_tables.key' name='group' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='position_x' type='int' />
    <field name='position_y' type='int' />
    <field name='radius' type='int' />
  </table>
  <table table_name='campaign_rogue_army_spawn_regions_tables'
         table_version='0' >
    <field fkey='campaign_rogue_army_spawn_groups_tables.key' name='group' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' />
  </table>
  <table table_name='campaign_settlement_display_aqueducts_tables'
         table_version='0' >
    <field name='building_path' type='optstring_ascii' />
    <field name='position_x_map' type='float' />
    <field name='position_y_map' type='float' />
    <field name='position_z_height' type='float' />
    <field fkey='regions_tables.key' name='region_key' type='string_ascii' pk='true' />
    <field name='rotation_cw_radians' type='float' />
  </table>
  <table table_name='campaign_settlement_display_building_constructions_tables'
         table_version='0' >
    <field name='building_path' type='optstring_ascii' />
    <field fkey='campaign_settlement_display_building_construction_enums_tables.type' name='construction_type' type='string_ascii' />
    <field fkey='campaign_settlement_display_building_ids_tables.key' name='display_building_key' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='phase' type='int' />
  </table>
  <table table_name='campaign_settlement_display_building_constructions_tables'
         table_version='1' >
    <field name='building_path' type='optstring_ascii' />
    <field fkey='campaign_settlement_display_building_construction_enums_tables.type' name='construction_type' type='string_ascii' />
    <field fkey='campaign_settlement_display_construction_model_ids_tables.key' name='model_id' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='phase' type='int' />
  </table>
  <table table_name='campaign_settlement_display_building_culture_overlays_tables'
         table_version='0' >
    <field name='bmd' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_settlement_display_building_ids_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building_level_key' type='optstring_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='sprawl_piece_level' type='int' />
    <field fkey='campaign_settlement_display_sprawl_pieces_tables.key' name='sprawl_piece_type' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='sub_culture' type='optstring_ascii' />
  </table>
  <table table_name='campaign_settlement_display_building_ids_tables'
         table_version='1' >
    <field fkey='building_levels_tables.level_name' name='building_level_key' type='optstring_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='sprawl_piece_level' type='int' />
    <field fkey='campaign_settlement_display_sprawl_pieces_tables.key' name='sprawl_piece_type' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='sub_culture' type='optstring_ascii' />
    <field fkey='campaign_settlement_display_building_model_ids_tables.id' name='building_model_id' type='string_ascii' />
    <field fkey='campaign_settlement_display_construction_model_ids_tables.id' name='construction_model_id' type='string_ascii' />
  </table>
  <table table_name='campaign_settlement_display_building_ids_tables'
         table_version='3' >
    <field fkey='building_levels_tables.level_name' name='building_level_key' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_settlement_display_building_model_ids_tables.id' name='building_model_id' type='string_ascii' />
  </table>
  <table table_name='campaign_settlement_display_building_model_ids_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_settlement_display_building_siege_models_tables'
         table_version='0' >
    <field name='blockade' type='boolean' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field name='model_bmd' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_settlement_display_building_trees_tables'
         table_version='0' >
    <field name='rigid_lookup_key' type='optstring_ascii' />
    <field name='building_path' type='optstring_ascii' />
    <field fkey='climates_tables.climate_type' name='climate_type' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
  </table>
  <table table_name='campaign_settlement_display_buildings_overlays_tables'
         table_version='1' >
    <field fkey='campaign_settlement_display_building_model_ids_tables.id' name='model_id' type='string_ascii' pk='true' />
    <field name='overlay_bmd' type='string_ascii' />
    <field name='prefab_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_settlement_display_buildings_tables'
         table_version='1' >
    <field name='building_path' type='optstring_ascii' />
    <field fkey='campaign_settlement_display_building_ids_tables.key' name='display_building_key' type='string_ascii' />
    <field name='is_blockaded' type='boolean' />
    <field name='is_sieged' type='boolean' />
    <field name='is_slum' type='boolean' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='campaign_settlement_display_buildings_enums_tables.type' name='state' type='optstring_ascii' />
    <field name='destruction_additional_model' type='optstring_ascii' />
    <field name='destruction_override_model' type='optstring_ascii' />
    <field name='construction_additional_model' type='optstring_ascii' />
    <field name='construction_override_model' type='optstring_ascii' />
  </table>
  <table table_name='campaign_settlement_display_buildings_tables'
         table_version='2' >
    <field name='building_path' type='optstring_ascii' />
    <field fkey='campaign_settlement_display_building_model_ids_tables.key' name='model_id' type='string_ascii' />
    <field name='is_blockaded' type='boolean' />
    <field name='is_sieged' type='boolean' />
    <field name='is_slum' type='boolean' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='campaign_settlement_display_buildings_enums_tables.type' name='state' type='optstring_ascii' />
    <field name='destruction_additional_model' type='optstring_ascii' />
    <field name='destruction_override_model' type='optstring_ascii' />
    <field name='construction_additional_model' type='optstring_ascii' />
    <field name='construction_override_model' type='optstring_ascii' />
  </table>
  <table table_name='campaign_settlement_display_buildings_tables'
         table_version='4' >
    <field fkey='campaign_settlement_display_building_model_ids_tables.id' name='model_id' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='building_bmd' type='optstring_ascii' />
    <field name='port_bmd' type='optstring_ascii' />
    <field name='construction_bmd' type='optstring_ascii' />
    <field name='damaged_bmd' type='optstring_ascii' />
    <field name='destroyed_bmd' type='optstring_ascii' />
    <field name='port_construction_bmd' type='optstring_ascii' />
  </table>
  <table table_name='campaign_settlement_display_buildings_tables'
         table_version='6' >
    <field fkey='campaign_settlement_display_building_model_ids_tables.id' name='model_id' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='building_bmd' type='optstring_ascii' />
    <field name='port_bmd' type='optstring_ascii' />
    <field name='construction_bmd' type='optstring_ascii' />
    <field name='damaged_bmd' type='optstring_ascii' />
    <field name='destroyed_bmd' type='optstring_ascii' />
    <field name='port_construction_bmd' type='optstring_ascii' />
    <field name='port_walled_bmd' type='optstring_ascii' />
    <field name='wall_bmd' type='optstring_ascii' />
  </table>
  <table table_name='campaign_settlement_display_buildings_tables'
         table_version='7' >
    <field fkey='campaign_settlement_display_building_model_ids_tables.id' name='model_id' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='building_bmd' type='optstring_ascii' />
    <field name='port_bmd' type='optstring_ascii' />
    <field name='construction_bmd' type='optstring_ascii' />
    <field name='damaged_bmd' type='optstring_ascii' />
    <field name='destroyed_bmd' type='optstring_ascii' />
    <field name='port_construction_bmd' type='optstring_ascii' />
    <field name='port_walled_bmd' type='optstring_ascii' />
    <field name='wall_bmd' type='optstring_ascii' />
    <field name='on_sea_bmd' type='optstring_ascii' />
  </table>
  <table table_name='campaign_settlement_display_construction_model_ids_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_settlement_display_settlement_rotations_tables'
         table_version='1' >
    <field fkey='campaign_map_settlements_tables.settlement_id' name='settlement' type='string_ascii' pk='true' />
    <field name='rotation' type='float' />
  </table>
  <table table_name='campaign_settlement_display_siege_item_ids_tables'
         table_version='0' >
    <field fkey='battlefield_deployable_siege_items_tables.key' name='battlefield_deployable_siege_item' type='string_ascii' pk='true' />
    <field fkey='campaign_settlement_display_sprawl_pieces_tables.key' name='sprawl_piece' type='string_ascii' />
  </table>
  <table table_name='campaign_settlement_display_sprawl_pieces_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_stance_effects_junctions_tables'
         table_version='1' >
    <field fkey='campaign_stances_tables.key' name='stance' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='campaign_stance_effects_junctions_tables'
         table_version='2' >
    <field fkey='campaign_stances_tables.key' name='stance' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='is_horde' type='boolean' pk='true' />
  </table>
  <table table_name='campaign_stance_effects_junctions_tables'
         table_version='3' >
    <field fkey='campaign_stances_tables.key' name='stance' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field fkey='military_force_types_tables.key' name='force_type' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='campaign_stances_composite_scenes_tables'
         table_version='1' >
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='string_ascii' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
    <field fkey='campaign_stances_tables.key' name='stance' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_stances_factions_junctions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='campaign_stances_tables.key' name='stance' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_stances_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_statistics_categories_tables'
         table_version='0' >
    <field name='category_order' type='int' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_statistics_strings_tables'
         table_version='0' >
    <field fkey='campaign_statistics_enums_tables.key' name='campaign_statistic' type='string_ascii' pk='true' />
    <field fkey='campaign_statistics_categories_tables.key' name='campaign_statistic_category' type='string_ascii' />
    <field name='statistic_order' type='int' />
  </table>
  <table table_name='campaign_storm_types_tables'
         table_version='1' >
    <field name='type' type='string_ascii' pk='true' />
    <field name='can_decay' type='boolean' />
    <field name='can_move' type='boolean' />
    <field name='for_land' type='boolean' />
    <field name='for_sea' type='boolean' />
    <field name='can_spawn_over_character' type='boolean' />
    <field name='respect_excluded_regions_table' type='boolean' />
  </table>
  <table table_name='campaign_storms_excluded_regions_tables'
         table_version='0' >
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_storms_tables'
         table_version='3' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition' type='string_ascii' />
    <field name='strength' type='int' pk='true' />
    <field name='key' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='tiling_composite_scene' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='string_ascii' />
  </table>
  <table table_name='campaign_storms_tables'
         table_version='4' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition' type='string_ascii' />
    <field name='strength' type='int' pk='true' />
    <field name='key' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='tiling_composite_scene' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='string_ascii' />
    <field name='unknown5' type='boolean' />
  </table>
    <table table_name='campaign_storms_tables'
         table_version='5' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition' type='string_ascii' />
    <field name='strength' type='int' pk='true' />
    <field name='key' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='tiling_composite_scene' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='string_ascii' />
    <field fkey='campaign_storm_types_tables.type' name='type' type='string_ascii' pk='true'/>
  </table>
  <table table_name='campaign_string_variables_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='string_ascii' />
  </table>
  <table table_name='campaign_subject_evolution_links_tables'
         table_version='0' >
    <field fkey='campaign_subject_evolutions_tables.key' name='child' type='string_ascii' pk='true' />
    <field fkey='campaign_subject_evolutions_tables.key' name='parent' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_subject_evolutions_tables'
         table_version='0' >
    <field fkey='campaign_subject_messages_tables.key' name='arrival_message' type='optstring_ascii' />
    <field fkey='campaign_subjects_tables.key' name='campaign_subject_key' type='string_ascii' />
    <field fkey='campaign_subject_messages_tables.key' name='departure_message' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle_key' type='string_ascii' />
    <field fkey='campaign_subject_strings_tables.key' name='flavour_text' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_turns' type='int' />
    <field name='min_turns' type='int' />
    <field name='weighting' type='float' />
  </table>
  <table table_name='campaign_subject_evolutions_tables'
         table_version='1' >
    <field fkey='campaign_subjects_tables.key' name='campaign_subject_key' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle_key' type='string_ascii' />
    <field fkey='campaign_subject_strings_tables.key' name='flavour_text' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_turns' type='int' />
    <field name='min_turns' type='int' />
    <field name='weighting' type='float' />
  </table>
  <table table_name='campaign_subject_faction_restriction_junctions_tables'
         table_version='0' >
    <field fkey='campaign_subjects_tables.key' name='campaign_subject_key' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_subject_messages_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='message_events_tables.event' name='message_type' type='string_ascii' />
  </table>
  <table table_name='campaign_subject_strings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_subjects_tables'
         table_version='0' >
    <field fkey='campaign_subject_strings_tables.key' name='flavour_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='male' type='boolean' />
    <field fkey='campaign_subject_strings_tables.key' name='optional_name' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='optional_name_source_faction' type='optstring_ascii' />
    <field name='ui_image' type='string_ascii' />
  </table>
  <table table_name='campaign_subjects_tables'
         table_version='1' >
    <field fkey='campaign_subject_strings_tables.key' name='flavour_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='male' type='boolean' />
    <field fkey='campaign_subject_strings_tables.key' name='optional_name' type='optstring_ascii' />
    <field name='ui_image' type='string_ascii' />
  </table>
  <table table_name='campaign_tree_ids_tables'
         table_version='2' >
    <field name='colour_b' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_r' type='int' />
    <field name='tree_id' type='string_ascii' pk='true' />
    <field name='can_be_removed' type='boolean' />
    <field name='season' type='string_ascii' />
  </table>
  <table table_name='campaign_tree_type_cultures_tables'
         table_version='1' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='campaign_tree_types_tables.tree_type' name='tree_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_tree_types_tables'
         table_version='0' >
    <field name='tree_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_tree_variants_tables'
         table_version='2' >
    <field fkey='campaign_tree_ids_tables.tree_id' name='tree_id' type='string_ascii' pk='true' />
    <field name='tree_rigid' type='string_ascii' />
    <field fkey='campaign_tree_types_tables.tree_type' name='tree_type' type='string_ascii' pk='true' />
    <field fkey='audio_campaign_tree_types_tables.key' name='tree_audio' type='optstring_ascii' />
  </table>
  <table table_name='campaign_tunnelling_excluded_regions_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_unit_art_set_junctions_tables'
         table_version='0' >
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='string' pk='true' />
    <field fkey='units_tables.key' name='unit_key' type='string' pk='true' />
  </table>
  <table table_name='campaign_unit_stat_bonuses_tables'
         table_version='1' >
    <field name='bonus' type='string_ascii' pk='true' />
    <field name='icon_path' type='string_ascii' />
    <field name='level' type='int' pk='true' />
    <field name='threshold' type='int' />
    <field name='upgrade_cost_new' type='int' />
    <field name='upgrade_cost_from_previous_level' type='int' />
  </table>
  <table table_name='campaign_variables_tables'
         table_version='0' >
    <field name='variable_key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='campaign_variables_tables'
         table_version='0' >
    <field name='variable_key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='campaign_vfx_descriptions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='vfx' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='z_offset' type='float' />
  </table>
  <table table_name='campaign_vfx_descriptions_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='vfx' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='z_offset' type='float' />
    <field name='one_shot' type='boolean' />
  </table>
  <table table_name='campaign_vfx_lookups_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_filter' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='culture_filter' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_filter' type='optstring_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='campaign_vfx_descriptions_tables.key' name='vfx_description' type='string_ascii' />
    <field name='vfx_event' type='string_ascii' />
  </table>
  <table table_name='campaign_videos_tables'
         table_version='0' >
    <field name='campaign_locked' type='boolean' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field name='sort' type='int' />
    <field name='still_path' type='string_ascii' />
    <field fkey='videos_tables.video_name' name='video_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='campaign_walk_anim_sets_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='anim_reference_poses_tables.key' name='reference_pose' type='string' />
    <field name='pre_step_to' type='string' />
    <field name='step_to' type='string' />
    <field name='post_step_to' type='string' />
    <field name='pre_stand_to_walk' type='string' />
    <field name='stand_to_walk' type='string' />
    <field name='stand_to_walk_distance' type='float' />
    <field name='walk' type='string' />
    <field name='walk_distance' type='float' />
    <field name='walk_to_stand' type='string' />
    <field name='mid_walk_to_stand' type='string' />
    <field name='walk_to_stand_distance' type='float' />
    <field name='post_walk_to_stand' type='string' />
    <field name='post_mid_walk_to_stand' type='string' />
  </table>
  <table table_name='campaign_walk_anim_sets_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='anim_reference_poses_tables.key' name='reference_pose' type='string_ascii' />
    <field name='pre_step_to' type='string_ascii' />
    <field name='step_to' type='string_ascii' />
    <field name='post_step_to' type='string_ascii' />
    <field name='pre_stand_to_walk' type='string_ascii' />
    <field name='stand_to_walk' type='string_ascii' />
    <field name='stand_to_walk_distance' type='float' />
    <field name='walk' type='string_ascii' />
    <field name='walk_distance' type='float' />
    <field name='walk_to_stand' type='string_ascii' />
    <field name='mid_walk_to_stand' type='string_ascii' />
    <field name='walk_to_stand_distance' type='float' />
    <field name='post_walk_to_stand' type='string_ascii' />
    <field name='post_mid_walk_to_stand' type='string_ascii' />
  </table>
  <table table_name='campaign_walk_anim_sets_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='anim_reference_poses_tables.key' name='reference_pose' type='string' />
    <field name='pre_step_to' type='string' />
    <field name='step_to' type='string' />
    <field name='post_step_to' type='string' />
    <field name='pre_stand_to_walk' type='string' />
    <field name='stand_to_walk' type='string' />
    <field name='stand_to_walk_distance' type='float' />
    <field name='walk' type='string' />
    <field name='walk_distance' type='float' />
    <field name='walk_to_stand' type='string' />
    <field name='mid_walk_to_stand' type='string' />
    <field name='walk_to_stand_distance' type='float' />
    <field name='post_walk_to_stand' type='string' />
    <field name='post_mid_walk_to_stand' type='string' />
    <field name='mid_walk_to_stand_distance' type='float' />
  </table>
  <table table_name='campaigns_campaign_variables_junctions_tables'
         table_version='0' >
    <field fkey='campaign_variables_tables.variable_key' name='variable_key' type='string' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_name' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='campaigns_campaign_variables_junctions_tables'
         table_version='2' >
    <field fkey='campaign_variables_tables.variable_key' name='variable_key' type='string' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_name' type='string' pk='true' />
    <field name='value' type='float' />
    <field name='optional_difficulty_level' type='optstring' pk='true' />
    <field name='optional_campaign_type' type='optstring' pk='true' />
  </table>
  <table table_name='campaigns_campaign_variables_junctions_tables'
         table_version='2' >
    <field fkey='campaign_variables_tables.variable_key' name='variable_key' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_name' type='string_ascii' pk='true' />
    <field name='value' type='float' />
    <field name='optional_difficulty_level' type='optstring_ascii' pk='true' />
    <field name='optional_campaign_type' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='campaigns_tables'
         table_version='5' >
    <field name='campaign_name' type='string_ascii' pk='true' />
    <field fkey='campaign_maps_tables.mapname' name='map_name' type='string_ascii' />
    <field name='is_grand' type='boolean' />
    <field name='campaign_order' type='int' />
    <field name='bullet_list' type='optstring_ascii' />
    <field name='display_location' type='optstring_ascii' />
    <field name='is_tutorial' type='boolean' />
    <field name='banner_image' type='optstring_ascii' />
    <field name='banner_icon' type='optstring_ascii' />
    <field name='available_for_mp' type='boolean' />
    <field name='mp_sort_order' type='int' />
  </table>
  <table table_name='capture_point_types_tables'
         table_version='0' >
    <field name='icon_name' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='capture_point_types_tables'
         table_version='1' >
    <field name='icon_name' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='visibility_spotting_range' type='int' />
  </table>
  <table table_name='cdir_army_template_ratios_tables'
         table_version='0' >
    <field name='ratio' type='int' />
    <field name='template_key' type='string_ascii' pk='true' />
    <field name='group_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_campaign_junctions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring' />
  </table>
  <table table_name='cdir_campaign_junctions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' />
  </table>
  <table table_name='cdir_configs_tables'
         table_version='0' >
    <field fkey='cdir_campaign_junctions_tables.key' name='campaign_key' type='string' pk='true' />
    <field fkey='cdir_faction_junctions_tables.key' name='faction_key' type='optstring' pk='true' />
    <field fkey='cdir_config_values_tables.key' name='cdir_config_key' type='string' pk='true' />
    <field name='value' type='optstring' />
  </table>
  <table table_name='cdir_configs_tables'
         table_version='0' >
    <field fkey='cdir_campaign_junctions_tables.key' name='campaign_key' type='string_ascii' pk='true' />
    <field fkey='cdir_faction_junctions_tables.key' name='faction_key' type='optstring_ascii' pk='true' />
    <field fkey='cdir_config_values_tables.key' name='cdir_config_key' type='string_ascii' pk='true' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_desire_priorities_tables'
         table_version='0' >
    <field fkey='cdir_campaign_junctions_tables.key' name='campaign_key' type='string' pk='true' />
    <field fkey='cdir_desires_tables.key' name='desire_key' type='string' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='cdir_desire_priorities_tables'
         table_version='0' >
    <field fkey='cdir_campaign_junctions_tables.key' name='campaign_key' type='string_ascii' pk='true' />
    <field fkey='cdir_desires_tables.key' name='desire_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='cdir_events_categories_tables'
         table_version='0' >
    <field name='category_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_dilemma_choice_details_tables'
         table_version='0' >
    <field fkey='cdir_events_dilemma_choices_tables.choice_key' name='choice_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_dilemma_followup_dilemmas_tables'
         table_version='0' >
    <field fkey='cdir_events_dilemma_choices_tables.choice_key' name='choice_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='followup_dilemma_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_dilemma_followup_missions_tables'
         table_version='0' >
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' pk='true' />
    <field fkey='cdir_events_dilemma_choices_tables.choice_key' name='choice_key' type='string_ascii' pk='true' />
    <field fkey='missions_tables.key' name='followup_mission_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_dilemma_incidents_tables'
         table_version='0' >
    <field fkey='cdir_events_dilemma_choices_tables.choice_key' name='choice_key' type='string' pk='true' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string' pk='true' />
    <field fkey='incidents_tables.key' name='incident_key' type='string' pk='true' />
  </table>
  <table table_name='cdir_events_dilemma_incidents_tables'
         table_version='0' >
    <field fkey='cdir_events_dilemma_choices_tables.choice_key' name='choice_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' pk='true' />
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_dilemma_option_junctions_tables'
         table_version='1' >
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='cdir_events_dilemma_options_tables.option_key' name='option_key' type='string' />
    <field name='value' type='optstring' />
  </table>
  <table table_name='cdir_events_dilemma_option_junctions_tables'
         table_version='1' >
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='cdir_events_dilemma_options_tables.option_key' name='option_key' type='string_ascii' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_events_dilemma_option_junctions_tables'
         table_version='2' >
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='cdir_events_dilemma_options_tables.option_key' name='option_key' type='string_ascii' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_events_dilemma_payloads_tables'
         table_version='2' >
    <field fkey='cdir_events_dilemma_choices_tables.choice_key' name='choice_key' type='string' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='cdir_events_payloads_tables.payload_key' name='payload_key' type='string' />
    <field name='value' type='optstring' />
  </table>
  <table table_name='cdir_events_dilemma_payloads_tables'
         table_version='2' >
    <field fkey='cdir_events_dilemma_choices_tables.choice_key' name='choice_key' type='string_ascii' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='cdir_events_payloads_tables.payload_key' name='payload_key' type='string_ascii' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_events_incident_followup_dilemmas_tables'
         table_version='0' >
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='followup_dliemma_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_incident_followup_incidents_tables'
         table_version='0' >
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' pk='true' />
    <field fkey='incidents_tables.key' name='followup_incident_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_incident_followup_missions_tables'
         table_version='0' >
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' pk='true' />
    <field fkey='missions_tables.key' name='followup_mission_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_incident_option_junctions_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='incidents_tables.key' name='incident_key' type='string' />
    <field fkey='cdir_events_incident_options_tables.option_key' name='option_key' type='string' />
    <field name='value' type='optstring' />
  </table>
  <table table_name='cdir_events_incident_option_junctions_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' />
    <field fkey='cdir_events_incident_options_tables.option_key' name='option_key' type='string_ascii' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_events_incident_option_junctions_tables'
         table_version='2' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' />
    <field fkey='cdir_events_options_tables.option_key' name='option_key' type='string_ascii' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_events_incident_payloads_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='float' />
    <field fkey='incidents_tables.key' name='incident_key' type='string' />
    <field fkey='cdir_events_payloads_tables.payload_key' name='payload_key' type='string' />
    <field name='value' type='string' />
  </table>
  <table table_name='cdir_events_incident_payloads_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' />
    <field fkey='cdir_events_payloads_tables.payload_key' name='payload_key' type='string_ascii' />
    <field name='value' type='string_ascii' />
  </table>
  <table table_name='cdir_events_incident_payloads_tables'
         table_version='2' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' />
    <field fkey='cdir_events_payloads_tables.payload_key' name='payload_key' type='string_ascii' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_events_mission_followup_dilemmas_tables'
         table_version='0' >
    <field fkey='missions_tables.key' name='mission_key' type='string_ascii' pk='true' />
    <field fkey='cdir_events_mission_statuses_tables.status_key' name='status_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='followup_dilemma_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_mission_followup_missions_tables'
         table_version='0' >
    <field fkey='mission_tables.key' name='mission_key' type='string_ascii' pk='true' />
    <field fkey='cdir_events_mission_statuses_tables.status_key' name='status_key' type='string_ascii' pk='true' />
    <field fkey='missions_tables.key' name='followup_mission_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_mission_incidents_tables'
         table_version='0' >
    <field fkey='incidents_tables.key' name='incident_key' type='string' pk='true' />
    <field fkey='missions_tables.key' name='mission_key' type='string' pk='true' />
    <field fkey='cdir_events_mission_statuses_tables.status_key' name='status_key' type='string' pk='true' />
  </table>
  <table table_name='cdir_events_mission_incidents_tables'
         table_version='0' >
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' pk='true' />
    <field fkey='missions_tables.key' name='mission_key' type='string_ascii' pk='true' />
    <field fkey='cdir_events_mission_statuses_tables.status_key' name='status_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_mission_issuer_junctions_tables'
         table_version='0' >
    <field fkey='mission_issuers_tables.issuer_key' name='issuer_key' type='string' pk='true' />
    <field fkey='missions_tables.key' name='mission_key' type='string' pk='true' />
  </table>
  <table table_name='cdir_events_mission_issuer_junctions_tables'
         table_version='0' >
    <field fkey='mission_issuers_tables.issuer_key' name='issuer_key' type='string_ascii' pk='true' />
    <field fkey='missions_tables.key' name='mission_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_mission_option_junctions_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='missions_tables.key' name='mission_key' type='string' />
    <field fkey='cdir_events_mission_options_tables.option_key' name='option_key' type='string' />
    <field name='value' type='optstring' />
  </table>
  <table table_name='cdir_events_mission_option_junctions_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='missions_tables.key' name='mission_key' type='string_ascii' />
    <field fkey='cdir_events_mission_options_tables.option_key' name='option_key' type='string_ascii' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_events_mission_option_junctions_tables'
         table_version='2' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='missions_tables.key' name='mission_key' type='string_ascii' />
    <field fkey='cdir_events_options_tables.option_key' name='option_key' type='string_ascii' />
    <field name='value' type='optstring_ascii' />
  </table>
  <table table_name='cdir_events_mission_payloads_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='missions_tables.key' name='mission_key' type='string' />
    <field fkey='cdir_events_payloads_tables.payload_key' name='payload_key' type='string' />
    <field fkey='cdir_events_mission_statuses_tables.status_key' name='status_key' type='string' />
    <field name='value' type='string' />
  </table>
  <table table_name='cdir_events_mission_payloads_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='missions_tables.key' name='mission_key' type='string_ascii' />
    <field fkey='cdir_events_payloads_tables.payload_key' name='payload_key' type='string_ascii' />
    <field fkey='cdir_events_mission_statuses_tables.status_key' name='status_key' type='string_ascii' />
    <field name='value' type='string_ascii' />
  </table>
  <table table_name='cdir_events_options_tables'
         table_version='0' >
    <field name='notes' type='string_ascii' />
    <field name='option_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_events_payloads_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle_key' type='optstring' />
    <field name='payload_key' type='string' pk='true' />
  </table>
  <table table_name='cdir_events_payloads_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle_key' type='optstring_ascii' />
    <field name='payload_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_faction_junctions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring' />
  </table>
  <table table_name='cdir_faction_junctions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
  </table>
  <table table_name='cdir_military_generator_configs_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_military_generator_template_priorities_tables'
         table_version='0' >
    <field fkey='cdir_military_generator_configs_tables.key' name='config_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
    <field fkey='cdir_military_generator_templates_tables.key' name='template_key' type='string_ascii' pk='true' />
  </table>
    <table table_name='cdir_military_generator_template_priorities_tables'
         table_version='1' >
    <field fkey='cdir_military_generator_configs_tables.key' name='config_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
    <field fkey='cdir_military_generator_templates_tables.key' name='template_key' type='string_ascii' pk='true' />
    <field name='leader_only' type='boolean' />
  </table>
  <table table_name='cdir_military_generator_template_ratios_tables'
         table_version='0' >
    <field name='ratio' type='int' />
    <field fkey='cdir_military_generator_templates_tables.key' name='template_key' type='string_ascii' pk='true' />
    <field fkey='cdir_military_generator_unit_groups_tables.key' name='unit_group_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_military_generator_templates_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_military_generator_unit_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_military_generator_unit_qualities_tables'
         table_version='1' >
    <field fkey='cdir_military_generator_unit_groups_tables.key' name='group_key' type='string_ascii' pk='true' />
    <field name='quality' type='int' />
    <field fkey='main_units_tables.unit' name='unit_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='cdir_unit_balance_group_qualities_tables'
         table_version='0' >
    <field fkey='cdir_unit_balance_configs_tables.key' name='config_key' type='string' pk='true' />
    <field fkey='cdir_unit_balance_groups_tables.key' name='group_key' type='string' pk='true' />
    <field fkey='cdir_unit_quality_groups_tables.key' name='quality_group_key' type='string' pk='true' />
    <field name='quality' type='int' />
  </table>
  <table table_name='cdir_unit_balance_group_qualities_tables'
         table_version='0' >
    <field fkey='cdir_unit_balance_configs_tables.key' name='config_key' type='string_ascii' pk='true' />
    <field fkey='cdir_unit_balance_groups_tables.key' name='group_key' type='string_ascii' pk='true' />
    <field fkey='cdir_unit_quality_groups_tables.key' name='quality_group_key' type='string_ascii' pk='true' />
    <field name='quality' type='int' />
  </table>
  <table table_name='cdir_unit_balance_groups_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='army' type='boolean' />
  </table>
  <table table_name='cdir_unit_balance_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='army' type='boolean' />
  </table>
  <table table_name='cdir_unit_balance_template_junctions_tables'
         table_version='0' >
    <field fkey='cdir_unit_balance_configs_tables.key' name='config_key' type='string' pk='true' />
    <field fkey='cdir_unit_balance_templates_tables.template_key' name='template_key' type='string' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='cdir_unit_balance_template_junctions_tables'
         table_version='0' >
    <field fkey='cdir_unit_balance_configs_tables.key' name='config_key' type='string_ascii' pk='true' />
    <field fkey='cdir_unit_balance_templates_tables.template_key' name='template_key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='cdir_unit_balances_tables'
         table_version='1' >
    <field fkey='cdir_unit_balance_templates_tables.template_key' name='template_key' type='string' pk='true' />
    <field name='min_units' type='int' pk='true' />
    <field name='max_units' type='int' pk='true' />
    <field fkey='cdir_unit_balance_groups_tables.key' name='group_key' type='string' pk='true' />
    <field name='ideal_pct' type='float' />
    <field name='variance' type='float' />
    <field name='min_required' type='int' />
  </table>
  <table table_name='cdir_unit_balances_tables'
         table_version='2' >
    <field fkey='cdir_unit_balance_templates_tables.template_key' name='template_key' type='string' pk='true' />
    <field name='min_units' type='int' pk='true' />
    <field name='max_units' type='int' pk='true' />
    <field fkey='cdir_unit_balance_groups_tables.key' name='group_key' type='string' pk='true' />
    <field name='ideal_pct' type='float' />
    <field name='variance' type='float' />
    <field name='min_required' type='int' />
  </table>
  <table table_name='cdir_unit_balances_tables'
         table_version='2' >
    <field fkey='cdir_unit_balance_templates_tables.template_key' name='template_key' type='string_ascii' pk='true' />
    <field name='min_units' type='int' pk='true' />
    <field name='max_units' type='int' pk='true' />
    <field fkey='cdir_unit_balance_groups_tables.key' name='group_key' type='string_ascii' pk='true' />
    <field name='ideal_pct' type='float' />
    <field name='variance' type='float' />
    <field name='min_required' type='int' />
  </table>
  <table table_name='cdir_unit_qualities_tables'
         table_version='0' >
    <field fkey='cdir_unit_quality_configs_tables.key' name='config_key' type='string' pk='true' />
    <field fkey='cdir_unit_quality_groups_tables.key' name='group_key' type='string' pk='true' />
    <field fkey='units_tables.key' name='unit_key' type='string' pk='true' />
    <field name='quality' type='int' />
  </table>
  <table table_name='cdir_unit_qualities_tables'
         table_version='0' >
    <field fkey='cdir_unit_quality_configs_tables.key' name='config_key' type='string_ascii' pk='true' />
    <field fkey='cdir_unit_quality_groups_tables.key' name='group_key' type='string_ascii' pk='true' />
    <field fkey='units_tables.key' name='unit_key' type='string_ascii' pk='true' />
    <field name='quality' type='int' />
  </table>
  <table table_name='centralised_upgrade_building_level_junctions_tables'
         table_version='1' >
    <field fkey='building_levels_tables.level_name' name='upgraded_building_level' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='central_building_level' type='string_ascii' />
    <field name='priority' type='int' pk='true' />
  </table>
  <table table_name='character_experience_skill_tiers_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_key' type='string' pk='true' />
    <field name='experience_threshold' type='int' />
    <field name='skill_points' type='int' />
    <field name='skill_tier_level' type='int' pk='true' />
  </table>
  <table table_name='character_experience_skill_tiers_tables'
         table_version='1' >
    <field fkey='agents_tables.key' name='agent_key' type='string' pk='true' />
    <field name='experience_threshold' type='int' />
    <field name='skill_points' type='int' />
    <field name='skill_tier_level' type='int' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring' pk='true' />
  </table>
  <table table_name='character_experience_skill_tiers_tables'
         table_version='2' >
    <field fkey='agents_tables.key' name='agent_key' type='optstring_ascii' pk='true' />
    <field name='experience_threshold' type='int' />
    <field name='skill_points' type='int' />
    <field name='skill_rank' type='int' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' pk='true' />
    <field name='for_army' type='boolean' pk='true' />
    <field name='for_navy' type='boolean' pk='true' />
  </table>
  <table table_name='character_skill_categories_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_incident' type='int' />
    <field name='min_incident' type='int' />
    <field name='order' type='int' />
    <field name='col_r' type='int' />
    <field name='col_g' type='int' />
    <field name='col_b' type='int' />
  </table>
  <table table_name='character_skill_categories_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_incident' type='int' />
    <field name='min_incident' type='int' />
    <field name='order' type='int' />
    <field name='col_r' type='int' />
    <field name='col_g' type='int' />
    <field name='col_b' type='int' />
    <field fkey='agent_subtypes_tables.key' name='agent_subtype_override' type='optstring_ascii' />
  </table>
  <table table_name='character_skill_level_details_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' pk='true' />
    <field name='image_path' type='string_ascii' />
    <field name='level' type='int' pk='true' />
    <field fkey='character_skills_tables.key' name='skill_key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='optstring_ascii' pk='true' />
    <field name='unlocked_at_rank' type='int' />
  </table>
  <table table_name='character_skill_level_to_ancillaries_junctions_tables'
         table_version='1' >
    <field fkey='ancillaries_tables.key' name='granted_ancillary' type='string_ascii' pk='true' />
    <field fkey='character_skills_tables.key' name='skill' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
  </table>
  <table table_name='character_skill_level_to_dilemmas_junctions_tables'
         table_version='0' >
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
  </table>
  <table table_name='character_skill_level_to_dilemmas_junctions_tables'
         table_version='1' >
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
    <field name='random_selection' type='boolean' />
  </table>
  <table table_name='character_skill_level_to_effects_junctions_tables'
         table_version='0' >
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect_key' type='string' pk='true' />
    <field name='level' type='int' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='character_skill_level_to_effects_junctions_tables'
         table_version='1' >
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect_key' type='string' pk='true' />
    <field name='level' type='int' pk='true' />
    <field name='value' type='float' />
    <field name='is_factionwide' type='boolean' />
  </table>
  <table table_name='character_skill_level_to_effects_junctions_tables'
         table_version='1' >
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect_key' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='level' type='int' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='character_skill_level_to_incidents_junctions_tables'
         table_version='0' >
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string_ascii' pk='true' />
    <field fkey='incidents_tables.key' name='incident_key' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
  </table>
  <table table_name='character_skill_level_to_missions_junctions_tables'
         table_version='0' >
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
    <field fkey='missions_tables.key' name='mission_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='character_skill_node_ancillary_locks_tables'
         table_version='0' >
    <field fkey='ancillaries_tables.key' name='ancillary_lock' type='string_ascii' pk='true' />
    <field fkey='character_skill_nodes_tables.key' name='character_skill_node' type='string_ascii' pk='true' />
  </table>
  <table table_name='character_skill_node_link_types_tables'
         table_version='0' >
    <field name='link_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='character_skill_node_links_tables'
         table_version='1' >
    <field fkey='character_skill_nodes_tables.key' name='child_key' type='string' pk='true' />
    <field name='initial_descent_tiers' type='int' />
    <field fkey='character_skill_nodes_tables.key' name='parent_key' type='string' pk='true' />
    <field name='parent_link_position' type='int' />
    <field name='child_link_position' type='int' />
  </table>
  <table table_name='character_skill_node_links_tables'
         table_version='1' >
    <field fkey='character_skill_nodes_tables.key' name='child_key' type='string_ascii' pk='true' />
    <field name='initial_descent_tiers' type='int' />
    <field fkey='character_skill_nodes_tables.key' name='parent_key' type='string_ascii' pk='true' />
    <field name='parent_link_position' type='int' />
    <field name='child_link_position' type='int' />
  </table>
  <table table_name='character_skill_node_links_tables'
         table_version='2' >
    <field fkey='character_skill_nodes_tables.key' name='child_key' type='string_ascii' pk='true' />
    <field name='initial_descent_tiers' type='int' />
    <field fkey='character_skill_nodes_tables.key' name='parent_key' type='string_ascii' pk='true' />
    <field name='parent_link_position' type='int' />
    <field name='child_link_position' type='int' />
    <field name='parent_link_position_offset' type='float' />
    <field name='child_link_position_offset' type='float' />
  </table>
  <table table_name='character_skill_node_links_tables'
         table_version='3' >
    <field fkey='character_skill_nodes_tables.key' name='child_key' type='string_ascii' pk='true' />
    <field name='initial_descent_tiers' type='int' />
    <field fkey='character_skill_nodes_tables.key' name='parent_key' type='string_ascii' pk='true' />
    <field name='parent_link_position' type='int' />
    <field name='child_link_position' type='int' />
    <field name='parent_link_position_offset' type='float' />
    <field name='child_link_position_offset' type='float' />
    <field fkey='character_skill_node_link_types_tables.link_type' name='link_type' type='string_ascii' />
  </table>
  <table table_name='character_skill_node_sets_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_key' type='optstring' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='character_skill_node_sets_tables'
         table_version='1' >
    <field fkey='agents_tables.key' name='agent_key' type='optstring_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field name='for_army' type='boolean' />
    <field name='for_navy' type='boolean' />
  </table>
  <table table_name='character_skill_node_sets_tables'
         table_version='2' >
    <field fkey='agents_tables.key' name='agent_key' type='optstring_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field name='for_army' type='boolean' />
    <field name='for_navy' type='boolean' />
    <field fkey='agent_subtypes_tables.key' name='agent_subtype_key' type='optstring_ascii' />
  </table>
  <table table_name='character_skill_nodes_skill_locks_tables'
         table_version='0' >
    <field fkey='character_skills_tables.key' name='character_skill' type='string_ascii' pk='true' />
    <field fkey='character_skill_nodes_tables.key' name='character_skill_node' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
  </table>
  <table table_name='character_skill_nodes_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring' />
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string' />
    <field fkey='character_skill_node_sets_tables.key' name='character_skill_node_set_key' type='string' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring' />
    <field name='indent' type='int' />
    <field name='key' type='string' pk='true' />
    <field name='tier' type='int' />
  </table>
  <table table_name='character_skill_nodes_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string_ascii' />
    <field fkey='character_skill_node_sets_tables.key' name='character_skill_node_set_key' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='indent' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='tier' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
  </table>
  <table table_name='character_skill_nodes_tables'
         table_version='3' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string_ascii' />
    <field fkey='character_skill_node_sets_tables.key' name='character_skill_node_set_key' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='indent' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='tier' type='float' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field name='points_on_creation' type='int' />
  </table>
  <table table_name='character_skill_nodes_tables'
         table_version='5' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='character_skills_tables.key' name='character_skill_key' type='string_ascii' />
    <field fkey='character_skill_node_sets_tables.key' name='character_skill_node_set_key' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='indent' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='tier' type='float' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field name='points_on_creation' type='int' />
    <field name='required_num_parents' type='int' />
    <field name='visible_in_ui' type='boolean' />
  </table>
  <table table_name='character_skill_utilization_hints_junctions_tables'
         table_version='0' >
    <field fkey='character_skill_utilization_hints_tables.key' name='hint' type='string_ascii' pk='true' />
    <field fkey='character_skills_tables.key' name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='character_skill_utilization_hints_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='character_skills_tables'
         table_version='1' >
    <field name='image_path' type='string' />
    <field name='key' type='string' pk='true' />
    <field name='localised_description' type='string' />
    <field name='localised_name' type='string' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='optstring' />
  </table>
  <table table_name='character_skills_tables'
         table_version='3' >
    <field name='image_path' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_name' type='string_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='optstring_ascii' />
    <field name='unlocked_at_rank' type='int' />
    <field name='is_background_skill' type='boolean' />
    <field name='is_female_only_background_skill' type='boolean' />
    <field name='is_male_only_background_skill' type='boolean' />
    <field name='background_weighting' type='float' />
  </table>
  <table table_name='character_skills_tables'
         table_version='4' >
    <field name='image_path' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_name' type='string_ascii' />
    <field name='unlocked_at_rank' type='int' />
    <field name='is_background_skill' type='boolean' />
    <field name='is_female_only_background_skill' type='boolean' />
    <field name='is_male_only_background_skill' type='boolean' />
    <field name='background_weighting' type='float' />
  </table>
  <table table_name='character_skills_tables'
         table_version='5' >
    <field name='image_path' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_name' type='string_ascii' />
    <field name='unlocked_at_rank' type='int' />
    <field name='is_background_skill' type='boolean' />
    <field name='is_female_only_background_skill' type='boolean' />
    <field name='is_male_only_background_skill' type='boolean' />
    <field name='background_weighting' type='float' />
    <field name='influence_cost' type='int' />
  </table>
  <table table_name='character_skills_to_quest_ancillaries_tables'
         table_version='1' >
    <field fkey='ancillaries_tables.key' name='ancillary' type='string_ascii' pk='true' />
    <field fkey='character_skills_tables.key' name='skill' type='string_ascii' pk='true' />
    <field name='use_quest_for_prefix' type='boolean' />
  </table>
  <table table_name='character_trait_levels_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='level' type='int' />
    <field fkey='character_traits_tables.key' name='trait' type='string' />
    <field name='threshold_points' type='int' />
  </table>
  <table table_name='character_trait_levels_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='level' type='int' />
    <field fkey='trait_info_tables.trait' name='trait' type='string_ascii' />
    <field name='threshold_points' type='int' />
  </table>
  <table table_name='character_trait_levels_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='level' type='int' />
    <field fkey='trait_info_tables.trait' name='trait' type='string_ascii' />
    <field name='threshold_points' type='int' />
    <field fkey='technologies_tables.key' name='enabled_by_tech' type='optstring_ascii' />
  </table>
  <table table_name='character_traits_tables'
         table_version='0' >
    <field fkey='trait_info_tables.trait' name='key' type='string' pk='true' />
    <field name='no_going_back_level' type='int' />
    <field name='hidden' type='boolean' />
    <field name='precedence' type='int' />
    <field fkey='trait_categories_tables.category' name='icon' type='string' />
  </table>
  <table table_name='character_traits_tables'
         table_version='1' >
    <field fkey='trait_info_tables.trait' name='key' type='string' pk='true' />
    <field name='no_going_back_level' type='int' />
    <field name='hidden' type='boolean' />
    <field name='precedence' type='int' />
    <field fkey='trait_categories_tables.category' name='icon' type='string' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='optstring' />
  </table>
  <table table_name='character_traits_tables'
         table_version='1' >
    <field fkey='trait_info_tables.trait' name='key' type='string_ascii' pk='true' />
    <field name='no_going_back_level' type='int' />
    <field name='hidden' type='boolean' />
    <field name='precedence' type='int' />
    <field fkey='trait_categories_tables.category' name='icon' type='string_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='optstring_ascii' />
  </table>
  <table table_name='character_traits_tables'
         table_version='2' >
    <field fkey='trait_info_tables.trait' name='key' type='string_ascii' pk='true' />
    <field name='no_going_back_level' type='int' />
    <field name='hidden' type='boolean' />
    <field name='precedence' type='int' />
    <field fkey='trait_categories_tables.category' name='icon' type='string_ascii' />
    <field name='ui_priority' type='int' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='optstring_ascii' />
  </table>
  <table table_name='character_traits_tables'
         table_version='3' >
    <field fkey='trait_info_tables.trait' name='key' type='string_ascii' pk='true' />
    <field name='no_going_back_level' type='int' />
    <field name='hidden' type='boolean' />
    <field name='precedence' type='int' />
    <field fkey='trait_categories_tables.category' name='icon' type='string_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='optstring_ascii' />
    <field name='icon_custom' type='optstring_ascii' />
    <field name='trait_browser_sort_order' type='int' />
  </table>
  <table table_name='chariot_types_enums_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='chat_shortcuts_tables'
         table_version='0' >
    <field fkey='game_area_enums_tables.key' name='game_area' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='climate_to_erosion_settings_tables'
         table_version='0' >
    <field name='local_climate' type='string' pk='true' />
    <field name='erosion_type' type='string' />
    <field name='steps' type='int' />
    <field name='talus_angle' type='float' />
    <field name='erode_movement' type='float' />
    <field name='distribute_water_steps' type='int' />
    <field name='rain_noise_scale' type='float' />
    <field name='perlin_rain_noise_x' type='float' />
    <field name='perlin_rain_noise_y' type='float' />
    <field name='perlin_erosion_noise_x' type='float' />
    <field name='perlin_erosion_noise_y' type='float' />
  </table>
  <table table_name='climate_to_tilesets_tables'
         table_version='0' >
    <field fkey='climates_tables.climate_type' name='climate' type='string' pk='true' />
    <field fkey='terrain_tilesets_tables.tileset_name' name='tileset' type='string' pk='true' />
  </table>
  <table table_name='climates_tables'
         table_version='0' >
    <field name='climate_type' type='string' pk='true' />
    <field name='colour_index' type='int' />
    <field name='conifer_line' type='int' />
    <field name='tree_line' type='int' />
    <field name='is_land' type='boolean' />
  </table>
  <table table_name='climates_tables'
         table_version='0' >
    <field name='climate_type' type='string_ascii' pk='true' />
    <field name='colour_index' type='int' />
    <field name='conifer_line' type='int' />
    <field name='tree_line' type='int' />
    <field name='is_land' type='boolean' />
  </table>
  <table table_name='climates_tables'
         table_version='1' >
    <field name='climate_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='climbing_ladders_meshes_definitions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
    <field fkey='varaints_tables.variant_name' name='variant_name' type='string_ascii' />
  </table>
  <table table_name='combat_potentials_adjustment_types_tables'
         table_version='0' >
    <field name='combat_potential_adjustment_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='combat_potentials_adjustments_for_banners_junctions_tables'
         table_version='0' >
    <field name='absolute_adjustment' type='int' />
    <field fkey='banners_tables.banner' name='banner' type='string_ascii' pk='true' />
    <field fkey='combat_potentials_adjustment_types_tables.combat_potential_adjustment_type' name='combat_potential_adjustment_type' type='string_ascii' pk='true' />
    <field fkey='combat_potentials_types_tables.combat_potential_type_key' name='combat_potential_type' type='string_ascii' pk='true' />
    <field name='relative_adjustment' type='float' />
  </table>
  <table table_name='combat_potentials_types_tables'
         table_version='0' >
    <field name='combat_potential_type_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='commander_unit_permissions_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture_key' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='optstring_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='commodities_demand_drivers_tables'
         table_version='0' >
    <field name='demand_driver' type='string' pk='true' />
  </table>
  <table table_name='commodities_demand_junction_tables'
         table_version='0' >
    <field fkey='commodities_tables.key' name='commodity' type='string' pk='true' />
    <field fkey='commodities_demand_drivers_tables.demand_driver' name='driver' type='string' pk='true' />
    <field name='constantk' type='float' />
    <field name='weight' type='float' />
  </table>
  <table table_name='commodities_tables'
         table_version='0' >
    <field fkey='resources_tables.key' name='key' type='string' pk='true' />
    <field name='baseline_price_per_unit' type='float' />
    <field name='price_elasticity_of_demand' type='float' />
  </table>
  <table table_name='commodities_tables'
         table_version='0' >
    <field fkey='resources_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='baseline_price_per_unit' type='float' />
    <field name='price_elasticity_of_demand' type='float' />
  </table>
  <table table_name='commodities_tables'
         table_version='1' >
    <field fkey='resources_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='baseline_price_per_unit' type='float' />
  </table>
  <table table_name='commodity_unit_names_tables'
         table_version='0' >
    <field name='unit' type='string' pk='true' />
  </table>
  <table table_name='commodity_unit_names_tables'
         table_version='0' >
    <field name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='composite_scene_files_tables'
         table_version='0' >
    <field name='scene_filepath' type='string_ascii' pk='true' />
  </table>
  <table table_name='confederation_effect_bundles_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='turns' type='int' />
  </table>
  <table table_name='culture_campaign_destruction_composite_scene_junctions_tables'
         table_version='0' >
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
  </table>
  <table table_name='culture_pack_ids_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='culture_packs_tables'
         table_version='0' >
    <field fkey='culture_pack_ids_tables.id' name='id' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
  <table table_name='culture_settlement_occupation_options_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field name='option' type='string_ascii' pk='true' />
  </table>
  <table table_name='culture_settlement_occupation_options_tables'
         table_version='5' >
    <field fkey='settlement_occupation_options_tables.key' name='option' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='acting_army_faction_effect_bundle' type='optstring_ascii' />
    <field name='acting_army_faction_effect_bundle_turns' type='int' />
    <field fkey='effect_bundles_tables.key' name='target_settlement_faction_effect_bundle' type='optstring_ascii' />
    <field name='target_settlement_faction_effect_bundle_turns' type='int' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='acting_army_effect_bundle' type='optstring_ascii' />
    <field name='acting_army_effect_bundle_turns' type='int' />
  </table>
  <table table_name='culture_settlement_occupation_options_tables'
         table_version='7' >
    <field fkey='settlement_occupation_options_tables.key' name='option' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='acting_army_faction_effect_bundle' type='optstring_ascii' />
    <field name='acting_army_faction_effect_bundle_turns' type='int' />
    <field fkey='effect_bundles_tables.key' name='target_settlement_faction_effect_bundle' type='optstring_ascii' />
    <field name='target_settlement_faction_effect_bundle_turns' type='int' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='acting_army_effect_bundle' type='optstring_ascii' />
    <field name='acting_army_effect_bundle_turns' type='int' />
    <field name='action_points' type='int' pk='true' />
    <field name='region_squalor_modifier' type='int' />
  </table>
  <table table_name='culture_settlement_occupation_options_tables'
         table_version='8' >
    <field fkey='settlement_occupation_options_tables.key' name='option' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='acting_army_faction_effect_bundle' type='optstring_ascii' />
    <field name='acting_army_faction_effect_bundle_turns' type='int' />
    <field fkey='effect_bundles_tables.key' name='target_settlement_faction_effect_bundle' type='optstring_ascii' />
    <field name='target_settlement_faction_effect_bundle_turns' type='int' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='acting_army_effect_bundle' type='optstring_ascii' />
    <field name='acting_army_effect_bundle_turns' type='int' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='tooltip' type='string_ascii' />
    <field name='icon' type='string_ascii' />
    <field name='base_loot' type='float' />
    <field name='building_loot_mod' type='float' />
  </table>
  <table table_name='culture_subculture_character_portraits_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' pk='true' />
    <field fkey='fations_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='path' type='string_ascii' />
    <field fkey='portrait_types_tables.key' name='portrait_type' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='culture_subculture_politics_government_types_tables'
         table_version='4' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='politics_government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field name='on_screen_name_faction_leader' type='optstring_ascii' />
    <field name='on_screen_name_government_type' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field name='is_default' type='boolean' />
    <field fkey='trait_info_tables.trait' name='faction_leader_trait' type='string_ascii' />
    <field name='on_screen_name_faction_leader_female' type='optstring_ascii' />
    <field fkey='trait_info_tables.trait' name='faction_leader_trait_female' type='string_ascii' />
  </table>
  <table table_name='culture_subculture_politics_government_types_tables'
         table_version='6' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='politics_government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field name='on_screen_name_faction_leader' type='optstring_ascii' />
    <field name='on_screen_name_government_type' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field name='is_default' type='boolean' />
    <field fkey='trait_info_tables.trait' name='faction_leader_trait' type='string_ascii' />
    <field name='on_screen_name_faction_leader_female' type='optstring_ascii' />
    <field fkey='trait_info_tables.trait' name='faction_leader_trait_female' type='string_ascii' />
    <field name='on_screen_name_government_actions' type='optstring_ascii' />
    <field name='on_screen_descr_government_actions' type='optstring_ascii' />
  </table>
  <table table_name='culture_to_battle_animation_tables_tables'
         table_version='0' >
    <field fkey='battle_animations_table_tables.key' name='battle_animations_table' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
  </table>
  <table table_name='cultures_subcultures_tables'
         table_version='0' >
    <field name='subculture' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' />
    <field name='index' type='int' />
    <field fkey='battle_terrain_farms_tables.farm' name='farm' type='string' />
  </table>
  <table table_name='cultures_subcultures_tables'
         table_version='0' >
    <field name='subculture' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field name='index' type='int' />
    <field fkey='battle_terrain_farms_tables.farm' name='farm' type='string_ascii' />
  </table>
  <table table_name='cultures_subcultures_tables'
         table_version='1' >
    <field name='subculture' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field name='index' type='int' />
    <field name='audio_state' type='optstring_ascii' />
  </table>
  <table table_name='cultures_subcultures_tables'
         table_version='1' >
    <field name='subculture' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field name='index' type='int' />
    <field fkey='battle_terrain_farms_tables.farm' name='farm' type='string_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='voiceover' type='string_ascii' />
  </table>
  <table table_name='cultures_subcultures_tables'
         table_version='2' >
    <field name='subculture' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field name='index' type='int' />
    <field name='audio_state_override' type='optstring_ascii' />
    <field name='audio_rtpc_override' type='optstring_ascii' />
  </table>
  <table table_name='cultures_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='index' type='int' />
    <field name='fallback_ui_culture' type='optstring' />
  </table>
  <table table_name='cultures_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field name='fallback_ui_culture' type='optstring' />
  </table>
  <table table_name='cultures_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field name='fallback_ui_culture' type='optstring_ascii' />
  </table>
  <table table_name='cultures_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field name='fallback_ui_culture' type='optstring_ascii' />
    <field name='ui_background_image' type='optstring_ascii' />
    <field name='audio_state' type='optstring_ascii' />
  </table>
  <table table_name='cultures_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field name='fallback_ui_culture' type='optstring_ascii' />
    <field name='ui_background_image' type='optstring_ascii' />
    <field name='audio_state' type='optstring_ascii' />
    <field name='ui_group_by_culture' type='boolean' />
  </table>
    <table table_name='cultures_tables'
         table_version='7' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field name='fallback_ui_culture' type='optstring_ascii' />
    <field name='ui_background_image' type='optstring_ascii' />
    <field name='audio_state' type='optstring_ascii' />
    <field name='ui_group_by_culture' type='boolean' />
    <field name='audio_rtpc' type='optstring_ascii' />
  </table>
  <table table_name='cursor_transitions_tables'
         table_version='0' >
    <field fkey='cursors_tables.key' name='initiating_cursor' type='string_ascii' pk='true' />
    <field fkey='cursor_mouse_events_tables.key' name='mouse_event' type='string_ascii' pk='true' />
    <field fkey='cursors_tables.key' name='resulting_cursor' type='string_ascii' />
  </table>
  <table table_name='cursors_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='image' type='string' />
    <field name='frames' type='int' />
    <field name='framerate' type='int' />
    <field name='hotspotX' type='int' />
    <field name='hotspotY' type='int' />
    <field name='loop' type='boolean' />
    <field name='reverse' type='boolean' />
    <field name='width' type='int' />
    <field name='height' type='int' />
  </table>
  <table table_name='cursors_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='image' type='string' />
    <field name='frames' type='int' />
    <field name='framerate' type='int' />
    <field name='hotspotX' type='int' />
    <field name='hotspotY' type='int' />
    <field name='loop' type='boolean' />
    <field name='width' type='int' />
    <field name='height' type='int' />
  </table>
  <table table_name='cursors_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='image' type='string' />
    <field name='frames' type='int' />
    <field name='framerate' type='int' />
    <field name='hotspotX' type='int' />
    <field name='hotspotY' type='int' />
    <field name='loop' type='boolean' />
    <field name='width' type='int' />
    <field name='height' type='int' />
  </table>
  <table table_name='cursors_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='image' type='string_ascii' />
    <field name='frames' type='int' />
    <field name='framerate' type='int' />
    <field name='hotspotX' type='int' />
    <field name='hotspotY' type='int' />
    <field name='loop' type='boolean' />
    <field name='width' type='int' />
    <field name='height' type='int' />
    <field name='overlay_image' type='optstring_ascii' />
    <field name='is_ani_file' type='boolean' />
  </table>
  <table table_name='cursus_honorum_level_requirements_tables'
         table_version='1' >
    <field name='age' type='int' />
    <field name='level' type='int' pk='true' />
    <field name='rank' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='cursus_honorum_trait_junctions_tables'
         table_version='1' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='string_ascii' pk='true' />
    <field fkey='trait_info_tables.trait' name='trait_info_key' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='cursus_honorum_trait_junctions_tables'
         table_version='2' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='string_ascii' pk='true' />
    <field fkey='trait_info_tables.trait' name='trait_info_key' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' pk='true' />
    <field fkey='trait_info_tables.trait' name='trait_info_key_female' type='optstring_ascii' pk='true' />
  </table>
    <table table_name='custom_battle_factions_tables'
         table_version='1' >
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
    <field name='culture_sort_order' type='int' />
  </table>
  <table table_name='custom_loading_screen_components_tables'
         table_version='0' >
    <field name='component_id' type='string_ascii' pk='true' />
    <field fkey='custom_loading_screens_tables.key' name='custom_loading_screen_key' type='string_ascii' pk='true' />
    <field name='image_path' type='optstring_ascii' />
  </table>
  <table table_name='custom_loading_screens_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='layout_name' type='string_ascii' />
  </table>
  <table table_name='death_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='death_types_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='decree_groups_tables'
         table_version='0' >
    <field name='icon' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='decree_groups_to_decrees_tables'
         table_version='0' >
    <field fkey='decrees_tables.key' name='decree' type='string_ascii' pk='true' />
    <field fkey='decree_groups_tables.key' name='decree_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='decrees_tables'
         table_version='0' >
    <field name='cooldown' type='int' />
    <field fkey='dilemmas_tables.key' name='dilemma' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='global_cooldown' type='int' />
    <field name='icon' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='deployables_abilities_tables'
         table_version='4' >
    <field name='ability_key' type='string_ascii' pk='true' />
    <field fkey='deployables_tables.key' name='deployable' type='string_ascii' />
    <field name='unique_id' type='int' />
    <field name='-' type='int' />
    <field name='num_uses' type='int' />
    <field name='recharge_time' type='float' />
    <field name='wind_up_time' type='float' />
    <field name='drag_ground' type='boolean' />
    <field name='click_ground' type='boolean' />
    <field name='intercept_distance' type='float' />
  </table>
  <table table_name='deployables_categories_tables'
         table_version='0' >
    <field name='deployable_category' type='string_ascii' pk='true' />
  </table>
  <table table_name='deployables_custom_battles_tables'
         table_version='0' >
    <field name='cap' type='int' />
    <field fkey='deployables_tables.key' name='deployable' type='string_ascii' pk='true' />
    <field name='probability' type='int' />
  </table>
  <table table_name='deployables_tables'
         table_version='6' >
    <field name='hitpoints' type='int' />
    <field fkey='unit_stat_modifiers_how_enums_tables.key' name='how' type='optstring_ascii' />
    <field name='icon_name' type='string_ascii' />
    <field name='in_encyclopaedia' type='boolean' />
    <field name='info_pic' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='kill_chance' type='float' />
    <field name='min_columns' type='int' />
    <field name='min_rows' type='int' />
    <field fkey='models_deployables_tables.key' name='model' type='string_ascii' />
    <field name='number' type='int' />
    <field name='random_offset' type='float' />
    <field name='spacing_x' type='float' />
    <field name='spacing_y' type='float' />
    <field fkey='ui_unit_stats_tables.key' name='stat_mod' type='optstring_ascii' />
    <field name='value' type='float' />
    <field name='recruitment_cap' type='int' />
    <field name='max_rows' type='int' />
    <field fkey='models_deployables_tables.key' name='model_2' type='optstring_ascii' />
    <field name='ignition_threshold' type='int' />
  </table>
  <table table_name='deployables_tables'
         table_version='7' >
    <field name='hitpoints' type='int' />
    <field fkey='unit_stat_modifiers_how_enums_tables.key' name='how' type='optstring_ascii' />
    <field name='icon_name' type='string_ascii' />
    <field name='in_encyclopaedia' type='boolean' />
    <field name='info_pic' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='kill_chance' type='float' />
    <field name='min_columns' type='int' />
    <field name='min_rows' type='int' />
    <field fkey='models_deployables_tables.key' name='model' type='string_ascii' />
    <field name='number' type='int' />
    <field name='random_offset' type='float' />
    <field name='spacing_x' type='float' />
    <field name='spacing_y' type='float' />
    <field fkey='ui_unit_stats_tables.key' name='stat_mod' type='optstring_ascii' />
    <field name='value' type='float' />
    <field name='recruitment_cap' type='int' />
    <field name='max_rows' type='int' />
    <field fkey='models_deployables_tables.key' name='model_2' type='optstring_ascii' />
    <field name='ignition_threshold' type='int' />
    <field name='custom_battle_enabled' type='boolean' />
  </table>
  <table table_name='deployables_tables'
         table_version='14' >
    <field name='hitpoints' type='int' />
    <field name='icon_name' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='kill_chance' type='float' />
    <field name='min_columns' type='int' />
    <field name='min_rows' type='int' />
    <field fkey='models_deployables_tables.key' name='model' type='string_ascii' />
    <field name='number' type='int' />
    <field name='random_offset' type='float' />
    <field name='spacing_x' type='float' />
    <field name='spacing_y' type='float' />
    <field name='value' type='float' />
    <field name='recruitment_cap' type='int' />
    <field name='max_rows' type='int' />
    <field fkey='models_deployables_tables.key' name='model_2' type='optstring_ascii' />
    <field name='ignition_threshold' type='int' />
    <field fkey='deployables_categories_tables.deployable_category' name='category' type='string_ascii' />
    <field fkey='projectiles_explosions_tables.key' name='explosion' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='under_construction_effect' type='optstring_ascii' />
    <field fkey='audio_materials_tables.key' name='audio_material' type='string_ascii' />
    <field name='custom_battle_enabled' type='boolean' />
  </table>
  <table table_name='deployment_area_displays_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='spline_height' type='int' />
    <field fkey='particle_effects_tables.key' name='vfx' type='optstring_ascii' />
    <field name='vfx_step_size' type='int' />
    <field name='material' type='string_ascii' />
  </table>
  <table table_name='destruction_zone_mask_types_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='layer_0' type='optstring_ascii' />
    <field name='layer_1' type='optstring_ascii' />
    <field name='layer_2' type='optstring_ascii' />
    <field name='layer_3' type='optstring_ascii' />
    <field name='battle_diffuse' type='optstring_ascii' />
    <field name='battle_normal' type='optstring_ascii' />
  </table>
  <table table_name='dilemma_to_campaign_subject_junctions_tables'
         table_version='0' >
    <field fkey='campaign_subjects_tables.key' name='campaign_subject_key' type='string_ascii' pk='true' />
    <field fkey='dilemmas_tables.key' name='dilemma_key' type='string_ascii' pk='true' />
    <field name='weighting' type='float' />
  </table>
  <table table_name='dilemmas_tables'
         table_version='1' >
    <field name='generate' type='boolean' />
    <field name='key' type='string' pk='true' />
    <field name='localised_description' type='string' />
    <field name='localised_first_choice_label' type='string' />
    <field name='localised_second_choice_label' type='string' />
    <field name='localised_title' type='string' />
    <field name='ui_icon' type='string' />
    <field name='ui_image' type='string' />
    <field name='localised_first_choice_title' type='string' />
    <field name='localised_second_choice_title' type='string' />
    <field name='prioritized' type='boolean' />
  </table>
  <table table_name='dilemmas_tables'
         table_version='2' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_title' type='string_ascii' />
    <field name='ui_icon' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritized' type='boolean' />
  </table>
  <table table_name='dilemmas_tables'
         table_version='3' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_title' type='string_ascii' />
    <field name='ui_icon' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritized' type='boolean' />
    <field fkey='cdir_events_categories_tables.category_key' name='event_category' type='optstring_ascii' />
  </table>
  <table table_name='dilemmas_tables'
         table_version='4' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_title' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritized' type='boolean' />
    <field fkey='cdir_events_categories_tables.category_key' name='event_category' type='optstring_ascii' />
  </table>
  <table table_name='dilemmas_tables'
         table_version='5' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_title' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritized' type='boolean' />
    <field fkey='cdir_events_categories_tables.category_key' name='event_category' type='optstring_ascii' />
    <field name='sound_popup_override' type='optstring_ascii' />
    <field name='sound_click_override' type='optstring_ascii' />
  </table>
  <table table_name='diplomacy_attitudes_tables'
         table_version='0' >
    <field name='attitude' type='string' pk='true' />
    <field name='cap' type='int' />
    <field name='drift' type='int' />
    <field name='value' type='int' />
  </table>
  <table table_name='diplomacy_components_tables'
         table_version='0' >
    <field name='component' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomacy_current_treaties_to_diplomatic_options_tables'
         table_version='0' >
    <field name='can_be_cancelled' type='boolean' />
    <field fkey='diplomacy_strings_tables.key' name='current_treaty_key' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='diplomatic_option_key' type='string_ascii' />
  </table>
  <table table_name='diplomacy_factor_strings_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='diplomacy_key_groups_tables'
         table_version='0' >
    <field name='group_id' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomacy_keys_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomacy_keys_to_diplomacy_key_groups_tables'
         table_version='0' >
    <field fkey='diplomacy_key_groups_tables.group_id' name='group' type='string_ascii' pk='true' />
    <field fkey='diplomacy_keys_tables.key' name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomacy_negotiation_attitude_override_strings_tables'
         table_version='0' >
    <field fkey='diplomacy_negotiation_attitudes_tables.key' name='attitude' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field fkey='diplomacy_keys_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='option' type='int' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string_ascii' />
  </table>
  <table table_name='diplomacy_negotiation_attitudes_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='maximum_attitude' type='int' />
    <field name='minimum_attitude' type='int' />
  </table>
  <table table_name='diplomacy_negotiation_faction_attitude_override_strings_tables'
         table_version='0' >
    <field fkey='diplomacy_negotiation_attitudes_tables.key' name='attitude' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field fkey='diplomacy_keys_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='option' type='int' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string_ascii' />
  </table>
  <table table_name='diplomacy_negotiation_faction_override_strings_tables'
         table_version='0' >
    <field fkey='diplomacy_keys_tables.key' name='key' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string' />
  </table>
  <table table_name='diplomacy_negotiation_faction_override_strings_tables'
         table_version='1' >
    <field fkey='diplomacy_keys_tables.key' name='key' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field name='option' type='int' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string' />
  </table>
  <table table_name='diplomacy_negotiation_faction_override_strings_tables'
         table_version='1' >
    <field fkey='diplomacy_keys_tables.key' name='key' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string_ascii' />
    <field name='option' type='int' pk='true' />
  </table>
  <table table_name='diplomacy_negotiation_religion_override_strings_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field name='key' type='string' pk='true' />
    <field name='option' type='int' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='string' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string' />
  </table>
  <table table_name='diplomacy_negotiation_string_options_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='diplomacy_negotiation_string_options_tables'
         table_version='1' >
    <field fkey='diplomacy_keys_tables.key' name='key' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string_ascii' />
    <field name='option' type='int' pk='true' />
  </table>
  <table table_name='diplomacy_negotiation_string_options_tables'
         table_version='3' >
    <field fkey='diplomacy_keys_tables.key' name='key' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string_ascii' />
    <field name='option' type='int' pk='true' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomacy_negotiation_string_options_tables'
         table_version='4' >
    <field fkey='diplomacy_key_groups_tables.group_id' name='key' type='string_ascii' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string_ascii' />
    <field name='option' type='int' pk='true' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomacy_negotiation_strings_tables'
         table_version='0' >
    <field fkey='diplomacy_keys_tables.key' name='key' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string' />
  </table>
  <table table_name='diplomacy_negotiation_strings_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field fkey='diplomacy_keys_tables.key' name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomacy_negotiation_strings_tables'
         table_version='1' >
    <field fkey='diplomacy_keys_tables.key' name='key' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field name='option' type='int' pk='true' />
    <field fkey='diplomacy_strings_tables.key' name='string' type='string' />
  </table>
  <table table_name='diplomacy_strings_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='diplomacy_strings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomatic_action_faction_restrictions_tables'
         table_version='0' >
    <field name='can_make_client_states' type='boolean' />
    <field name='can_make_confederations' type='boolean' />
    <field name='can_make_vassals' type='boolean' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomatic_action_subculture_restrictions_tables'
         table_version='0' >
    <field name='can_make_client_states' type='boolean' />
    <field name='can_make_confederations' type='boolean' />
    <field name='can_make_vassals' type='boolean' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
  <table table_name='diplomatic_actions_tables'
         table_version='0' >
    <field name='category' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='diplomatic_relations_attitudes_tables'
         table_version='0' >
    <field name='attitude' type='string' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='diplomatic_relations_attitudes_tables'
         table_version='0' >
    <field name='attitude' type='string_ascii' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='diplomatic_relations_government_type_tables'
         table_version='0' >
    <field fkey='government_types_tables.government_type' name='government_type_from' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type_to' type='string' pk='true' />
    <field name='attitude_on_change' type='int' />
    <field name='base_attitude' type='int' />
  </table>
  <table table_name='diplomatic_relations_religion_tables'
         table_version='0' >
    <field fkey='religions_tables.religion_key' name='religion_A' type='string' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion_B' type='string' pk='true' />
    <field name='relations_modifier' type='int' />
    <field name='religious_unhappiness_modifier' type='float' />
  </table>
  <table table_name='diplomatic_relations_religion_tables'
         table_version='0' >
    <field fkey='religions_tables.religion_key' name='religion_A' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion_B' type='string_ascii' pk='true' />
    <field name='relations_modifier' type='int' />
    <field name='religious_unhappiness_modifier' type='float' />
  </table>
  <table table_name='diplomatic_relations_religion_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' pk='true' />
    <field name='relations_modifier' type='int' />
    <field fkey='religions_tables.religion_key' name='religion_A' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion_B' type='string_ascii' pk='true' />
    <field name='religious_unhappiness_modifier' type='float' />
  </table>
  <table table_name='diplomatic_relations_religion_tables'
         table_version='1' >
    <field fkey='religions_tables.religion_key' name='religion_A' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion_B' type='string_ascii' pk='true' />
    <field name='religious_unhappiness_modifier' type='float' />
  </table>
  <table table_name='disaster_to_ground_types_tables'
         table_version='0' >
    <field fkey='disasters_tables.disaster_type_id' name='disaster_type' type='string' pk='true' />
    <field fkey='campaign_ground_types_tables.type' name='ground_type' type='string' pk='true' />
  </table>
  <table table_name='disasters_tables'
         table_version='0' >
    <field name='disaster_type_id' type='string' pk='true' />
    <field name='frequency' type='float' />
    <field name='season' type='string' />
    <field name='one_year_warning' type='boolean' />
    <field name='linked_to_object' type='string' />
    <field name='climate_restriction' type='string' />
    <field name='minimum_scale' type='float' />
    <field name='maximum_scale' type='float' />
  </table>
  <table table_name='diseases_tables'
         table_version='0' >
    <field name='disease_id' type='string' pk='true' />
    <field name='on_screen_name' type='string' />
    <field name='contagion_chance' type='float' />
    <field name='turns' type='float' />
    <field name='mortality_per_turn' type='float' />
  </table>
  <table table_name='effect_bonus_value_agent_action_record_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_agent_action_records_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='agent_actions_tables.unique_id' name='agent_action_record' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_agent_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_agent_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_agent_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_agent_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_agent_subtype_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_agent_subtypes_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='agent_subtypes_tables.key' name='subtype' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_attrition_record_junctions_tables'
         table_version='0' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition_record' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_attrition_records_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_basic_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_basic_tables.key' name='bonus_value_id' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_basic_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_basic_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_battle_context_army_special_ability_junctions_tables'
         table_version='0' >
    <field fkey='battle_context_army_special_ability_junctions_tables.key' name='battle_context_army_special_ability' type='string_ascii' />
    <field fkey='campaign_bonus_value_ids_battle_context_army_special_abilities_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_battle_context_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_battle_context_specifiers_tables.key' name='battle_context_key' type='string_ascii' />
    <field fkey='campaign_bonus_value_ids_battle_contexts_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect_key' type='string_ascii' pk='true' />
  </table>
    <table table_name='effect_bonus_value_battle_context_unit_ability_junctions_tables'
         table_version='0' >
    <field fkey='battle_context_unit_ability_junctions_tables.key' name='battle_context_unit_ability' type='string_ascii' />
    <field fkey='campaign_bonus_value_ids_battle_context_unit_abilities_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_battle_context_unit_attribute_junctions_tables'
         table_version='0' >
    <field fkey='battle_context_unit_attribute_junctions_tables.key' name='battle_context_unit_attribute' type='string_ascii' />
    <field fkey='campaign_bonus_value_ids_battle_context_unit_attributes_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_battlefield_deployables_junctions_tables'
         table_version='0' >
    <field fkey='deployables_tables.key' name='battlefield_deployable' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_battlefield_deployables_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_building_chain_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_building_chain_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='building_chains_tables.key' name='building_chain' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_building_chain_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_building_chain_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='building_chains_tables.key' name='building_chain' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_building_set_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_building_sets_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='building_sets_tables.key' name='building_set' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_commodity_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_commodity_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='commodities_tables.key' name='commodity' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_commodity_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_commodity_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='commodities_tables.key' name='commodity' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_estate_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_estates_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='estates_tables.key' name='effect' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='estate' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_estate_situational_desire_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_estate_situational_desires_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='estate_situational_desires_tables.key' name='estate_situational_desire' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_faction_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_factions_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_id_action_results_additional_outcomes_junctions_tables'
         table_version='0' >
    <field fkey='action_results_additional_outcomes_tables.key' name='action_results_additional_outcome_record' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_action_results_additional_outcomes_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_ids_unit_sets_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_unit_sets_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_sets_tables.key' name='unit_set' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_loyalty_event_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_loyalty_events_tables.id' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='loyalty_event_effects_tables.event' name='loyallty_event' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_military_force_ability_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_military_force_abilitys_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='army_special_abilities_tables.army_special_ability' name='force_ability' type='string_ascii' pk='true' />
  </table>
    <table table_name='effect_bonus_value_missile_weapon_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_id_unit_missile_weapons_tables.id' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_missile_weapon_junctions_tables.id' name='missile_weapon_junction' type='int' pk='true' />
  </table>
  <table table_name='effect_bonus_value_name_record_junctions_tables'
         table_version='1' >
    <field fkey='campaign_bonus_value_ids_name_records_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='names_tables.id' name='name_record' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_pooled_resource_factor_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_pooled_resource_factors_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='pooled_resource_factor_junctions_tables.unique_id' name='resource_factor' type='string_ascii' />
  </table>
  <table table_name='effect_bonus_value_pooled_resource_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_pooled_resources_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='pooled_resources_tables.key' name='pooled_resource' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_population_class_and_religion_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_population_class_and_religion_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='population_classes_tables.population_class' name='population_class' type='string' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_population_class_and_religion_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_population_class_and_religion_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='population_classes_tables.population_class' name='population_class' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_population_class_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_population_class_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='population_classes_tables.population_class' name='population_class' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_population_class_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_population_class_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='population_classes_tables.population_class' name='population_class' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_projectile_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_projectile_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='projectiles_tables.key' name='projectile' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_projectile_junctions_tables'
         table_version='1' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_projectile_tables.key' name='bonus_value' type='string_ascii' pk='true' />
    <field fkey='projectiles_tables.key' name='projectile' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_province_initiative_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_province_initiatives_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='provincial_initiative_records_tables.key' name='province_initiative' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_provincial_initiative_effect_record_junctions_tables'
         table_version='1' >
    <field fkey='campaign_bonus_value_ids_provincial_initiative_effect_records_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect_bonus_will_modify' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_religion_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_religion_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_religion_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_religion_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_resource_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_resource_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='resources_tables.key' name='resource' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_resource_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_resource_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='resources_tables.key' name='resource' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_ritual_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_rituals_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_shot_type_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_projectile_shot_type_enum_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_shot_type_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_projectile_shot_type_enum_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_siege_item_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_siege_items_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='battlefield_deployable_siege_items_tables.key' name='siege_item' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_special_ability_phase_record_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_special_ability_phases_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='special_abilty_phases_tables.id' name='special_ability_phase' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_subculture_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_subcultures_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_technology_category_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_technology_categories_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='technology_categories_tables.key' name='technology_category' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_technology_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_technologies_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='technology' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_ability_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_unit_ability_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='unit_abilities_tables.key' name='unit_ability' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_ability_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_unit_ability_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='unit_abilities_tables.key' name='unit_ability' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_attribute_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_unit_attributes_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_attributes_tables.key' name='unit_attribute' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_caste_stat_modifiers_junctions_tables'
         table_version='0' >
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_stat_modifiers_tables.key' name='stat_modifier' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_caste_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_unit_caste_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_caste_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_unit_caste_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_category_stat_modifiers_junctions_tables'
         table_version='0' >
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_stat_modifiers_tables.key' name='stat_modifier' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_category_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_unit_category_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='unit_category_tables.key' name='unit_category' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_category_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_unit_category_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='unit_category_tables.key' name='unit_category' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_class_stat_modifiers_junctions_tables'
         table_version='0' >
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_stat_modifiers_tables.key' name='stat_modifier' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_class_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaign_bonus_value_ids_unit_class_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='unit_class_tables.key' name='unit_class' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_class_junction_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_bonus_value_ids_unit_class_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='unit_class_tables.key' name='unit_class' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_record_stat_modifiers_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_stat_modifiers_tables.key' name='stat_modifier' type='string_ascii' pk='true' />
    <field fkey='units_tables.key' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_record_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_unit_records_tables.key' name='bonus_value_id' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='units_tables.key' name='unit_record_key' type='string' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_record_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_unit_records_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit_record_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_set_unit_ability_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_unit_set_unit_abilities_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_set_unit_ability_junctions_tables.key' name='unit_set_ability' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_set_unit_attribute_junctions_tables'
         table_version='0' >
    <field fkey='campaign_bonus_value_ids_unit_set_unit_attributes_tables.key' name='bonus_value_id' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_set_unit_attribute_junctions_tables.key' name='unit_set_attribute' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bonus_value_unit_stat_modifiers_junctions_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='unit_stat_modifiers_tables.key' name='stat_modifier' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bundle_advancement_stages_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='effect_bundles_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='localised_description' type='string' />
    <field name='localised_title' type='string' />
    <field name='ui_icon' type='string' />
  </table>
  <table table_name='effect_bundles_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_title' type='string_ascii' />
    <field name='ui_icon' type='string_ascii' />
    <field fkey='effect_bundle_targets_tables.key' name='bundle_target' type='string_ascii' />
  </table>
  <table table_name='effect_bundles_to_effects_junctions_tables'
         table_version='1' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle_key' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect_key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='effect_bundles_to_effects_junctions_tables'
         table_version='2' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle_key' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect_key' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='value' type='float' />
    <field fkey='effect_bundle_advancement_stages_tables.key' name='advancement_stage' type='optstring_ascii' />
  </table>
  <table table_name='effect_categories_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='effects_additional_tooltip_details_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field name='icon_path' type='string_ascii' />
  </table>
  <table table_name='effects_tables'
         table_version='0' >
    <field name='effect' type='string' pk='true' />
    <field name='icon' type='optstring' />
    <field name='priority' type='int' />
  </table>
  <table table_name='effects_tables'
         table_version='1' >
    <field name='effect' type='string_ascii' pk='true' />
    <field name='icon' type='optstring_ascii' />
    <field name='priority' type='int' />
    <field name='icon_negative' type='optstring_ascii' />
  </table>
  <table table_name='effects_tables'
         table_version='3' >
    <field name='effect' type='string_ascii' pk='true' />
    <field name='icon' type='optstring_ascii' />
    <field name='priority' type='int' />
    <field name='icon_negative' type='optstring_ascii' />
    <field fkey='effect_categories_tables.key' name='category' type='string_ascii' />
    <field name='is_positive_value_good' type='boolean' />
  </table>
  <table table_name='effects_tables'
         table_version='3' >
    <field name='effect' type='string_ascii' pk='true' />
    <field name='icon' type='optstring_ascii' />
    <field name='priority' type='int' />
    <field name='icon_negative' type='optstring_ascii' />
    <field name='is_hidden' type='boolean' />
  </table>
  <table table_name='empires_regions_junct_tables'
         table_version='0' >
    <field fkey='regions_tables.key' name='region' type='string' pk='true' />
    <field fkey='empires_tables.empire_name' name='empire' type='string' pk='true' />
  </table>
  <table table_name='empires_tables'
         table_version='0' >
    <field name='empire_name' type='string' pk='true' />
  </table>
  <table table_name='empires_tables'
         table_version='0' >
    <field name='empire_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='encyclopedia_blocks_tables'
         table_version='1' >
    <field name='block_key' type='string' pk='true' />
    <field name='class' type='string' />
    <field name='image' type='optstring' />
    <field name='image_class' type='string' />
    <field name='order' type='int' />
    <field fkey='encyclopedia_pages_tables.page_key' name='page_key' type='string' />
  </table>
  <table table_name='encyclopedia_blocks_tables'
         table_version='1' >
    <field name='block_key' type='string_ascii' pk='true' />
    <field name='class' type='string_ascii' />
    <field name='image' type='optstring_ascii' />
    <field name='image_class' type='string_ascii' />
    <field name='order' type='int' />
    <field fkey='encyclopedia_pages_tables.page_key' name='page_key' type='string_ascii' />
  </table>
  <table table_name='encyclopedia_building_redirects_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='redirect_building' type='string_ascii' />
  </table>
  <table table_name='encyclopedia_page_linkages_tables'
         table_version='1' >
    <field fkey='encyclopedia_pages_tables.page_key' name='next_key' type='optstring' />
    <field fkey='encyclopedia_pages_tables.page_key' name='page_key' type='string' pk='true' />
    <field fkey='encyclopedia_pages_tables.page_key' name='parent_key' type='optstring' />
  </table>
  <table table_name='encyclopedia_page_linkages_tables'
         table_version='1' >
    <field fkey='encyclopedia_pages_tables.page_key' name='next_key' type='optstring_ascii' />
    <field fkey='encyclopedia_pages_tables.page_key' name='page_key' type='string_ascii' pk='true' />
    <field fkey='encyclopedia_pages_tables.page_key' name='parent_key' type='optstring_ascii' />
  </table>
  <table table_name='encyclopedia_page_related_links_tables'
         table_version='0' >
    <field fkey='encyclopedia_pages_tables.page_key' name='page_key' type='string' pk='true' />
    <field fkey='encyclopedia_pages_tables.page_key' name='target' type='string' pk='true' />
  </table>
  <table table_name='encyclopedia_page_related_links_tables'
         table_version='0' >
    <field fkey='encyclopedia_pages_tables.page_key' name='page_key' type='string_ascii' pk='true' />
    <field fkey='encyclopedia_pages_tables.page_key' name='target' type='string_ascii' pk='true' />
  </table>
  <table table_name='encyclopedia_pages_tables'
         table_version='0' >
    <field name='page_key' type='string' pk='true' />
    <field name='template' type='string' />
  </table>
  <table table_name='encyclopedia_pages_tables'
         table_version='0' >
    <field name='page_key' type='string_ascii' pk='true' />
    <field name='template' type='string_ascii' />
  </table>
  <table table_name='encyclopedia_template_strings_tables'
         table_version='0' >
    <field name='string_key' type='string' pk='true' />
  </table>
  <table table_name='encyclopedia_template_strings_tables'
         table_version='0' >
    <field name='string_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='encyclopedia_unit_redirects_tables'
         table_version='0' >
    <field fkey='main_units_tables.unit' name='redirect_unit' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='entity_training_levels_tables'
         table_version='0' >
    <field name='training_level' type='string' pk='true' />
    <field name='max_offset_distance' type='float' />
  </table>
  <table table_name='entity_training_levels_tables'
         table_version='0' >
    <field name='training_level' type='string_ascii' pk='true' />
    <field name='max_offset_distance' type='float' />
  </table>
  <table table_name='erosion_types_tables'
         table_version='0' >
    <field name='erosion_id' type='string' pk='true' />
  </table>
  <table table_name='estate_and_trait_category_to_effects_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field fkey='estate_effect_scopes_tables.key' name='estate_scope' type='string_ascii' pk='true' />
    <field fkey='estate_effect_sets_tables.key' name='estate_type' type='string_ascii' pk='true' />
    <field fkey='trait_categories_tables.category' name='trait_category' type='string_ascii' pk='true' />
  </table>
  <table table_name='estate_effect_set_items_tables'
         table_version='1' >
    <field fkey='estate_effect_sets_tables.key' name='effect_set' type='string_ascii' pk='true' />
    <field name='gravitas_when_owned' type='int' />
    <field name='loyalty_when_desire_unmet' type='int' />
    <field name='loyalty_when_owned' type='int' />
    <field fkey='estate_effect_scopes_tables.key' name='scope' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='character_effects' type='optstring_ascii' />
    <field fkey='loyalty_factors_tables.key' name='unmet_desire_loyalty_factor' type='string_ascii' />
    <field fkey='loyalty_factors_tables.key' name='owned_loyalty_factor' type='string_ascii' />
    <field fkey='loyalty_factors_tables.key' name='aversion_loyalty_factor' type='string_ascii' />
  </table>
  <table table_name='estate_effect_sets_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='estate_situational_desire_effects_tables'
         table_version='0' >
    <field name='gravitas_effect' type='int' />
    <field name='loyalty_effect' type='int' />
    <field fkey='loyalty_factors_tables.key' name='loyalty_factor' type='string_ascii' />
    <field fkey='estate_effect_scopes_tables.key' name='scope' type='string_ascii' pk='true' />
    <field fkey='estate_situational_desires_tables.key' name='situation' type='string_ascii' pk='true' />
  </table>
  <table table_name='estate_situational_desires_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='estates_tables'
         table_version='1' >
    <field fkey='estate_effect_sets_tables.key' name='effect_set' type='string_ascii' />
    <field name='icon' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='upkeep' type='int' />
    <field fkey='political_actions_tables.political_action_key' name='strip_estate_political_action' type='string_ascii' />
  </table>
  <table table_name='event_feed_categories_tables'
         table_version='1' >
    <field name='category' type='string_ascii' pk='true' />
  </table>
  <table table_name='event_feed_events_tables'
         table_version='4' >
    <field name='event' type='string_ascii' pk='true' />
    <field fkey='event_feed_subcategories_tables.subcategory' name='subcategory' type='string_ascii' />
    <field name='suppress_in_startpos' type='boolean' />
  </table>
  <table table_name='event_feed_group_members_tables'
         table_version='0' >
    <field fkey='event_feed_groups_tables.group' name='group' type='string_ascii' pk='true' />
    <field name='member' type='string_ascii' pk='true' />
  </table>
  <table table_name='event_feed_groups_tables'
         table_version='0' >
    <field name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='event_feed_message_events_tables'
         table_version='2' >
    <field fkey='event_feed_events_tables.event' name='event' type='string_ascii' pk='true' />
    <field fkey='event_feed_strings_tables.key' name='flavour_text' type='string_ascii' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
    <field name='image' type='string_ascii' />
    <field fkey='event_feed_strings_tables.key' name='secondary_detail' type='string_ascii' />
    <field fkey='event_feed_groups_tables.group' name='target' type='string_ascii' pk='true' />
    <field fkey='message_event_layout_types_tables.Type' name='layout' type='string_ascii' />
    <field fkey='event_feed_groups_tables.group' name='layout_data' type='string_ascii' />
    <field name='sound_event' type='optstring_ascii' />
    <field fkey='event_feed_groups_tables.group' name='context_located' type='string_ascii' />
  </table>
  <table table_name='event_feed_message_events_tables'
         table_version='3' >
    <field fkey='event_feed_events_tables.event' name='event' type='string_ascii' pk='true' />
    <field fkey='event_feed_strings_tables.key' name='flavour_text' type='string_ascii' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
    <field name='image' type='string_ascii' />
    <field fkey='event_feed_strings_tables.key' name='secondary_detail' type='string_ascii' />
    <field fkey='event_feed_groups_tables.group' name='target' type='string_ascii' pk='true' />
    <field fkey='message_event_layout_types_tables.Type' name='layout' type='string_ascii' />
    <field fkey='event_feed_groups_tables.group' name='layout_data' type='string_ascii' />
    <field name='sound_event' type='optstring_ascii' />
    <field fkey='event_feed_groups_tables.group' name='context_located' type='string_ascii' />
    <field name='override_icon' type='optstring_ascii' />
  </table>
  <table table_name='event_feed_strings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='event_feed_subcategories_tables'
         table_version='1' >
    <field fkey='event_feed_categories_tables.category' name='category' type='string_ascii' />
    <field name='subcategory' type='string_ascii' pk='true' />
  </table>
  <table table_name='event_feed_summary_events_tables'
         table_version='0' >
    <field fkey='event_feed_events_tables.event' name='event' type='string_ascii' pk='true' />
    <field name='icon' type='string_ascii' />
  </table>
  <table table_name='event_feed_targeted_events_tables'
         table_version='1' >
    <field fkey='event_feed_events_tables.event' name='event' type='string_ascii' pk='true' />
    <field name='icon' type='string_ascii' />
    <field name='instant_open' type='boolean' />
    <field fkey='event_feed_groups_tables.group' name='located' type='string_ascii' />
    <field name='persistent' type='boolean' />
    <field fkey='event_feed_strings_tables.key' name='primary_detail' type='string_ascii' />
    <field fkey='event_feed_groups_tables.group' name='target' type='string_ascii' pk='true' />
    <field fkey='event_feed_groups_tables.group' name='target_criteria' type='string_ascii' />
  </table>
  <table table_name='event_log_descriptions_tables'
         table_version='1' >
    <field name='event_key' type='string' pk='true' />
    <field name='has_position' type='boolean' />
    <field name='icon' type='string' />
    <field name='is_region_position' type='boolean' />
  </table>
  <table table_name='event_log_descriptions_tables'
         table_version='2' >
    <field name='event_key' type='string' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring' pk='true' />
    <field name='has_position' type='boolean' />
    <field name='icon' type='string' />
    <field name='is_region_position' type='boolean' />
  </table>
  <table table_name='event_log_descriptions_tables'
         table_version='3' >
    <field name='event_key' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' pk='true' />
    <field name='has_position' type='boolean' />
    <field name='icon' type='string_ascii' />
    <field name='is_region_position' type='boolean' />
    <field name='movie_id' type='int' />
  </table>
  <table table_name='events_effect_group_junct_tables'
         table_version='0' >
    <field fkey='events_tables.key' name='event' type='string' pk='true' />
    <field fkey='groupings_tables.group_name' name='effect_group' type='string' pk='true' />
  </table>
  <table table_name='events_hist_chars_junct_tables'
         table_version='0' >
    <field fkey='events_tables.key' name='event' type='string' pk='true' />
    <field fkey='historical_characters_tables.key' name='historical_character' type='string' pk='true' />
  </table>
  <table table_name='events_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='picture_category' type='string' />
    <field name='dynamic' type='boolean' />
    <field name='historical_date' type='int' />
    <field fkey='seasons_tables.season' name='season' type='string' />
    <field name='conditions' type='string' />
    <field name='picture' type='string' />
  </table>
  <table table_name='events_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='picture_category' type='string' />
    <field name='dynamic' type='boolean' />
    <field name='historical_date' type='int' />
    <field fkey='seasons_tables.season' name='season' type='string' />
    <field name='conditions' type='optstring' />
    <field name='picture' type='string' />
    <field name='turn_in_year' type='int' />
  </table>
  <table table_name='events_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='picture_category' type='string_ascii' />
    <field name='dynamic' type='boolean' />
    <field name='historical_date' type='int' />
    <field fkey='seasons_tables.season' name='season' type='string_ascii' />
    <field name='conditions' type='optstring_ascii' />
    <field name='picture' type='string' />
    <field name='turn_in_year' type='int' />
  </table>
  <table table_name='events_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='dynamic' type='boolean' />
  </table>
  <table table_name='events_view_group_junct_tables'
         table_version='0' >
    <field fkey='events_tables.key' name='event' type='string' pk='true' />
    <field fkey='groupings_tables.group_name' name='view_group' type='string' pk='true' />
  </table>
  <table table_name='experience_triggers_tables'
         table_version='0' >
    <field name='experience_points' type='int' />
    <field name='trigger_key' type='string' pk='true' />
  </table>
  <table table_name='experience_triggers_tables'
         table_version='0' >
    <field name='experience_points' type='int' />
    <field name='trigger_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='experience_triggers_tables'
         table_version='1' >
    <field name='experience_points' type='int' />
    <field name='trigger_key' type='string_ascii' pk='true' />
    <field name='gravitas_points' type='int' />
  </table>
  <table table_name='faction_agent_permitted_subtypes_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='agent_subtypes_tables.key' name='subtype' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_banners_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='key' type='string' pk='true' />
    <field name='primary_blue' type='int' />
    <field name='primary_green' type='int' />
    <field name='primary_red' type='int' />
    <field name='secondary_blue' type='int' />
    <field name='secondary_green' type='int' />
    <field name='secondary_red' type='int' />
    <field name='symbol' type='optstring' />
    <field name='tertiary_blue' type='int' />
    <field name='tertiary_green' type='int' />
    <field name='tertiary_red' type='int' />
  </table>
  <table table_name='faction_banners_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='primary_blue' type='int' />
    <field name='primary_green' type='int' />
    <field name='primary_red' type='int' />
    <field name='secondary_blue' type='int' />
    <field name='secondary_green' type='int' />
    <field name='secondary_red' type='int' />
    <field name='symbol' type='optstring_ascii' />
    <field name='tertiary_blue' type='int' />
    <field name='tertiary_green' type='int' />
    <field name='tertiary_red' type='int' />
  </table>
  <table table_name='faction_civil_war_setups_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='primary_faction' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='secondary_faction' type='string_ascii' />
  </table>
  <table table_name='faction_civil_war_setups_tables'
         table_version='1' >
    <field fkey='factions_tables.key' name='primary_faction' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='secondary_faction' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
  </table>
  <table table_name='faction_civil_war_setups_tables'
         table_version='1' >
    <field fkey='factions_tables.key' name='primary_faction' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='secondary_faction' type='string_ascii' />
    <field fkey='factions_tables.key' name='secessionist_faction' type='string_ascii' />
  </table>
  <table table_name='faction_factionwide_recruitment_unit_exclusions_set_junctions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='factionwide_recruitment_unit_exclusions_sets_tables.set' name='set' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_feature_forests_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_feature_tree_to_transitions_tables'
         table_version='0' >
    <field fkey='faction_feature_trees_tables.key' name='feature_tree' type='string_ascii' pk='true' />
    <field fkey='feature_set_transitions_tables.key' name='transition' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_feature_trees_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_features_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_groups_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='ui_icon' type='string_ascii' />
  </table>
  <table table_name='faction_groups_tables'
         table_version='0' >
    <field name='european_id' type='string' pk='true' />
    <field name='great_britain' type='boolean' />
    <field name='france' type='boolean' />
    <field name='prussia' type='boolean' />
    <field name='austria' type='boolean' />
    <field name='sweden' type='boolean' />
    <field name='holland' type='boolean' />
    <field name='spain' type='boolean' />
    <field name='usa' type='boolean' />
    <field name='denmark' type='boolean' />
    <field name='bavaria' type='boolean' />
    <field name='hanover_hesse' type='boolean' />
    <field name='pomerania' type='boolean' />
    <field name='saxony' type='boolean' />
    <field name='silesia' type='boolean' />
    <field name='switzerland' type='boolean' />
    <field name='westphalia' type='boolean' />
    <field name='wurttemberg' type='boolean' />
    <field name='genoa' type='boolean' />
    <field name='malta' type='boolean' />
    <field name='tuscany' type='boolean' />
    <field name='papal_states' type='boolean' />
    <field name='savoy' type='boolean' />
    <field name='portugal' type='boolean' />
    <field name='venice' type='boolean' />
    <field name='modena' type='boolean' />
    <field name='parma' type='boolean' />
    <field name='greece' type='boolean' />
    <field name='european_rebels' type='boolean' />
    <field name='pirates' type='boolean' />
    <field name='russia' type='boolean' />
    <field name='poland' type='boolean' />
    <field name='punjab' type='boolean' />
    <field name='indian_rebels' type='boolean' />
    <field name='mughal_empire' type='boolean' />
    <field name='afghanistan' type='boolean' />
    <field name='maratha_confederacy' type='boolean' />
    <field name='mysore' type='boolean' />
    <field name='baroda' type='boolean' />
    <field name='gwalior' type='boolean' />
    <field name='indore' type='boolean' />
    <field name='malwa' type='boolean' />
    <field name='ujjain' type='boolean' />
    <field name='islamic_rebels' type='boolean' />
    <field name='ottoman_empire' type='boolean' />
    <field name='safavid_empire' type='boolean' />
    <field name='barbary_pirates' type='boolean' />
    <field name='morocco' type='boolean' />
    <field name='mamelukes' type='boolean' />
    <field name='amerind_woodland_tribes' type='boolean' />
    <field name='amerind_iroquois_tribes' type='boolean' />
    <field name='amerind_tribes_iii' type='boolean' />
    <field name='haiti' type='boolean' />
    <field name='african_natives' type='boolean' />
    <field name='slaves_rebels' type='boolean' />
    <field name='tatars' type='boolean' />
    <field name='crimean_khanate' type='boolean' />
  </table>
  <table table_name='faction_groups_tables'
         table_version='1' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='ui_icon' type='string_ascii' />
    <field name='order' type='int' />
  </table>
  <table table_name='faction_groups_tables'
         table_version='2' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='order' type='int' />
  </table>
  <table table_name='faction_political_parties_junctions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' />
    <field fkey='political_parties_tables.key' name='political_party_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_politics_government_actions_junctions_tables'
         table_version='0' >
    <field name='description' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='image_path' type='string_ascii' />
    <field name='title' type='string_ascii' />
    <field fkey='politics_government_actions_tables.key' name='type' type='string_ascii' pk='true' />
    <field name='cost' type='int' />
    <field name='cost_per_region' type='int' />
    <field name='cooldown' type='int' />
  </table>
  <table table_name='faction_rebellion_units_junctions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction_key' type='string' pk='true' />
    <field fkey='units_tables.key' name='unit_key' type='string' pk='true' />
  </table>
  <table table_name='faction_rebellion_units_junctions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_resource_consumptions_tables'
         table_version='0' >
    <field name='number_of_regions' type='int' pk='true' />
    <field name='resource_consumption' type='int' />
  </table>
  <table table_name='faction_to_campaign_junctions_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_to_faction_groups_junctions_tables'
         table_version='0' >
    <field fkey='faction_groups_tables.key' name='faction_group_key' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_to_mercenary_set_junctions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='mercenary_pools_tables.key' name='mercenary_set' type='string_ascii' pk='true' />
  </table>
  <table table_name='faction_uniform_colours_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction_name' type='string' pk='true' />
    <field name='primary_colour_r' type='int' />
    <field name='primary_colour_g' type='int' />
    <field name='primary_colour_b' type='int' />
    <field name='secondary_colour_r' type='int' />
    <field name='secondary_colour_g' type='int' />
    <field name='secondary_colour_b' type='int' />
    <field name='tertiary_colour_r' type='int' />
    <field name='tertiary_colour_g' type='int' />
    <field name='tertiary_colour_b' type='int' />
  </table>
  <table table_name='faction_uniform_colours_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction_name' type='string_ascii' pk='true' />
    <field name='primary_colour_r' type='int' />
    <field name='primary_colour_g' type='int' />
    <field name='primary_colour_b' type='int' />
    <field name='secondary_colour_r' type='int' />
    <field name='secondary_colour_g' type='int' />
    <field name='secondary_colour_b' type='int' />
    <field name='tertiary_colour_r' type='int' />
    <field name='tertiary_colour_g' type='int' />
    <field name='tertiary_colour_b' type='int' />
  </table>
  <table table_name='faction_variables_optional_overrides_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring' pk='true' />
    <field name='campaign_type' type='optstring' pk='true' />
    <field name='difficulty_level' type='optstring' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring' pk='true' />
    <field fkey='faction_variables_tables.faction_variable_key' name='faction_variable_key' type='string' pk='true' />
    <field name='value' type='string' />
  </table>
  <table table_name='faction_variables_optional_overrides_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' pk='true' />
    <field name='campaign_type' type='optstring_ascii' pk='true' />
    <field name='difficulty_level' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' pk='true' />
    <field fkey='faction_variables_tables.faction_variable_key' name='faction_variable_key' type='string_ascii' pk='true' />
    <field name='value' type='string_ascii' />
  </table>
  <table table_name='faction_variables_tables'
         table_version='0' >
    <field name='description' type='string' />
    <field name='faction_variable_key' type='string' pk='true' />
    <field name='value' type='string' />
  </table>
  <table table_name='faction_variables_tables'
         table_version='0' >
    <field name='description' type='optstring_ascii' />
    <field name='faction_variable_key' type='string_ascii' pk='true' />
    <field name='value' type='string_ascii' />
  </table>
  <table table_name='factions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='index' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' />
    <field name='category' type='string' />
    <field name='screen_name' type='string' />
    <field name='screen_adjective' type='string' />
    <field fkey='names_groups_tables.ID' name='name_group' type='string' />
    <field name='skin' type='string' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string' />
    <field name='flags_path' type='string' />
    <field name='republican_flag_path' type='optstring' />
    <field name='same_gov_type_revolution_flag_path' type='optstring' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring' />
    <field name='audio_faction_string' type='string' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.ID' name='unit_regiment_name_group' type='string' />
    <field fkey='names_groups_tables.ID' name='ship_name_group' type='string' />
  </table>
  <table table_name='factions_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='index' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' />
    <field name='category' type='string' />
    <field name='screen_name' type='string' />
    <field name='screen_adjective' type='string' />
    <field fkey='names_groups_tables.ID' name='name_group' type='string' />
    <field name='skin' type='string' />
    <field name='ui_skin' type='optstring' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string' />
    <field name='flags_path' type='string' />
    <field name='republican_flag_path' type='optstring' />
    <field name='same_gov_type_revolution_flag_path' type='optstring' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring' />
    <field name='audio_faction_string' type='string' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.ID' name='unit_regiment_name_group' type='string' />
    <field fkey='names_groups_tables.ID' name='ship_name_group' type='string' />
  </table>
  <table table_name='factions_tables'
         table_version='3' >
    <field name='key' type='string' pk='true' />
    <field name='index' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' />
    <field name='category' type='string' />
    <field name='screen_name' type='string' />
    <field name='screen_adjective' type='string' />
    <field fkey='names_groups_tables.ID' name='name_group' type='string' />
    <field name='skin' type='string' />
    <field name='ui_skin' type='optstring' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string' />
    <field name='flags_path' type='string' />
    <field name='republican_flag_path' type='optstring' />
    <field name='same_gov_type_revolution_flag_path' type='optstring' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring' />
    <field name='audio_faction_string' type='string' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.ID' name='unit_regiment_name_group' type='string' />
    <field fkey='names_groups_tables.ID' name='ship_name_group' type='string' />
    <field name='attack_desc' type='string' />
    <field name='defend_desc' type='string' />
    <field name='mp_stats_name' type='optstring' />
  </table>
  <table table_name='factions_tables'
         table_version='5' >
    <field name='key' type='string' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' />
    <field name='category' type='string' />
    <field name='screen_name' type='string' />
    <field name='screen_adjective' type='string' />
    <field fkey='names_groups_tables.ID' name='name_group' type='string' />
    <field name='skin' type='string' />
    <field name='ui_skin' type='optstring' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string' />
    <field name='flags_path' type='string' />
    <field name='republican_flag_path' type='optstring' />
    <field name='same_gov_type_revolution_flag_path' type='optstring' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring' />
    <field name='audio_faction_string' type='string' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.ID' name='unit_regiment_name_group' type='string' />
    <field fkey='names_groups_tables.ID' name='ship_name_group' type='string' />
    <field name='attack_desc' type='string' />
    <field name='defend_desc' type='string' />
    <field name='mp_stats_name' type='optstring' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string' />
  </table>
  <table table_name='factions_tables'
         table_version='7' >
    <field name='key' type='string' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' />
    <field name='category' type='string' />
    <field name='screen_name' type='string' />
    <field name='screen_adjective' type='string' />
    <field fkey='names_groups_tables.ID' name='name_group' type='string' />
    <field name='skin' type='string' />
    <field name='ui_skin' type='optstring' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string' />
    <field name='flags_path' type='string' />
    <field name='republican_flag_path' type='optstring' />
    <field name='same_gov_type_revolution_flag_path' type='optstring' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring' />
    <field name='audio_faction_string' type='string' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.ID' name='unit_regiment_name_group' type='string' />
    <field fkey='names_groups_tables.ID' name='ship_name_group' type='string' />
    <field name='attack_desc' type='string' />
    <field name='defend_desc' type='string' />
    <field name='mp_stats_name' type='optstring' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string' />
    <field name='screen_name_when_imperial' type='optstring' />
    <field name='clan_summary_name_when_imperial' type='optstring' />
    <field fkey='audio_languages_tables.key' name='audio_language' type='string' />
  </table>
  <table table_name='factions_tables'
         table_version='13' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='screen_name' type='string_ascii' />
    <field name='screen_adjective' type='string_ascii' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field name='skin' type='string_ascii' />
    <field name='ui_skin' type='optstring_ascii' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string_ascii' />
    <field name='flags_path' type='string_ascii' />
    <field name='republican_flag_path' type='optstring_ascii' />
    <field name='same_gov_type_revolution_flag_path' type='optstring_ascii' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring_ascii' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring_ascii' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.key' name='unit_regiment_name_group' type='int' />
    <field fkey='names_groups_tables.key' name='ship_name_group' type='int' />
    <field name='attack_desc' type='string_ascii' />
    <field name='defend_desc' type='string_ascii' />
    <field name='mp_stats_name' type='optstring_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string_ascii' />
    <field name='can_be_regionless' type='boolean' />
    <field name='card_colour_r' type='float' />
    <field name='card_colour_g' type='float' />
    <field name='card_colour_b' type='float' />
    <field fkey='cultures_tables.key' name='diplomacy_culture' type='string_ascii' />
    <field name='senator_total' type='int' />
  </table>
  <table table_name='factions_tables'
         table_version='14' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='screen_name' type='string_ascii' />
    <field name='screen_adjective' type='string_ascii' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field name='skin' type='string_ascii' />
    <field name='ui_skin' type='optstring_ascii' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string_ascii' />
    <field name='flags_path' type='string_ascii' />
    <field name='republican_flag_path' type='optstring_ascii' />
    <field name='same_gov_type_revolution_flag_path' type='optstring_ascii' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring_ascii' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring_ascii' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.key' name='unit_regiment_name_group' type='int' />
    <field fkey='names_groups_tables.key' name='ship_name_group' type='int' />
    <field name='attack_desc' type='string_ascii' />
    <field name='defend_desc' type='string_ascii' />
    <field name='mp_stats_name' type='optstring_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string_ascii' />
    <field name='can_be_regionless' type='boolean' />
    <field name='card_colour_r' type='float' />
    <field name='card_colour_g' type='float' />
    <field name='card_colour_b' type='float' />
    <field fkey='cultures_tables.key' name='diplomacy_culture' type='string_ascii' />
    <field name='senator_total' type='int' />
    <field name='uses_legion_names' type='boolean' />
  </table>
  <table table_name='factions_tables'
         table_version='18' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='screen_name' type='string_ascii' />
    <field name='screen_adjective' type='string_ascii' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field name='skin' type='string_ascii' />
    <field name='ui_skin' type='optstring_ascii' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string_ascii' />
    <field name='flags_path' type='string_ascii' />
    <field name='republican_flag_path' type='optstring_ascii' />
    <field name='same_gov_type_revolution_flag_path' type='optstring_ascii' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring_ascii' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring_ascii' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.key' name='unit_regiment_name_group' type='int' />
    <field fkey='names_groups_tables.key' name='ship_name_group' type='int' />
    <field name='attack_desc' type='string_ascii' />
    <field name='defend_desc' type='string_ascii' />
    <field name='mp_stats_name' type='optstring_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string_ascii' />
    <field name='can_be_regionless' type='boolean' />
    <field name='card_colour_r' type='float' />
    <field name='card_colour_g' type='float' />
    <field name='card_colour_b' type='float' />
    <field name='senator_total' type='int' />
    <field name='uses_legion_names' type='boolean' />
    <field name='can_be_horde' type='boolean' />
    <field name='use_military_force_morale' type='boolean' />
    <field fkey='mp_force_gen_templates_tables.key' name='mp_force_gen_template' type='string_ascii' />
    <field fkey='movie_events_tables.event' name='win_movie' type='optstring_ascii' />
  </table>
  <table table_name='factions_tables'
         table_version='19' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='screen_name' type='string_ascii' />
    <field name='screen_adjective' type='string_ascii' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field name='skin' type='string_ascii' />
    <field name='ui_skin' type='optstring_ascii' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string_ascii' />
    <field name='flags_path' type='string_ascii' />
    <field name='republican_flag_path' type='optstring_ascii' />
    <field name='same_gov_type_revolution_flag_path' type='optstring_ascii' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring_ascii' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring_ascii' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.key' name='unit_regiment_name_group' type='int' />
    <field fkey='names_groups_tables.key' name='ship_name_group' type='int' />
    <field name='attack_desc' type='string_ascii' />
    <field name='defend_desc' type='string_ascii' />
    <field name='mp_stats_name' type='optstring_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string_ascii' />
    <field name='can_be_regionless' type='boolean' />
    <field name='card_colour_r' type='float' />
    <field name='card_colour_g' type='float' />
    <field name='card_colour_b' type='float' />
    <field name='senator_total' type='int' />
    <field name='uses_legion_names' type='boolean' />
    <field name='can_be_horde' type='boolean' />
    <field name='use_military_force_morale' type='boolean' />
    <field fkey='mp_force_gen_templates_tables.key' name='mp_force_gen_template' type='string_ascii' />
    <field fkey='movie_events_tables.event' name='win_movie' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='voiceover_subculture' type='string_ascii' />
  </table>
  <table table_name='factions_tables'
         table_version='22' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='screen_name' type='string_ascii' />
    <field name='screen_adjective' type='string_ascii' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field name='skin' type='string_ascii' />
    <field name='ui_skin' type='optstring_ascii' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='icons_path_units' type='string_ascii' />
    <field name='flags_path' type='string_ascii' />
    <field name='republican_flag_path' type='optstring_ascii' />
    <field name='same_gov_type_revolution_flag_path' type='optstring_ascii' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' />
    <field fkey='factions_tables.key' name='settler_rebellion_faction' type='optstring_ascii' />
    <field name='rebel_colour_r' type='float' />
    <field name='rebel_colour_g' type='float' />
    <field name='rebel_colour_b' type='float' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring_ascii' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.key' name='unit_regiment_name_group' type='int' />
    <field fkey='names_groups_tables.key' name='ship_name_group' type='int' />
    <field name='attack_desc' type='string_ascii' />
    <field name='defend_desc' type='string_ascii' />
    <field name='mp_stats_name' type='optstring_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string_ascii' />
    <field name='can_be_regionless' type='boolean' />
    <field name='card_colour_r' type='float' />
    <field name='card_colour_g' type='float' />
    <field name='card_colour_b' type='float' />
    <field name='senator_total' type='int' />
    <field name='uses_legion_names' type='boolean' />
    <field name='can_be_horde' type='boolean' />
    <field name='use_military_force_morale' type='boolean' />
    <field fkey='mp_force_gen_templates_tables.key' name='mp_force_gen_template' type='string_ascii' />
    <field fkey='movie_events_tables.event' name='win_movie' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='voiceover_subculture' type='string_ascii' />
    <field fkey='audio_vo_factions_tables.key' name='voiceover_faction' type='string_ascii' />
    <field fkey='audio_vo_actors_tables.key' name='voiceover_leader_actor' type='string_ascii' />
    <field fkey='audio_vo_factions_tables.key' name='voiceover_faction_frontend' type='string_ascii' />
  </table>
  <table table_name='factions_tables'
         table_version='27' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='screen_name' type='string_ascii' />
    <field name='screen_adjective' type='string_ascii' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field fkey='unit_banners_tables.key' name='skin' type='string_ascii' />
    <field name='ui_skin' type='optstring_ascii' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='flags_path' type='string_ascii' />
    <field name='republican_flag_path' type='optstring_ascii' />
    <field name='same_gov_type_revolution_flag_path' type='optstring_ascii' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' />
    <field name='rebel_colour_r' type='int' />
    <field name='rebel_colour_g' type='int' />
    <field name='rebel_colour_b' type='int' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring_ascii' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.key' name='unit_regiment_name_group' type='int' />
    <field fkey='names_groups_tables.key' name='ship_name_group' type='int' />
    <field name='attack_desc' type='string_ascii' />
    <field name='defend_desc' type='string_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string_ascii' />
    <field name='card_colour_r' type='int' />
    <field name='card_colour_g' type='int' />
    <field name='card_colour_b' type='int' />
    <field name='senator_total' type='int' />
    <field name='senator_text_n_out_of_n' type='optstring_ascii' />
    <field name='can_be_horde' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='mp_force_gen_templates_tables.key' name='mp_force_gen_template' type='string_ascii' />
    <field name='faction_swapping_id' type='string_ascii' />
    <field fkey='movie_events_tables.event' name='win_movie' type='optstring_ascii' />
    <field name='has_politics' type='boolean' />
    <field fkey='factions_tables.key' name='waaagh_faction' type='optstring_ascii' />
    <field fkey='main_units_tables.unit' name='waaagh_general_unit' type='optstring_ascii' />
    <field name='is_waaagh_faction' type='boolean' />
    <field name='is_quest_faction' type='boolean' />
    <field name='unknown61' type='string_ascii' />
  </table>
  <table table_name='factions_tables'
         table_version='28' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='screen_name' type='string_ascii' />
    <field name='screen_adjective' type='string_ascii' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field fkey='unit_banners_tables.key' name='skin' type='string_ascii' />
    <field name='ui_skin' type='optstring_ascii' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='flags_path' type='string_ascii' />
    <field name='republican_flag_path' type='optstring_ascii' />
    <field name='same_gov_type_revolution_flag_path' type='optstring_ascii' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' />
    <field name='rebel_colour_r' type='int' />
    <field name='rebel_colour_g' type='int' />
    <field name='rebel_colour_b' type='int' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring_ascii' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.key' name='unit_regiment_name_group' type='int' />
    <field fkey='names_groups_tables.key' name='ship_name_group' type='int' />
    <field name='attack_desc' type='string_ascii' />
    <field name='defend_desc' type='string_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string_ascii' />
    <field name='card_colour_r' type='int' />
    <field name='card_colour_g' type='int' />
    <field name='card_colour_b' type='int' />
    <field name='senator_total' type='int' />
    <field name='senator_text_n_out_of_n' type='optstring_ascii' />
    <field name='can_be_horde' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='mp_force_gen_templates_tables.key' name='mp_force_gen_template' type='string_ascii' />
    <field name='faction_swapping_id' type='string_ascii' />
    <field fkey='movie_events_tables.event' name='win_movie' type='optstring_ascii' />
    <field name='has_politics' type='boolean' />
    <field fkey='factions_tables.key' name='waaagh_faction' type='optstring_ascii' />
    <field fkey='main_units_tables.unit' name='waaagh_general_unit' type='optstring_ascii' />
    <field name='is_waaagh_faction' type='boolean' />
    <field name='is_quest_faction' type='boolean' />
    <field fkey='cdir_military_generator_configs_tables.key' name='cdir_military_generator_config' type='string_ascii' />
    <field fkey='audio_vo_actor_groups_tables.name' name='default_audio_actor_vo_group' type='string_ascii' />
  </table>
  <table table_name='factions_tables'
         table_version='34' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='index' type='int' />
    <field name='-' type='int' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' />
    <field name='category' type='string_ascii' />
    <field name='screen_name' type='string_ascii' />
    <field name='screen_adjective' type='string_ascii' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field fkey='unit_banners_tables.key' name='skin' type='string_ascii' />
    <field name='ui_skin' type='optstring_ascii' />
    <field name='is_rebel' type='boolean' />
    <field name='mp_available' type='boolean' />
    <field name='mp_available_naval' type='boolean' />
    <field name='flags_path' type='string_ascii' />
    <field name='republican_flag_path' type='optstring_ascii' />
    <field name='same_gov_type_revolution_flag_path' type='optstring_ascii' />
    <field name='primary_colour_r' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_b' type='float' />
    <field name='alt_primary_colour_r' type='float' />
    <field name='alt_primary_colour_g' type='float' />
    <field name='alt_primary_colour_b' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='alt_secondary_colour_r' type='float' />
    <field name='alt_secondary_colour_g' type='float' />
    <field name='alt_secondary_colour_b' type='float' />
    <field name='uniform_colour_r' type='float' />
    <field name='uniform_colour_g' type='float' />
    <field name='uniform_colour_b' type='float' />
    <field name='alt_uniform_colour_r' type='float' />
    <field name='alt_uniform_colour_g' type='float' />
    <field name='alt_uniform_colour_b' type='float' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' />
    <field name='rebel_colour_r' type='int' />
    <field name='rebel_colour_g' type='int' />
    <field name='rebel_colour_b' type='int' />
    <field fkey='movie_event_strings_tables.id' name='movie_death_event' type='optstring_ascii' />
    <field name='mp_use_republic_early' type='boolean' />
    <field name='mp_use_republic_late' type='boolean' />
    <field fkey='names_groups_tables.key' name='unit_regiment_name_group' type='int' />
    <field fkey='names_groups_tables.key' name='ship_name_group' type='int' />
    <field name='attack_desc' type='string_ascii' />
    <field name='defend_desc' type='string_ascii' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='pre_battle_speech_parameter' type='string_ascii' />
    <field name='card_colour_r' type='int' />
    <field name='card_colour_g' type='int' />
    <field name='card_colour_b' type='int' />
    <field name='senator_total' type='int' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='mp_force_gen_templates_tables.key' name='mp_force_gen_template' type='string_ascii' />
    <field name='faction_swapping_id' type='string_ascii' />
    <field fkey='movie_events_tables.event' name='win_movie' type='optstring_ascii' />
    <field name='has_politics' type='boolean' />
    <field fkey='factions_tables.key' name='waaagh_faction' type='optstring_ascii' />
    <field fkey='main_units_tables.unit' name='waaagh_general_unit' type='optstring_ascii' />
    <field name='is_quest_faction' type='boolean' />
    <field fkey='cdir_military_generator_configs_tables.key' name='cdir_military_generator_config' type='string_ascii' />
    <field fkey='audio_vo_actor_groups_tables.name' name='default_audio_actor_vo_group' type='string_ascii' />
    <field fkey='faction_feature_forests_tables.key' name='feature_forest' type='string_ascii' />
  </table>
  <table table_name='factions_to_decree_groups_tables'
         table_version='0' >
    <field fkey='decree_groups_tables.key' name='decree_group' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='factionwide_recruitment_unit_exclusions_sets_tables'
         table_version='0' >
    <field name='set' type='string_ascii' pk='true' />
  </table>
  <table table_name='factionwide_recruitment_unit_exclusions_units_sets_junctions_tables'
         table_version='0' >
    <field fkey='factionwide_recruitment_unit_exclusions_sets_tables.set' name='set' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='factorial_effects_tables'
         table_version='1' >
    <field fkey='campaign_factorial_category_junctions_tables.key' name='category' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='campaign_factorial_ui_infos_tables.key' name='ui_infos' type='string_ascii' />
  </table>
  <table table_name='fame_level_agent_record_junctions_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
    <field name='cap' type='int' />
    <field fkey='fame_levels_tables.key' name='fame_level' type='int' pk='true' />
  </table>
  <table table_name='fame_levels_tables'
         table_version='0' >
    <field name='ai_prestige' type='int' />
    <field name='army_cap' type='int' />
    <field name='champion_cap' type='int' />
    <field name='dignitary_cap' type='int' />
    <field name='level' type='int' pk='true' />
    <field name='navy_cap' type='int' />
    <field name='player_prestige' type='int' />
    <field name='province_initiative_cap' type='int' />
    <field name='spy_cap' type='int' />
  </table>
  <table table_name='fame_levels_tables'
         table_version='3' >
    <field name='ai_prestige' type='int' />
    <field name='army_cap' type='int' />
    <field name='champion_cap' type='int' />
    <field name='dignitary_cap' type='int' />
    <field name='level' type='int' pk='true' />
    <field name='navy_cap' type='int' />
    <field name='player_prestige' type='int' />
    <field name='province_initiative_cap' type='int' />
    <field name='spy_cap' type='int' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='campaign_localised_strings_tables.key' name='description_lookup' type='optstring_ascii' />
  </table>
  <table table_name='fame_levels_tables'
         table_version='4' >
    <field name='ai_prestige' type='int' />
    <field name='army_cap' type='int' />
    <field name='champion_cap' type='int' />
    <field name='dignitary_cap' type='int' />
    <field name='level' type='int' pk='true' />
    <field name='navy_cap' type='int' />
    <field name='player_prestige' type='int' />
    <field name='province_initiative_cap' type='int' />
    <field name='spy_cap' type='int' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='campaign_localised_strings_tables.key' name='description_lookup' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
  </table>
  <table table_name='fame_levels_tables'
         table_version='5' >
    <field name='ai_prestige' type='int' />
    <field name='army_cap' type='int' />
    <field name='champion_cap' type='int' />
    <field name='dignitary_cap' type='int' />
    <field name='level' type='int' pk='true' />
    <field name='navy_cap' type='int' />
    <field name='player_prestige' type='int' />
    <field name='province_initiative_cap' type='int' />
    <field name='spy_cap' type='int' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='campaign_localised_strings_tables.key' name='description_lookup' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field fkey='campaign_localised_strings_tables.key' name='title_lookup' type='string_ascii' />
    <field fkey='campaign_localised_strings_tables.key' name='tooltip_lookup' type='string_ascii' />
  </table>
  <table table_name='fame_levels_tables'
         table_version='6' >
    <field name='ai_prestige' type='int' />
    <field name='army_cap' type='int' />
    <field name='level' type='int' />
    <field name='navy_cap' type='int' />
    <field name='player_prestige' type='int' />
    <field name='province_initiative_cap' type='int' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field fkey='campaign_localised_strings_tables.key' name='description_lookup' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field fkey='campaign_localised_strings_tables.key' name='title_lookup' type='string_ascii' />
    <field fkey='campaign_localised_strings_tables.key' name='tooltip_lookup' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='all_agents_cap' type='int' />
  </table>
  <table table_name='family_relationship_types_tables'
         table_version='0' >
    <field name='relationship_type' type='string' pk='true' />
  </table>
  <table table_name='family_relationship_types_tables'
         table_version='0' >
    <field name='relationship_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='family_trees_tables'
         table_version='0' >
    <field name='character_id' type='string' pk='true' />
    <field name='on_screen_name' type='string' />
    <field name='title' type='string' />
    <field fkey='factions_tables.key' name='faction' type='string' />
    <field name='parent' type='string' />
    <field name='birth_priority' type='float' />
    <field name='birth_window_start' type='int' />
    <field name='birth_window_end' type='int' />
    <field name='other_spawn_conditions_1' type='string' />
    <field name='other_spawn_conditions_2' type='string' />
    <field name='other_spawn_conditions_3' type='string' />
    <field name='trait_1' type='string' />
    <field name='trait_2' type='string' />
    <field name='trait_3' type='string' />
    <field name='trait_4' type='string' />
    <field name='trait_5' type='string' />
    <field name='ancillary_1' type='string' />
    <field name='ancillary_2' type='string' />
    <field name='ancillary_3' type='string' />
    <field name='ancillary_4' type='string' />
    <field name='ancillary_5' type='string' />
    <field name='gender' type='string' />
  </table>
  <table table_name='famous_battle_pools_tables'
         table_version='0' >
    <field name='pool_id' type='string' pk='true' />
    <field name='pool_posX' type='float' />
    <field name='pool_posY' type='float' />
    <field name='pool_radius' type='int' />
    <field name='battle_name' type='string' />
  </table>
  <table table_name='famous_battle_pools_tables'
         table_version='0' >
    <field name='pool_id' type='string_ascii' pk='true' />
    <field name='pool_posX' type='float' />
    <field name='pool_posY' type='float' />
    <field name='pool_radius' type='int' />
    <field name='battle_name' type='string_ascii' />
  </table>
  <table table_name='famous_battle_pools_tables'
         table_version='1' >
    <field name='pool_id' type='string_ascii' pk='true' />
    <field name='pool_posX' type='float' />
    <field name='pool_posY' type='float' />
    <field name='pool_radius' type='int' />
    <field name='battle_name' type='string_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
  </table>
  <table table_name='fatigue_effects_tables'
         table_version='0' >
    <field fkey='_kv_fatigue_tables.key' name='fatigue_level' type='string' pk='true' />
    <field fkey='unit_category_tables.key' name='unit_category' type='string' pk='true' />
    <field name='run_speed' type='float' />
    <field name='charge_bonus' type='float' />
    <field name='firing_accuracy' type='float' />
    <field name='melee_penalty' type='float' />
  </table>
  <table table_name='feature_set_to_faction_features_tables'
         table_version='0' >
    <field fkey='faction_features_tables.key' name='feature' type='string_ascii' pk='true' />
    <field fkey='feature_sets_tables.key' name='feature_set' type='string_ascii' pk='true' />
  </table>
  <table table_name='feature_set_transition_handlers_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='feature_set_transitions_tables'
         table_version='0' >
    <field fkey='feature_sets_tables.key' name='from' type='string_ascii' />
    <field fkey='feature_set_transition_handlers_tables.key' name='handler' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='feature_sets_tables.key' name='to' type='string_ascii' />
  </table>
  <table table_name='feature_sets_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='feature_tree_to_feature_forests_tables'
         table_version='1' >
    <field fkey='faction_feature_forests_tables.key' name='forest' type='string_ascii' pk='true' />
    <field fkey='faction_feature_trees_tables.key' name='tree' type='string_ascii' pk='true' />
    <field fkey='feature_sets_tables.key' name='starting_feature_set' type='string_ascii' />
  </table>
  <table table_name='female_character_culture_details_tables'
         table_version='1' >
    <field name='chance_to_spawn' type='int' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field name='general' type='string_ascii' />
    <field name='missions' type='string_ascii' />
    <field name='public_office' type='string_ascii' />
    <field fkey='trait_info_tables.trait' name='trait' type='optstring_ascii' />
  </table>
  <table table_name='female_character_faction_details_tables'
         table_version='0' >
    <field name='chance_to_spawn' type='int' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field name='general' type='optstring_ascii' />
    <field name='missions' type='optstring_ascii' />
    <field name='public_office' type='optstring_ascii' />
    <field fkey='trait_info_tables.trait' name='trait' type='optstring_ascii' />
  </table>
  <table table_name='female_character_subculture_details_tables'
         table_version='1' >
    <field name='chance_to_spawn' type='int' />
    <field name='general' type='optstring_ascii' />
    <field name='missions' type='optstring_ascii' />
    <field name='public_office' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field fkey='trait_info_tables.trait' name='trait' type='optstring_ascii' />
  </table>
  <table table_name='fertility_levels_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
    <field name='colour_r' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_b' type='int' />
  </table>
  <table table_name='first_person_engines_tables'
         table_version='0' >
    <field name='auto_target' type='boolean' />
    <field name='camera_offset_x' type='float' />
    <field name='camera_offset_y' type='float' />
    <field name='camera_offset_z' type='float' />
    <field name='half_accuracy_arc' type='float' />
    <field name='half_horizontal_fire_arc' type='float' />
    <field name='half_vertical_fire_arc' type='float' />
    <field fkey='gun_types_enum_tables.key' name='key' type='string' pk='true' />
    <field name='near_clipping_plane' type='float' />
    <field name='reload_time' type='float' />
    <field name='track_projectile_distance' type='float' />
    <field name='turn_delay' type='float' />
  </table>
  <table table_name='first_person_engines_tables'
         table_version='1' >
    <field name='auto_target' type='boolean' />
    <field name='camera_offset_x' type='float' />
    <field name='camera_offset_y' type='float' />
    <field name='camera_offset_z' type='float' />
    <field name='half_accuracy_arc' type='float' />
    <field name='half_horizontal_fire_arc' type='float' />
    <field name='half_vertical_fire_arc_elevation' type='float' />
    <field fkey='gun_types_enum_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='near_clipping_plane' type='float' />
    <field name='reload_time' type='float' />
    <field name='track_projectile_distance' type='float' />
    <field name='turn_delay' type='float' />
    <field name='half_vertical_fire_arc_declination' type='float' />
  </table>
  <table table_name='first_person_engines_tables'
         table_version='3' >
    <field name='auto_target' type='boolean' />
    <field name='camera_offset_x' type='float' />
    <field name='camera_offset_y' type='float' />
    <field name='camera_offset_z' type='float' />
    <field name='half_accuracy_arc' type='float' />
    <field name='half_horizontal_fire_arc' type='float' />
    <field name='half_vertical_fire_arc_elevation' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='near_clipping_plane' type='float' />
    <field name='reload_time' type='float' />
    <field name='track_projectile_distance' type='float' />
    <field name='turn_delay' type='float' />
    <field name='half_vertical_fire_arc_declination' type='float' />
    <field name='allow_direct_control' type='boolean' />
    <field name='show_trajectory' type='boolean' />
  </table>
  <table table_name='font_names_tables'
         table_version='0' >
    <field name='font_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='fonts_tables'
         table_version='0' >
    <field name='bold' type='boolean' pk='true' />
    <field fkey='font_names_tables.font_name' name='key' type='string_ascii' pk='true' />
    <field name='size' type='int' pk='true' />
  </table>
  <table table_name='food_factors_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='text_to_display' type='string_ascii' />
  </table>
  <table table_name='formations_tables'
         table_version='2' >
    <field name='formation' type='string_ascii' pk='true' />
    <field name='icon_name' type='string_ascii' />
    <field name='is_army' type='boolean' />
    <field name='is_naval' type='boolean' />
    <field name='order' type='int' />
  </table>
  <table table_name='formations_to_subcultures_tables'
         table_version='0' >
    <field fkey='formations_tables.formation' name='formation' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='sub_culture' type='string_ascii' pk='true' />
  </table>
  <table table_name='fort_underlay_climate_jcts_tables'
         table_version='0' >
    <field fkey='battlefield_buildings_tables.key' name='fort_name' type='string' pk='true' />
    <field fkey='climates_tables.climate_type' name='climate' type='string' pk='true' />
    <field name='snow_underlay' type='boolean' pk='true' />
    <field fkey='battle_terrain_farms_tables.farm' name='underlay' type='string' />
  </table>
  <table table_name='frontend_faction_effect_groups_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' />
    <field fkey='frontend_faction_leaders_tables.key' name='faction_leader' type='string_ascii' />
    <field name='group_key' type='string_ascii' pk='true' />
    <field name='ui_section' type='string_ascii' />
  </table>
  <table table_name='frontend_faction_effect_junctions_tables'
         table_version='1' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='frontend_faction_effect_groups_tables.group_key' name='group' type='string_ascii' pk='true' />
    <field name='value' type='int' />
    <field fkey='campaign_effect_scopes_tables.key' name='scope' type='string_ascii' />
  </table>
  <table table_name='frontend_faction_groups_tables'
         table_version='0' >
    <field name='icon_path' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='frontend_faction_groups_to_factions_tables'
         table_version='0' >
    <field fkey='frontend_faction_groups_tables.key' name='faction_group' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
    <field name='is_major_faction' type='boolean' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='0' >
    <field name='animation' type='optstring' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field name='uniform' type='string' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='1' >
    <field name='animation' type='optstring' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field name='uniform' type='string' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='1' >
    <field name='animation' type='optstring_ascii' />
    <field fkey='political_parties_tables.key' name='party' type='string_ascii' pk='true' />
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='3' >
    <field name='animation' type='optstring_ascii' />
    <field fkey='political_parties_tables.key' name='party' type='string_ascii' pk='true' />
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='4' >
    <field name='animation' type='optstring_ascii' />
    <field fkey='political_parties_tables.key' name='party' type='string_ascii' pk='true' />
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='animation_game' type='optstring_ascii' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='5' >
    <field name='animation' type='optstring_ascii' />
    <field fkey='political_parties_tables.key' name='party' type='string_ascii' pk='true' />
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='animation_game' type='optstring_ascii' />
    <field fkey='names_tables.id' name='name' type='int' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='14' >
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='character_image' type='string_ascii' />
    <field fkey='battles_tables.key' name='prelude_battle' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='loading_screen_image' type='string_ascii' />
    <field fkey='videos_tables.video_name' name='loading_screen_intro_video' type='optstring_ascii' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='15' >
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='character_image' type='string_ascii' />
    <field fkey='battles_tables.key' name='prelude_battle' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='loading_screen_image' type='string_ascii' />
    <field fkey='videos_tables.video_name' name='loading_screen_intro_video' type='optstring_ascii' />
    <field name='override_force_location_x' type='float' />
    <field name='override_force_location_y' type='float' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='16' >
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='character_image' type='string_ascii' />
    <field fkey='battles_tables.key' name='prelude_battle' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='loading_screen_image' type='string_ascii' />
    <field fkey='videos_tables.video_name' name='loading_screen_intro_video' type='optstring_ascii' />
    <field name='override_force_location_x' type='float' />
    <field name='override_force_location_y' type='float' />
    <field fkey='audio_vo_actors_tables.key' name='voiceover' type='string_ascii' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='17' >
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='character_image' type='string_ascii' />
    <field fkey='battles_tables.key' name='prelude_battle' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='loading_screen_image' type='string_ascii' />
    <field fkey='videos_tables.video_name' name='loading_screen_intro_video' type='optstring_ascii' />
    <field name='override_force_location_x' type='float' />
    <field name='override_force_location_y' type='float' />
    <field fkey='audio_vo_actors_tables.key' name='voiceover' type='string_ascii' />
    <field name='show_full_intro_option' type='boolean' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='18' >
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='character_image' type='string_ascii' />
    <field fkey='battles_tables.key' name='prelude_battle' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='loading_screen_image' type='string_ascii' />
    <field fkey='videos_tables.video_name' name='loading_screen_intro_video' type='optstring_ascii' />
    <field name='override_force_location_x' type='float' />
    <field name='override_force_location_y' type='float' />
    <field fkey='audio_vo_actors_tables.key' name='voiceover' type='string_ascii' />
    <field name='show_full_intro_option' type='boolean' />
	<field name='difficulty' type='string_ascii' />
  </table>
  <table table_name='frontend_faction_leaders_tables'
         table_version='19' >
    <field name='uniform' type='string_ascii' />
    <field name='x_offset' type='float' />
    <field name='y_offset' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='character_image' type='string_ascii' />
    <field fkey='battles_tables.key' name='prelude_battle' type='optstring_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='loading_screen_image' type='string_ascii' />
    <field fkey='videos_tables.video_name' name='loading_screen_intro_video' type='optstring_ascii' />
    <field name='override_force_location_x' type='float' />
    <field name='override_force_location_y' type='float' />
    <field fkey='audio_vo_actors_tables.key' name='voiceover' type='string_ascii' />
    <field name='show_full_intro_option' type='boolean' />
    <field name='difficulty' type='string_ascii' />
    <field name='startpos_map' type='string_ascii' />
  </table>
  <table table_name='frontend_faction_top_units_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='frontend_factions_tables'
         table_version='2' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
  </table>
  <table table_name='frontend_factions_tables'
         table_version='3' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='videos_tables.video_name' name='video' type='string_ascii' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='game_area_enums_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='general_command_star_level_effects_tables'
         table_version='0' >
    <field name='alive_morale_bonus' type='int' />
    <field name='command_star_level' type='int' pk='true' />
    <field name='melee_attack_bonus' type='int' />
    <field name='melee_defence_bonus' type='int' />
    <field name='nearby_morale_bonus' type='int' />
  </table>
  <table table_name='geomantic_web_links_tables'
         table_version='4' >
    <field name='link_strength' type='int' pk='true' />
    <field fkey='campaign_composite_scenes_tables.id' name='circle_composite_scene' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='underpowered_circle_composite_scene' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='beam_short_composite_scene' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='fading_beam_short_composite_scene' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='beam_normal_composite_scene' type='string_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='fading_beam_normal_composite_scene' type='string_ascii' />
  </table>
  <table table_name='government_types_tables'
         table_version='0' >
    <field name='government_type' type='string' pk='true' />
    <field name='elected_ministers' type='boolean' />
    <field name='hereditary_ministers' type='boolean' />
    <field name='rank' type='int' />
    <field fkey='population_classes_tables.population_class' name='active_upper_class' type='string' />
    <field fkey='population_classes_tables.population_class' name='active_lower_class' type='string' />
  </table>
  <table table_name='government_types_tables'
         table_version='0' >
    <field name='government_type' type='string_ascii' pk='true' />
    <field name='elected_ministers' type='boolean' />
    <field name='hereditary_ministers' type='boolean' />
    <field name='rank' type='int' />
    <field fkey='population_classes_tables.population_class' name='active_upper_class' type='string_ascii' />
    <field fkey='population_classes_tables.population_class' name='active_lower_class' type='string_ascii' />
  </table>
  <table table_name='government_types_tables'
         table_version='1' >
    <field name='government_type' type='string_ascii' pk='true' />
    <field fkey='population_classes_tables.population_class' name='active_upper_class' type='string_ascii' />
    <field fkey='population_classes_tables.population_class' name='active_lower_class' type='string_ascii' />
  </table>
  <table table_name='government_types_to_effects_tables'
         table_version='0' >
    <field fkey='government_types_tables.government_type' name='gov_type' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='government_types_to_effects_tables'
         table_version='0' >
    <field fkey='government_types_tables.government_type' name='gov_type' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='value' type='float' />
  </table>
  <table table_name='governorships_tables'
         table_version='0' >
    <field name='governorship' type='string' pk='true' />
  </table>
  <table table_name='governorships_tables'
         table_version='0' >
    <field name='governorship' type='string_ascii' pk='true' />
  </table>
  <table table_name='graphics_settings_options_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='graphics_settings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='graphics_settings_to_graphics_options_junctions_tables'
         table_version='1' >
    <field fkey='graphics_settings_options_tables.key' name='option' type='string_ascii' pk='true' />
    <field fkey='graphics_settings_tables.key' name='setting' type='string_ascii' pk='true' />
    <field name='order' type='int' />
  </table>
  <table table_name='ground_type_stat_effect_groups_tables'
         table_version='1' >
    <field name='group_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='ground_type_to_stat_effects_tables'
         table_version='1' >
    <field fkey='ui_unit_stats_tables.key' name='affected_stat' type='string_ascii' pk='true' />
    <field fkey='ground_types_tables.type' name='ground_type' type='string_ascii' pk='true' />
    <field name='multiplier' type='float' />
  </table>
  <table table_name='ground_type_to_stat_effects_tables'
         table_version='4' >
    <field fkey='modifiable_unit_stats_tables.stat_key' name='affected_stat' type='string_ascii' pk='true' />
    <field fkey='ground_types_tables.type' name='ground_type' type='string_ascii' pk='true' />
    <field name='multiplier' type='float' />
    <field fkey='ground_type_stat_effect_groups_tables.group_name' name='affected_group' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='ground_type_to_texture_groups_tables'
         table_version='0' >
    <field fkey='ground_types_tables.type' name='ground_type' type='string_ascii' />
    <field name='texture_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='ground_types_tables'
         table_version='2' >
    <field name='enum_value' type='int' />
    <field fkey='cursors_tables.key' name='selection_cursor' type='optstring_ascii' />
    <field fkey='cursors_tables.key' name='standard_cursor' type='optstring_ascii' />
    <field name='type' type='string_ascii' pk='true' />
    <field fkey='unit_attributes_tables.key' name='penalty_immune_attribute' type='optstring_ascii' />
  </table>
  <table table_name='ground_types_tables'
         table_version='3' >
    <field name='enum_value' type='int' />
    <field fkey='cursors_tables.key' name='selection_cursor' type='optstring_ascii' />
    <field fkey='cursors_tables.key' name='standard_cursor' type='optstring_ascii' />
    <field name='type' type='string_ascii' pk='true' />
    <field fkey='unit_attributes_tables.key' name='penalty_immune_attribute' type='optstring_ascii' />
    <field name='burn_rate' type='float' />
  </table>
  <table table_name='ground_types_tables'
         table_version='8' >
    <field fkey='cursors_tables.key' name='selection_cursor' type='optstring_ascii' />
    <field fkey='cursors_tables.key' name='standard_cursor' type='optstring_ascii' />
    <field name='type' type='string_ascii' pk='true' />
    <field fkey='unit_attributes_tables.key' name='penalty_immune_attribute' type='optstring_ascii' />
    <field name='burn_rate' type='float' />
    <field fkey='audio_battle_ground_types_tables.key' name='audio_type' type='string_ascii' />
    <field name='colour_red' type='int' />
    <field name='colour_green' type='int' />
    <field name='colour_blue' type='int' />
    <field name='minimum_threshold' type='float' />
  </table>
  <table table_name='groupings_continents_junct_tables'
         table_version='0' >
    <field fkey='groupings_tables.group_name' name='group' type='string' pk='true' />
    <field fkey='regions_continents_tables.continent' name='continent' type='string' pk='true' />
  </table>
  <table table_name='groupings_continents_junct_tables'
         table_version='0' >
    <field fkey='groupings_tables.group_name' name='group' type='string_ascii' pk='true' />
    <field fkey='regions_continents_tables.continent' name='continent' type='string_ascii' pk='true' />
  </table>
  <table table_name='groupings_cultures_junct_tables'
         table_version='0' >
    <field fkey='groupings_tables.group_name' name='group' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
  </table>
  <table table_name='groupings_empires_junct_tables'
         table_version='0' >
    <field fkey='groupings_tables.group_name' name='group' type='string' pk='true' />
    <field fkey='empires_tables.empire_name' name='empire' type='string' pk='true' />
  </table>
  <table table_name='groupings_factions_junct_tables'
         table_version='0' >
    <field fkey='groupings_tables.group_name' name='group' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
  </table>
  <table table_name='groupings_military_tables'
         table_version='0' >
    <field name='military_group' type='string' pk='true' />
  </table>
  <table table_name='groupings_military_tables'
         table_version='0' >
    <field name='military_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='groupings_regions_junct_tables'
         table_version='0' >
    <field fkey='groupings_tables.group_name' name='group' type='string' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string' pk='true' />
  </table>
  <table table_name='groupings_subcultures_junct_tables'
         table_version='0' >
    <field fkey='groupings_tables.group_name' name='group' type='string' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string' pk='true' />
  </table>
  <table table_name='groupings_tables'
         table_version='0' >
    <field name='group_name' type='string' pk='true' />
  </table>
  <table table_name='groupings_tables'
         table_version='0' >
    <field name='group_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='gun_type_to_projectiles_tables'
         table_version='0' >
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='string' pk='true' />
    <field fkey='projectiles_tables.key' name='shot_type' type='string' pk='true' />
    <field fkey='gun_type_muzzle_flash_enum_tables.key' name='muzzle_flash' type='string' />
  </table>
  <table table_name='gun_type_to_projectiles_tables'
         table_version='0' >
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='string_ascii' pk='true' />
    <field fkey='projectiles_tables.key' name='shot_type' type='string_ascii' pk='true' />
    <field fkey='gun_type_muzzle_flash_enum_tables.key' name='muzzle_flash' type='string_ascii' />
  </table>
  <table table_name='gun_type_to_projectiles_tables'
         table_version='1' >
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='string' pk='true' />
    <field fkey='projectiles_tables.key' name='shot_type' type='string' pk='true' />
    <field fkey='gun_type_muzzle_flash_enum_tables.key' name='muzzle_flash' type='string' />
    <field name='concentrated_fire_maximum_frequency' type='float' />
  </table>
  <table table_name='gun_types_tables'
         table_version='0' >
    <field name='gun_type' type='string' pk='true' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string' />
    <field fkey='warscape_animated_tables.key' name='model' type='string' />
    <field fkey='battle_animations_table_tables.key' name='gun_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_table' type='string' />
    <field fkey='warscape_rigid_tables.key' name='destroyed_model' type='string' />
    <field fkey='warscape_animated_tables.key' name='destruction_animation' type='string' />
    <field fkey='gun_types_enum_tables.key' name='engine_type' type='string' />
  </table>
  <table table_name='gun_types_tables'
         table_version='2' >
    <field name='gun_type' type='string_ascii' pk='true' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field fkey='warscape_animated_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_animations_table_tables.key' name='gun_animations_table' type='string_ascii' />
    <field name='equipment_table' type='string_ascii' />
    <field fkey='warscape_rigid_tables.key' name='destroyed_model' type='string_ascii' />
    <field fkey='warscape_animated_tables.key' name='destruction_animation' type='string_ascii' />
    <field fkey='gun_types_enum_tables.key' name='engine_type' type='string_ascii' />
  </table>
  <table table_name='gun_types_tables'
         table_version='2' >
    <field name='gun_type' type='string_ascii' pk='true' />
    <field fkey='battle_entitites_tables.key' name='battle_entity' type='string_ascii' />
    <field fkey='warscape_animated_tables.key' name='model' type='string_ascii' />
    <field fkey='battle_animations_table_tables.key' name='gun_animations_table' type='string_ascii' />
    <field name='equipment_table' type='string_ascii' />
    <field fkey='warscape_rigid_tables.key' name='destroyed_model' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='destruction_animation' type='optstring_ascii' />
    <field fkey='gun_types_enum_tables.key' name='engine_type' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='gun_mount_entity' type='optstring_ascii' />
  </table>
  <table table_name='help_page_index_records_tables'
         table_version='1' >
    <field name='display_order' type='int' />
    <field name='inset_level' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='is_battle' type='boolean' />
  </table>
  <table table_name='help_page_strings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='use_on_loading_screen' type='boolean' />
  </table>
  <table table_name='historical_battles_ui_locations_tables'
         table_version='1' >
    <field fkey='battles_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='x' type='int' />
    <field name='y' type='int' />
    <field name='height_percent' type='int' />
  </table>
  <table table_name='historical_character_traits_tables'
         table_version='0' >
    <field fkey='historical_characters_tables.key' name='character' type='string' pk='true' />
    <field fkey='character_trait_levels_tables.key' name='trait' type='string' pk='true' />
  </table>
  <table table_name='historical_character_traits_tables'
         table_version='0' >
    <field fkey='historical_characters_tables.key' name='character' type='string_ascii' pk='true' />
    <field fkey='character_trait_levels_tables.key' name='trait' type='string_ascii' pk='true' />
  </table>
  <table table_name='historical_characters_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='nobility' type='boolean' />
    <field fkey='genders_tables.gender' name='gender' type='string' />
    <field fkey='agents_tables.key' name='agent_type' type='string' />
    <field fkey='factions_tables.key' name='faction' type='string' />
    <field name='spawning_window_start' type='int' />
    <field name='spawning_window_end' type='int' />
    <field name='spawn_conditions' type='string' />
  </table>
  <table table_name='historical_characters_tables'
         table_version='0' >
    <field name='key' type='string_ascii' />
    <field name='nobility' type='boolean' />
    <field name='gender' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field name='spawning_window_start' type='int' />
    <field name='spawning_window_end' type='int' />
    <field name='spawn_conditions' type='string_ascii' />
    <field fkey='names_tables.id' name='name_key' type='string_ascii' />
    <field fkey='names_tables.id' name='surname_key' type='string_ascii' />
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='optstring_ascii' />
    <field fkey='names_tables.id' name='clan_name_key' type='optstring_ascii' />
    <field fkey='names_tables.id' name='other_name_key' type='string_ascii' />
    <field name='political_party' type='optstring_ascii' />
  </table>
  <table table_name='historical_characters_tables'
         table_version='3' >
    <field name='key' type='string' pk='true' />
    <field name='nobility' type='boolean' />
    <field fkey='genders_tables.gender' name='gender' type='string' />
    <field fkey='agents_tables.key' name='agent_type' type='string' />
    <field fkey='factions_tables.key' name='faction' type='string' />
    <field name='spawning_window_start' type='int' />
    <field name='spawning_window_end' type='int' />
    <field name='spawn_conditions' type='string' />
    <field fkey='names_tables.names_group' name='name_key' type='string' />
    <field fkey='names_tables.names_group' name='surname_key' type='string' />
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='optstring' />
  </table>
  <table table_name='historical_characters_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='nobility' type='boolean' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field name='spawning_window_start' type='int' />
    <field name='spawning_window_end' type='int' />
    <field name='spawn_conditions' type='string_ascii' />
    <field fkey='names_tables.id' name='name_key' type='string_ascii' />
    <field fkey='names_tables.id' name='surname_key' type='optstring_ascii' />
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='optstring_ascii' />
    <field fkey='names_tables.id' name='clan_name_key' type='optstring_ascii' />
    <field fkey='names_tables.id' name='other_name_key' type='optstring_ascii' />
  </table>
  <table table_name='historical_characters_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='nobility' type='boolean' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field name='spawning_window_start' type='int' />
    <field name='spawning_window_end' type='int' />
    <field name='spawn_conditions' type='string_ascii' />
    <field fkey='names_tables.id' name='name_key' type='string_ascii' />
    <field fkey='names_tables.id' name='surname_key' type='optstring_ascii' />
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='optstring_ascii' />
    <field fkey='names_tables.id' name='clan_name_key' type='optstring_ascii' />
    <field fkey='names_tables.id' name='other_name_key' type='optstring_ascii' />
    <field fkey='political_parties_tables.key' name='political_party' type='optstring_ascii' />
  </table>
  <table table_name='historical_characters_tables'
         table_version='7' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='nobility' type='boolean' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field name='spawning_window_start' type='int' />
    <field name='spawning_window_end' type='int' />
    <field name='spawn_conditions' type='string_ascii' />
    <field fkey='names_tables.id' name='name_key' type='string_ascii' />
    <field fkey='names_tables.id' name='surname_key' type='optstring_ascii' />
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='optstring_ascii' />
    <field fkey='names_tables.id' name='clan_name_key' type='optstring_ascii' />
    <field fkey='names_tables.id' name='other_name_key' type='optstring_ascii' />
    <field fkey='political_parties_tables.key' name='political_party' type='optstring_ascii' />
    <field name='age_start' type='int' />
  </table>
  <table table_name='historical_characters_tables'
         table_version='7' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
    <field name='spawning_window_start' type='int' />
    <field name='spawning_window_end' type='int' />
    <field fkey='names_tables.id' name='name_key' type='string_ascii' />
    <field fkey='names_tables.id' name='surname_key' type='optstring_ascii' />
    <field fkey='campaign_character_art_sets_tables.art_set_id' name='art_set_id' type='optstring_ascii' />
    <field fkey='names_tables.id' name='clan_name_key' type='optstring_ascii' />
    <field fkey='names_tables.id' name='other_name_key' type='optstring_ascii' />
  </table>
  <table table_name='honour_effects_tables'
         table_version='0' >
    <field name='applies_to_ai' type='boolean' />
    <field fkey='honour_factors_tables.key' name='factor' type='string' />
    <field name='key' type='string' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='honour_effects_tables'
         table_version='0' >
    <field name='applies_to_ai' type='boolean' />
    <field fkey='honour_factors_tables.key' name='factor' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='honour_factors_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='maximum_value' type='int' />
    <field name='minimum_value' type='int' />
  </table>
  <table table_name='honour_factors_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='maximum_value' type='int' />
    <field name='minimum_value' type='int' />
  </table>
  <table table_name='incident_heading_texts_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='localised_heading_string' type='string' />
  </table>
  <table table_name='incidents_tables'
         table_version='3' >
    <field name='generate' type='boolean' />
    <field name='key' type='string' pk='true' />
    <field name='ui_icon' type='string' />
    <field name='ui_image' type='string' />
    <field name='prioritised' type='boolean' />
  </table>
  <table table_name='incidents_tables'
         table_version='3' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='ui_icon' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritised' type='boolean' />
  </table>
  <table table_name='incidents_tables'
         table_version='4' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='ui_icon' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritised' type='boolean' />
    <field fkey='cdir_events_categories_tables.category_key' name='event_category' type='optstring_ascii' />
  </table>
  <table table_name='incidents_tables'
         table_version='5' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritised' type='boolean' />
    <field fkey='cdir_events_categories_tables.category_key' name='event_category' type='optstring_ascii' />
  </table>
  <table table_name='interfaction_loyalty_factors_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='maximum_value' type='int' />
    <field name='minimum_value' type='int' />
  </table>
  <table table_name='intrigue_actions_incidents_junctions_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field fkey='incidents_tables.key' name='incident' type='string_ascii' />
    <field name='is_positive' type='boolean' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='weight' type='float' />
  </table>
  <table table_name='lab_settings_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_value' type='float' />
    <field name='min_value' type='float' />
    <field name='sort_order' type='int' />
    <field name='step_size' type='float' />
    <field name='display_as_percentage' type='boolean' />
    <field name='default_value' type='float' />
  </table>
  <table table_name='land_unit_articulated_vehicles_tables'
         table_version='0' >
    <field fkey='warscape_rigid_tables.key' name='ammo_caisson_destroyed_model' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_destruction' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring_ascii' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='land_unit_articulated_vehicles_tables'
         table_version='4' >
    <field name='ammo_caisson_destroyed_model' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_destruction' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring_ascii' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='articulation_node_1_offset' type='float' />
    <field name='articulation_node_1_radius' type='float' />
    <field name='articulation_node_2_offset' type='float' />
    <field name='articulation_node_2_radius' type='float' />
    <field name='articulation_node_3_offset' type='float' />
    <field name='articulation_node_3_radius' type='float' />
    <field name='articulation_max_angle' type='float' />
    <field name='head_offset' type='float' />
  </table>
  <table table_name='land_units_additional_personalities_groups_junctions_tables'
         table_version='0' >
    <field fkey='battle_personalities_tables.key' name='battle_personality' type='string_ascii' pk='true' />
    <field fkey='land_units_additional_personalities_groups_tables.key' name='group' type='string_ascii' pk='true' />
  </table>
  <table table_name='land_units_officers_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_personalities_tables.key' name='officer_1' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='officer_2' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer_1' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer_2' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='musician_1' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='musician_2' type='optstring_ascii' />
    <field fkey='personality_location_enums_tables.key' name='personality_location' type='optstring_ascii' />
  </table>
  <table table_name='land_units_officers_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_personalities_tables.key' name='officer_1' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='officer_2' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer_1' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer_2' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='musician_1' type='optstring_ascii' />
    <field fkey='battle_personalities_tables.key' name='musician_2' type='optstring_ascii' />
    <field fkey='personality_location_enums_tables.key' name='personality_location' type='string_ascii' />
    <field fkey='land_units_additional_personalities_groups_tables.key' name='additional_personalities' type='optstring_ascii' />
  </table>
  <table table_name='land_units_tables'
         table_version='26' >
    <field name='accuracy' type='int' />
    <field name='ammo' type='int' />
    <field fkey='unit_armour_types_tables.key' name='armour' type='string_ascii' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' />
    <field name='charge_bonus' type='int' />
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' />
    <field name='dismounted_charge_bonus' type='int' />
    <field name='dismounted_melee_attack' type='int' />
    <field name='dismounted_melee_defence' type='int' />
    <field fkey='unit_description_gameplay_texts_tables.key' name='gameplay_description_text' type='string_ascii' />
    <field fkey='unit_description_historical_texts_tables.key' name='historical_description_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_animations_tables.key' name='man_animation' type='optstring_ascii' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string_ascii' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='morale' type='int' />
    <field name='bonus_hit_points' type='int' />
    <field fkey='mounts_tables.key' name='mount' type='optstring_ascii' />
    <field name='num_animals' type='int' />
    <field fkey='animals_tables.key' name='animal' type='optstring_ascii' />
    <field name='num_mounts' type='int' />
    <field fkey='melee_weapons_tables.key' name='primary_melee_weapon' type='string_ascii' />
    <field fkey='missile_weapons_tables.key' name='primary_missile_weapon' type='optstring_ascii' />
    <field name='rank_depth' type='int' />
    <field fkey='unit_shield_types_tables.key' name='shield' type='string_ascii' />
    <field fkey='unit_description_short_texts_tables.key' name='short_description_text' type='string_ascii' />
    <field fkey='unit_spacings_tables.key' name='spacing' type='string_ascii' />
    <field fkey='unit_description_strengths_weaknesses_texts_tables.key' name='strengths_weaknesses_text' type='string_ascii' />
    <field name='supports_first_person' type='boolean' />
    <field fkey='unit_training_level_enum_tables.key' name='training_level' type='string_ascii' />
    <field name='num_guns' type='int' />
    <field fkey='land_units_officers_tables.key' name='officers' type='string_ascii' />
    <field fkey='land_unit_articulated_vehicles_tables.key' name='articulated_record' type='optstring_ascii' />
    <field fkey='battlefield_engines_tables.key' name='engine' type='optstring_ascii' />
    <field name='is_male' type='boolean' />
    <field name='visibility_spotting_range_min' type='float' />
    <field name='visibility_spotting_range_max' type='float' />
    <field name='ability_global_recharge' type='float' />
    <field fkey='unit_attributes_groups_tables.group_name' name='attribute_group' type='optstring_ascii' />
    <field name='spot_dist_tree' type='float' />
    <field name='spot_dist_scrub' type='float' />
    <field fkey='battlefield_chariots_tables.key' name='chariot' type='optstring_ascii' />
    <field name='num_chariots' type='int' />
    <field name='reload' type='int' />
    <field name='loose_spacing' type='boolean' />
    <field fkey='spotting_and_hiding_values_tables.key' name='spotting_and_hiding' type='optstring_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selection_vo' type='string_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo_secondary' type='string_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo_tertiary' type='string_ascii' />
    <field name='hiding_scalar' type='float' />
  </table>
  <table table_name='land_units_tables'
         table_version='27' >
    <field name='accuracy' type='int' />
    <field name='ammo' type='int' />
    <field fkey='unit_armour_types_tables.key' name='armour' type='string_ascii' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' />
    <field name='charge_bonus' type='int' />
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' />
    <field name='dismounted_charge_bonus' type='int' />
    <field name='dismounted_melee_attack' type='int' />
    <field name='dismounted_melee_defence' type='int' />
    <field fkey='unit_description_historical_texts_tables.key' name='historical_description_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_animations_tables.key' name='man_animation' type='optstring_ascii' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string_ascii' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='morale' type='int' />
    <field name='bonus_hit_points' type='int' />
    <field fkey='mounts_tables.key' name='mount' type='optstring_ascii' />
    <field name='num_animals' type='int' />
    <field fkey='animals_tables.key' name='animal' type='optstring_ascii' />
    <field name='num_mounts' type='int' />
    <field fkey='melee_weapons_tables.key' name='primary_melee_weapon' type='string_ascii' />
    <field fkey='missile_weapons_tables.key' name='primary_missile_weapon' type='optstring_ascii' />
    <field name='rank_depth' type='int' />
    <field fkey='unit_shield_types_tables.key' name='shield' type='string_ascii' />
    <field fkey='unit_description_short_texts_tables.key' name='short_description_text' type='string_ascii' />
    <field fkey='unit_spacings_tables.key' name='spacing' type='string_ascii' />
    <field fkey='unit_description_strengths_weaknesses_texts_tables.key' name='strengths_weaknesses_text' type='string_ascii' />
    <field name='supports_first_person' type='boolean' />
    <field fkey='unit_training_level_enum_tables.key' name='training_level' type='string_ascii' />
    <field name='num_guns' type='int' />
    <field fkey='land_units_officers_tables.key' name='officers' type='string_ascii' />
    <field fkey='land_unit_articulated_vehicles_tables.key' name='articulated_record' type='optstring_ascii' />
    <field fkey='battlefield_engines_tables.key' name='engine' type='optstring_ascii' />
    <field name='is_male' type='boolean' />
    <field name='visibility_spotting_range_min' type='float' />
    <field name='visibility_spotting_range_max' type='float' />
    <field name='ability_global_recharge' type='float' />
    <field fkey='unit_attributes_groups_tables.group_name' name='attribute_group' type='optstring_ascii' />
    <field name='spot_dist_tree' type='float' />
    <field name='spot_dist_scrub' type='float' />
    <field fkey='battlefield_chariots_tables.key' name='chariot' type='optstring_ascii' />
    <field name='num_chariots' type='int' />
    <field name='reload' type='int' />
    <field name='loose_spacing' type='boolean' />
    <field fkey='spotting_and_hiding_values_tables.key' name='spotting_and_hiding' type='optstring_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selection_vo' type='string_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo_secondary' type='string_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo_tertiary' type='string_ascii' />
    <field name='hiding_scalar' type='float' />
  </table>
  <table table_name='land_units_tables'
         table_version='30' >
    <field name='accuracy' type='int' />
    <field name='ammo' type='int' />
    <field fkey='unit_armour_types_tables.key' name='armour' type='string_ascii' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' />
    <field name='charge_bonus' type='int' />
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' />
    <field name='dismounted_charge_bonus' type='int' />
    <field name='dismounted_melee_attack' type='int' />
    <field name='dismounted_melee_defence' type='int' />
    <field fkey='unit_description_historical_texts_tables.key' name='historical_description_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_animations_table_tables.key' name='man_animation' type='optstring_ascii' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string_ascii' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='morale' type='int' />
    <field name='bonus_hit_points' type='int' />
    <field fkey='mounts_tables.key' name='mount' type='optstring_ascii' />
    <field name='num_animals' type='int' />
    <field fkey='animals_tables.key' name='animal' type='optstring_ascii' />
    <field name='num_mounts' type='int' />
    <field fkey='melee_weapons_tables.key' name='primary_melee_weapon' type='string_ascii' />
    <field fkey='missile_weapons_tables.key' name='primary_missile_weapon' type='optstring_ascii' />
    <field name='rank_depth' type='int' />
    <field fkey='unit_shield_types_tables.key' name='shield' type='string_ascii' />
    <field fkey='unit_description_short_texts_tables.key' name='short_description_text' type='string_ascii' />
    <field fkey='unit_spacings_tables.key' name='spacing' type='string_ascii' />
    <field fkey='unit_description_strengths_weaknesses_texts_tables.key' name='strengths_weaknesses_text' type='string_ascii' />
    <field name='supports_first_person' type='boolean' />
    <field fkey='unit_training_level_enum_tables.key' name='training_level' type='string_ascii' />
    <field name='num_guns' type='int' />
    <field fkey='land_units_officers_tables.key' name='officers' type='string_ascii' />
    <field fkey='land_unit_articulated_vehicles_tables.key' name='articulated_record' type='optstring_ascii' />
    <field fkey='battlefield_engines_tables.key' name='engine' type='optstring_ascii' />
    <field name='is_male' type='boolean' />
    <field name='visibility_spotting_range_min' type='float' />
    <field name='visibility_spotting_range_max' type='float' />
    <field name='ability_global_recharge' type='float' />
    <field fkey='unit_attributes_groups_tables.group_name' name='attribute_group' type='optstring_ascii' />
    <field name='spot_dist_tree' type='float' />
    <field name='spot_dist_scrub' type='float' />
    <field fkey='battlefield_chariots_tables.key' name='chariot' type='optstring_ascii' />
    <field name='num_chariots' type='int' />
    <field name='reload' type='int' />
    <field name='loose_spacing' type='boolean' />
    <field fkey='spotting_and_hiding_values_tables.key' name='spotting_and_hiding' type='optstring_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selection_vo' type='string_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo_secondary' type='string_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo_tertiary' type='string_ascii' />
    <field name='hiding_scalar' type='float' />
    <field name='capture_power' type='float' />
  </table>
  <table table_name='land_units_tables'
         table_version='43' >
    <field name='accuracy' type='int' />
    <field fkey='unit_armour_types_tables.key' name='armour' type='string_ascii' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' />
    <field name='charge_bonus' type='int' />
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' />
    <field name='dismounted_charge_bonus' type='int' />
    <field name='dismounted_melee_attack' type='int' />
    <field fkey='unit_description_historical_texts_tables.key' name='historical_description_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_animations_table_tables.key' name='man_animation' type='optstring_ascii' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string_ascii' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='morale' type='int' />
    <field name='bonus_hit_points' type='int' />
    <field fkey='mounts_tables.key' name='mount' type='optstring_ascii' />
    <field name='num_animals' type='int' />
    <field fkey='animals_tables.key' name='animal' type='optstring_ascii' />
    <field name='num_mounts' type='int' />
    <field fkey='melee_weapons_tables.key' name='primary_melee_weapon' type='string_ascii' />
    <field fkey='missile_weapons_tables.key' name='primary_missile_weapon' type='optstring_ascii' />
    <field name='rank_depth' type='int' />
    <field fkey='unit_shield_types_tables.key' name='shield' type='string_ascii' />
    <field fkey='unit_description_short_texts_tables.key' name='short_description_text' type='string_ascii' />
    <field fkey='unit_spacings_tables.key' name='spacing' type='string_ascii' />
    <field fkey='unit_description_strengths_weaknesses_texts_tables.key' name='strengths_weaknesses_text' type='string_ascii' />
    <field name='supports_first_person' type='boolean' />
    <field fkey='unit_training_level__enum_tables.key' name='training_level' type='string_ascii' />
    <field fkey='land_units_officers_tables.key' name='officers' type='string_ascii' />
    <field fkey='land_unit_articulated_vehicles_tables.key' name='articulated_record' type='optstring_ascii' />
    <field fkey='battlefield_engines_tables.key' name='engine' type='optstring_ascii' />
    <field name='is_male' type='boolean' />
    <field name='visibility_spotting_range_min' type='float' />
    <field name='visibility_spotting_range_max' type='float' />
    <field name='ability_global_recharge' type='float' />
    <field fkey='unit_attributes_groups_tables.group_name' name='attribute_group' type='optstring_ascii' />
    <field name='spot_dist_tree' type='int' />
    <field name='spot_dist_scrub' type='int' />
    <field name='reload' type='int' />
    <field name='loose_spacing' type='boolean' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo' type='string_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo_secondary' type='string_ascii' />
    <field fkey='audio_vo_selected_switches_tables.key' name='selected_vo_tertiary' type='string_ascii' />
    <field name='hiding_scalar' type='float' />
    <field name='capture_power' type='float' />
    <field fkey='ground_type_stat_effect_groups_tables.group_name' name='ground_stat_effect_group' type='optstring_ascii' />
    <field name='secondary_ammo' type='int' />
    <field name='primary_ammo' type='int' />
    <field name='damage_mod_flames' type='int' />
    <field name='damage_mod_magic' type='int' />
    <field name='num_engines' type='int' />
    <field name='damage_mod_physical' type='int' />
    <field name='damage_mod_missiles' type='int' />
    <field name='damage_mod_all' type='int' />
    <field fkey='ai_usage_groups_tables.key' name='ai_usage_group' type='string_ascii' />
    <field name='can_skirmish' type='boolean' />
    <field name='mounted_draughts' type='boolean' />
    <field name='sync_locomotion' type='boolean' />
  </table>
  <table table_name='land_units_to_deployables_abilities_junctions_tables'
         table_version='1' >
    <field fkey='deployables_abilites_tables.ability_key' name='deployable_ability' type='string_ascii' pk='true' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='land_units_to_unit_abilites_junctions_tables'
         table_version='0' >
    <field fkey='unit_abilities_tables.key' name='ability' type='string_ascii' pk='true' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='lighting_setups_tables'
         table_version='0' >
    <field name='name' type='string' pk='true' />
    <field name='depth_bias' type='float' />
    <field name='dir_x' type='float' />
    <field name='dir_y' type='float' />
    <field name='dir_z' type='float' />
    <field name='colour_scale' type='float' />
    <field name='colour_r' type='float' />
    <field name='colour_g' type='float' />
    <field name='colour_b' type='float' />
    <field name='colour_top_r' type='float' />
    <field name='colour_top_g' type='float' />
    <field name='colour_top_b' type='float' />
    <field name='colour_bottom_r' type='float' />
    <field name='colour_bottom_g' type='float' />
    <field name='colour_bottom_b' type='float' />
    <field name='gamma' type='float' />
    <field name='bloom_multiplier' type='float' />
    <field name='bloom_angle_1' type='float' />
    <field name='bloom_angle_2' type='float' />
    <field name='bloom_scale_1' type='float' />
    <field name='bloom_scale_2' type='float' />
    <field name='main_bloom_scale_x' type='float' />
    <field name='main_bloom_scale_y' type='float' />
    <field name='main_bloom_distribution' type='float' />
    <field name='high_pass' type='float' />
    <field name='colour_fog_r' type='float' />
    <field name='colour_fog_g' type='float' />
    <field name='colour_fog_b' type='float' />
    <field name='fog_near' type='float' />
    <field name='fog_far' type='float' />
    <field name='fog_density' type='float' />
  </table>
  <table table_name='loading_screen_diagrams_tables'
         table_version='0' >
    <field name='image_name' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='loading_screen_quotes_categories_tables'
         table_version='0' >
    <field name='category' type='string_ascii' pk='true' />
    <field name='category_weighting' type='int' />
  </table>
  <table table_name='loading_screen_quotes_tables'
         table_version='1' >
    <field name='image' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='category' type='string_ascii' />
  </table>
  <table table_name='loading_screen_quotes_tables'
         table_version='4' >
    <field name='image' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_displays' type='int' />
    <field name='weighting' type='int' />
    <field name='first_shown_weighting' type='int' />
    <field fkey='loading_screen_quotes_categories_tables.category' name='category' type='string_ascii' />
  </table>
  <table table_name='loading_screen_quotes_to_campaigns_tables'
         table_version='2' >
    <field fkey='loading_screen_quotes_tables.key' name='loading_quote' type='string_ascii' pk='true' />
    <field fkey='campaign_map_playable_areas_tables.mapname' name='campaign' type='string_ascii' pk='true' />
  </table>
  <table table_name='loading_screen_quotes_to_cultures_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='loading_screen_quotes_tables.key' name='loading_quote' type='string_ascii' pk='true' />
  </table>
  <table table_name='loading_screen_quotes_to_quest_battles_tables'
         table_version='0' >
    <field fkey='battle_set_pieces_tables.battle_name' name='quest_battle' type='string_ascii' pk='true' />
    <field fkey='loading_screen_quotes_tables.key' name='quote' type='string_ascii' pk='true' />
  </table>
  <table table_name='loading_screen_quotes_to_units_tables'
         table_version='0' >
    <field fkey='loading_screen_quotes_tables.key' name='quote' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='loading_screen_texts_tables'
         table_version='1' >
    <field fkey='ui_text_replacements_tables.key' name='text_lookup' type='string_ascii' pk='true' />
    <field name='is_battle_only' type='boolean' />
    <field name='is_campaign_only' type='boolean' />
  </table>
  <table table_name='loading_screens_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='category' type='string' />
    <field name='image_file' type='string' />
    <field name='sound_event' type='string' />
  </table>
  <table table_name='loyalty_effects_tables'
         table_version='0' >
    <field name='applies_to_ai' type='boolean' />
    <field fkey='loyalty_factors_tables.key' name='factor' type='string' />
    <field name='key' type='string' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='loyalty_effects_tables'
         table_version='0' >
    <field name='applies_to_ai' type='boolean' />
    <field fkey='loyalty_factors_tables.key' name='factor' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='loyalty_event_effects_tables'
         table_version='0' >
    <field name='event' type='string_ascii' pk='true' />
    <field name='loyalty_change' type='int' />
    <field fkey='loyalty_factors_tables.key' name='loyalty_factor' type='string_ascii' />
    <field name='percentage_chance' type='int' />
    <field name='threshold' type='int' />
  </table>
  <table table_name='loyalty_factors_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='maximum_value' type='int' />
    <field name='minimum_value' type='int' />
  </table>
  <table table_name='loyalty_factors_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='maximum_value' type='int' />
    <field name='minimum_value' type='int' />
  </table>
  <table table_name='main_units_tables'
         table_version='13' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field name='campaign_total_cap' type='int' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='audio_language' type='string_ascii' />
  </table>
  <table table_name='main_units_tables'
         table_version='14' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field name='campaign_total_cap' type='int' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='audio_language' type='string_ascii' />
    <field fkey='audio_vo_actor_groups_tables.key' name='audio_vo_actor_group' type='optstring_ascii' />
  </table>
  <table table_name='main_units_tables'
         table_version='17' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field name='campaign_total_cap' type='int' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='voiceover' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_land' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_naval' type='string_ascii' />
    <field name='tier' type='int' />
  </table>
  <table table_name='main_units_tables'
         table_version='28' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_land' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_naval' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='is_high_threat' type='boolean' />
    <field name='audio_voiceover_actor' type='string_ascii' />
    <field fkey='unit_porthole_camera_settings_tables.key' name='porthole_camera' type='string_ascii' />
    <field fkey='campaign_mounts_tables.model' name='mount' type='optstring_ascii' />
    <field name='use_hitpoints_in_campaign' type='boolean' />
    <field name='unit_scaling' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='melee_cp' type='float' />
    <field name='missile_cp' type='float' />
    <field name='can_siege' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture_override' type='string_ascii' />
  </table>
  <table table_name='main_units_tables'
         table_version='29' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_land' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_naval' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='is_high_threat' type='boolean' />
    <field name='audio_voiceover_actor' type='string_ascii' />
    <field fkey='unit_porthole_camera_settings_tables.key' name='porthole_camera' type='string_ascii' />
    <field fkey='campaign_mounts_tables.model' name='mount' type='optstring_ascii' />
    <field name='use_hitpoints_in_campaign' type='boolean' />
    <field name='unit_scaling' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='melee_cp' type='float' />
    <field name='missile_cp' type='float' />
    <field name='can_siege' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture_override' type='string_ascii' />
    <field name='restrict_xp_gain_in_campaign' type='boolean' />
  </table>
  <table table_name='main_units_tables'
         table_version='31' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_land' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_naval' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='is_high_threat' type='boolean' />
    <field fkey='unit_porthole_camera_settings_tables.key' name='porthole_camera' type='string_ascii' />
    <field fkey='campaign_mounts_tables.model' name='mount' type='optstring_ascii' />
    <field name='use_hitpoints_in_campaign' type='boolean' />
    <field name='unit_scaling' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='melee_cp' type='float' />
    <field name='missile_cp' type='float' />
    <field name='can_siege' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture_override' type='string_ascii' />
    <field name='restrict_xp_gain_in_campaign' type='boolean' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
  </table>
  <table table_name='main_units_tables'
         table_version='32' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_land' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_naval' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='is_high_threat' type='boolean' />
    <field fkey='unit_porthole_camera_settings_tables.key' name='porthole_camera' type='string_ascii' />
    <field fkey='campaign_mounts_tables.model' name='mount' type='optstring_ascii' />
    <field name='use_hitpoints_in_campaign' type='boolean' />
    <field name='unit_scaling' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='melee_cp' type='float' />
    <field name='missile_cp' type='float' />
    <field name='can_siege' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture_override' type='string_ascii' />
    <field name='restrict_xp_gain_in_campaign' type='boolean' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
    <field name='food_cost' type='int' />
    <field name='has_spoken_vo' type='boolean' />
    <field name='is_monstrous' type='boolean' />
  </table>
  <table table_name='main_units_tables'
         table_version='33' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_land' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_naval' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='is_high_threat' type='boolean' />
    <field fkey='unit_porthole_camera_settings_tables.key' name='porthole_camera' type='string_ascii' />
    <field fkey='campaign_mounts_tables.model' name='mount' type='optstring_ascii' />
    <field name='use_hitpoints_in_campaign' type='boolean' />
    <field name='unit_scaling' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='melee_cp' type='float' />
    <field name='missile_cp' type='float' />
    <field name='can_siege' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture_override' type='string_ascii' />
    <field name='restrict_xp_gain_in_campaign' type='boolean' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
    <field name='food_cost' type='int' />
    <field name='has_spoken_vo' type='boolean' />
    <field name='is_monstrous' type='boolean' />
  </table>
  <table table_name='main_units_tables'
         table_version='35' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_land' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_naval' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='is_high_threat' type='boolean' />
    <field fkey='unit_porthole_camera_settings_tables.key' name='porthole_camera' type='string_ascii' />
    <field fkey='campaign_mounts_tables.model' name='mount' type='optstring_ascii' />
    <field name='use_hitpoints_in_campaign' type='boolean' />
    <field name='unit_scaling' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='melee_cp' type='float' />
    <field name='missile_cp' type='float' />
    <field name='can_siege' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture_override' type='string_ascii' />
    <field name='restrict_xp_gain_in_campaign' type='boolean' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
    <field name='food_cost' type='int' />
    <field name='has_spoken_vo' type='boolean' />
    <field name='is_monstrous' type='boolean' />
    <field name='multiplayer_qb_cap' type='int' />
    <field name='vo_is_dragon' type='boolean' />
    <field name='vo_is_dinosaur' type='boolean' />
  </table>
  <table table_name='main_units_tables'
         table_version='36' >
    <field fkey='building_levels_tables.level_name' name='additional_building_requirement' type='optstring_ascii' />
    <field name='campaign_cap' type='int' />
    <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
    <field name='create_time' type='int' />
    <field name='is_naval' type='boolean' />
    <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
    <field name='num_men' type='int' />
    <field name='multiplayer_cap' type='int' />
    <field name='multiplayer_cost' type='int' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
    <field name='num_ships' type='int' />
    <field name='min_men_per_ship' type='int' />
    <field name='max_men_per_ship' type='int' />
    <field name='prestige' type='int' />
    <field name='recruitment_cost' type='int' />
    <field name='recruitment_movie' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring_ascii' />
    <field name='unit' type='string_ascii' pk='true' />
    <field name='upkeep_cost' type='int' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring_ascii' />
    <field name='world_leader_only' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='special_edition_mask' type='int' />
    <field name='unique_index' type='int' />
    <field name='-' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_land' type='string_ascii' />
    <field fkey='ui_unit_groupings_tables.key' name='ui_unit_group_naval' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='is_high_threat' type='boolean' />
    <field fkey='unit_porthole_camera_settings_tables.key' name='porthole_camera' type='string_ascii' />
    <field fkey='campaign_mounts_tables.model' name='mount' type='optstring_ascii' />
    <field name='use_hitpoints_in_campaign' type='boolean' />
    <field name='unit_scaling' type='boolean' />
    <field name='porthole_composite_scene' type='optstring_ascii' />
    <field name='melee_cp' type='float' />
    <field name='missile_cp' type='float' />
    <field name='can_siege' type='boolean' />
    <field fkey='audio_voiceover_cultures_tables.name' name='audio_voiceover_culture_override' type='string_ascii' />
    <field name='restrict_xp_gain_in_campaign' type='boolean' />
    <field fkey='audio_vo_actor_groups_tables.name' name='audio_voiceover_actor_group' type='string_ascii' />
    <field name='food_cost' type='int' />
    <field name='has_spoken_vo' type='boolean' />
    <field name='is_monstrous' type='boolean' />
    <field name='multiplayer_qb_cap' type='int' />
    <field name='vo_is_dragon' type='boolean' />
    <field name='vo_is_dinosaur' type='boolean' />
    <field name='optional_ui_element' type='optstring_ascii' />
  </table>
  <table table_name='marriage_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='melee_weapons_tables'
         table_version='6' >
    <field name='armour_penetrating' type='boolean' />
    <field name='armour_piercing' type='boolean' />
    <field name='bonus_v_cavalry' type='int' />
    <field name='bonus_v_elephants' type='int' />
    <field name='bonus_v_infantry' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field name='first_strike' type='int' />
    <field name='shield_piercing' type='boolean' />
    <field name='weapon_length' type='float' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string_ascii' />
    <field fkey='audio_materials_enums_tables.key' name='audio_material' type='string_ascii' />
  </table>
  <table table_name='melee_weapons_tables'
         table_version='7' >
    <field name='armour_penetrating' type='boolean' />
    <field name='armour_piercing' type='boolean' />
    <field name='bonus_v_cavalry' type='int' />
    <field name='bonus_v_elephants' type='int' />
    <field name='bonus_v_infantry' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field name='first_strike' type='int' />
    <field name='shield_piercing' type='boolean' />
    <field name='weapon_length' type='float' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string_ascii' />
    <field fkey='audio_materials_enums_tables.key' name='audio_material' type='string_ascii' />
    <field name='building_damage' type='float' />
  </table>
  <table table_name='melee_weapons_tables'
         table_version='20' >
    <field name='bonus_v_cavalry' type='int' />
    <field name='bonus_v_large' type='int' />
    <field name='bonus_v_infantry' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field name='first_strike' type='int' />
    <field name='weapon_length' type='float' />
    <field fkey='unit_melee_weapons_enums_tables.key' name='melee_weapon_type' type='string_ascii' />
    <field fkey='audio_melee_weapon_types_tables.key' name='audio_type' type='string_ascii' />
    <field fkey='battle_entities_size_enums_tables.key' name='splash_attack_target_size' type='optstring_ascii' />
    <field name='splash_attack_max_attacks' type='int' />
    <field name='splash_attack_power_multiplier' type='float' />
    <field name='building_damage' type='int' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field fkey='special_ability_phases_tables.id' name='contact_phase' type='optstring_ascii' />
    <field name='collision_attack_max_targets' type='int' />
    <field name='collision_attack_max_targets_cooldown' type='int' />
    <field name='melee_attack_interval' type='float' />
  </table>
  <table table_name='melee_weapons_tables'
         table_version='21' >
    <field name='bonus_v_cavalry' type='int' />
    <field name='bonus_v_large' type='int' />
    <field name='bonus_v_infantry' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field name='first_strike' type='int' />
    <field name='weapon_length' type='float' />
    <field fkey='unit_melee_weapons_enums_tables.key' name='melee_weapon_type' type='string_ascii' />
    <field fkey='audio_melee_weapon_types_tables.key' name='audio_type' type='optstring_ascii' />
    <field fkey='battle_entities_size_enums_tables.key' name='splash_attack_target_size' type='optstring_ascii' />
    <field name='splash_attack_max_attacks' type='int' />
    <field name='splash_attack_power_multiplier' type='float' />
    <field name='building_damage' type='int' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field fkey='special_ability_phases_tables.id' name='contact_phase' type='optstring_ascii' />
    <field name='collision_attack_max_targets' type='int' />
    <field name='collision_attack_max_targets_cooldown' type='int' />
    <field name='melee_attack_interval' type='float' />
  </table>
  <table table_name='mercenary_pool_modifiers_tables'
         table_version='0' >
    <field name='cost_modifier' type='float' />
    <field name='culture_origin_match' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='min_pool_culture_percentage' type='int' />
    <field fkey='mercenary_pool_type_enums_tables.pool_type' name='pool_type' type='string_ascii' />
    <field name='replenishment_modifier' type='float' />
  </table>
  <table table_name='mercenary_pool_to_groups_junctions_tables'
         table_version='0' >
    <field fkey='mercenary_unit_groups_tables.key' name='group' type='string_ascii' />
    <field name='initial_unit_count' type='int' />
    <field name='key' type='int' pk='true' />
    <field fkey='mercenary_pools_tables.key' name='pool' type='string_ascii' />
  </table>
  <table table_name='mercenary_pool_to_groups_junctions_tables'
         table_version='1' >
    <field fkey='mercenary_unit_groups_tables.key' name='group' type='string_ascii' />
    <field name='initial_unit_count' type='int' />
    <field name='key' type='int' pk='true' />
    <field fkey='mercenary_pools_tables.key' name='pool' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction_requirement' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_requirement' type='optstring_ascii' />
    <field fkey='technologies_tables.key' name='tech_requirement' type='optstring_ascii' />
  </table>
  <table table_name='mercenary_pool_type_enums_tables'
         table_version='0' >
    <field name='pool_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='mercenary_pools_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='mercenary_unit_groups_tables'
         table_version='0' >
    <field name='chance_to_replenish' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_count' type='int' />
    <field name='max_replenish_per_turn' type='int' />
    <field fkey='main_units_tables.unit' name='unit_record' type='string_ascii' />
  </table>
  <table table_name='mercenary_unit_groups_tables'
         table_version='1' >
    <field name='chance_to_replenish' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_count' type='int' />
    <field fkey='main_units_tables.unit' name='unit_record' type='string_ascii' />
    <field name='use_partial_replenishment' type='boolean' />
    <field name='max_replenish_per_turn' type='float' />
  </table>
  <table table_name='message_event_strings_tables'
         table_version='0' >
    <field name='event' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='message_event_text_tables.key' name='text' type='string' />
    <field name='image' type='string' />
    <field fkey='message_event_layout_types_tables.type' name='layout' type='string' />
    <field name='requires_response' type='boolean' />
    <field name='instant_open' type='boolean' />
    <field name='icon' type='string' />
  </table>
  <table table_name='message_event_strings_tables'
         table_version='0' >
    <field name='event' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='message_event_text_tables.key' name='text' type='string' />
    <field name='image' type='string' />
    <field fkey='message_event_layout_types_tables.type' name='layout' type='string' />
    <field name='requires_response' type='boolean' />
    <field name='instant_open' type='boolean' />
    <field name='icon' type='string' />
    <field name='image_2' type='string' />
  </table>
  <table table_name='message_event_strings_tables'
         table_version='1' >
    <field name='event' type='string' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='message_event_text_tables.key' name='text' type='string' />
    <field name='image' type='string' />
    <field fkey='message_event_layout_types_tables.type' name='layout' type='string' />
    <field name='requires_response' type='boolean' />
    <field name='instant_open' type='boolean' />
    <field name='icon' type='string' />
    <field name='sound_event' type='string' />
  </table>
  <table table_name='message_event_strings_tables'
         table_version='2' >
    <field fkey='message_events_tables.event' name='event' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='message_event_text_tables.key' name='text' type='string_ascii' />
    <field name='image' type='string_ascii' />
    <field name='icon' type='string_ascii' />
    <field name='sound_event' type='string_ascii' />
  </table>
  <table table_name='message_event_strings_tables'
         table_version='3' >
    <field fkey='message_events_tables.event' name='event' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='message_event_text_tables.key' name='text' type='string_ascii' />
    <field name='image' type='string_ascii' />
    <field name='icon' type='string_ascii' />
    <field name='sound_event' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='optional_subculture' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='message_events_tables'
         table_version='0' >
    <field name='event' type='string_ascii' pk='true' />
    <field name='instant_open' type='boolean' />
    <field name='layout' type='string_ascii' />
    <field name='requires_response' type='boolean' />
  </table>
  <table table_name='message_events_tables'
         table_version='1' >
    <field name='event' type='string_ascii' pk='true' />
    <field name='instant_open' type='boolean' />
    <field name='layout' type='string_ascii' />
    <field name='requires_response' type='boolean' />
    <field name='priority' type='int' />
  </table>
  <table table_name='military_force_legacy_emblems_tables'
         table_version='2' >
    <field fkey='cultures_tables.key' name='culure_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='is_army' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='optstring_ascii' />
    <field name='icon' type='string_ascii' />
    <field name='banner_decorator' type='string_ascii' />
  </table>
  <table table_name='military_force_legacy_emblems_tables'
         table_version='3' >
    <field fkey='cultures_tables.key' name='culure_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='is_army' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='optstring_ascii' />
    <field name='icon' type='string_ascii' />
    <field name='banner_decorator' type='string_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' />
  </table>
  <table table_name='military_force_legacy_names_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
    <field name='for_army' type='boolean' />
  </table>
  <table table_name='military_force_legacy_names_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
    <field name='for_army' type='boolean' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' />
  </table>
  <table table_name='military_force_types_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='slot_templates_tables.key' name='primary_slot_template' type='optstring_ascii' />
    <field fkey='slot_templates_tables.key' name='secondary_slot_template' type='optstring_ascii' />
    <field fkey='slot_types_tables.key' name='primary_slot_type' type='optstring_ascii' />
    <field fkey='slot_types_tables.key' name='secondary_slot_type' type='optstring_ascii' />
    <field name='general_can_be_replaced' type='boolean' />
  </table>
    <table table_name='military_force_types_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='slot_templates_tables.key' name='primary_slot_template' type='optstring_ascii' />
    <field fkey='slot_templates_tables.key' name='secondary_slot_template' type='optstring_ascii' />
    <field fkey='slot_types_tables.key' name='primary_slot_type' type='optstring_ascii' />
    <field fkey='slot_types_tables.key' name='secondary_slot_type' type='optstring_ascii' />
    <field name='general_can_be_replaced' type='boolean' />
    <field name='spawn_on_sea' type='boolean' />
  </table>
  <table table_name='ministerial_effectiveness_modifiers_tables'
         table_version='0' >
    <field name='leader_minister_level' type='int' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field name='effectiveness_bonus' type='int' />
  </table>
  <table table_name='ministerial_effectiveness_modifiers_tables'
         table_version='0' >
    <field name='leader_minister_level' type='int' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field name='effectiveness_bonus' type='int' />
  </table>
  <table table_name='ministerial_position_default_names_tables'
         table_version='0' >
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='gov_type' type='string' pk='true' />
  </table>
  <table table_name='ministerial_position_default_names_tables'
         table_version='0' >
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='gov_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='ministerial_position_effect_bundles_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
  </table>
  <table table_name='ministerial_position_to_required_building_junctions_tables'
         table_version='0' >
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='required_building' type='string_ascii' />
  </table>
  <table table_name='ministerial_positions_by_gov_types_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='minister_key' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field fkey='genders_tables.gender' name='gender' type='string' pk='true' />
    <field name='title' type='string' />
  </table>
  <table table_name='ministerial_positions_by_gov_types_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='minister_key' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field fkey='genders_tables.gender' name='gender' type='string' pk='true' />
    <field name='title' type='string' />
    <field fkey='ministerial_positions_strings_tables.key' name='string' type='optstring' />
    <field name='loyalty_on_loss' type='int' />
    <field name='unknown8' type='int' />
  </table>
  <table table_name='ministerial_positions_by_gov_types_tables'
         table_version='2' >
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='minister_key' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string' pk='true' />
    <field fkey='genders_tables.gender' name='gender' type='string' pk='true' />
    <field fkey='ministerial_positions_strings_tables.key' name='string' type='optstring' />
    <field name='loyalty_gained' type='int' />
    <field name='loyalty_on_loss' type='int' />
  </table>
  <table table_name='ministerial_positions_by_gov_types_tables'
         table_version='2' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='minister_key' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' pk='true' />
    <field fkey='ministerial_positions_strings_tables.key' name='string' type='optstring_ascii' />
    <field name='loyalty_gained' type='int' />
    <field name='loyalty_on_loss' type='int' />
  </table>
  <table table_name='ministerial_positions_culture_details_tables'
         table_version='4' >
    <field fkey='cultures_tables.key' name='culture_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field fkey='ministerial_positions_strings_tables.key' name='localised_string_key' type='string_ascii' />
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position_key' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='optstring_ascii' />
    <field name='unique_id' type='int' pk='true' />
    <field name='-' type='int' />
  </table>
  <table table_name='ministerial_positions_culture_details_tables'
         table_version='5' >
    <field fkey='cultures_tables.key' name='culture_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field fkey='ministerial_positions_strings_tables.key' name='localised_string_key' type='string_ascii' />
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position_key' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='optstring_ascii' />
    <field name='unique_id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' />
  </table>
  <table table_name='ministerial_positions_culture_details_tables'
         table_version='6' >
    <field fkey='cultures_tables.key' name='culture_key' type='optstring_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' pk='true' />
    <field fkey='ministerial_positions_strings_tables.key' name='localised_string_key' type='string_ascii' />
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position_key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture_key' type='optstring_ascii' pk='true' />
    <field name='unique_id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='x_coordinate' type='float' />
    <field name='y_coordinate' type='float' />
    <field fkey='ministerial_positions_strings_tables.key' name='localised_description_key' type='string_ascii' />
  </table>
  <table table_name='ministerial_positions_switching_loyalty_effects_tables'
         table_version='0' >
    <field name='loyalty_gained' type='int' />
    <field fkey='ministerial_positions_tables.minister_key' name='position_from' type='string' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='position_to' type='string' pk='true' />
  </table>
  <table table_name='ministerial_positions_switching_loyalty_effects_tables'
         table_version='0' >
    <field name='loyalty_gained' type='int' />
    <field fkey='ministerial_positions_tables.minister_key' name='position_from' type='string_ascii' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='position_to' type='string_ascii' pk='true' />
  </table>
  <table table_name='ministerial_positions_tables'
         table_version='0' >
    <field name='minister_key' type='string' pk='true' />
    <field name='rank' type='int' />
  </table>
  <table table_name='ministerial_positions_tables'
         table_version='0' >
    <field name='minister_key' type='string_ascii' pk='true' />
    <field name='rank' type='int' />
  </table>
  <table table_name='ministerial_positions_tables'
         table_version='1' >
    <field name='minister_key' type='string_ascii' pk='true' />
    <field name='rank' type='int' />
    <field name='minimum_age' type='int' />
    <field name='maximum_age' type='int' />
    <field name='order' type='int' />
    <field name='cost' type='int' />
    <field name='gravitas_worth' type='int' />
    <field name='minimum_term_length' type='int' />
    <field name='maximum_term_length' type='int' />
    <field name='maximum_turns_per_minister' type='int' />
    <field name='maximum_concurrent_ministers' type='int' />
  </table>
  <table table_name='ministerial_positions_tables'
         table_version='2' >
    <field name='minister_key' type='string_ascii' pk='true' />
    <field name='rank' type='int' />
    <field name='minimum_age' type='int' />
    <field name='maximum_age' type='int' />
    <field name='order' type='int' />
    <field name='cost' type='int' />
    <field name='gravitas_worth' type='int' />
    <field name='minimum_term_length' type='int' />
    <field name='maximum_term_length' type='int' />
    <field name='maximum_concurrent_ministers' type='int' />
  </table>
  <table table_name='ministerial_positions_tables'
         table_version='2' >
    <field name='minister_key' type='string_ascii' pk='true' />
    <field name='rank' type='int' />
    <field name='minimum_age' type='int' />
    <field name='maximum_age' type='int' />
    <field name='order' type='int' />
    <field name='cost' type='int' />
    <field name='gravitas_worth' type='int' />
    <field name='minimum_term_length' type='int' />
    <field name='maximum_term_length' type='int' />
    <field name='maximum_turns_per_minister' type='int' />
    <field name='maximum_concurrent_ministers' type='int' />
    <field name='requires_previous_office' type='boolean' />
  </table>
    <table table_name='ministerial_positions_tables'
         table_version='3' >
    <field name='minister_key' type='string_ascii' pk='true' />
    <field name='rank' type='int' />
    <field name='minimum_age' type='int' />
    <field name='maximum_age' type='int' />
    <field name='order' type='int' />
    <field name='cost' type='int' />
    <field name='gravitas_worth' type='int' />
    <field name='minimum_term_length' type='int' />
    <field name='maximum_term_length' type='int' />
    <field name='maximum_concurrent_ministers' type='int' />
    <field name='required_loyalty' type='int' />
  </table>
  <table table_name='ministerial_positions_to_character_effects_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='minister_level' type='int' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='position' type='string' pk='true' />
    <field name='ui_id' type='int' />
    <field name='value' type='int' />
  </table>
  <table table_name='ministerial_positions_to_character_effects_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='minister_level' type='int' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='position' type='string_ascii' pk='true' />
    <field name='ui_id' type='int' />
    <field name='value' type='int' />
  </table>
  <table table_name='ministerial_positions_to_character_effects_tables'
         table_version='3' >
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='minister_level' type='int' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='position' type='string_ascii' pk='true' />
    <field name='ui_id' type='int' />
    <field name='value' type='int' />
    <field name='regent' type='int' pk='true' />
  </table>
  <table table_name='ministerial_positions_to_effects_tables'
         table_version='0' >
    <field fkey='ministerial_positions_tables.minister_key' name='position' type='string' pk='true' />
    <field name='minister_level' type='int' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='value' type='int' />
    <field name='ui_id' type='int' />
  </table>
  <table table_name='ministerial_positions_to_effects_tables'
         table_version='0' >
    <field fkey='ministerial_positions_tables.minister_key' name='position' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='value' type='int' />
    <field name='minister_level' type='int' pk='true' />
    <field name='ui_id' type='int' />
  </table>
  <table table_name='ministerial_positions_to_effects_tables'
         table_version='3' >
    <field fkey='ministerial_positions_tables.minister_key' name='position' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='value' type='int' />
    <field name='minister_level' type='int' pk='true' />
    <field name='ui_id' type='int' />
    <field name='regent' type='int' pk='true' />
  </table>
  <table table_name='ministerial_positions_to_governorships_tables'
         table_version='0' >
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position' type='string' pk='true' />
    <field fkey='governorships_tables.governorship' name='governorship' type='string' pk='true' />
  </table>
  <table table_name='ministerial_positions_to_governorships_tables'
         table_version='0' >
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position' type='string_ascii' pk='true' />
    <field fkey='governorships_tables.governorship' name='governorship' type='string_ascii' pk='true' />
  </table>
  <table table_name='ministerial_positition_to_subtype_restrictions_tables'
         table_version='0' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' pk='true' />
    <field fkey='ministerial_positions_tables.minister_key' name='ministerial_position' type='string_ascii' pk='true' />
  </table>
  <table table_name='missile_weapons_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='precursor' type='boolean' />
    <field fkey='projectiles_tables.key' name='default_projectile' type='string_ascii' />
    <field name='can_fire_at_buildings' type='boolean' />
  </table>
  <table table_name='missile_weapons_tables'
         table_version='10' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='precursor' type='boolean' />
    <field fkey='projectiles_tables.key' name='default_projectile' type='string_ascii' />
    <field fkey='audio_missile_weapon_types_tables.key' name='audio_type' type='string_ascii' />
    <field name='use_secondary_ammo_pool' type='boolean' />
  </table>
  <table table_name='missile_weapons_tables'
         table_version='11' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='precursor' type='boolean' />
    <field fkey='projectiles_tables.key' name='default_projectile' type='string_ascii' />
    <field name='weapon_type' type='optstring_ascii' />
    <field name='can_fire_at_buildings' type='boolean' />
  </table>
  <table table_name='missile_weapons_to_projectiles_tables'
         table_version='0' >
    <field fkey='missile_weapons_tables.key' name='missile_weapon' type='string_ascii' pk='true' />
    <field fkey='projectiles_tables.key' name='projectile' type='string_ascii' pk='true' />
  </table>
  <table table_name='mission_activities_tables'
         table_version='0' >
    <field name='mission_activity' type='string' pk='true' />
    <field name='description' type='string' />
  </table>
  <table table_name='mission_category_age_multipliers_tables'
         table_version='1' >
    <field fkey='cdir_events_categories_tables.category_key' name='category' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='turn_threshold' type='int' />
    <field name='multiplier' type='float' />
  </table>
  <table table_name='mission_category_threshold_valid_subcultures_tables'
         table_version='0' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field fkey='mission_category_thresholds_tables.key' name='threshold' type='string_ascii' pk='true' />
  </table>
  <table table_name='mission_category_thresholds_tables'
         table_version='1' >
    <field fkey='cdir_events_categories_tables.category_key' name='category' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='name' type='string_ascii' />
    <field name='threshold_weight' type='int' />
  </table>
  <table table_name='mission_effects_tables'
         table_version='0' >
    <field name='treasury_id' type='string' pk='true' />
    <field name='text' type='string' />
  </table>
  <table table_name='mission_issuers_tables'
         table_version='0' >
    <field name='issuer_key' type='string' pk='true' />
  </table>
  <table table_name='mission_issuers_tables'
         table_version='0' >
    <field name='issuer_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='mission_issuers_tables'
         table_version='3' >
    <field name='issuer_key' type='string_ascii' pk='true' />
    <field name='icon_path' type='optstring_ascii' />
  </table>
  <table table_name='mission_sources_tables'
         table_version='0' >
    <field name='government_id' type='string' pk='true' />
    <field name='government_body' type='string' />
  </table>
  <table table_name='mission_weights_tables'
         table_version='0' >
    <field fkey='missions_tables.key' name='mission_key' type='string_ascii' pk='true' />
    <field name='weight' type='int' />
  </table>
  <table table_name='missions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='localised_description' type='string' />
    <field name='localised_title' type='string' />
    <field name='mission_type' type='string' />
    <field name='ui_icon' type='string' />
    <field name='ui_image' type='string' />
    <field name='unknown6' type='int' />
    <field name='unknown7' type='optstring' />
    <field fkey='mission_effects_tables.treasury_id' name='mission_effect' type='optstring' />
    <field name='unknown9' type='optstring' />
    <field name='unknown10' type='optstring' />
    <field name='unknown11' type='int' />
  </table>
  <table table_name='missions_tables'
         table_version='0' >
    <field name='generate' type='boolean' />
    <field name='key' type='string' pk='true' />
    <field name='localised_description' type='string' />
    <field name='localised_title' type='string' />
    <field name='mission_type' type='string' />
    <field name='ui_icon' type='string' />
    <field name='ui_image' type='string' />
  </table>
  <table table_name='missions_tables'
         table_version='1' >
    <field name='generate' type='boolean' />
    <field name='key' type='string' pk='true' />
    <field name='localised_description' type='string' />
    <field name='localised_title' type='string' />
    <field fkey='mission_types_tables.key' name='mission_type' type='string' />
    <field name='ui_icon' type='string' />
    <field name='ui_image' type='string' />
    <field name='prioritised' type='boolean' />
  </table>
  <table table_name='missions_tables'
         table_version='1' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_title' type='string_ascii' />
    <field fkey='mission_types_tables.key' name='mission_type' type='string_ascii' />
    <field name='ui_icon' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritised' type='boolean' />
  </table>
  <table table_name='missions_tables'
         table_version='2' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_title' type='string_ascii' />
    <field fkey='mission_types_tables.key' name='mission_type' type='string_ascii' />
    <field name='ui_icon' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritised' type='boolean' />
    <field fkey='cdir_events_categories_tables.category_key' name='event_category' type='optstring_ascii' />
  </table>
  <table table_name='missions_tables'
         table_version='6' >
    <field name='generate' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_description' type='string_ascii' />
    <field name='localised_title' type='string_ascii' />
    <field fkey='mission_types_tables.key' name='mission_type' type='string_ascii' />
    <field name='ui_icon' type='string_ascii' />
    <field name='ui_image' type='string_ascii' />
    <field name='prioritised' type='boolean' />
    <field fkey='cdir_events_categories_tables.category_key' name='event_category' type='optstring_ascii' />
    <field fkey='battle_set_pieces_tables.battle_name' name='set_piece_battle' type='optstring_ascii' />
    <field name='location_x' type='int' />
    <field name='location_y' type='int' />
    <field name='quest_mission' type='boolean' />
    <field name='trigger_radius' type='float' />
    <field name='quest_character' type='optstring_ascii' />
    <field name='quest_mission_final' type='boolean' />
    <field name='sticky_by_default' type='boolean' />
  </table>
  <table table_name='models_artilleries_tables'
         table_version='0' >
    <field name='artillery_id' type='string' pk='true' />
    <field name='model_file' type='string' />
    <field name='unknown2' type='int' />
    <field name='unknown3' type='list' >
      <field name='unknown4' type='int' />
      <field name='unknown5' type='int' />
      <field name='unknown6' type='boolean' />
      <field name='unknown7' type='float' />
      <field name='unknown8' type='float' />
      <field name='unknown9' type='float' />
      <field name='unknown10' type='float' />
      <field name='unknown11' type='float' />
      <field name='unknown12' type='float' />
      <field name='unknown13' type='float' />
      <field name='unknown14' type='float' />
      <field name='unknown15' type='float' />
    </field>
  </table>  <table table_name='models_artillery_tables'
         table_version='0' >
    <field name='artillery_id' type='string' pk='true' />
    <field name='model_file' type='string' />
    <field name='unknown2' type='int' />
    <field name='unknown3' type='list' >
      <field name='unknown4' type='int' />
      <field name='unknown5' type='int' />
      <field name='unknown6' type='boolean' />
      <field name='unknown7' type='float' />
      <field name='unknown8' type='float' />
      <field name='unknown9' type='float' />
      <field name='unknown10' type='float' />
      <field name='unknown11' type='float' />
      <field name='unknown12' type='float' />
      <field name='unknown13' type='float' />
      <field name='unknown14' type='float' />
      <field name='unknown15' type='float' />
    </field>
  </table>
  <table table_name='models_artillery_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='model_file' type='string_ascii' />
    <field name='unknown2' type='int' />
    <field name='unknown3' type='list' >
      <field name='unknown5' type='int' />
      <field name='unknown6' type='int' />
      <field name='unknown7' type='boolean' />
      <field name='unknown8' type='float' />
      <field name='unknown9' type='float' />
      <field name='unknown10' type='float' />
      <field name='unknown11' type='float' />
      <field name='unknown12' type='float' />
      <field name='unknown13' type='float' />
      <field name='unknown14' type='float' />
      <field name='unknown15' type='float' />
      <field name='unknown16' type='float' />
    </field>
  </table>
  <table table_name='models_building_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='unknown2' type='string' />
    <field name='unknown3' type='int' />
    <field name='elements' type='list' >
      <field name='name' type='string' />
      <field name='unknown' type='int' />
      <field name='x1' type='float' />
      <field name='y1' type='float' />
      <field name='z1' type='float' />
      <field name='x2' type='float' />
      <field name='y2' type='float' />
      <field name='z2' type='float' />
      <field name='x3' type='float' />
      <field name='y3' type='float' />
      <field name='z3' type='float' />
    </field>
  </table>
  <table table_name='models_building_tables'
         table_version='3' >
    <field name='display_path' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='model_file' type='string_ascii' />
    <field name='unknown4' type='int' />
    <field name='unknown5' type='list' >
      <field name='unknown6' type='string' />
      <field name='unknown7' type='int' />
      <field name='x1' type='float' />
      <field name='y1' type='float' />
      <field name='z1' type='float' />
      <field name='x2' type='float' />
      <field name='y2' type='float' />
      <field name='z2' type='float' />
      <field name='x3' type='float' />
      <field name='y3' type='float' />
      <field name='z3' type='float' />
    </field>
    <field name='unknown17' type='list' >
      <field name='unknown18' type='string' />
      <field name='unknown19' type='float' />
      <field name='unknown20' type='float' />
      <field name='unknown21' type='float' />
      <field name='unknown22' type='float' />
      <field name='unknown23' type='float' />
      <field name='unknown24' type='float' />
    </field>
  </table>
  <table table_name='models_building_tables'
         table_version='7' >
    <field name='display_path' type='optstring_ascii' />
    <field name='tech_file' type='optstring_ascii' />
    <field name='collision_file' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='unknown4' type='string_ascii' />
    <field name='unknown5' type='string_ascii' />
    <field name='unknown6' type='int' />
    <field name='unknown7' type='list' >
      <field name='unknown8' type='string' />
      <field name='unknown9' type='int' />
      <field name='x1' type='float' />
      <field name='y1' type='float' />
      <field name='z1' type='float' />
      <field name='x2' type='float' />
      <field name='y2' type='float' />
      <field name='z2' type='float' />
      <field name='x3' type='float' />
      <field name='y3' type='float' />
      <field name='z3' type='float' />
    </field>
    <field name='unknown8' type='list' >
      <field name='unknown9' type='string' />
      <field name='unknown10' type='float' />
      <field name='unknown11' type='float' />
      <field name='unknown12' type='float' />
      <field name='unknown13' type='float' />
      <field name='unknown14' type='float' />
      <field name='unknown15' type='float' />
    </field>
  </table>
  <table table_name='models_building_tables'
         table_version='8' >
    <field name='display_path' type='optstring_ascii' />
    <field name='tech_file' type='optstring_ascii' />
    <field name='collision_file' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='unknown4' type='string_ascii' />
    <field name='unknown5' type='string_ascii' />
  </table>
  <table table_name='models_deployables_tables'
         table_version='0' >
    <field name='display_path' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='logic_file' type='string_ascii' />
    <field name='model_file' type='string_ascii' />
  </table>
  <table table_name='models_entity_weapons_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='logic_file' type='string_ascii' />
    <field name='model_file' type='string_ascii' />
  </table>
  <table table_name='models_oars_tables'
         table_version='1' >
    <field name='left_row' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='rigid_model' type='optstring_ascii' />
    <field name='left_end' type='optstring_ascii' />
    <field name='right_row' type='optstring_ascii' />
    <field name='right_end' type='optstring_ascii' />
  </table>
  <table table_name='models_sieges_tables'
         table_version='2' >
    <field name='display_path' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='model_file' type='string_ascii' />
    <field name='unknown3' type='list' >
      <field name='name' type='string' />
      <field name='unknown5' type='int' />
      <field name='x1' type='float' />
      <field name='y1' type='float' />
      <field name='z1' type='float' />
      <field name='x2' type='float' />
      <field name='y2' type='float' />
      <field name='z2' type='float' />
      <field name='x3' type='float' />
      <field name='y3' type='float' />
      <field name='z3' type='float' />
    </field>
  </table>
  <table table_name='models_sieges_tables'
         table_version='3' >
    <field name='display_path' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='model_file' type='string_ascii' />
    <field name='unknown3' type='string_ascii' />
    <field name='unknown4' type='list' >
      <field name='name' type='string' />
      <field name='unknown5' type='int' />
      <field name='x1' type='float' />
      <field name='y1' type='float' />
      <field name='z1' type='float' />
      <field name='x2' type='float' />
      <field name='y2' type='float' />
      <field name='z2' type='float' />
      <field name='x3' type='float' />
      <field name='y3' type='float' />
      <field name='z3' type='float' />
    </field>
  </table>
  <table table_name='models_sieges_tables'
         table_version='4' >
    <field name='display_path' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='unknown2' type='string_ascii' />
    <field name='unknown3' type='string_ascii' />
  </table>
  <table table_name='modifiable_unit_stats_tables'
         table_version='0' >
    <field fkey='unit_stat_localisations_tables.stat_key' name='localisation' type='string_ascii' />
    <field name='stat_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='mortuary_cult_categories_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='show_order' type='int' />
  </table>
  <table table_name='mortuary_cult_categories_to_rituals_tables'
         table_version='0' >
    <field fkey='mortuary_cult_categories_tables.key' name='mortuary_category' type='string_ascii' pk='true' />
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
  </table>
  <table table_name='mount_variants_tables'
         table_version='0' >
    <field fkey='mounts_tables.key' name='mount_key' type='string' />
    <field name='display_key' type='string' />
    <field name='weight' type='float' />
  </table>
  <table table_name='mount_variants_tables'
         table_version='0' >
    <field fkey='mounts_tables.key' name='mount_key' type='string_ascii' />
    <field name='display_key' type='string_ascii' />
    <field name='weight' type='float' />
  </table>
  <table table_name='mountable_artillery_units_custom_battles_tables'
         table_version='1' >
    <field name='cap' type='int' />
    <field fkey='mountable_artillery_units_tables.unit_key' name='mountable_artillery' type='string_ascii' pk='true' />
    <field name='probability' type='int' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
  </table>
  <table table_name='mountable_artillery_units_tables'
         table_version='0' >
    <field fkey='main_units_tables.unit' name='unit_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='mounts_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='mounts_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_animations_table_tables.key' name='animation' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='entity' type='string_ascii' />
    <field name='mount_armour' type='int' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field fkey='audio_materials_enums_tables.key' name='audio_armour_type' type='string_ascii' />
  </table>
  <table table_name='mounts_tables'
         table_version='8' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='animation' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='entity' type='string_ascii' />
    <field name='unknown3' type='string_ascii' />
    <field name='unknown4' type='string_ascii' />
  </table>
  <table table_name='mounts_tables'
         table_version='9' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_animations_table_tables.key' name='animation' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='entity' type='string_ascii' />
    <field fkey='audio_armour_types_tables.key' name='audio_armour_type' type='string_ascii' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='voiceover' type='string_ascii' />
  </table>
  <table table_name='mounts_tables'
         table_version='10' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='battle_animations_table_tables.key' name='animation' type='string_ascii' />
    <field fkey='battle_entities_tables.key' name='entity' type='string_ascii' />
    <field fkey='audio_armour_types_tables.key' name='audio_armour_type' type='optstring_ascii' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field fkey='audio_voiceover_cultures_tables.name' name='voiceover' type='string_ascii' />
  </table>
  <table table_name='movie_event_strings_tables'
         table_version='0' >
    <field name='event' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field name='movie' type='string' />
    <field name='id' type='string' />
  </table>
  <table table_name='movie_event_strings_tables'
         table_version='0' >
    <field fkey='movie_events_tables.event' name='event' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field name='movie' type='string_ascii' />
    <field name='id' type='string_ascii' />
  </table>
  <table table_name='mp_budgets_tables'
         table_version='0' >
    <field name='budget' type='int' />
    <field fkey='mp_budget_sizes_tables.key' name='budget_size_key' type='string' />
    <field name='key' type='string' pk='true' />
    <field name='land' type='boolean' />
    <field name='siege_defender' type='boolean' />
  </table>
  <table table_name='mp_budgets_tables'
         table_version='0' >
    <field name='budget' type='int' />
    <field fkey='mp_budget_sizes_tables.key' name='budget_size_key' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='land' type='boolean' />
    <field name='siege_defender' type='boolean' />
  </table>
  <table table_name='mp_force_gen_army_sizes_by_budgets_tables'
         table_version='0' >
    <field fkey='mp_budget_sizes_tables.key' name='budget_size' type='string' pk='true' />
    <field name='maximum_unit_count' type='int' />
    <field name='minimum_unit_count' type='int' />
  </table>
  <table table_name='mp_force_gen_army_sizes_by_budgets_tables'
         table_version='0' >
    <field fkey='mp_budget_sizes_tables.key' name='budget_size' type='string_ascii' pk='true' />
    <field name='maximum_unit_count' type='int' />
    <field name='minimum_unit_count' type='int' />
  </table>
  <table table_name='mp_force_gen_compositions_tables'
         table_version='0' >
    <field name='general_pct' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='units_pct' type='float' />
    <field name='upgrade_pct' type='float' />
  </table>
  <table table_name='mp_force_gen_template_junctions_tables'
         table_version='0' >
    <field fkey='cdir_unit_balance_configs_tables.key' name='balance_key' type='string' />
    <field fkey='mp_budgets_tables.key' name='budget_key' type='string' pk='true' />
    <field name='general_pct' type='float' />
    <field name='priority' type='int' />
    <field fkey='cdir_unit_quality_configs_tables.key' name='quality_key' type='string' />
    <field fkey='mp_force_gen_templates_tables.key' name='template_key' type='string' pk='true' />
    <field name='units_pct' type='float' />
    <field name='upgrade_pct' type='float' />
  </table>
  <table table_name='mp_force_gen_template_junctions_tables'
         table_version='3' >
    <field fkey='mp_budgets_tables.key' name='budget_key' type='string_ascii' pk='true' />
    <field name='general_pct' type='float' />
    <field name='priority' type='int' />
    <field fkey='mp_force_gen_templates_tables.key' name='template_key' type='string_ascii' pk='true' />
    <field name='units_pct' type='float' />
    <field name='upgrade_pct' type='float' />
    <field fkey='cdir_military_generator_configs_tables.key' name='config_key' type='string_ascii' />
    <field name='is_defender' type='boolean' pk='true' />
  </table>
  <table table_name='mp_force_gen_template_junctions_tables'
         table_version='7' >
    <field fkey='mp_force_gen_templates_tables.key' name='template_key' type='string_ascii' pk='true' />
    <field fkey='cdir_military_generator_configs_tables.key' name='config_key' type='string_ascii' />
    <field name='is_defender' type='boolean' pk='true' />
    <field fkey='campaign_battle_type_enums_tables.key' name='battle_type' type='string_ascii' pk='true' />
    <field fkey='mp_force_gen_compositions_tables.key' name='composition' type='string_ascii' />
  </table>
  <table table_name='mp_force_gen_upgrade_junctions_tables'
         table_version='0' >
    <field name='priority' type='int' />
    <field fkey='mp_force_gen_templates_tables.key' name='template_key' type='string' pk='true' />
    <field fkey='unit_category_tables.key' name='unit_mp_category_key' type='string' pk='true' />
  </table>
  <table table_name='mp_force_gen_upgrade_probabilities_tables'
         table_version='0' >
    <field name='armour_upgrade_probability' type='float' />
    <field name='experience_upgrade_probability' type='float' />
    <field fkey='unit_category_tables.key' name='unit_category' type='string' pk='true' />
    <field name='weapon_upgrade_probability' type='float' />
  </table>
  <table table_name='mp_general_command_ratings_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='unit_key' type='string' pk='true' />
    <field name='command_stars' type='int' />
  </table>
  <table table_name='multiplayer_faction_descriptions_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field name='land_description' type='string' />
    <field name='naval_description' type='string' />
  </table>
  <table table_name='multiplayer_mininum_length_funds_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='multiplayer_mininum_length_funds_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='name_order_overrides_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field name='order' type='int' pk='true' />
    <field fkey='name_types_tables.key' name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='name_orders_tables'
         table_version='0' >
    <field fkey='names_groups_tables.key' name='name_group' type='int' pk='true' />
    <field name='order' type='int' pk='true' />
    <field fkey='name_types_tables.key' name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='names_forts_tables'
         table_version='0' >
    <field fkey='names_groups_tables.ID' name='name_group' type='string' pk='true' />
    <field name='fort_name' type='string' pk='true' />
    <field name='id' type='string' />
  </table>
  <table table_name='names_groups_tables'
         table_version='0' >
    <field name='ID' type='string' pk='true' />
    <field name='Description' type='string' />
  </table>
  <table table_name='names_groups_tables'
         table_version='1' >
    <field name='key' type='int' pk='true' />
  </table>
  <table table_name='names_royalty_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field name='name' type='string' pk='true' />
    <field name='numeral_start' type='int' />
    <field fkey='genders_tables.gender' name='gender' type='string' />
    <field name='frequency' type='int' />
    <field name='id' type='int' />
  </table>
  <table table_name='names_royalty_tables'
         table_version='1' >
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field name='name' type='string' pk='true' />
    <field name='numeral_start' type='int' />
    <field fkey='genders_tables.gender' name='gender' type='string' />
    <field name='frequency' type='int' />
    <field name='id' type='int' />
    <field name='-' type='int' />
  </table>
  <table table_name='names_royalty_tables'
         table_version='1' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field name='name' type='string_ascii' pk='true' />
    <field name='numeral_start' type='int' />
    <field fkey='genders_tables.gender' name='gender' type='string_ascii' />
    <field name='frequency' type='int' />
    <field name='id' type='int' />
    <field name='-' type='int' />
  </table>
  <table table_name='names_tables'
         table_version='0' >
    <field fkey='names_groups_tables.ID' name='names_group' type='string' pk='true' />
    <field name='name' type='string' pk='true' />
    <field fkey='name_types_tables.key' name='type' type='string' />
    <field fkey='genders_tables.gender' name='gender' type='string' />
    <field name='frequency' type='int' />
    <field name='nobility' type='boolean' />
    <field name='id' type='string' />
  </table>
  <table table_name='names_tables'
         table_version='1' >
    <field fkey='names_groups_tables.key' name='names_group' type='int' />
    <field name='type' type='int' />
    <field name='gender' type='int' />
    <field name='frequency' type='int' />
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='naval_effects_tables'
         table_version='0' >
    <field fkey='particle_effects_tables.key' name='effect_name' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='naval_fire_junctions_tables'
         table_version='0' >
    <field name='chance_of_fire' type='float' />
    <field fkey='projectile_incendiary_enum_tables.key' name='incendiary_level' type='string_ascii' pk='true' />
    <field fkey='unit_category_tables.key' name='unit_category' type='string_ascii' pk='true' />
  </table>
  <table table_name='naval_ramming_events_tables'
         table_version='0' >
    <field name='base_damage' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='unit_category_tables.key' name='rammed_ship' type='string_ascii' />
    <field fkey='unit_category_tables.key' name='ramming_ship' type='string_ascii' />
  </table>
  <table table_name='naval_uniforms_tables'
         table_version='2' >
    <field fkey='factions_tables.key' name='Faction' type='optstring' pk='true' />
    <field name='Filename' type='string' />
    <field name='IconScreenshotCameraPreset' type='optstring' />
    <field name='InfoScreenshotCameraPreset' type='optstring' />
    <field name='ManAnimation' type='optstring' />
    <field name='MountAnimation' type='optstring' />
    <field name='Uniform_Name' type='string' />
    <field fkey='unit_stats_naval_tables.key' name='Unit' type='string' pk='true' />
    <field fkey='imposter_sharing_enums_tables.key' name='imposter_sharing' type='optstring' />
  </table>
  <table table_name='naval_units_tables'
         table_version='15' >
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' />
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' />
    <field fkey='unit_description_gameplay_texts_tables.key' name='gameplay_description_text' type='string_ascii' />
    <field fkey='unit_description_historical_texts_tables.key' name='historical_description_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='ship_dbs_tables.key' name='ship' type='string_ascii' />
    <field fkey='unit_description_short_texts_tables.key' name='short_description_text' type='string_ascii' />
    <field fkey='unit_description_strengths_weaknesses_texts_tables.key' name='strengths_weaknesses_text' type='string_ascii' />
    <field name='unit_type_icon' type='optstring_ascii' />
    <field fkey='unit_attributes_groups_tables.group_name' name='attribute_groups' type='optstring_ascii' />
    <field fkey='naval_weapons_tables.key' name='primary_naval_weapon' type='optstring_ascii' />
    <field fkey='naval_weapons_tables.key' name='secondary_naval_weapon' type='optstring_ascii' />
    <field name='rank_depth' type='int' />
    <field name='supports_first_person' type='boolean' />
    <field name='can_board' type='boolean' />
    <field name='unit_card' type='string_ascii' />
    <field name='is_composite' type='boolean' />
    <field name='ignition_threshold' type='int' />
  </table>
  <table table_name='naval_units_tables'
         table_version='17' >
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' />
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' />
    <field fkey='unit_description_historical_texts_tables.key' name='historical_description_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='ship_dbs_tables.key' name='ship' type='string_ascii' />
    <field fkey='unit_description_short_texts_tables.key' name='short_description_text' type='string_ascii' />
    <field fkey='unit_description_strengths_weaknesses_texts_tables.key' name='strengths_weaknesses_text' type='string_ascii' />
    <field name='supports_first_person' type='boolean' />
    <field name='unit_type_icon' type='optstring_ascii' />
    <field fkey='naval_weapons_tables.key' name='primary_naval_weapon' type='optstring_ascii' />
    <field fkey='naval_weapons_tables.key' name='secondary_naval_weapon' type='optstring_ascii' />
    <field name='rank_depth' type='int' />
    <field fkey='unit_attributes_groups_tables.group_name' name='attribute_groups' type='optstring_ascii' />
    <field name='can_board' type='boolean' />
    <field name='unit_card' type='string_ascii' />
    <field name='is_composite' type='boolean' />
    <field name='ignition_threshold' type='int' />
    <field name='can_ram' type='boolean' />
  </table>
  <table table_name='naval_units_tables'
         table_version='18' >
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' />
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' />
    <field fkey='unit_description_historical_texts_tables.key' name='historical_description_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='ship_dbs_tables.key' name='ship' type='string_ascii' />
    <field fkey='unit_description_short_texts_tables.key' name='short_description_text' type='string_ascii' />
    <field fkey='unit_description_strengths_weaknesses_texts_tables.key' name='strengths_weaknesses_text' type='string_ascii' />
    <field name='supports_first_person' type='boolean' />
    <field name='unit_type_icon' type='optstring_ascii' />
    <field fkey='naval_weapons_tables.key' name='primary_naval_weapon' type='optstring_ascii' />
    <field fkey='naval_weapons_tables.key' name='secondary_naval_weapon' type='optstring_ascii' />
    <field name='rank_depth' type='int' />
    <field fkey='unit_attributes_groups_tables.group_name' name='attribute_groups' type='optstring_ascii' />
    <field name='can_board' type='boolean' />
    <field name='unit_card' type='string_ascii' />
    <field name='is_composite' type='boolean' />
    <field name='ignition_threshold' type='int' />
  </table>
  <table table_name='naval_units_tables'
         table_version='20' >
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' />
    <field fkey='unit_class_tables.key' name='class' type='string_ascii' />
    <field fkey='unit_description_historical_texts_tables.key' name='historical_description_text' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='ship_dbs_tables.key' name='ship' type='string_ascii' />
    <field fkey='unit_description_short_texts_tables.key' name='short_description_text' type='string_ascii' />
    <field fkey='unit_description_strengths_weaknesses_texts_tables.key' name='strengths_weaknesses_text' type='string_ascii' />
    <field name='supports_first_person' type='boolean' />
    <field name='unit_type_icon' type='optstring_ascii' />
    <field fkey='naval_weapons_tables.key' name='primary_naval_weapon' type='optstring_ascii' />
    <field fkey='naval_weapons_tables.key' name='secondary_naval_weapon' type='optstring_ascii' />
    <field name='rank_depth' type='int' />
    <field fkey='unit_attribute_groups_tables.group_name' name='attribute_groups' type='optstring_ascii' />
    <field name='can_board' type='boolean' />
    <field name='is_composite' type='boolean' />
    <field name='ignition_threshold' type='int' />
    <field name='can_ram' type='boolean' />
    <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
  </table>
  <table table_name='naval_units_to_unit_abilites_junctions_tables'
         table_version='0' >
    <field fkey='unit_abilities_tables.key' name='ability' type='string_ascii' pk='true' />
    <field fkey='naval_units_tables.key' name='naval_unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='naval_weapons_enums_tables'
         table_version='0' >
    <field name='types' type='string_ascii' pk='true' />
  </table>
  <table table_name='naval_weapons_tables'
         table_version='2' >
    <field fkey='battlefield_engines_autonomous_tables.key' name='autonomous_engine' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_entity_weapons_tables.key' name='models_entity_weaponry' type='optstring_ascii' />
    <field fkey='naval_weapons_enums_tables.types' name='type' type='string_ascii' />
  </table>
  <table table_name='naval_weapons_tables'
         table_version='4' >
    <field fkey='battlefield_engines_autonomous_tables.key' name='autonomous_engine' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_entity_weapons_tables.key' name='models_entity_weaponry' type='optstring_ascii' />
    <field fkey='naval_weapons_enums_tables.types' name='type' type='string_ascii' />
    <field fkey='projectiles_tables.key' name='projectile' type='optstring_ascii' />
    <field name='is_primary_unit_attack' type='boolean' />
  </table>
  <table table_name='new_content_alerts_tables'
         table_version='0' >
    <field name='button_url' type='optstring_ascii' />
    <field name='image_path' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='release_order' type='int' />
    <field name='show_order' type='int' />
  </table>
  <table table_name='particle_effects_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='particle_effects_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='pdlc_tables'
         table_version='3' >
    <field name='ID' type='string' pk='true' />
    <field name='SteamID' type='int' />
    <field name='description' type='optstring' />
    <field name='release_order' type='int' />
  </table>
  <table table_name='pdlc_tables'
         table_version='3' >
    <field name='ID' type='string_ascii' pk='true' />
    <field name='SteamID' type='int' />
    <field name='description' type='optstring_ascii' />
    <field name='release_order' type='int' />
  </table>
  <table table_name='plagues_permitted_campaigns_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='plagues_tables.name' name='plague' type='string_ascii' pk='true' />
  </table>
  <table table_name='plagues_tables'
         table_version='0' >
    <field name='grade' type='int' />
    <field name='infectivity' type='int' />
    <field name='lifetime' type='int' />
    <field fkey='effect_bundles_tables.key' name='military_force_effect_bundle' type='string_ascii' />
    <field name='minimum_sqaulor' type='int' />
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='region_effect_bundle' type='string_ascii' />
  </table>
  <table table_name='plagues_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='region_effect_bundle' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='military_force_effect_bundle' type='optstring_ascii' />
    <field name='grade' type='int' />
    <field name='infectivity' type='int' />
    <field name='lifetime' type='int' />
    <field name='minimum_squalor' type='int' />
    <field name='name' type='string_ascii' pk='true' />
  </table>
  <table table_name='plagues_tables'
         table_version='0' >
    <field name='grade' type='int' />
    <field name='infectivity' type='int' />
    <field name='lifetime' type='int' />
    <field name='minimum_squalor' type='int' />
    <field name='name' type='string_ascii' pk='true' />
    <field fkey='plague_types_tables.id' name='plague_type' type='string_ascii' />
  </table>
  <table table_name='policies_tables'
         table_version='0' >
    <field name='policy' type='string' pk='true' />
    <field name='prerequisites' type='string' />
  </table>
  <table table_name='political_actions_dilemma_junctions_tables'
         table_version='2' >
    <field fkey='dilemmas_tables.key' name='dilemma' type='string_ascii' pk='true' />
    <field fkey='political_actions_tables.political_action_key' name='political_action' type='string_ascii' pk='true' />
    <field name='weighting' type='int' pk='true' />
    <field name='optimal_outcome' type='boolean' />
  </table>
  <table table_name='political_actions_dilemma_junctions_tables'
         table_version='3' >
    <field fkey='dilemmas_tables.key' name='dilemma' type='string_ascii' pk='true' />
    <field fkey='political_actions_tables.political_action_key' name='political_action' type='string_ascii' pk='true' />
    <field name='weighting' type='int' pk='true' />
    <field name='optimal_outcome' type='boolean' />
    <field name='min_political_difference' type='int' />
    <field name='max_political_difference' type='int' />
  </table>
  <table table_name='political_actions_effect_bundles_tables'
         table_version='2' >
    <field name='action' type='string_ascii' pk='true' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='duration' type='int' />
  </table>
  <table table_name='political_actions_incidents_junctions_tables'
         table_version='2' >
    <field fkey='incidents_tables.key' name='incident' type='string_ascii' pk='true' />
    <field fkey='political_actions_tables.political_action_key' name='political_action' type='string_ascii' pk='true' />
    <field name='weighting' type='int' pk='true' />
    <field name='optimal_outcome' type='boolean' />
  </table>
  <table table_name='political_actions_mission_junctions_tables'
         table_version='2' >
    <field fkey='missions_tables.key' name='mission' type='string_ascii' pk='true' />
    <field fkey='political_actions_tables.political_action_key' name='political_action' type='string_ascii' pk='true' />
    <field name='weighting' type='int' pk='true' />
    <field name='optimal_outcome' type='boolean' />
  </table>
  <table table_name='political_actions_tables'
         table_version='0' >
    <field name='political_action_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='political_actions_tables'
         table_version='2' >
    <field name='political_action_key' type='string_ascii' pk='true' />
    <field name='onscreen_name' type='string_ascii' />
    <field name='icon_file_path' type='optstring_ascii' />
    <field name='usage_cost_multiplier' type='float' />
  </table>
  <table table_name='political_actions_tables'
         table_version='2' >
    <field name='political_action_key' type='string_ascii' pk='true' />
    <field name='icon' type='string_ascii' />
    <field name='base_cost_percentage' type='float' />
    <field name='minimum_cost' type='float' />
    <field name='rank_multiplier' type='float' />
  </table>
  <table table_name='political_actions_tables'
         table_version='3' >
    <field name='political_action_key' type='string_ascii' pk='true' />
    <field name='icon' type='string_ascii' />
    <field name='base_cost_percentage' type='float' />
    <field name='minimum_cost' type='float' />
    <field name='rank_multiplier' type='float' />
  </table>
  <table table_name='political_actions_tables'
         table_version='3' >
    <field name='political_action_key' type='string_ascii' pk='true' />
    <field name='icon' type='string_ascii' />
    <field name='base_cost_percentage' type='float' />
    <field name='minimum_cost' type='float' />
    <field name='rank_multiplier' type='float' />
    <field name='maximum_cost' type='float' />
  </table>
  <table table_name='political_parties_frontend_leaders_junctions_tables'
         table_version='0' >
    <field fkey='frontend_faction_leaders_tables.key' name='frontend_leader' type='string_ascii' pk='true' />
    <field fkey='political_parties_tables.key' name='political_party' type='string_ascii' pk='true' />
  </table>
  <table table_name='political_parties_loyalty_effect_bundles_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='bundle_key' type='string_ascii' pk='true' />
    <field name='loyalty' type='int' pk='true' />
  </table>
  <table table_name='political_parties_power_effect_bundles_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='political_parties_tables.key' name='political_party_key' type='string_ascii' pk='true' />
    <field name='power_level' type='int' />
  </table>
  <table table_name='political_parties_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='playable' type='boolean' />
    <field name='ui_icon' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='initial_power' type='int' />
  </table>
  <table table_name='political_parties_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='playable' type='boolean' />
    <field name='ui_icon' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='initial_power' type='int' />
    <field name='r' type='float' />
    <field name='g' type='float' />
    <field name='b' type='float' />
  </table>
  <table table_name='political_parties_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='playable' type='boolean' />
    <field name='ui_icon' type='string_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='initial_power' type='int' />
    <field name='r' type='float' />
    <field name='g' type='float' />
    <field name='b' type='float' />
    <field fkey='political_traits_tables.key' name='trait1' type='optstring_ascii' />
    <field fkey='political_traits_tables.key' name='trait2' type='optstring_ascii' />
  </table>
  <table table_name='political_parties_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='playable' type='boolean' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='initial_power' type='int' />
  </table>
    <table table_name='political_parties_tables'
         table_version='7' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='playable' type='boolean' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='initial_power' type='int' />
    <field name='campaign_key' type='string_ascii' />
  </table>
  <table table_name='political_traits_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='onscreen_name' type='string_ascii' />
    <field name='description' type='optstring_ascii' />
  </table>
  <table table_name='politics_government_actions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='politics_government_type_political_action_junctions_tables'
         table_version='0' >
    <field fkey='politics_government_types_tables.government_type' name='government_type' type='string_ascii' pk='true' />
    <field name='is_available_for_faction_leader' type='boolean' />
    <field name='is_available_for_non_ruling_party_leaders' type='boolean' />
    <field name='is_available_for_non_ruling_party_members' type='boolean' />
    <field name='is_available_for_ruling_party_members' type='boolean' />
    <field fkey='political_actions_tables.political_action_key' name='political_action' type='string_ascii' pk='true' />
  </table>
  <table table_name='politics_government_types_tables'
         table_version='0' >
    <field name='government_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='pooled_resource_factor_junctions_tables'
         table_version='0' >
    <field name='unique_id' type='string_ascii' pk='true' />
    <field fkey='pooled_resource_factors_tables.key' name='factor' type='string_ascii' />
    <field fkey='pooled_resources_tables.key' name='resource' type='string_ascii' />
  </table>
  <table table_name='pooled_resource_factors_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='minimum' type='int' />
    <field name='maximum' type='int' />
  </table>
  <table table_name='pooled_resources_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='maximum' type='int' />
    <field name='minimum' type='int' />
    <field name='persistent_factors' type='boolean' />
    <field name='ai_ignored' type='boolean' />
  </table>
  <table table_name='pooled_resources_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='maximum' type='int' />
    <field name='minimum' type='int' />
    <field name='persistent_factors' type='boolean' />
    <field name='ai_ignored' type='boolean' />
    <field fkey='pooled_resource_factors_tables.key' name='default_factor' type='string_ascii' />
    <field name='optional_icon_path' type='optstring_ascii' />
  </table>
  <table table_name='population_class_to_applicable_effects_tables'
         table_version='0' >
    <field name='class' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
  </table>
  <table table_name='population_classes_tables'
         table_version='0' >
    <field name='population_class' type='string' pk='true' />
    <field name='riots' type='boolean' />
    <field name='demands' type='boolean' />
    <field name='spawn_rebel_general' type='boolean' />
  </table>
  <table table_name='population_classes_tables'
         table_version='0' >
    <field name='population_class' type='string_ascii' pk='true' />
    <field name='riots' type='boolean' />
    <field name='demands' type='boolean' />
    <field name='spawn_rebel_general' type='boolean' />
  </table>
  <table table_name='population_classes_tables'
         table_version='1' >
    <field name='population_class' type='string_ascii' pk='true' />
  </table>
  <table table_name='portrait_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='pre_battle_speeches_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='text' type='string_ascii' />
    <field fkey='pre_battle_speech_types_enum_tables.index' name='type' type='int' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='parameter' type='optstring_ascii' />
  </table>
  <table table_name='pre_battle_speeches_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field fkey='pre_battle_speech_types_enum_tables.index' name='type' type='int' />
    <field fkey='pre_battle_speech_parameters_enum_tables.key' name='parameter' type='optstring' />
  </table>
  <table table_name='prefab_types_tables'
         table_version='3' >
    <field name='prefab_type' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field name='value' type='int' />
  </table>
  <table table_name='projectile_bombardment_launch_sources_tables'
         table_version='1' >
    <field name='suggested_launch_source' type='string_ascii' pk='true' />
    <field name='description' type='string_ascii' />
  </table>
  <table table_name='projectile_bombardments_tables'
         table_version='5' >
    <field name='arrival_window' type='float' />
    <field name='bombardment_key' type='string_ascii' pk='true' />
    <field name='num_projectiles' type='int' />
    <field fkey='projectiles_tables.key' name='projectile_type' type='string_ascii' />
    <field name='radius_spread' type='float' />
    <field name='start_time' type='float' />
    <field fkey='projectile_bombardment_launch_sources_tables.suggested_launch_source' name='launch_source' type='string_ascii' />
    <field fkey='particle_effects_tables.key' name='launch_vfx' type='optstring_ascii' />
    <field name='launch_height' type='int' />
    <field fkey='audio_projectile_bombardments_tables.key' name='audio_type' type='optstring_ascii' />
    <field name='launch_height_underground' type='int' />
  </table>
<table table_name='projectile_bombardments_tables'
         table_version='6' >
    <field name='arrival_window' type='float' />
    <field name='bombardment_key' type='string_ascii' pk='true' />
    <field name='num_projectiles' type='int' />
    <field fkey='projectiles_tables.key' name='projectile_type' type='string_ascii' />
    <field name='radius_spread' type='float' />
    <field name='start_time' type='float' />
    <field fkey='projectile_bombardment_launch_sources_tables.suggested_launch_source' name='launch_source' type='string_ascii' />
    <field fkey='particle_effects_tables.key' name='launch_vfx' type='optstring_ascii' />
    <field name='launch_height' type='int' />
    <field fkey='audio_projectile_bombardments_tables.key' name='audio_type' type='optstring_ascii' />
    <field name='launch_height_underground' type='int' />
    <field name='randomise_launch' type='boolean' />
  </table>
  <table table_name='projectile_displays_tables'
         table_version='3' >
    <field fkey='warscape_rigid_tables.key' name='damaged_display_model' type='optstring_ascii' />
    <field fkey='warscape_rigid_tables.key' name='display_model' type='optstring_ascii' />
    <field fkey='projectile_impacts_tables.key' name='impact' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='launch_fx' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='trail_fx' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='stationary_fx' type='optstring_ascii' />
    <field name='skeleton' type='optstring_ascii' />
    <field name='airborne_anim' type='optstring_ascii' />
    <field name='landing_anim' type='optstring_ascii' />
  </table>
  <table table_name='projectile_displays_tables'
         table_version='9' >
    <field name='unknown0' type='optstring_ascii' />
    <field name='unknown1' type='optstring_ascii' />
    <field name='unknown2' type='string_ascii' />
    <field name='unknown3' type='optstring_ascii' />
    <field name='unknown4' type='optstring_ascii' />
    <field name='unknown5' type='boolean' />
    <field name='unknown6' type='optstring_ascii' />
    <field name='unknown7' type='boolean' />
    <field name='unknown8' type='float' />
    <field name='unknown9' type='boolean' />
    <field name='unknown10' type='optstring_ascii' />
    <field name='unknown11' type='optstring_ascii' />
    <field name='unknown12' type='optstring_ascii' />
  </table>
  <table table_name='projectile_displays_tables'
         table_version='10' >
    <field name='display_model' type='optstring_ascii' />
    <field fkey='projectile_impacts_tables.key' name='impact' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='launch_fx' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='trail_fx' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='stationary_fx' type='optstring_ascii' />
    <field name='airborne_anim' type='optstring_ascii' />
    <field name='landing_anim' type='optstring_ascii' />
    <field name='tip_offset' type='float' />
    <field name='trail_spin' type='boolean' />
    <field fkey='battle_camera_shake_parameters_tables.key' name='launch_camera_shake' type='optstring_ascii' />
    <field fkey='projectile_impacts_tables.key' name='impact_bounce' type='optstring_ascii' />
    <field fkey='projectile_impacts_tables.key' name='impact_penetrate' type='optstring_ascii' />
    <field fkey='projectile_impacts_tables.key' name='impact_blood' type='optstring_ascii' />
    <field fkey='projectile_impacts_tables.key' name='impact_bounce_blood' type='optstring_ascii' />
    <field fkey='projectile_impacts_tables.key' name='impact_penetrate_blood' type='optstring_ascii' />
  </table>
  <table table_name='projectile_first_person_params_tables'
         table_version='1' >
    <field name='angular_velocity_decay' type='float' />
    <field name='camera_y_offset' type='float' />
    <field name='camera_z_offset' type='float' />
    <field name='drag_coefficient' type='float' />
    <field name='gravity' type='float' />
    <field name='impact_view_distance' type='float' />
    <field name='impact_view_elevation' type='float' />
    <field name='impact_view_time' type='float' />
    <field name='invert_pitch_control' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='launch_elevation' type='float' />
    <field name='launch_speed' type='float' />
    <field name='lift_coefficient' type='float' />
    <field name='mouse_sensitivity' type='float' />
    <field name='tail_coefficient' type='float' />
    <field name='yaw_control' type='boolean' />
    <field name='yaw_coefficient' type='float' />
    <field name='use_reload_stage' type='boolean' />
  </table>
  <table table_name='projectile_homing_params_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='lookahead_time' type='float' />
    <field name='max_target_angle_delta' type='float' />
    <field name='start_time' type='float' />
    <field name='steering_coefficient' type='float' />
  </table>
  <table table_name='projectile_impacts_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='particle_effects_tables.key' name='ship' type='optstring' />
    <field fkey='particle_effects_tables.key' name='water' type='optstring' />
    <field fkey='particle_effects_tables.key' name='sails' type='optstring' />
    <field fkey='particle_effects_tables.key' name='buildings' type='optstring' />
    <field fkey='particle_effects_tables.key' name='mud' type='optstring' />
    <field fkey='particle_effects_tables.key' name='grass' type='optstring' />
    <field fkey='particle_effects_tables.key' name='road' type='optstring' />
    <field fkey='particle_effects_tables.key' name='rock' type='optstring' />
    <field fkey='particle_effects_tables.key' name='sand' type='optstring' />
    <field fkey='particle_effects_tables.key' name='scree' type='optstring' />
    <field fkey='particle_effects_tables.key' name='snow' type='optstring' />
    <field fkey='particle_effects_tables.key' name='animal' type='optstring' />
    <field fkey='particle_effects_tables.key' name='wood' type='optstring' />
    <field fkey='particle_effects_tables.key' name='foliage' type='optstring' />
    <field fkey='particle_effects_tables.key' name='glass' type='optstring' />
    <field name='size' type='string' />
  </table>
  <table table_name='projectile_impacts_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='water' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='sails' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='mud' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='grass' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='road' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='rock' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='sand' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='cloth' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='snow' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='leather' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='wood' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='foliage' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='glass' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='blood' type='optstring_ascii' />
    <field name='size' type='string_ascii' />
    <field fkey='particle_effects_tables.key' name='metal' type='optstring_ascii' />
  </table>
  <table table_name='projectile_impacts_tables'
         table_version='11' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='water' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='sails' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='mud' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='grass' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='road' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='rock' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='sand' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='cloth' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='snow' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='leather' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='wood' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='foliage' type='optstring_ascii' />
  </table>
  <table table_name='projectile_penetration_junctions_tables'
         table_version='0' >
    <field name='description' type='optstring_ascii' />
    <field fkey='battle_entities_size_enums_tables.key' name='entity_size_cap' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_penetration' type='int' />
  </table>
  <table table_name='projectile_shot_type_enum_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='is_grenade' type='boolean' />
    <field name='supersedes_shot_type' type='optstring' />
    <field name='is_smallarms' type='boolean' />
    <field name='is_artillery' type='boolean' />
  </table>
  <table table_name='projectile_shot_type_enum_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='supersedes_shot_type' type='optstring_ascii' />
  </table>
  <table table_name='projectile_shot_type_enum_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='supersedes_shot_type' type='optstring_ascii' />
    <field name='icon_name' type='string_ascii' />
  </table>
  <table table_name='projectile_shot_type_enum_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='supersedes_shot_type' type='optstring_ascii' />
    <field name='icon_name' type='string_ascii' />
    <field name='ui_sound_event' type='optstring_ascii' />
  </table>
  <table table_name='projectile_shrapnels_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectiles_tables.key' name='projectile' type='string_ascii' />
    <field name='amount' type='int' />
    <field fkey='shrapnel_launch_type_enums_tables.key' name='launch_type' type='string_ascii' />
    <field name='sector_angle' type='float' />
  </table>
  <table table_name='projectile_trails_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='projectiles_trail_types_enum_tables.key' name='type' type='string' />
    <field name='width' type='float' />
    <field name='duration' type='float' />
    <field name='min_apparent_width_distance' type='float' />
    <field name='colour_r' type='float' />
    <field name='colour_g' type='float' />
    <field name='colour_b' type='float' />
    <field name='opacity' type='float' />
    <field name='fadeout_distance' type='float' />
    <field name='distortion_cross_fade_start_distance' type='float' />
    <field name='distortion_cross_fade_range' type='float' />
  </table>
  <table table_name='projectile_trails_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectiles_trail_types_enum_tables.key' name='type' type='string_ascii' />
    <field name='width' type='float' />
    <field name='duration' type='float' />
    <field name='min_apparent_width_distance' type='float' />
    <field name='colour_r' type='float' />
    <field name='colour_g' type='float' />
    <field name='colour_b' type='float' />
    <field name='opacity' type='float' />
    <field name='fadeout_distance' type='float' />
    <field name='distortion_cross_fade_start_distance' type='float' />
    <field name='distortion_cross_fade_range' type='float' />
  </table>
  <table table_name='projectiles_explosions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='projectiles_detonator_types_enum_tables.detonator_type' name='detonator_type' type='string' />
    <field fkey='projectiles_detonation_types_enum_tables.key' name='detonation_type' type='string' />
    <field name='detonation_radius' type='float' />
    <field name='detonation_duration' type='float' />
    <field name='detonation_speed' type='float' />
    <field name='detonation_damage' type='float' />
    <field fkey='projectiles_tables.key' name='particle_type' type='optstring' />
    <field name='particle_number' type='int' />
    <field fkey='particle_effects_tables.key' name='explosion_particle_effect' type='optstring' />
    <field name='distance_from_target' type='float' />
    <field name='error_margin' type='float' />
  </table>
  <table table_name='projectiles_explosions_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='projectiles_detonator_types_enum_tables.detonator_type' name='detonator_type' type='string' />
    <field fkey='projectiles_detonation_types_enum_tables.key' name='detonation_type' type='string' />
    <field name='detonation_radius' type='float' />
    <field name='detonation_duration' type='float' />
    <field name='detonation_speed' type='float' />
    <field name='detonation_damage' type='float' />
    <field fkey='projectiles_tables.key' name='particle_type' type='optstring' />
    <field name='particle_number' type='int' />
    <field fkey='particle_effects_tables.key' name='explosion_particle_effect' type='optstring' />
    <field name='distance_from_target' type='float' />
    <field name='error_margin' type='float' />
    <field name='explosion_particle_effect_on_ground' type='optstring' />
  </table>
  <table table_name='projectiles_explosions_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectiles_detonator_types_enum_tables.detonator_type' name='detonator_type' type='string_ascii' />
    <field fkey='projector_detonation_types_enum_tables.key' name='detonation_type' type='string_ascii' />
    <field name='detonation_radius' type='float' />
    <field name='detonation_duration' type='float' />
    <field name='detonation_speed' type='float' />
    <field name='detonation_damage' type='float' />
    <field fkey='projectiles_tables.key' name='projectile_name' type='optstring_ascii' />
    <field name='projectile_amount' type='int' />
    <field fkey='particle_effects_tables.key' name='explosion_particle_effect' type='optstring_ascii' />
    <field name='distance_from_target' type='float' />
    <field name='error_margin' type='float' />
    <field name='explosion_particle_effect_on_ground' type='optstring_ascii' />
    <field fkey='audio_explosions_enums_tables.key' name='audio_explosion_type' type='string_ascii' />
  </table>
  <table table_name='projectiles_explosions_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectiles_detonator_types_enum_tables.detonator_type' name='detonator_type' type='string_ascii' />
    <field fkey='projector_detonation_types_enum_tables.key' name='detonation_type' type='string_ascii' />
    <field name='detonation_radius' type='float' />
    <field name='detonation_duration' type='float' />
    <field name='detonation_speed' type='float' />
    <field name='detonation_damage' type='float' />
    <field fkey='projectiles_tables.key' name='projectile_name' type='optstring_ascii' />
    <field name='projectile_amount' type='int' />
    <field fkey='particle_effects_tables.key' name='explosion_particle_effect' type='optstring_ascii' />
    <field name='distance_from_target' type='float' />
    <field name='error_margin' type='float' />
    <field name='explosion_particle_effect_on_ground' type='optstring_ascii' />
    <field fkey='audio_explosions_tables.key' name='explosion_audio' type='string_ascii' />
  </table>
  <table table_name='projectiles_explosions_tables'
         table_version='15' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projector_detonator_types_enum_tables.detonator_type' name='detonator_type' type='string_ascii' />
    <field fkey='projector_detonation_types_enum_tables.key' name='detonation_type' type='string_ascii' />
    <field name='detonation_radius' type='float' />
    <field name='detonation_duration' type='float' />
    <field name='detonation_speed' type='float' />
    <field name='detonation_damage' type='float' />
    <field fkey='projectiles_tables.key' name='shrapnel_type' type='optstring_ascii' />
    <field name='shrapnel_amount' type='int' />
    <field fkey='particle_effects_tables.key' name='explosion_particle_effect' type='optstring_ascii' />
    <field name='distance_from_target' type='float' />
    <field fkey='particle_effects_tables.key' name='explosion_particle_effect_on_ground' type='optstring_ascii' />
    <field fkey='audio_explosions_tables.key' name='explosion_audio' type='string_ascii' />
    <field fkey='special_ability_phases_tables.id' name='contact_phase_effect' type='optstring_ascii' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field name='detonation_damage_ap' type='float' />
    <field fkey='battle_camera_shake_parameters_tables.key' name='camera_shake' type='optstring_ascii' />
    <field name='detonation_force' type='float' />
  </table>
  <table table_name='projectiles_explosions_tables'
         table_version='18' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectiles_detonator_types_enum_tables.detonator_type' name='detonator_type' type='string_ascii' />
    <field fkey='projectiles_detonation_types_enum_tables.key' name='detonation_type' type='string_ascii' />
    <field name='detonation_radius' type='float' />
    <field name='detonation_duration' type='float' />
    <field name='detonation_speed' type='float' />
    <field name='detonation_damage' type='float' />
    <field fkey='projectile_shrapnels_tables.key' name='shrapnel' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='explosion_particle_effect' type='optstring_ascii' />
    <field name='fuse_distance_from_target' type='float' />
    <field fkey='particle_effects_tables.key' name='explosion_particle_effect_on_ground' type='optstring_ascii' />
    <field fkey='audio_explosions_tables.key' name='explosion_audio' type='optstring_ascii' />
    <field fkey='special_ability_phases_tables.id' name='contact_phase_effect' type='optstring_ascii' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field name='detonation_damage_ap' type='float' />
    <field fkey='battle_camera_shake_parameters_tables.key' name='camera_shake' type='optstring_ascii' />
    <field name='detonation_force' type='float' />
    <field name='fuse_fixed_time' type='float' />
    <field name='affects_allies' type='boolean' />
  </table>
  <table table_name='projectiles_missile_type_enum_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='projectiles_missile_type_enum_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='projectiles_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='projectile_category_enum_tables.key' name='category' type='string' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string' />
    <field fkey='projectiles_missile_type_enum_tables.key' name='missile_type' type='string' />
    <field fkey='warscape_rigid_tables.key' name='missile_model' type='optstring' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_type' type='optstring' />
    <field fkey='projectile_trails_tables.key' name='trail' type='optstring' />
    <field fkey='projectiles_spin_type_enum_tables.key' name='spin_type' type='string' />
    <field name='projectile_number' type='int' />
    <field fkey='projectile_inflight_transition_enum_tables.key' name='in_flight_transition' type='optstring' />
    <field fkey='projectile_trajectory_sight_enum_tables.key' name='trajectory_sight' type='string' />
    <field name='effective_range' type='int' />
    <field name='minimum_range' type='int' />
    <field name='max_elevation' type='int' />
    <field name='muzzle_velocity' type='float' />
    <field name='marksmanship_bonus' type='float' />
    <field name='spread' type='float' />
    <field name='damage' type='float' />
    <field fkey='projectile_penetration_enum_tables.key' name='penetration' type='optstring' />
    <field fkey='projectile_incendiary_enum_tables.key' name='incendiary' type='optstring' />
    <field fkey='projectile_blast_effect_enum_tables.key' name='blast_effect' type='optstring' />
    <field name='can_bounce' type='boolean' />
    <field name='high_air_resistance' type='boolean' />
    <field name='collision_radius' type='float' />
    <field name='base_reload_time' type='int' />
    <field name='base_misfire_chance' type='int' />
    <field fkey='projectile_weather_effect_enum_tables.key' name='weather_effect' type='optstring' />
    <field name='sail_damage_modifier' type='float' />
    <field name='below_waterline_damage_modifer' type='float' />
    <field fkey='weapon_fire_audio_enum_tables.key' name='launch_audio' type='string' />
    <field name='hit_audio' type='string' />
    <field fkey='particle_effects_tables.key' name='launch_particle_effect' type='optstring' />
    <field fkey='particle_effects_tables.key' name='projectile_trail_particle_effect' type='optstring' />
    <field fkey='projectile_impacts_tables.key' name='impact' type='optstring' />
  </table>
  <table table_name='projectiles_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='projectile_category_enum_tables.key' name='category' type='string' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string' />
    <field fkey='projectiles_missile_type_enum_tables.key' name='missile_type' type='string' />
    <field fkey='warscape_rigid_tables.key' name='missile_model' type='optstring' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_type' type='optstring' />
    <field fkey='projectile_trails_tables.key' name='trail' type='optstring' />
    <field fkey='projectiles_spin_type_enum_tables.key' name='spin_type' type='string' />
    <field name='projectile_number' type='int' />
    <field fkey='projectile_inflight_transition_enum_tables.key' name='in_flight_transition' type='optstring' />
    <field fkey='projectile_trajectory_sight_enum_tables.key' name='trajectory_sight' type='string' />
    <field name='effective_range' type='int' />
    <field name='minimum_range' type='int' />
    <field name='max_elevation' type='int' />
    <field name='muzzle_velocity' type='float' />
    <field name='marksmanship_bonus' type='float' />
    <field name='spread' type='float' />
    <field name='damage' type='float' />
    <field fkey='projectile_penetration_enum_tables.key' name='penetration' type='optstring' />
    <field fkey='projectile_incendiary_enum_tables.key' name='incendiary' type='optstring' />
    <field fkey='projectile_blast_effect_enum_tables.key' name='blast_effect' type='optstring' />
    <field name='can_bounce' type='boolean' />
    <field name='high_air_resistance' type='boolean' />
    <field name='collision_radius' type='float' />
    <field name='base_reload_time' type='int' />
    <field name='base_misfire_chance' type='int' />
    <field fkey='projectile_weather_effect_enum_tables.key' name='weather_effect' type='optstring' />
    <field name='sail_damage_modifier' type='float' />
    <field name='below_waterline_damage_modifer' type='float' />
    <field fkey='weapon_fire_audio_enum_tables.key' name='launch_audio' type='string' />
    <field name='hit_audio' type='string' />
    <field fkey='particle_effects_tables.key' name='launch_particle_effect' type='optstring' />
    <field fkey='particle_effects_tables.key' name='projectile_trail_particle_effect' type='optstring' />
    <field fkey='projectile_impacts_tables.key' name='impact' type='optstring' />
    <field fkey='projectile_gun_types_enum_tables.gun_type' name='gun_type' type='optstring' />
  </table>
  <table table_name='projectiles_tables'
         table_version='5' >
    <field name='key' type='string' pk='true' />
    <field fkey='projectile_category_enum_tables.key' name='category' type='string' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string' />
    <field fkey='projectiles_missile_type_enum_tables.key' name='missile_type' type='string' />
    <field fkey='warscape_rigid_tables.key' name='missile_model' type='optstring' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_type' type='optstring' />
    <field fkey='projectile_trails_tables.key' name='trail' type='optstring' />
    <field fkey='projectiles_spin_type_enum_tables.key' name='spin_type' type='string' />
    <field name='projectile_number' type='int' />
    <field fkey='projectile_inflight_transition_enum_tables.key' name='in_flight_transition' type='optstring' />
    <field fkey='projectile_trajectory_sight_enum_tables.key' name='trajectory_sight' type='string' />
    <field name='effective_range' type='int' />
    <field name='minimum_range' type='int' />
    <field name='max_elevation' type='int' />
    <field name='muzzle_velocity' type='float' />
    <field name='marksmanship_bonus' type='float' />
    <field name='spread' type='float' />
    <field name='damage' type='float' />
    <field fkey='projectile_penetration_enum_tables.key' name='penetration' type='optstring' />
    <field fkey='projectile_incendiary_enum_tables.key' name='incendiary' type='optstring' />
    <field fkey='projectile_blast_effect_enum_tables.key' name='blast_effect' type='optstring' />
    <field name='can_bounce' type='boolean' />
    <field name='high_air_resistance' type='boolean' />
    <field name='collision_radius' type='float' />
    <field name='base_reload_time' type='int' />
    <field name='base_misfire_chance' type='int' />
    <field fkey='projectile_weather_effect_enum_tables.key' name='weather_effect' type='optstring' />
    <field name='sail_damage_modifier' type='float' />
    <field name='below_waterline_damage_modifer' type='float' />
    <field fkey='weapon_fire_audio_enum_tables.key' name='launch_audio' type='string' />
    <field name='hit_audio' type='string' />
    <field fkey='particle_effects_tables.key' name='launch_particle_effect' type='optstring' />
    <field fkey='particle_effects_tables.key' name='projectile_trail_particle_effect' type='optstring' />
    <field fkey='projectile_impacts_tables.key' name='impact' type='optstring' />
    <field fkey='projectile_gun_types_enum_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='particle_effects_tables.key' name='first_person_launch_particle_effect' type='optstring' />
    <field name='calibration_distance' type='float' />
    <field name='calibration_area' type='float' />
    <field name='can_penetrate_fortwall' type='boolean' />
    <field name='gravity' type='float' />
  </table>
  <table table_name='projectiles_tables'
         table_version='20' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectile_category_enum_tables.key' name='category' type='string_ascii' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string_ascii' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_type' type='optstring_ascii' />
    <field name='spin_type' type='string_ascii' />
    <field name='projectile_number' type='int' />
    <field fkey='projectile_trajectory_sight_enum_tables.key' name='trajectory_sight' type='string_ascii' />
    <field name='effective_range' type='int' />
    <field name='minimum_range' type='int' />
    <field name='max_elevation' type='int' />
    <field name='muzzle_velocity' type='float' />
    <field name='marksmanship_bonus' type='float' />
    <field name='spread' type='float' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field fkey='projectile_penetration_enum_tables.key' name='penetration' type='optstring_ascii' />
    <field fkey='projectile_incendiary_enum_tables.key' name='incendiary' type='optstring_ascii' />
    <field name='can_bounce' type='boolean' />
    <field name='high_air_resistance' type='boolean' />
    <field name='collision_radius' type='float' />
    <field name='base_reload_time' type='float' />
    <field name='below_waterline_damage_modifer' type='float' />
    <field name='calibration_distance' type='float' />
    <field name='calibration_area' type='float' />
    <field name='bonus_v_infantry' type='int' />
    <field name='bonus_v_cavalry' type='int' />
    <field name='bonus_v_elephant' type='int' />
    <field fkey='projectile_displays_tables.key' name='projectile_display' type='optstring_ascii' />
    <field fkey='special_ability_phases_tables.id' name='overhead_stat_effect' type='optstring_ascii' />
    <field fkey='audio_projectiles_tables.key' name='projectile_audio' type='string_ascii' />
    <field name='shockwave_radius' type='float' />
    <field name='can_damage_buildings' type='boolean' />
    <field fkey='special_ability_phases_tables.id' name='contact_stat_effect' type='optstring_ascii' />
    <field name='is_grapple' type='boolean' />
  </table>
  <table table_name='projectiles_tables'
         table_version='25' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectile_category_enum_tables.key' name='category' type='string_ascii' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string_ascii' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_type' type='optstring_ascii' />
    <field fkey='projectiles_spin_type_enum_tables.key' name='spin_type' type='string_ascii' />
    <field name='projectile_number' type='int' />
    <field fkey='projectile_trajectory_sight_enum_tables.key' name='trajectory_sight' type='string_ascii' />
    <field name='effective_range' type='int' />
    <field name='minimum_range' type='int' />
    <field name='max_elevation' type='int' />
    <field name='muzzle_velocity' type='float' />
    <field name='marksmanship_bonus' type='float' />
    <field name='spread' type='float' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field fkey='projectile_penetration_enum_tables.key' name='penetration' type='optstring_ascii' />
    <field fkey='projectile_incendiary_enum_tables.key' name='incendiary' type='optstring_ascii' />
    <field name='can_bounce' type='boolean' />
    <field name='high_air_resistance' type='boolean' />
    <field name='collision_radius' type='float' />
    <field name='base_reload_time' type='float' />
    <field name='below_waterline_damage_modifer' type='float' />
    <field name='calibration_distance' type='float' />
    <field name='calibration_area' type='float' />
    <field name='bonus_v_infantry' type='int' />
    <field name='bonus_v_cavalry' type='int' />
    <field name='bonus_v_elephant' type='int' />
    <field fkey='projectile_displays_tables.key' name='projectile_display' type='optstring_ascii' />
    <field fkey='special_ability_phases_tables.id' name='overhead_stat_effect' type='optstring_ascii' />
    <field fkey='audio_projectiles_tables.key' name='projectile_audio' type='string_ascii' />
    <field name='shockwave_radius' type='float' />
    <field name='can_damage_buildings' type='boolean' />
    <field fkey='special_ability_phases_tables.id' name='contact_stat_effect' type='optstring_ascii' />
    <field name='is_grapple' type='boolean' />
    <field name='burst_size' type='int' />
    <field name='burst_shot_delay' type='float' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_spread' type='optstring_ascii' />
    <field name='fire_damage' type='float' />
  </table>
  <table table_name='projectiles_tables'
         table_version='38' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectile_category_enum_tables.key' name='category' type='string_ascii' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string_ascii' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_type' type='optstring_ascii' />
    <field fkey='projectiles_spin_type_enum_tables.key' name='spin_type' type='string_ascii' />
    <field name='projectile_number' type='int' />
    <field fkey='projectile_trajectory_sight_enum_tables.key' name='trajectory_sight' type='string_ascii' />
    <field name='effective_range' type='int' />
    <field name='minimum_range' type='int' />
    <field name='max_elevation' type='int' />
    <field name='muzzle_velocity' type='float' />
    <field name='marksmanship_bonus' type='float' />
    <field name='spread' type='float' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field name='can_bounce' type='boolean' />
    <field name='high_air_resistence' type='boolean' />
    <field name='collision_radius' type='float' />
    <field name='base_reload_time' type='float' />
    <field name='calibration_distance' type='float' />
    <field name='calibration_area' type='float' />
    <field name='bonus_vs_infantry' type='int' />
    <field name='bonus_vs_cavalry' type='int' />
    <field name='bonus_vs_large' type='int' />
    <field fkey='projectile_displays_tables.key' name='projectile_display' type='optstring_ascii' />
    <field fkey='special_ability_phases_tables.id' name='overhead_stat_effect' type='optstring_ascii' />
    <field fkey='audio_projectiles_tables.key' name='projectile_audio' type='string_ascii' />
    <field name='shockwave_radius' type='float' />
    <field name='can_damage_buildings' type='boolean' />
    <field fkey='special_ability_phases_tables.id' name='contact_stat_effect' type='optstring_ascii' />
    <field name='is_grapple' type='boolean' />
    <field name='gravity' type='float' />
    <field name='burst_size' type='int' />
    <field name='burst_shot_delay' type='float' />
    <field name='mass' type='float' />
    <field fkey='projectiles_homing_params_tables.key' name='homing_param' type='optstring_ascii' />
    <field fkey='projectile_first_person_params_tables.key' name='first_person_params' type='optstring_ascii' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field name='can_target_airborne' type='boolean' />
    <field name='fixed_elevation' type='int' />
    <field fkey='projectile_penetration_junctions_tables.key' name='projectile_penetration' type='optstring_ascii' />
    <field name='expiry_range' type='int' />
    <field name='is_beam_launch_burst' type='boolean' />
    <field name='expire_on_impact' type='boolean' />
    <field name='can_roll' type='boolean' />
    <field name='shots_per_volley' type='int' />
  </table>
  <table table_name='projectiles_tables'
         table_version='39' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectile_category_enum_tables.key' name='category' type='string_ascii' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string_ascii' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_type' type='optstring_ascii' />
    <field fkey='projectiles_spin_type_enum_tables.key' name='spin_type' type='string_ascii' />
    <field name='projectile_number' type='int' />
    <field fkey='projectile_trajectory_sight_enum_tables.key' name='trajectory_sight' type='string_ascii' />
    <field name='effective_range' type='int' />
    <field name='minimum_range' type='int' />
    <field name='max_elevation' type='int' />
    <field name='muzzle_velocity' type='float' />
    <field name='marksmanship_bonus' type='float' />
    <field name='spread' type='float' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field name='can_bounce' type='boolean' />
    <field name='high_air_resistence' type='boolean' />
    <field name='collision_radius' type='float' />
    <field name='base_reload_time' type='float' />
    <field name='calibration_distance' type='float' />
    <field name='calibration_area' type='float' />
    <field name='bonus_vs_infantry' type='int' />
    <field name='bonus_vs_cavalry' type='int' />
    <field name='bonus_vs_large' type='int' />
    <field fkey='projectile_displays_tables.key' name='projectile_display' type='optstring_ascii' />
    <field fkey='special_ability_phases_tables.id' name='overhead_stat_effect' type='optstring_ascii' />
    <field fkey='audio_projectiles_tables.key' name='projectile_audio' type='string_ascii' />
    <field name='shockwave_radius' type='float' />
    <field name='can_damage_buildings' type='boolean' />
    <field fkey='special_ability_phases_tables.id' name='contact_stat_effect' type='optstring_ascii' />
    <field name='is_grapple' type='boolean' />
    <field name='gravity' type='float' />
    <field name='burst_size' type='int' />
    <field name='burst_shot_delay' type='float' />
    <field name='mass' type='float' />
    <field fkey='projectiles_homing_params_tables.key' name='homing_param' type='optstring_ascii' />
    <field fkey='projectile_first_person_params_tables.key' name='first_person_params' type='optstring_ascii' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field name='can_target_airborne' type='boolean' />
    <field name='fixed_elevation' type='int' />
    <field fkey='projectile_penetration_junctions_tables.key' name='projectile_penetration' type='optstring_ascii' />
    <field name='expiry_range' type='int' />
    <field name='is_beam_launch_burst' type='boolean' />
    <field name='expire_on_impact' type='boolean' />
    <field name='can_roll' type='boolean' />
    <field name='trail_always_on' type='boolean' />
    <field name='shots_per_volley' type='int' />
  </table>
  <table table_name='projectiles_tables'
         table_version='44' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='projectile_category_enum_tables.key' name='category' type='string_ascii' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='string_ascii' />
    <field fkey='projectiles_explosions_tables.key' name='explosion_type' type='optstring_ascii' />
    <field fkey='projectiles_spin_type_enum_tables.key' name='spin_type' type='string_ascii' />
    <field name='projectile_number' type='int' />
    <field fkey='projectile_trajectory_sight_enum_tables.key' name='trajectory_sight' type='string_ascii' />
    <field name='effective_range' type='int' />
    <field name='minimum_range' type='int' />
    <field name='max_elevation' type='int' />
    <field name='muzzle_velocity' type='float' />
    <field name='marksmanship_bonus' type='float' />
    <field name='spread' type='float' />
    <field name='damage' type='int' />
    <field name='ap_damage' type='int' />
    <field name='can_bounce' type='boolean' />
    <field name='high_air_resistence' type='boolean' />
    <field name='collision_radius' type='float' />
    <field name='base_reload_time' type='float' />
    <field name='calibration_distance' type='float' />
    <field name='calibration_area' type='float' />
    <field name='bonus_vs_infantry' type='int' />
    <field name='bonus_vs_cavalry' type='int' />
    <field name='bonus_vs_large' type='int' />
    <field fkey='projectile_displays_tables.key' name='projectile_display' type='optstring_ascii' />
    <field fkey='special_ability_phases_tables.id' name='overhead_stat_effect' type='optstring_ascii' />
    <field fkey='audio_projectiles_tables.key' name='projectile_audio' type='optstring_ascii' />
    <field name='shockwave_radius' type='float' />
    <field name='can_damage_buildings' type='boolean' />
    <field fkey='special_ability_phases_tables.id' name='contact_stat_effect' type='optstring_ascii' />
    <field name='is_grapple' type='boolean' />
    <field name='gravity' type='float' />
    <field name='burst_size' type='int' />
    <field name='burst_shot_delay' type='float' />
    <field name='mass' type='float' />
    <field fkey='projectile_homing_params_tables.key' name='homing_params' type='optstring_ascii' />
    <field fkey='projectile_first_person_params_tables.key' name='first_person_params' type='optstring_ascii' />
    <field name='ignition_amount' type='float' />
    <field name='is_magical' type='boolean' />
    <field name='can_target_airborne' type='boolean' />
    <field name='fixed_elevation' type='int' />
    <field fkey='projectile_penetration_junctions_tables.key' name='projectile_penetration' type='optstring_ascii' />
    <field name='expiry_range' type='int' />
    <field name='is_beam_launch_burst' type='boolean' />
    <field name='expire_on_impact' type='boolean' />
    <field name='can_roll' type='boolean' />
    <field name='trail_always_on' type='boolean' />
    <field name='shots_per_volley' type='int' />
    <field name='fired_by_mount' type='boolean' />
    <field name='lock_on_multiple_fire_pos' type='boolean' />
    <field name='prefer_central_target' type='boolean' />
    <field name='can_damage_vehicles' type='boolean' />
  </table>
  <table table_name='prologue_chapters_tables'
         table_version='1' >
    <field fkey='battles_tables.key' name='battle_key' type='optstring_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field name='is_battle' type='boolean' />
    <field name='number' type='int' pk='true' />
    <field name='banner' type='optstring_ascii' />
  </table>
  <table table_name='prologue_chapters_tables'
         table_version='2' >
    <field fkey='battles_tables.key' name='battle_key' type='optstring_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field name='is_battle' type='boolean' />
    <field name='number' type='int' pk='true' />
    <field name='banner' type='optstring_ascii' />
    <field name='campaign_faction_key' type='optstring_ascii' />
  </table>
  <table table_name='prologue_loading_screens_tables'
         table_version='1' >
    <field name='background_image' type='string_ascii' />
    <field name='index' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='inset_image' type='string_ascii' />
    <field name='pane_on_left' type='boolean' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' />
  </table>
  <table table_name='prophecy_of_sotek_stages_tables'
         table_version='1' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='order' type='int' />
    <field name='stage' type='string_ascii' pk='true' />
    <field fkey='sotek_tooltip_types_tables.type' name='tooltip_type' type='string_ascii' />
  </table>
  <table table_name='prophecy_of_sotek_stages_to_missions_tables'
         table_version='1' >
    <field fkey='prophecy_of_sotek_stages_tables.stage' name='stage' type='string_ascii' pk='true' />
    <field fkey='missions_tables.key' name='mission' type='string_ascii' pk='true' />
    <field name='order' type='int' />
  </table>
  <table table_name='province_to_mercenary_set_junctions_tables'
         table_version='0' >
    <field fkey='mercenary_pools_tables.key' name='mercenary_set' type='string_ascii' pk='true' />
    <field fkey='provinces_tables.key' name='province' type='string_ascii' pk='true' />
  </table>
  <table table_name='province_to_mercenary_set_junctions_tables'
         table_version='1' >
    <field fkey='mercenary_pools_tables.key' name='mercenary_set' type='string_ascii' pk='true' />
    <field fkey='provinces_tables.key' name='province' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' />
  </table>
  <table table_name='provinces_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='provinces_to_region_groups_junctions_tables'
         table_version='0' >
    <field fkey='provinces_tables.key' name='province' type='string_ascii' pk='true' />
    <field fkey='region_groups_tables.group_key' name='region_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='provincial_initiative_records_tables'
         table_version='2' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='order' type='int' />
    <field name='icon_path' type='string_ascii' />
    <field fkey='campaign_vfx_campaign_vfx_event_ids_tables.campaign_vfx_event' name='campaign_vfx_id' type='optstring_ascii' />
  </table>
  <table table_name='provincial_initiative_records_tables'
         table_version='3' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='order' type='int' />
    <field name='icon_path' type='string_ascii' />
    <field fkey='campaign_vfx_campaign_vfx_event_ids_tables.campaign_vfx_event' name='campaign_vfx_id' type='optstring_ascii' />
    <field fkey='religions_tables.religion_key' name='religion_restriction' type='optstring_ascii' />
  </table>
  <table table_name='provincial_initiative_strength_levels_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' />
    <field fkey='provincial_initiative_records_tables.key' name='initiative_record' type='string_ascii' pk='true' />
    <field name='strength' type='int' pk='true' />
  </table>
  <table table_name='provincial_initiative_strength_province_to_province_junctions_tables'
         table_version='0' >
    <field fkey='provinces_tables.key' name='province1' type='string_ascii' pk='true' />
    <field fkey='provinces_tables.key' name='province2' type='string_ascii' pk='true' />
  </table>
  <table table_name='provincial_initiatives_to_subculture_junctions_tables'
         table_version='0' >
    <field fkey='provincial_initiative_records_tables.key' name='provincial_initiative_key' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='public_order_factors_tables'
         table_version='0' >
    <field name='factor' type='string' pk='true' />
    <field name='positive_pip_path' type='string' />
    <field name='negative_pip_path' type='optstring' />
  </table>
  <table table_name='public_order_factors_tables'
         table_version='1' >
    <field name='factor' type='string' pk='true' />
    <field name='positive_pip_path' type='string' />
    <field name='negative_pip_path' type='optstring' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring' pk='true' />
  </table>
  <table table_name='public_order_factors_tables'
         table_version='1' >
    <field name='factor' type='string_ascii' pk='true' />
    <field name='positive_pip_path' type='string_ascii' />
    <field name='negative_pip_path' type='optstring_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='purchasable_effect_levels_tables'
         table_version='0' >
    <field fkey='purchasable_effects_tables.id' name='effect' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
    <field fkey='resource_costs_tables.id' name='resource_cost' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
  </table>
  <table table_name='purchasable_effects_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='quotes_people_tables'
         table_version='0' >
    <field name='quote_person_key' type='string' pk='true' />
    <field name='quote_person_onscreen' type='string' />
  </table>
  <table table_name='quotes_people_tables'
         table_version='0' >
    <field name='quote_person_key' type='string_ascii' pk='true' />
    <field name='quote_person_onscreen' type='string_ascii' />
  </table>
  <table table_name='quotes_tables'
         table_version='0' >
    <field name='quote_onscreen' type='string' />
    <field fkey='quotes_people_tables.quote_person_key' name='quote_person' type='string' />
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='quotes_tables'
         table_version='0' >
    <field name='quote_onscreen' type='string_ascii' />
    <field fkey='quotes_people_tables.quote_person_key' name='quote_person' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='quotes_tables'
         table_version='1' >
    <field name='quote_onscreen' type='string' />
    <field fkey='quotes_people_tables.quote_person_key' name='quote_person' type='string' />
    <field name='key' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='optstring' />
  </table>
  <table table_name='random_localisation_strings_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='random_localisation_strings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='random_unlocalised_strings_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='string' type='string_ascii' />
  </table>
  <table table_name='rebel_settlement_occupation_options_tables'
         table_version='0' >
    <field name='action_points' type='int' />
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
    <field fkey='settlement_occupation_options_tables.key' name='option' type='string_ascii' pk='true' />
    <field name='region_squalor_modifier' type='int' />
    <field name='target_settlement_faction_effect_bundle_turns' type='int' />
    <field fkey='effect_bundles_tables.key' name='target_settlement_faction_effect_bundle' type='optstring_ascii' />
  </table>
  <table table_name='region_campaign_overrides_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='optstring_ascii' />
    <field name='religion_zeal' type='int' />
  </table>
  <table table_name='region_economics_factors_tables'
         table_version='0' >
    <field name='factor' type='string' pk='true' />
    <field name='positive_pip_path' type='string' />
  </table>
  <table table_name='region_economics_factors_tables'
         table_version='0' >
    <field name='factor' type='string_ascii' pk='true' />
    <field name='positive_pip_path' type='string_ascii' />
  </table>
  <table table_name='region_groups_tables'
         table_version='0' >
    <field name='camera_heading' type='float' />
    <field name='camera_position_x' type='float' />
    <field name='camera_position_y' type='float' />
    <field name='camera_zoom' type='float' />
    <field name='group_key' type='string' pk='true' />
    <field name='round' type='int' />
  </table>
  <table table_name='region_groups_tables'
         table_version='1' >
    <field name='camera_heading' type='float' />
    <field name='camera_position_x' type='float' />
    <field name='camera_position_y' type='float' />
    <field name='camera_zoom' type='float' />
    <field name='group_key' type='string_ascii' pk='true' />
    <field name='round' type='int' />
  </table>
  <table table_name='region_groups_tables'
         table_version='2' >
    <field name='group_key' type='string_ascii' pk='true' />
    <field name='round' type='int' />
  </table>
  <table table_name='region_religions_tables'
         table_version='0' >
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' pk='true' />
    <field name='religion_zeal' type='int' />
  </table>
  <table table_name='region_to_province_junctions_tables'
         table_version='0' >
    <field fkey='provinces_tables.key' name='province' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
  </table>
  <table table_name='region_to_province_junctions_tables'
         table_version='1' >
    <field fkey='provinces_tables.key' name='province' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
    <field name='is_capital' type='boolean' />
  </table>
  <table table_name='region_unit_resources_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='string' type='string' />
  </table>
  <table table_name='region_unit_resources_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='string' type='string_ascii' />
  </table>
  <table table_name='regions_continents_tables'
         table_version='0' >
    <field name='continent' type='string' pk='true' />
  </table>
  <table table_name='regions_continents_tables'
         table_version='0' >
    <field name='continent' type='string_ascii' pk='true' />
  </table>
  <table table_name='regions_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='regions_continents_tables.continent' name='continent' type='string' />
    <field name='r' type='int' />
    <field name='g' type='int' />
    <field name='b' type='int' />
  </table>
  <table table_name='regions_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='regions_continents_tables.continent' name='continent' type='string' />
    <field name='r' type='int' />
    <field name='g' type='int' />
    <field name='b' type='int' />
    <field name='battle_name' type='string' />
  </table>
  <table table_name='regions_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='r' type='int' />
    <field name='g' type='int' />
    <field name='b' type='int' />
    <field name='is_sea' type='boolean' />
    <field fkey='effect_bundles_tables.key' name='owner_bundle' type='optstring_ascii' />
  </table>
  <table table_name='regions_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='r' type='int' />
    <field name='g' type='int' />
    <field name='b' type='int' />
    <field fkey='effects_bundles_tables.key' name='owner_bundle' type='optstring_ascii' />
  </table>
  <table table_name='regions_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='r' type='int' />
    <field name='g' type='int' />
    <field name='b' type='int' />
    <field fkey='effect_bundles_tables.key' name='owner_bundle' type='optstring_ascii' />
    <field name='native' type='string_ascii' />
  </table>
  <table table_name='regions_to_region_groups_junctions_tables'
         table_version='0' >
    <field fkey='regions_tables.key' name='region' type='string' pk='true' />
    <field fkey='region_groups_tables.group_key' name='region_group' type='string' pk='true' />
  </table>
  <table table_name='regions_to_region_groups_junctions_tables'
         table_version='0' >
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
    <field fkey='region_groups_tables.group_key' name='region_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='religion_anti_religion_junctions_tables'
         table_version='0' >
    <field fkey='religions_tables.religion_key' name='anti_religion' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' pk='true' />
  </table>
  <table table_name='religion_conversion_mods_tables'
         table_version='0' >
    <field fkey='religions_tables.religion_key' name='rel_from' type='string' pk='true' />
    <field fkey='religions_tables.religion_key' name='rel_to' type='string' pk='true' />
    <field name='modifier' type='float' />
  </table>
  <table table_name='religion_conversion_mods_tables'
         table_version='0' >
    <field fkey='religions_tables.religion_key' name='rel_from' type='string_ascii' pk='true' />
    <field fkey='religions_tables.religion_key' name='rel_to' type='string_ascii' pk='true' />
    <field name='modifier' type='float' />
  </table>
  <table table_name='religions_tables'
         table_version='0' >
    <field name='religion_key' type='string' pk='true' />
    <field name='convertibility' type='int' />
    <field name='ui_icon_path' type='string' />
  </table>
  <table table_name='religions_tables'
         table_version='0' >
    <field name='religion_key' type='string_ascii' pk='true' />
    <field name='convertibility' type='int' />
    <field name='ui_icon_path' type='string_ascii' />
  </table>
  <table table_name='religions_tables'
         table_version='2' >
    <field name='religion_key' type='string_ascii' pk='true' />
    <field name='convertibility' type='int' />
    <field name='ui_icon_path' type='string_ascii' />
    <field name='col_red' type='int' />
    <field name='col_green' type='int' />
    <field name='col_blue' type='int' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='religions_tables'
         table_version='3' >
    <field name='religion_key' type='string_ascii' pk='true' />
    <field name='ui_icon_path' type='string_ascii' />
    <field name='col_red' type='int' />
    <field name='col_green' type='int' />
    <field name='col_blue' type='int' />
    <field name='sort_order' type='int' />
    <field fkey='destruction_zone_mask_types_tables.key' name='destruction_mask_type' type='optstring_ascii' />
  </table>
  <table table_name='religious_rebellions_tables'
         table_version='0' >
    <field name='percentage_for_rebellion' type='float' />
    <field fkey='factions_tables.key' name='rebel_shadowed_faction' type='string_ascii' />
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' pk='true' />
  </table>
  <table table_name='religious_rebellions_tables'
         table_version='2' >
    <field name='percentage_for_rebellion' type='float' />
    <field fkey='factions_tables.key' name='rebel_shadowed_faction' type='string_ascii' />
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
  </table>
  <table table_name='resource_cost_pooled_resource_junctions_tables'
         table_version='0' >
    <field name='amount' type='int' />
    <field fkey='pooled_resource_factor_junctions_tables.unique_id' name='pooled_resource_factor' type='string_ascii' pk='true' />
    <field fkey='resource_costs_tables.id' name='resource_cost' type='string_ascii' pk='true' />
  </table>
  <table table_name='resource_cost_trade_resource_junctions_tables'
         table_version='0' >
    <field fkey='resource_costs_tables.id' name='resource_cost' type='string_ascii' pk='true' />
    <field fkey='resources_tables.key' name='trade_resource' type='string_ascii' pk='true' />
  </table>
  <table table_name='resource_costs_tables'
         table_version='2' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='treasury_cost' type='int' />
    <field fkey='instant_expenditure_types_tables.id' name='expenditure_type' type='string_ascii' />
    <field fkey='instant_income_types_tables.id' name='income_type' type='string_ascii' />
  </table>
  <table table_name='resource_effects_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect_key' type='string' pk='true' />
    <field fkey='resources_tables.key' name='resource_key' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='resource_effects_tables'
         table_version='0' >
    <field fkey='effects_tables.effect' name='effect_key' type='string_ascii' pk='true' />
    <field fkey='resources_tables.key' name='resource_key' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='resource_ui_overrides_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='override_faction' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='override_subculture' type='optstring_ascii' pk='true' />
    <field fkey='resources_tables.key' name='source_resource' type='string_ascii' pk='true' />
    <field fkey='resources_tables.key' name='target_resource' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='resources_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='commodity_unit_names_tables.unit' name='unit' type='optstring' />
    <field fkey='slots_tables.slot' name='slot_bed' type='string' />
    <field name='trade_value' type='int' />
    <field name='icon_filepath' type='string' />
  </table>
  <table table_name='resources_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='commodity_unit_names_tables.unit' name='unit' type='optstring' />
    <field fkey='slots_tables.slot' name='slot_bed' type='string' />
    <field name='trade_value' type='int' />
    <field name='icon_filepath' type='string' />
    <field name='strategic_value' type='int' />
  </table>
  <table table_name='resources_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='commodity_unit_names_tables.unit' name='unit' type='optstring_ascii' />
    <field fkey='slots_tables.slot' name='slot_bed' type='string_ascii' />
    <field name='trade_value' type='int' />
    <field name='icon_filepath' type='string_ascii' />
    <field name='strategic_value' type='int' />
    <field name='in_encyclopedia' type='boolean' />
  </table>
  <table table_name='resources_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='commodity_unit_names_tables.unit' name='unit' type='optstring_ascii' />
    <field name='trade_value' type='int' />
    <field name='icon_filepath' type='string_ascii' />
    <field name='strategic_value' type='int' />
    <field name='in_encyclopedia' type='boolean' />
  </table>
  <table table_name='resources_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='commodity_unit_names_tables.unit' name='unit' type='optstring_ascii' />
    <field name='trade_value' type='int' />
    <field name='icon_filepath' type='string_ascii' />
    <field name='strategic_value' type='int' />
    <field name='in_encyclopedia' type='boolean' />
    <field name='show_on_city_infobar' type='boolean' />
  </table>
  <table table_name='resources_to_campaign_group_junctions_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field fkey='resources_tables.key' name='resource' type='string_ascii' pk='true' />
  </table>
  <table table_name='resources_to_campaign_junctions_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field fkey='resources_tables.key' name='resource' type='string_ascii' pk='true' />
  </table>
  <table table_name='ritual_additional_ui_explanation_texts_tables'
         table_version='0' >
    <field fkey='rituals_tables.key' name='ritual_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='ritual_beam_types_tables'
         table_version='0' >
    <field name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='ritual_beams_tables'
         table_version='1' >
    <field fkey='ritual_beam_types_tables.type' name='beam_type' type='string_ascii' />
    <field name='bmd' type='string_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
  </table>
  <table table_name='ritual_categories_tables'
         table_version='1' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='trigger_events' type='boolean' />
  </table>
  <table table_name='ritual_categories_tables'
         table_version='2' >
    <field name='id' type='string_ascii' pk='true' />
    <field name='trigger_events' type='boolean' />
  </table>
  <table table_name='ritual_chains_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='ritual_categories_tables.id' name='category' type='string_ascii' />
    <field name='ritual_sites_required' type='int' />
    <field name='colour_r' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_b' type='int' />
  </table>
  <table table_name='ritual_incursion_strengths_tables'
         table_version='0' >
    <field name='difficulty' type='int' pk='true' />
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
    <field name='strength' type='int' />
  </table>
  <table table_name='ritual_payload_ancillaries_tables'
         table_version='0' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' />
    <field fkey='ancillaries_tables.key' name='ancillary' type='string_ascii' />
  </table>
  <table table_name='ritual_payload_diplomatic_attitude_changes_tables'
         table_version='0' >
    <field name='attitude_delta' type='int' />
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' pk='true' />
  </table>
  <table table_name='ritual_payload_effect_bundles_tables'
         table_version='1' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' pk='true'/>
    <field name='duration' type='int' />
  </table>
  <table table_name='ritual_payload_resource_transactions_tables'
         table_version='0' >
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' pk='true' />
    <field fkey='resource_costs_tables.id' name='transaction' type='string_ascii' pk='true' />
  </table>
  <table table_name='ritual_payload_spawn_agents_tables'
         table_version='0' >
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' pk='true' />
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' pk='true' />
    <field name='spawn_to_pool' type='boolean' />
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='ritual_payload_spawn_armies_tables'
         table_version='2' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' />
    <field fkey='spawnable_forces_tables.key' name='spawnable_force' type='string_ascii' />
    <field fkey='factions_tables.key' name='faction_override' type='optstring_ascii' />
    <field name='spawn_at_ritual_site' type='boolean' />
  </table>
  <table table_name='ritual_payload_spawn_mercenaries_tables'
         table_version='0' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='spawnable_unit' type='string_ascii' />
  </table>
  <table table_name='ritual_payload_spawn_storms_tables'
         table_version='0' >
    <field name='max_turns_duration' type='int' />
    <field name='strength' type='int' />
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='optstring_ascii' />
  </table>
  <table table_name='ritual_payload_spawn_storms_tables'
         table_version='1' >
    <field name='max_turns_duration' type='int' />
    <field name='strength' type='int' />
    <field fkey='ritual_payloads_tables.key' name='payload' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='optstring_ascii' />
    <field fkey='campaign_storm_types_tables.type' name='type' type='string_ascii' />
  </table>
  <table table_name='ritual_payloads_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='human_only' type='boolean' />
  </table>
  <table table_name='ritual_reaction_constraints_tables'
         table_version='1' >
    <field name='once_per_target' type='boolean' />
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
    <field fkey='ritual_categories_tables.id' name='target_category' type='optstring_ascii' />
    <field fkey='rituals_tables.key' name='target_ritual' type='optstring_ascii' />
    <field name='same_subculture_valid' type='boolean' />
  </table>
  <table table_name='rituals_tables'
         table_version='11' >
    <field name='gold_cost' type='int' />
    <field name='interruptable' type='boolean' />
    <field name='key' type='string_ascii' />
    <field name='secondary_cost' type='int' />
    <field name='cast_time' type='int' />
    <field name='completion_payload' type='string_ascii' />
    <field name='cooldown_time' type='int' />
    <field name='category' type='string_ascii' />
    <field name='slave_cost' type='int' />
    <field name='global_cooldown_time' type='int' />
    <field name='start_payload' type='optstring_ascii' />
    <field name='icon' type='optstring_ascii' />
    <field name='failure_cooldown_time' type='int' />
    <field name='hostile' type='boolean' />
  </table>
  <table table_name='rituals_tables'
         table_version='12' >
    <field name='interruptable' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='cast_time' type='int' />
    <field fkey='ritual_payloads_tables.key' name='completion_payload' type='string_ascii' />
    <field name='cooldown_time' type='int' />
    <field fkey='ritual_categories_tables.id' name='category' type='string_ascii' />
    <field name='slave_cost' type='int' />
    <field name='global_cooldown_time' type='int' />
    <field fkey='ritual_payloads_tables.key' name='start_payload' type='optstring_ascii' />
    <field name='icon' type='optstring_ascii' />
    <field name='failure_cooldown_time' type='int' />
    <field name='hostile' type='boolean' />
    <field fkey='resource_costs_tables.id' name='required_resources' type='optstring_ascii' />
    <field fkey='resource_costs_tables.id' name='expended_resources' type='optstring_ascii' />
  </table>
  <table table_name='rituals_to_ritual_chains_tables'
         table_version='1' >
    <field name='order' type='int' pk='true' />
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' />
    <field fkey='ritual_chains_tables.key' name='chain' type='string_ascii' pk='true' />
  </table>
  <table table_name='sacrifices_to_sotek_rituals_tables'
         table_version='0' >
    <field name='order' type='int' />
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
    <field name='tier' type='int' />
  </table>
  <table table_name='scripted_objectives_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='scripted_subtitles_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='character_for_vo' type='optstring_ascii' />
  </table>
  <table table_name='sea_climate_details_tables'
         table_version='0' >
    <field fkey='climates_tables.climate_type' name='key' type='string' pk='true' />
    <field name='sea_deep_colour_r' type='float' />
    <field name='sea_deep_colour_g' type='float' />
    <field name='sea_deep_colour_b' type='float' />
    <field name='sea_shallow_colour_r' type='float' />
    <field name='sea_shallow_colour_g' type='float' />
    <field name='sea_shallow_colour_b' type='float' />
    <field name='sun_colour_r' type='float' />
    <field name='sun_colour_g' type='float' />
    <field name='sun_colour_b' type='float' />
    <field name='sky_colour_r' type='float' />
    <field name='sky_colour_g' type='float' />
    <field name='sky_colour_b' type='float' />
  </table>
  <table table_name='sea_climate_details_tables'
         table_version='0' >
    <field fkey='climates_tables.climate_type' name='key' type='string_ascii' pk='true' />
    <field name='sea_deep_colour_r' type='float' />
    <field name='sea_deep_colour_g' type='float' />
    <field name='sea_deep_colour_b' type='float' />
    <field name='sea_shallow_colour_r' type='float' />
    <field name='sea_shallow_colour_g' type='float' />
    <field name='sea_shallow_colour_b' type='float' />
    <field name='sun_colour_r' type='float' />
    <field name='sun_colour_g' type='float' />
    <field name='sun_colour_b' type='float' />
    <field name='sky_colour_r' type='float' />
    <field name='sky_colour_g' type='float' />
    <field name='sky_colour_b' type='float' />
  </table>
  <table table_name='sea_surfaces_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='sea_wind_speed' type='float' />
    <field name='sea_phillips_constant' type='float' />
    <field name='sea_choppiness' type='float' />
    <field name='swell_wind_speed' type='float' />
    <field name='swell_phillips_constant' type='float' />
    <field name='foam_enabled' type='boolean' />
    <field name='foam_decay_rate' type='float' />
    <field name='foam_fade_in_time' type='float' />
    <field name='foam_cut_off_value' type='float' />
    <field name='froth_value' type='float' />
    <field name='froth_distortion_speed' type='float' />
    <field name='froth_distortion_amount' type='float' />
    <field name='spray_cut_off_value' type='float' />
    <field name='spray_speed' type='float' />
    <field name='spray_duration' type='float' />
    <field name='sea_shininess' type='float' />
    <field name='sea_decay' type='float' />
    <field name='reflection_flattening_factor' type='float' />
  </table>
  <table table_name='sea_surfaces_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='sea_wind_speed' type='float' />
    <field name='sea_phillips_constant' type='float' />
    <field name='sea_choppiness' type='float' />
    <field name='swell_wind_speed' type='float' />
    <field name='swell_phillips_constant' type='float' />
    <field name='foam_enabled' type='boolean' />
    <field name='foam_decay_rate' type='float' />
    <field name='foam_fade_in_time' type='float' />
    <field name='foam_cut_off_value' type='float' />
    <field name='froth_value' type='float' />
    <field name='froth_distortion_speed' type='float' />
    <field name='froth_distortion_amount' type='float' />
    <field name='spray_cut_off_value' type='float' />
    <field name='spray_speed' type='float' />
    <field name='spray_duration' type='float' />
    <field name='sea_shininess' type='float' />
    <field name='sea_decay' type='float' />
    <field name='reflection_flattening_factor' type='float' />
    <field name='wave_trough_y_value' type='float' />
    <field name='detail_normal_uv_speed1' type='float' />
    <field name='detail_normal_uv_speed2' type='float' />
    <field name='detail_normal_uv_scale1' type='float' />
    <field name='detail_normal_uv_scale2' type='float' />
  </table>
  <table table_name='season_attritions_tables'
         table_version='0' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition_type' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' pk='true' />
    <field name='enable' type='boolean' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string_ascii' pk='true' />
  </table>
  <table table_name='season_attritions_tables'
         table_version='1' >
    <field fkey='campaign_map_attritions_tables.key' name='attrition_type' type='string_ascii' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='optstring_ascii' pk='true' />
    <field name='enable' type='boolean' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string_ascii' pk='true' />
    <field name='climate_phase_lower_threshold' type='int' pk='true' />
  </table>
  <table table_name='season_province_effect_bundles_tables'
         table_version='0' >
    <field name='default' type='boolean' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='provinces_tables.key' name='province' type='string_ascii' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string_ascii' pk='true' />
    <field name='weighting' type='int' />
  </table>
  <table table_name='season_province_effect_bundles_tables'
         table_version='1' >
    <field name='default' type='boolean' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='provinces_tables.key' name='province' type='string_ascii' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string_ascii' pk='true' />
    <field name='weighting' type='int' />
    <field name='climate_phase_lower_threshold' type='int' pk='true' />
  </table>
  <table table_name='seasons_tables'
         table_version='0' >
    <field name='season' type='string' pk='true' />
    <field name='onscreen' type='string' />
    <field name='order' type='string' />
  </table>
  <table table_name='seasons_tables'
         table_version='0' >
    <field name='season' type='string_ascii' pk='true' />
    <field name='onscreen' type='string_ascii' />
    <field name='order' type='int' />
  </table>
  <table table_name='seasons_tables'
         table_version='1' >
    <field name='season' type='string_ascii' pk='true' />
    <field name='onscreen' type='string_ascii' />
  </table>
  <table table_name='send_diplomat_incidents_tables'
         table_version='0' >
    <field fkey='incidents_tables.key' name='incident' type='string_ascii' pk='true' />
    <field fkey='send_diplomat_outcomes_tables.key' name='outcome' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field name='weight' type='int' />
  </table>
  <table table_name='settlement_abandoment_buildings_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='settlement_climate_types_tables'
         table_version='0' >
    <field name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='settlement_climate_types_tables'
         table_version='2' >
    <field name='type' type='string_ascii' pk='true' />
    <field name='ui_icon_image' type='string_ascii' />
    <field name='ui_background_image' type='string_ascii' />
  </table>
  <table table_name='settlement_occupation_option_icons_tables'
         table_version='0' >
    <field fkey='cultures_tables.key' name='captured_culture' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='captured_subculture' type='optstring_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='capturing_culture' type='optstring_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='capturing_subculture' type='optstring_ascii' pk='true' />
    <field name='icon' type='string_ascii' />
    <field fkey='settlement_occupation_options_tables.key' name='occupation_option' type='string_ascii' pk='true' />
  </table>
  <table table_name='settlement_occupation_options_tables'
         table_version='0' >
    <field name='icon' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='settlement_occupation_options_tables'
         table_version='1' >
    <field name='unknown0' type='string_ascii' />
    <field name='unknown1' type='string_ascii' />
    <field name='unknown2' type='int' />
  </table>
  <table table_name='settlement_occupation_options_tables'
         table_version='2' >
    <field name='sort_order' type='int' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='settlement_vandalisation_buildings_tables'
         table_version='0' >
    <field fkey='building_levels_tables.level_name' name='building' type='string_ascii' pk='true' />
    <field fkey='campaign_groups_tables.id' name='campaign_group' type='string_ascii' pk='true' />
    <field name='frequency' type='int' />
  </table>
  <table table_name='ship_dbs_tables'
         table_version='0' >
    <field fkey='battle_entities_tables.key' name='entity' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_naval_tables.key' name='model' type='string_ascii' />
    <field fkey='unit_spacings_tables.key' name='spacing' type='string_ascii' />
  </table>
  <table table_name='ship_dbs_tables'
         table_version='1' >
    <field fkey='battle_entities_tables.key' name='entity' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='models_naval_tables.key' name='model' type='optstring_ascii' />
    <field fkey='unit_spacings_tables.key' name='spacing' type='optstring_ascii' />
  </table>
  <table table_name='ship_names_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='names_groups_tables.ID' name='name_group' type='string' />
    <field name='Ship_Name' type='string' />
    <field fkey='factions_tables.key' name='exclusive_to_faction' type='optstring' />
  </table>
  <table table_name='ship_names_tables'
         table_version='1' >
    <field fkey='names_groups_tables.key' name='key' type='string_ascii' pk='true' />
    <field fkey='names_groups_tables.key' name='name_group' type='int' />
    <field fkey='factions_tables.key' name='exclusive_to_faction' type='optstring_ascii' />
  </table>
  <table table_name='shortcut_localisation_tables'
         table_version='0' >
    <field name='key' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='slot_set_items_tables'
         table_version='1' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='slot_templates_tables.key' name='slot_template' type='string_ascii' />
    <field fkey='slot_types_tables.key' name='slot_type' type='string_ascii' />
    <field fkey='slot_sets_tables.key' name='slot_set' type='string_ascii' />
    <field fkey='building_levels_tables.level_name' name='building_level' type='optstring_ascii' />
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='optstring_ascii' />
  </table>
  <table table_name='slot_sets_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='slot_sets_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='use_discoverability_feature' type='boolean' />
  </table>
  <table table_name='slot_template_to_building_superchain_junctions_tables'
         table_version='0' >
    <field fkey='building_superchains_tables.key' name='building_superchain' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field fkey='slot_templates_tables.key' name='slot_template' type='string_ascii' />
  </table>
  <table table_name='slot_template_to_building_superchain_junctions_tables'
         table_version='0' >
    <field fkey='building_superchains_tables.key' name='building_superchain' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='slot_templates_tables.key' name='slot_template' type='string_ascii' />
  </table>
  <table table_name='slot_templates_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='slot_templates_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='resources_tables.key' name='resource' type='optstring_ascii' />
  </table>
  <table table_name='slot_types_tables'
         table_version='0' >
    <field name='can_convert' type='boolean' />
    <field name='can_destroy' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='slots_art_tables'
         table_version='0' >
    <field fkey='slots_tables.slot' name='slot' type='string' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string' pk='true' />
    <field fkey='warscape_underlay_textures_tables.underlay_key' name='underlay_terrain_texture' type='optstring' />
    <field name='underlay_differs_with_building' type='boolean' />
    <field fkey='slots_templates_models_tables.template_name' name='template_model' type='optstring' />
    <field name='template_differs_at_quality_zero' type='boolean' />
    <field fkey='slots_templates_models_tables.template_name' name='template_model_art_quality_zero' type='optstring' />
    <field name='use_minibuildings' type='boolean' />
    <field name='minibuildings_differ_at_quality' type='boolean' />
    <field name='use_minibuildings_from_quality' type='int' />
    <field fkey='warscape_rigid_tables.key' name='empty_building_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='empty_building_model_animated' type='optstring' />
    <field name='display_empty_bldg_from_quality' type='int' />
  </table>
  <table table_name='slots_art_tables'
         table_version='0' >
    <field fkey='slots_tables.slot' name='slot' type='string_ascii' pk='true' />
    <field fkey='cultures_tables.key' name='culture' type='string_ascii' pk='true' />
    <field fkey='warscape_underlay_textures_tables.underlay_key' name='underlay_terrain_texture' type='optstring_ascii' />
    <field name='underlay_differs_with_building' type='boolean' />
    <field fkey='slots_templates_models_tables.template_name' name='template_model' type='optstring_ascii' />
    <field name='template_differs_at_quality_zero' type='boolean' />
    <field fkey='slots_templates_models_tables.template_name' name='template_model_art_quality_zero' type='optstring_ascii' />
    <field name='use_minibuildings' type='boolean' />
    <field name='minibuildings_differ_at_quality' type='boolean' />
    <field name='use_minibuildings_from_quality' type='int' />
    <field fkey='warscape_rigid_tables.key' name='empty_building_model' type='optstring_ascii' />
    <field fkey='warscape_animated_tables.key' name='empty_building_model_animated' type='optstring_ascii' />
    <field name='display_empty_bldg_from_quality' type='int' />
  </table>
  <table table_name='slots_gdp_values_tables'
         table_version='0' >
    <field fkey='slots_tables.slot' name='slot' type='string' pk='true' />
    <field name='level' type='int' pk='true' />
    <field name='gdp_value' type='float' />
    <field name='building_gdp_modifier' type='float' />
  </table>
  <table table_name='slots_gdp_values_tables'
         table_version='0' >
    <field fkey='slots_tables.slot' name='slot' type='string_ascii' pk='true' />
    <field name='level' type='int' pk='true' />
    <field name='gdp_value' type='float' />
    <field name='building_gdp_modifier' type='float' />
  </table>
  <table table_name='slots_tables'
         table_version='0' >
    <field name='slot' type='string' pk='true' />
    <field name='is_farm' type='boolean' />
    <field name='is_town' type='boolean' />
    <field name='is_port' type='boolean' />
    <field name='is_resource' type='boolean' />
  </table>
  <table table_name='slots_tables'
         table_version='1' >
    <field name='slot' type='string' pk='true' />
    <field name='is_farm' type='boolean' />
    <field name='is_town' type='boolean' />
    <field name='is_port' type='boolean' />
    <field name='is_resource' type='boolean' />
    <field name='supports_building_level_conversion' type='boolean' />
  </table>
  <table table_name='slots_tables'
         table_version='1' >
    <field name='slot' type='string_ascii' pk='true' />
    <field name='is_farm' type='boolean' />
    <field name='is_town' type='boolean' />
    <field name='is_port' type='boolean' />
    <field name='is_resource' type='boolean' />
    <field name='supports_building_level_conversion' type='boolean' />
  </table>
  <table table_name='slots_templates_models_tables'
         table_version='0' >
    <field name='template_name' type='string' pk='true' />
    <field name='model_filename' type='string' />
    <field name='model_filepath' type='string' />
  </table>
  <table table_name='slots_templates_models_tables'
         table_version='0' >
    <field name='template_name' type='string_ascii' pk='true' />
    <field name='model_filename' type='string_ascii' />
    <field name='model_filepath' type='string_ascii' />
  </table>
  <table table_name='small_vegetation_climates_jct_tables'
         table_version='0' >
    <field fkey='climates_tables.climate_type' name='climate' type='string' pk='true' />
    <field fkey='warscape_rigid_tables.key' name='rigid_name' type='string' pk='true' />
  </table>
  <table table_name='small_vegetation_climates_jct_tables'
         table_version='0' >
    <field fkey='climates_tables.climate_type' name='climate' type='string_ascii' pk='true' />
    <field fkey='warscape_rigid_tables.key' name='rigid_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='sotek_tooltip_types_tables'
         table_version='0' >
    <field name='type' type='string_ascii' pk='true' />
  </table>
  <table table_name='sound_events_tables'
         table_version='0' >
    <field name='name' type='optstring' pk='true' />
  </table>
  <table table_name='spawnable_force_unit_list_junctions_tables'
         table_version='0' >
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
    <field name='max_amount' type='int' />
    <field name='max_xp' type='int' />
    <field name='min_amount' type='int' />
    <field name='min_xp' type='int' />
    <field fkey='spawnable_forces_tables.key' name='spawnable_force' type='string_ascii' />
    <field fkey='unit_lists_tables.key' name='unit_list' type='string_ascii' />
  </table>
  <table table_name='spawnable_forces_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_displays_tables'
         table_version='0' >
    <field name='sa_display_key' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='wind_up_aura_vfx' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='wind_up_weapon_vfx' type='optstring_ascii' />
  </table>
  <table table_name='special_ability_group_parents_tables'
         table_version='0' >
    <field fkey='special_abilty_groups_tables.ability_group' name='child' type='string_ascii' pk='true' />
    <field fkey='special_abilty_groups_tables.ability_group' name='parent' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_groups_tables'
         table_version='0' >
    <field name='ability_group' type='string_ascii' pk='true' />
    <field name='icon_path' type='string_ascii' />
  </table>
  <table table_name='special_ability_groups_tables'
         table_version='1' >
    <field name='ability_group' type='string_ascii' pk='true' />
    <field name='icon_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
  </table>
  <table table_name='special_ability_groups_tables'
         table_version='3' >
    <field name='ability_group' type='string_ascii' pk='true' />
    <field name='icon_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
    <field name='sort_order' type='int' />
    <field name='is_naval' type='boolean' />
  </table>
  <table table_name='special_ability_groups_tables'
         table_version='6' >
    <field name='ability_group' type='string_ascii' pk='true' />
    <field name='icon_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
    <field name='sort_order' type='int' />
    <field name='is_naval' type='boolean' />
    <field name='colour_r' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_b' type='int' />
    <field name='button_name' type='string_ascii' />
    <field name='sound_event' type='optstring_ascii' />
  </table>
  <table table_name='special_ability_groups_tables'
         table_version='8' >
    <field name='ability_group' type='string_ascii' pk='true' />
    <field name='icon_path' type='string_ascii' />
    <field name='special_edition_mask' type='int' />
    <field name='sort_order' type='int' />
    <field name='is_naval' type='boolean' />
    <field name='colour_r' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_b' type='int' />
    <field name='button_name' type='string_ascii' />
    <field name='sound_event' type='optstring_ascii' />
    <field name='is_composite_group' type='boolean' />
  </table>
  <table table_name='special_ability_groups_to_factions_junctions_tables'
         table_version='0' >
    <field fkey='special_ability_groups_tables.ability_group' name='ability_group' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' />
  </table>
  <table table_name='special_ability_groups_to_unit_abilities_junctions_tables'
         table_version='1' >
    <field fkey='special_ability_groups_tables.ability_group' name='special_ability_groups' type='string_ascii' pk='true' />
    <field fkey='unit_special_abilities_tables.key' name='unit_special_abilities' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_groups_to_units_junctions_tables'
         table_version='0' >
    <field name='unknown0' type='string_ascii' />
  </table>
  <table table_name='special_ability_groups_to_units_junctions_tables'
         table_version='0' >
    <field fkey='special_ability_groups_tables.ability_group' name='ability_group' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_invalid_usage_flags_tables'
         table_version='0' >
    <field name='flag_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_invalid_usage_flags_tables'
         table_version='2' >
    <field name='flag_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_phase_attribute_effects_tables'
         table_version='0' >
    <field fkey='unit_attributes_tables.key' name='attribute' type='string_ascii' pk='true' />
    <field fkey='special_ability_phases_tables.id' name='phase' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_phase_attribute_effects_tables'
         table_version='1' >
    <field fkey='unit_attributes_tables.key' name='attribute' type='string_ascii' pk='true' />
    <field fkey='special_ability_phases_tables.id' name='phase' type='string_ascii' pk='true' />
    <field fkey='special_ability_phase_effect_types_tables.effect_type' name='attribute_type' type='string_ascii' />
  </table>
  <table table_name='special_ability_phase_displays_tables'
         table_version='0' >
    <field fkey='particle_effects_tables.key' name='active_vfx' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='banner_vfx' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='entity_vfx' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_phase_stat_effects_tables'
         table_version='1' >
    <field fkey='special_ability_phases_tables.id' name='phase' type='string_ascii' pk='true' />
    <field name='value' type='float' />
    <field fkey='ui_unit_stats_tables.key' name='stat' type='string_ascii' pk='true' />
    <field fkey='unit_stat_modifiers_how_enums_tables.key' name='how' type='string_ascii' />
  </table>
  <table table_name='special_ability_phase_stat_effects_tables'
         table_version='3' >
    <field fkey='special_ability_phases_tables.id' name='phase' type='string_ascii' pk='true' />
    <field name='value' type='float' />
    <field fkey='ui_unit_stats_tables.key' name='stat' type='string_ascii' pk='true' />
    <field fkey='unit_stat_modifiers_how_enums_tables.key' name='how' type='string_ascii' />
  </table>
  <table table_name='special_ability_phases_tables'
         table_version='11' >
    <field name='duration' type='float' />
    <field fkey='special_ability_phase_effect_types_tables.effect_type' name='effect_type' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='special_ability_stance_enums_tables.key' name='requested_stance' type='optstring_ascii' />
    <field name='unbreakable' type='boolean' />
    <field name='cant_move' type='boolean' />
    <field name='kill_own_unit' type='boolean' />
    <field name='freeze_fatigue' type='boolean' />
    <field name='fatigue_change_ratio' type='float' />
    <field name='inspiration_aura_range_mod' type='float' />
    <field name='ability_recharge_change' type='float' />
    <field name='minor_casualties' type='boolean' />
    <field name='major_casualties' type='boolean' />
    <field fkey='ui_effects_tables.key' name='ui_vfx' type='optstring_ascii' />
    <field name='rally_amount' type='int' />
  </table>
  <table table_name='special_ability_phases_tables'
         table_version='13' >
    <field name='duration' type='float' />
    <field fkey='special_ability_phase_effect_types_tables.effect_type' name='effect_type' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='special_ability_stance_enums_tables.key' name='requested_stance' type='optstring_ascii' />
    <field name='unbreakable' type='boolean' />
    <field name='cant_move' type='boolean' />
    <field name='kill_own_unit' type='boolean' />
    <field name='freeze_fatigue' type='boolean' />
    <field name='fatigue_change_ratio' type='float' />
    <field name='inspiration_aura_range_mod' type='float' />
    <field name='ability_recharge_change' type='float' />
    <field name='minor_casualties' type='boolean' />
    <field name='major_casualties' type='boolean' />
    <field fkey='ui_effects_tables.key' name='ui_vfx' type='optstring_ascii' />
    <field name='rally_amount' type='int' />
    <field name='poison' type='boolean' />
  </table>
  <table table_name='special_ability_phases_tables'
         table_version='28' >
    <field name='duration' type='float' />
    <field fkey='special_ability_phase_effect_types_tables.effect_type' name='effect_type' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='special_ability_stance_enums_tables.key' name='requested_stance' type='optstring_ascii' />
    <field name='unbreakable' type='boolean' />
    <field name='cant_move' type='boolean' />
    <field name='freeze_fatigue' type='boolean' />
    <field name='fatigue_change_ratio' type='float' />
    <field name='inspiration_aura_range_mod' type='float' />
    <field name='ability_recharge_change' type='float' />
    <field name='hp_change_frequency' type='float' />
    <field name='heal_amount' type='int' />
    <field name='damage_chance' type='float' />
    <field name='damage_amount' type='int' />
    <field name='max_damaged_entites' type='int' />
    <field name='heal_amount_duplicate' type='int' />
    <field name='resurrect' type='boolean' />
    <field name='mana_regen_mod' type='float' />
    <field name='mana_max_depletion_mod' type='float' />
    <field name='imbue_magical' type='boolean' />
    <field name='imbue_ignition' type='int' />
    <field fkey='special_ability_phases_tables.id' name='imbue_contact' type='optstring_ascii' />
    <field fkey='special_ability_phase_displays_tables.key' name='phase_display' type='optstring_ascii' />
    <field fkey='audio_ability_phases_tables.key' name='phase_audio' type='optstring_ascii' />
  </table>
  <table table_name='special_ability_phases_tables'
         table_version='31' >
    <field name='duration' type='float' />
    <field name='effect_type' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='requested_stance' type='optstring_ascii' />
    <field name='unbreakable' type='boolean' />
    <field name='cant_move' type='boolean' />
    <field name='freeze_fatigue' type='boolean' />
    <field name='fatigue_change_ratio' type='float' />
    <field name='inspiration_aura_change_mod' type='int' />
    <field name='ability_recharge_change' type='float' />
    <field name='hp_change_frequency' type='float' />
    <field name='heal_amount' type='int' />
    <field name='damage_chance' type='float' />
    <field name='damage_amount' type='int' />
    <field name='max_damaged_entites' type='int' />
    <field name='heal_amount_duplicate' type='int' />
    <field name='resurrect' type='boolean' />
    <field name='mana_regen_mod' type='float' />
    <field name='mana_max_depletion_mod' type='float' />
    <field name='imbue_magical' type='boolean' />
    <field name='imbue_ignition' type='int' />
    <field name='imbue_contact' type='optstring_ascii' />
    <field name='phase_display' type='optstring_ascii' />
    <field name='phase_audio' type='optstring_ascii' />
    <field name='recharge_time' type='float' />
    <field name='is_hidden_in_ui' type='boolean' />
    <field name='affects_allies' type='boolean' />
    <field name='affects_enemies' type='boolean' />
  </table>
    <table table_name='special_ability_phases_tables'
         table_version='33' >
    <field name='duration' type='float' />
    <field name='effect_type' type='string_ascii' />
    <field name='id' type='string_ascii' pk='true' />
    <field name='requested_stance' type='optstring_ascii' />
    <field name='unbreakable' type='boolean' />
    <field name='cant_move' type='boolean' />
    <field name='freeze_fatigue' type='boolean' />
    <field name='fatigue_change_ratio' type='float' />
    <field name='inspiration_aura_change_mod' type='int' />
    <field name='ability_recharge_change' type='float' />
    <field name='hp_change_frequency' type='float' />
    <field name='heal_amount' type='int' />
    <field name='damage_chance' type='float' />
    <field name='damage_amount' type='int' />
    <field name='max_damaged_entites' type='int' />
    <field name='heal_amount_duplicate' type='int' />
    <field name='resurrect' type='boolean' />
    <field name='mana_regen_mod' type='float' />
    <field name='mana_max_depletion_mod' type='float' />
    <field name='imbue_magical' type='boolean' />
    <field name='imbue_ignition' type='int' />
    <field name='imbue_contact' type='optstring_ascii' />
    <field name='phase_display' type='optstring_ascii' />
    <field name='phase_audio' type='optstring_ascii' />
    <field name='recharge_time' type='float' />
    <field name='is_hidden_in_ui' type='boolean' />
    <field name='affects_allies' type='boolean' />
    <field name='affects_enemies' type='boolean' />
    <field name='replenish_ammo' type='float' />
	<field fkey='composite_scene_files_tables.scene_filepath' name='composite_scene_group' type='optstring_ascii' />
  </table>
  <table table_name='special_ability_to_auto_deactivate_flags_tables'
         table_version='0' >
    <field fkey='special_ability_invalid_usage_flags_tables.flag_key' name='invalid_usage_flag' type='string_ascii' pk='true' />
    <field fkey='unit_special_abilities_tables.key' name='special_ability_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_to_invalid_target_flags_tables'
         table_version='0' >
    <field fkey='special_ability_invalid_usage_flags_tables.flag_key' name='invalid_target' type='string_ascii' pk='true' />
    <field fkey='unit_special_abilities_tables.key' name='special_ability' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_to_invalid_usage_flags_tables'
         table_version='0' >
    <field fkey='special_ability_invalid_usage_flags_tables.flag_key' name='invalid_usage_flag' type='string_ascii' pk='true' />
    <field fkey='unit_special_abilities_tables.key' name='special_ability' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_to_recharge_contexts_tables'
         table_version='0' >
    <field fkey='special_ability_invalid_usage_flags_tables.flag_key' name='recharge_context' type='string_ascii' pk='true' />
    <field fkey='unit_special_abilities_tables.key' name='special_ability' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_ability_to_special_ability_phase_junctions_tables'
         table_version='1' >
    <field name='order' type='int' pk='true' />
    <field fkey='special_ability_phases_tables.id' name='phase' type='string_ascii' />
    <field fkey='unit_special_abilities_tables.key' name='special_ability' type='string_ascii' pk='true' />
  </table>
  <table table_name='special_edition_enums_tables'
         table_version='0' >
    <field name='order_id' type='string' pk='true' />
    <field name='index' type='int' />
  </table>
  <table table_name='special_unit_categories_tables'
         table_version='0' >
    <field name='category' type='string_ascii' pk='true' />
  </table>
  <table table_name='spotting_and_hiding_values_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='spot_dist_scrub' type='int' />
    <field name='spot_dist_tree' type='int' />
    <field name='visibility_max_spot_range' type='int' />
    <field name='visibility_min_spot_range' type='int' />
  </table>
  <table table_name='stances_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='onscreen' type='string' />
  </table>
  <table table_name='stances_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='onscreen' type='string_ascii' />
  </table>
  <table table_name='start_pos_faction_effect_bundles_tables'
         table_version='0' >
    <field name='duration' type='int' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string' pk='true' />
    <field fkey='start_pos_factions_tables.ID' name='start_pos_faction' type='int' pk='true' />
  </table>
  <table table_name='start_pos_faction_effect_bundles_tables'
         table_version='0' >
    <field name='duration' type='int' />
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='start_pos_factions_tables.ID' name='start_pos_faction' type='int' pk='true' />
  </table>
  <table table_name='start_pos_family_relationships_tables'
         table_version='0' >
    <field fkey='start_pos_characters_tables.ID' name='character' type='int' pk='true' />
    <field fkey='start_pos_characters_tables.ID' name='related_to' type='int' pk='true' />
    <field fkey='family_relationship_types_tables.relationship_type' name='relationship' type='string' />
  </table>
  <table table_name='start_pos_family_relationships_tables'
         table_version='1' >
    <field fkey='start_pos_characters_tables.ID' name='character' type='int' pk='true' />
    <field fkey='start_pos_characters_tables.ID' name='related_to' type='int' pk='true' />
    <field fkey='family_relationship_types_tables.relationship_type' name='relationship' type='string_ascii' />
  </table>
  <table table_name='start_pos_family_relationships_tables'
         table_version='1' >
    <field fkey='start_pos_characters_tables.ID' name='character' type='int' pk='true' />
    <field fkey='start_pos_characters_tables.ID' name='related_to' type='int' pk='true' />
    <field fkey='family_relationship_types_tables.relationship_type' name='relationship' type='string_ascii' />
    <field name='bastard' type='boolean' />
    <field name='adopted' type='boolean' /> 
  </table>
  <table table_name='start_pos_past_events_tables'
         table_version='0' >
    <field fkey='cai_personality_diplomatic_events_tables.id' name='event' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='source' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='target' type='string_ascii' pk='true' />
    <field name='turns_ago' type='int' pk='true' />
  </table>
  <table table_name='start_pos_region_slot_templates_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' pk='true' />
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' pk='true' />
    <field fkey='slot_templates_tables.key' name='slot_template' type='string_ascii' pk='true' />
    <field fkey='slot_types_tables.key' name='slot_type' type='string_ascii' pk='true' />
  </table>
  <table table_name='state_gift_values_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='state_gift_values_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='stats_clans_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='random_localisation_strings_tables.key' name='label' type='optstring' />
    <field name='public' type='boolean' />
    <field name='ladder' type='boolean' />
  </table>
  <table table_name='stats_clans_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='random_localisation_strings_tables.key' name='label' type='optstring_ascii' />
    <field name='public' type='boolean' />
    <field name='ladder' type='boolean' />
  </table>
  <table table_name='stats_clans_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field fkey='random_localisation_strings_tables.key' name='label' type='optstring' />
    <field name='public' type='boolean' />
    <field name='ladder' type='boolean' />
    <field name='order' type='int' />
  </table>
  <table table_name='stats_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='random_localisation_strings_tables.key' name='label' type='optstring' />
    <field name='public' type='boolean' />
    <field name='ladder' type='boolean' />
  </table>
  <table table_name='stats_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='random_localisation_strings_tables.key' name='label' type='optstring_ascii' />
    <field name='public' type='boolean' />
    <field name='ladder' type='boolean' />
  </table>
  <table table_name='stats_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field fkey='random_localisation_strings_tables.key' name='label' type='optstring' />
    <field name='public' type='boolean' />
    <field name='ladder' type='boolean' />
    <field name='order' type='int' />
  </table>
  <table table_name='subculture_religion_voiceover_junctions_tables'
         table_version='0' >
    <field fkey='religions_tables.religion_key' name='religion' type='string_ascii' pk='true' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field fkey='audio_voiceover_cultures_tables.name' name='voiceover_culture' type='string_ascii' pk='true' />
  </table>
  <table table_name='subculture_settlement_occupation_effect_bundle_suitabilities_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='string_ascii' pk='true' />
    <field fkey='subculture_settlement_occupation_suitability_types_tables.suitability' name='suitability' type='string_ascii' />
  </table>
  <table table_name='subculture_settlement_occupation_suitability_types_tables'
         table_version='0' >
    <field name='suitability' type='string_ascii' pk='true' />
  </table>
  <table table_name='subculture_treasure_hunt_dilemma_categories_tables'
         table_version='0' >
    <field fkey='cdir_events_categories_tables.category_key' name='category' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
  </table>
  <table table_name='subtitle_timings_tables'
         table_version='0' >
    <field name='end' type='int' />
    <field fkey='languages_tables.key' name='language' type='string_ascii' pk='true' />
    <field fkey='vo_scripts_tables.id' name='script_id' type='int' />
    <field name='start' type='int' />
    <field fkey='TExc_LocalisableFields_tables.key' name='subtitle_field' type='string_ascii' pk='true' />
    <field name='text_section' type='int' pk='true' />
    <field name='foreign_key' type='string_ascii' pk='true' />
    <field name='text_id' type='string_ascii' />
  </table>
  <table table_name='subtitle_timings_tables'
         table_version='1' >
    <field name='end' type='int' />
    <field fkey='languages_tables.key' name='language' type='string_ascii' pk='true' />
    <field fkey='vo_scripts_tables.id' name='script_id' type='int' />
    <field name='start' type='int' />
    <field fkey='TExc_LocalisableFields_tables.key' name='subtitle_field' type='string_ascii' pk='true' />
    <field name='text_section' type='int' pk='true' />
    <field name='foreign_key' type='string_ascii' pk='true' />
    <field name='text_id' type='string_ascii' />
    <field name='always_show' type='boolean' />
  </table>
    <table table_name='subtitle_timings_tables'
         table_version='2' >
    <field name='end' type='int' />
    <field fkey='languages_tables.key' name='language' type='string_ascii' pk='true' />
    <field fkey='vo_scripts_tables.id' name='script_id' type='int' />
    <field name='start' type='int' />
    <field fkey='TExc_LocalisableFields_tables.key' name='subtitle_field' type='string_ascii' pk='true' />
    <field name='text_section' type='int' pk='true' />
    <field name='foreign_key' type='string_ascii' pk='true' />
    <field name='text_id' type='string_ascii' />
    <field name='always_show' type='boolean' />
  </table>
  <table table_name='subtitles_tables'
         table_version='0' >
    <field name='subtitle_key' type='string' pk='true' />
    <field name='subtitle_text' type='string' />
  </table>
  <table table_name='taxes_classes_tables'
         table_version='0' >
    <field name='tax' type='string' pk='true' />
  </table>
  <table table_name='taxes_classes_tables'
         table_version='0' >
    <field name='tax' type='string_ascii' pk='true' />
  </table>
  <table table_name='taxes_effects_jct_tables'
         table_version='0' >
    <field fkey='taxes_keys_tables.tax_lookup' name='tax_name' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='taxes_effects_jct_tables'
         table_version='1' >
    <field fkey='taxes_keys_tables.tax_lookup' name='tax_name' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring' pk='true' />
    <field name='optional_difficulty_level' type='optstring' pk='true' />
    <field name='ai_only' type='boolean' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='taxes_effects_jct_tables'
         table_version='1' >
    <field fkey='taxes_keys_tables.tax_lookup' name='tax_name' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' pk='true' />
    <field name='optional_difficulty_level' type='optstring_ascii' pk='true' />
    <field name='ai_only' type='boolean' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='taxes_effects_jct_tables'
         table_version='2' >
    <field fkey='taxes_keys_tables.tax_lookup' name='tax_name' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field fkey='campaigns_tables.campaign_name' name='optional_campaign_key' type='optstring_ascii' pk='true' />
    <field name='optional_difficulty_level' type='optstring_ascii' pk='true' />
    <field name='ai_only' type='boolean' pk='true' />
    <field name='value' type='float' />
    <field name='when_horde' type='boolean' />
  </table>
  <table table_name='taxes_keys_tables'
         table_version='0' >
    <field fkey='taxes_classes_tables.tax' name='tax_class' type='string' pk='true' />
    <field fkey='taxes_levels_tables.tax_level' name='tax_level' type='string' pk='true' />
    <field name='tax_lookup' type='string' />
  </table>
  <table table_name='taxes_keys_tables'
         table_version='0' >
    <field fkey='taxes_classes_tables.tax' name='tax_class' type='string_ascii' pk='true' />
    <field fkey='taxes_levels_tables.tax_level' name='tax_level' type='string_ascii' pk='true' />
    <field name='tax_lookup' type='string_ascii' />
  </table>
  <table table_name='taxes_levels_tables'
         table_version='0' >
    <field name='tax_level' type='string' pk='true' />
    <field name='percentage' type='int' />
  </table>
  <table table_name='taxes_levels_tables'
         table_version='0' >
    <field name='tax_level' type='string_ascii' pk='true' />
    <field name='percentage' type='int' />
  </table>
  <table table_name='team_colours_tables'
         table_version='0' >
    <field name='alliance' type='int' />
    <field name='b' type='int' pk='true' />
    <field name='g' type='int' pk='true' />
    <field name='r' type='int' pk='true' />
    <field name='army_index' type='int' />
  </table>
  <table table_name='technologies_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_level' type='string' />
    <field name='position_index' type='int' />
    <field name='research_points_required' type='int' />
    <field name='icon_name' type='string' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='info_pic' type='string' />
  </table>
  <table table_name='technologies_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_level' type='string' />
    <field name='position_index' type='int' />
    <field name='research_points_required' type='int' />
    <field name='icon_name' type='string' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='info_pic' type='string' />
    <field name='ai_bias' type='int' />
  </table>
  <table table_name='technologies_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_level' type='string' />
    <field name='position_index' type='int' />
    <field name='research_points_required' type='int' />
    <field name='icon_name' type='string' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='info_pic' type='string' />
    <field name='ai_bias' type='int' />
    <field name='unique_index' type='int' />
  </table>
  <table table_name='technologies_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_level' type='string_ascii' />
    <field name='position_index' type='int' />
    <field name='research_points_required' type='int' />
    <field name='icon_name' type='string_ascii' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='info_pic' type='string_ascii' />
    <field name='ai_bias' type='int' />
    <field name='unique_index' type='int' />
    <field name='cost_per_round' type='int' />
    <field name='is_civil' type='boolean' />
    <field name='is_engineering' type='boolean' />
    <field name='is_military' type='boolean' />
  </table>
  <table table_name='technologies_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_level' type='string_ascii' />
    <field name='position_index' type='int' />
    <field name='icon_name' type='string_ascii' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='econimic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='info_pic' type='string_ascii' />
    <field name='unique_id' type='int' />
    <field name='is_civil' type='boolean' />
    <field name='is_engineering' type='boolean' />
    <field name='is_military' type='boolean' />
  </table>
  <table table_name='technologies_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='building_level' type='string_ascii' />
    <field name='position_index' type='int' />
    <field name='research_points_required' type='int' />
    <field name='icon_name' type='string_ascii' />
    <field name='military_prestige' type='int' />
    <field name='naval_prestige' type='int' />
    <field name='economic_prestige' type='int' />
    <field name='enlightenment_prestige' type='int' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='info_pic' type='string_ascii' />
    <field name='ai_bias' type='int' />
    <field name='unique_index' type='int' />
    <field name='cost_per_round' type='int' />
    <field name='is_civil' type='boolean' />
    <field name='is_engineering' type='boolean' />
    <field name='is_military' type='boolean' />
    <field name='locked_tooltip_progress_key' type='optstring_ascii' />
  </table>
  <table table_name='technology_categories_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='position' type='int' />
  </table>
  <table table_name='technology_categories_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='position' type='int' />
  </table>
  <table table_name='technology_categories_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='position' type='int' />
    <field name='tooltip' type='optstring' />
  </table>
  <table table_name='technology_category_modules_tables'
         table_version='0' >
    <field fkey='effect_bundles_tables.key' name='effect_bundle' type='optstring_ascii' />
    <field name='max_tier' type='int' pk='true' />
    <field name='min_tier' type='int' />
    <field fkey='technology_node_sets_tables.key' name='technology_node_set' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_category_parents_tables'
         table_version='0' >
    <field fkey='technology_categories_tables.key' name='child_category' type='string_ascii' pk='true' />
    <field fkey='technology_categories_tables.key' name='parent_category' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_character_traits_junctions_tables'
         table_version='0' >
    <field fkey='character_trait_levels_tables.key' name='character_trait' type='string_ascii' pk='true' />
    <field fkey='technology_nodes_tables.key' name='technology_node' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_effects_junction_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='technology_effects_junction_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='value' type='float' />
  </table>
  <table table_name='technology_faction_junctions_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology_key' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='string' pk='true' />
  </table>
  <table table_name='technology_faction_junctions_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_node_links_tables'
         table_version='1' >
    <field fkey='technology_nodes_tables.key' name='child_key' type='string' pk='true' />
    <field name='initial_descent_tiers' type='int' />
    <field fkey='technology_nodes_tables.key' name='parent_key' type='string' pk='true' />
    <field name='parent_link_position' type='int' />
    <field name='child_link_position' type='int' />
  </table>
  <table table_name='technology_node_links_tables'
         table_version='1' >
    <field fkey='technology_nodes_tables.key' name='child_key' type='string_ascii' pk='true' />
    <field name='initial_descent_tiers' type='int' />
    <field fkey='technology_nodes_tables.key' name='parent_key' type='string_ascii' pk='true' />
    <field name='parent_link_position' type='int' />
    <field name='child_link_position' type='int' />
  </table>
  <table table_name='technology_node_links_tables'
         table_version='2' >
    <field fkey='technology_nodes_tables.key' name='child_key' type='string_ascii' pk='true' />
    <field name='initial_descent_tiers' type='int' />
    <field fkey='technology_nodes_tables.key' name='parent_key' type='string_ascii' pk='true' />
    <field name='parent_link_position' type='int' />
    <field name='child_link_position' type='int' />
    <field name='parent_link_position_offset' type='float' />
    <field name='child_link_position_offset' type='float' />
  </table>
  <table table_name='technology_node_sets_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring' />
    <field name='key' type='string' pk='true' />
    <field fkey='technology_categories_tables.key' name='technology_category' type='string' pk='true' />
  </table>
  <table table_name='technology_node_sets_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='technology_categories_tables.key' name='technology_category' type='string_ascii' />
  </table>
  <table table_name='technology_node_sets_tables'
         table_version='2' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field fkey='cultures_tables.key' name='culture' type='optstring_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='technology_categories_tables.key' name='technology_category' type='string_ascii' />
    <field name='colour_r' type='int' />
    <field name='colour_g' type='int' />
    <field name='colour_b' type='int' />
  </table>
  <table table_name='technology_nodes_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring' />
    <field name='indent' type='int' />
    <field name='key' type='string' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string' />
    <field fkey='technology_node_sets_tables.key' name='technology_node_set' type='string' />
    <field name='tier' type='int' />
  </table>
  <table table_name='technology_nodes_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='indent' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' />
    <field fkey='technology_node_sets_tables.key' name='technology_node_set' type='string_ascii' />
    <field name='tier' type='int' />
  </table>
  <table table_name='technology_nodes_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='indent' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' />
    <field fkey='technology_node_sets_tables.key' name='technology_node_set' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='research_points_required' type='int' />
    <field name='cost_per_round' type='int' />
  </table>
  <table table_name='technology_nodes_tables'
         table_version='2' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='indent' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' />
    <field fkey='technology_node_sets_tables.key' name='technology_node_set' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='research_points_required' type='int' />
    <field name='cost_per_round' type='int' />
    <field name='food_cost' type='int' />
  </table>
  <table table_name='technology_nodes_tables'
         table_version='2' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='indent' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' />
    <field fkey='technology_node_sets_tables.key' name='technology_node_set' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='research_points_required' type='int' />
    <field name='cost_per_round' type='int' />
    <field name='food_cost' type='int' />
    <field name='unknown' type='optstring_ascii' />
  </table>
  <table table_name='technology_nodes_tables'
         table_version='3' >
    <field fkey='campaigns_tables.campaign_name' name='campaign_key' type='optstring_ascii' />
    <field fkey='factions_tables.key' name='faction_key' type='optstring_ascii' />
    <field name='indent' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' />
    <field fkey='technology_node_sets_tables.key' name='technology_node_set' type='string_ascii' />
    <field name='tier' type='int' />
    <field name='research_points_required' type='int' />
    <field name='cost_per_round' type='int' />
    <field name='food_cost' type='int' />
    <field fkey='technology_ui_groups_tables.key' name='optional_ui_group' type='optstring_ascii' />
    <field fkey='resource_costs_tables.id' name='resource_cost' type='optstring_ascii' />
  </table>
  <table table_name='technology_nodes_to_ancillaries_junctions_tables'
         table_version='0' >
    <field fkey='technology_nodes_tables.key' name='technology_node' type='string_ascii' pk='true' />
    <field fkey='ancillaries_tables.key' name='ancillary' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_required_building_levels_junctions_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology' type='string' pk='true' />
    <field fkey='building_levels_tables.level_name' name='required_bulding_level' type='string' pk='true' />
  </table>
  <table table_name='technology_required_building_levels_junctions_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology' type='string_ascii' pk='true' />
    <field fkey='building_levels_tables.level_name' name='required_bulding_level' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_required_technology_junctions_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology' type='string' pk='true' />
    <field fkey='technologies_tables.key' name='required_technology' type='string' pk='true' />
  </table>
  <table table_name='technology_required_technology_junctions_tables'
         table_version='0' >
    <field fkey='technologies_tables.key' name='technology' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='required_technology' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_text_long_descriptions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_text_short_descriptions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_text_strings_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='technology_threads_tables'
         table_version='0' >
    <field name='thread_id' type='string' pk='true' />
  </table>
  <table table_name='technology_ui_groups_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='colour_red' type='int' />
    <field name='colour_green' type='int' />
    <field name='colour_blue' type='int' />
  </table>
  <table table_name='technology_ui_groups_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='colour_red' type='int' />
    <field name='colour_green' type='int' />
    <field name='colour_blue' type='int' />
    <field name='optional_background_image' type='optstring_ascii' />
  </table>
  <table table_name='technology_ui_groups_to_technology_nodes_junctions_tables'
         table_version='0' >
    <field fkey='technology_nodes_tables.key' name='bottom_right_node' type='string_ascii' />
    <field fkey='technology_ui_groups_tables.key' name='tech_ui_group' type='string_ascii' pk='true' />
    <field fkey='technology_nodes_tables.key' name='top_left_node' type='string_ascii' />
  </table>
  <table table_name='technology_ui_groups_to_technology_nodes_junctions_tables'
         table_version='2' >
    <field fkey='technology_nodes_tables.key' name='bottom_right_node' type='string_ascii' />
    <field fkey='technology_ui_groups_tables.key' name='tech_ui_group' type='string_ascii' pk='true' />
    <field fkey='technology_nodes_tables.key' name='top_left_node' type='string_ascii' />
    <field fkey='technology_nodes_tables.key' name='optional_top_right_node' type='optstring_ascii' />
    <field fkey='technology_nodes_tables.key' name='optional_bottom_left_node' type='optstring_ascii' />
  </table>
  <table table_name='technology_unit_upgrades_tables'
         table_version='0' >
    <field name='cost' type='int' />
    <field fkey='main_units_tables.unit' name='target_unit' type='optstring_ascii' />
    <field fkey='technologies_tables.key' name='technology' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='terrain_tilesets_tables'
         table_version='0' >
    <field name='tileset_name' type='string' pk='true' />
  </table>
  <table table_name='terrain_tilesets_tables'
         table_version='0' >
    <field name='tileset_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='town_wealth_growth_factors_tables'
         table_version='0' >
    <field name='factor' type='string' pk='true' />
    <field name='positive_pip_path' type='string' />
    <field name='negative_pip_path' type='string' />
  </table>
  <table table_name='town_wealth_growth_factors_tables'
         table_version='0' >
    <field name='factor' type='string_ascii' pk='true' />
    <field name='positive_pip_path' type='string_ascii' />
    <field name='negative_pip_path' type='string_ascii' />
  </table>
  <table table_name='trade_details_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='icon_filepath' type='string' />
  </table>
  <table table_name='trade_details_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='icon_filepath' type='string_ascii' />
  </table>
  <table table_name='trade_display_campaign_originating_culture_trade_model_options_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_tables.key' name='originating_culture' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_originating_subculture_trade_model_options_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='originating_subculture' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_owning_culture_produced_resource_trade_model_options_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_tables.key' name='owning_culture' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_owning_culture_trade_model_options_tables'
         table_version='1' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_tables.key' name='owning_culture' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_owning_faction_produced_resource_trade_model_options_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='factions_tables.key' name='owning_faction' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_owning_faction_trade_model_options_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='factions_tables.key' name='owning_faction' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_owning_subculture_produced_resource_trade_model_options_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='owning_subculture' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_owning_subculture_trade_model_options_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='owning_subculture' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_produced_resource_trade_model_options_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_campaign_trade_model_options_tables'
         table_version='0' >
    <field fkey='campaigns_tables.campaign_name' name='campaign' type='string_ascii' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='string_ascii' />
  </table>
  <table table_name='trade_display_generic_trade_model_options_tables'
         table_version='0' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_groups_tables'
         table_version='0' >
    <field fkey='campaign_groups_tables.id' name='group' type='string_ascii' pk='true' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' pk='true' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_originating_culture_produced_resource_trade_model_options_tables'
         table_version='0' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_tables.key' name='originating_culture' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_originating_culture_trade_model_options_tables'
         table_version='1' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_tables.key' name='originating_culture' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_originating_subculture_produced_resource_trade_model_options_tables'
         table_version='0' >
    <field name='key' type='int' pk='true'/>
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='originating_subculture' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_originating_subculture_trade_model_options_tables'
         table_version='1' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='originating_subculture' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_owning_culture_produced_resource_trade_model_options_tables'
         table_version='0' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_tables.key' name='owning_culture' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_owning_culture_trade_model_options_tables'
         table_version='0' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_tables.key' name='owning_culture' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_owning_faction_produced_resource_trade_model_options_tables'
         table_version='0' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='factions_tables.key' name='owning_faction' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_owning_faction_trade_model_options_tables'
         table_version='1' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='factions_tables.key' name='owning_faction' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_owning_subculture_produced_resource_trade_model_options_tables'
         table_version='0' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='owning_subculture' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_owning_subculture_trade_model_options_tables'
         table_version='0' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field fkey='cultures_subcultures_tables.subculture' name='owning_subculture' type='string_ascii' />
    <field name='priority' type='float' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_produced_resource_trade_model_options_tables'
         table_version='1' >
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='trade_display_trade_models_tables.key' name='model' type='string_ascii' />
    <field name='priority' type='float' />
    <field fkey='resources_tables.key' name='produced_resource' type='string_ascii' />
    <field name='relative_frequency' type='float' />
  </table>
  <table table_name='trade_display_trade_models_tables'
         table_version='1' >
    <field name='is_naval' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='warscape_animated_tables.key' name='model' type='string_ascii' />
    <field fkey='warscape_animated_tables.key' name='optional_following_model' type='optstring_ascii' />
    <field name='optional_following_model_distance' type='float' />
  </table>
  <table table_name='trade_node_groups_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='trade_node_groups_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='trade_nodes_tables'
         table_version='1' >
    <field name='ID' type='string' pk='true' />
    <field fkey='commodities_tables.key' name='commodity' type='string' />
    <field name='base_quantity' type='int' />
    <field name='percentage_increase_per_agent' type='float' />
    <field name='maximum_percentage_increase' type='float' />
    <field fkey='trade_node_groups_tables.key' name='group' type='string' />
  </table>
  <table table_name='trade_nodes_tables'
         table_version='1' >
    <field name='ID' type='string_ascii' pk='true' />
    <field fkey='commodities_tables.key' name='commodity' type='string_ascii' />
    <field name='base_quantity' type='int' />
    <field name='percentage_increase_per_agent' type='float' />
    <field name='maximum_percentage_increase' type='float' />
    <field fkey='trade_node_groups_tables.key' name='group' type='string_ascii' />
  </table>
  <table table_name='trade_theatre_commodities_tables'
         table_version='0' >
    <field name='index' type='string' pk='true' />
    <field fkey='commodities_tables.commodity_id' name='commodity' type='string' />
    <field name='base_quantity' type='int' />
    <field name='percentage_increase_per_agent' type='float' />
    <field name='maximum_percentage_increase' type='float' />
  </table>
  <table table_name='trait_attribute_effects_tables'
         table_version='0' >
    <field fkey='character_trait_levels_tables.key' name='trait_level' type='string' pk='true' />
    <field fkey='agent_attributes_tables.key' name='attribute' type='string' pk='true' />
    <field name='effect_value' type='int' />
  </table>
  <table table_name='trait_categories_tables'
         table_version='0' >
    <field name='category' type='string' pk='true' />
    <field name='icon_path' type='optstring' />
  </table>
  <table table_name='trait_categories_tables'
         table_version='0' >
    <field name='category' type='string_ascii' pk='true' />
    <field name='icon_path' type='optstring_ascii' />
  </table>
  <table table_name='trait_categories_tables'
         table_version='5' >
    <field name='category' type='string_ascii' pk='true' />
    <field name='icon_path' type='optstring_ascii' />
    <field fkey='effect_bundles_tables.key' name='bundle' type='optstring_ascii' />
    <field name='inactive' type='boolean' />
  </table>
  <table table_name='trait_info_tables'
         table_version='0' >
    <field name='trait' type='string' pk='true' />
    <field name='applicable_to' type='string' />
  </table>
  <table table_name='trait_info_tables'
         table_version='0' >
    <field name='trait' type='string_ascii' pk='true' />
    <field name='applicable_to' type='string_ascii' />
  </table>
  <table table_name='trait_info_tables'
         table_version='1' >
    <field name='trait' type='string_ascii' pk='true' />
  </table>
  <table table_name='trait_level_effects_tables'
         table_version='0' >
    <field fkey='character_trait_levels_tables.key' name='trait_level' type='string' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='trait_level_effects_tables'
         table_version='0' >
    <field fkey='character_trait_levels_tables.key' name='trait_level' type='string_ascii' pk='true' />
    <field fkey='effects_tables.effect' name='effect' type='string_ascii' pk='true' />
    <field fkey='campaign_effect_scopes_tables.key' name='effect_scope' type='string_ascii' />
    <field name='value' type='float' />
  </table>
  <table table_name='trait_level_string_subculture_overrides_tables'
         table_version='0' >
    <field fkey='cultures_subcultures_tables.subculture' name='subculture' type='string_ascii' pk='true' />
    <field fkey='character_trait_levels_tables.key' name='trait_level' type='string_ascii' pk='true' />
  </table>
  <table table_name='trait_to_antitraits_tables'
         table_version='0' >
    <field fkey='trait_info_tables.trait' name='trait' type='string' pk='true' />
    <field fkey='trait_info_tables.trait' name='antitrait' type='string' pk='true' />
  </table>
  <table table_name='trait_to_antitraits_tables'
         table_version='0' >
    <field fkey='trait_info_tables.trait' name='trait' type='string_ascii' pk='true' />
    <field fkey='trait_info_tables.trait' name='antitrait' type='string_ascii' pk='true' />
  </table>
  <table table_name='trait_to_excluded_cultures_tables'
         table_version='0' >
    <field fkey='character_traits_tables.key' name='trait' type='string' pk='true' />
    <field name='culture' type='string' pk='true' />
  </table>
  <table table_name='trait_to_included_agents_tables'
         table_version='0' >
    <field fkey='trait_info_tables.trait' name='trait' type='string' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
  </table>
  <table table_name='trait_to_included_agents_tables'
         table_version='0' >
    <field fkey='trait_info_tables.trait' name='trait' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
  </table>
  <table table_name='trait_triggers_tables'
         table_version='0' >
    <field name='trigger' type='string' pk='true' />
    <field fkey='trigger_events_tables.event' name='event' type='string' />
    <field name='conditions' type='string' />
  </table>
    <table table_name='treasure_hunt_extra_informations_tables'
         table_version='4' >
    <field fkey='dilemmas_tables.key' name='treasure_hunt_dilemma_key' type='string_ascii' pk='true' />
    <field name='option_2_images' type='optstring_ascii' />
    <field name='option_3_images' type='optstring_ascii' />
    <field name='option_4_images' type='optstring_ascii' />
    <field name='option_1_images' type='optstring_ascii' />
    <field name='color_blind_mode_overlay' type='optstring_ascii' />
    <field name='overlay_image' type='optstring_ascii' />
  </table>
  <table table_name='trees_climates_jct_tables'
         table_version='0' >
    <field name='climate_id' type='string' pk='true' />
    <field fkey='trees_tables.tree_id' name='tree' type='string' pk='true' />
    <field name='abundance' type='int' />
  </table>
  <table table_name='trees_tables'
         table_version='0' >
    <field name='tree_id' type='string' pk='true' />
    <field name='shrub' type='boolean' />
    <field name='high_altitude' type='boolean' />
    <field name='conifer' type='boolean' />
    <field name='distance_to_coast' type='int' />
  </table>
  <table table_name='trigger_effects_tables'
         table_version='0' >
    <field name='id' type='string' pk='true' />
    <field fkey='trait_triggers_tables.trigger' name='trigger' type='string' />
    <field fkey='trait_info_tables.trait' name='trait' type='string' />
    <field name='value' type='int' />
    <field name='chance' type='int' />
  </table>
  <table table_name='trigger_effects_tables'
         table_version='0' >
    <field name='id' type='string_ascii' pk='true' />
    <field fkey='trait_triggers_tables.trigger' name='trigger' type='string_ascii' />
    <field fkey='trait_info_tables.trait' name='trait' type='string_ascii' />
    <field name='value' type='int' />
    <field name='chance' type='int' />
  </table>
  <table table_name='trigger_event_to_excluded_agent_types_tables'
         table_version='0' >
    <field fkey='trigger_events_tables.event' name='event' type='string' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string' pk='true' />
  </table>
  <table table_name='trigger_event_to_excluded_agent_types_tables'
         table_version='0' >
    <field fkey='trigger_events_tables.event' name='event' type='string_ascii' pk='true' />
    <field fkey='agents_tables.key' name='agent' type='string_ascii' pk='true' />
  </table>
  <table table_name='trigger_events_tables'
         table_version='0' >
    <field name='event' type='string' pk='true' />
  </table>
  <table table_name='trigger_events_tables'
         table_version='0' >
    <field name='event' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_colour_profile_colour_overrides_tables'
         table_version='0' >
    <field fkey='ui_colours_tables.key' name='colour' type='string_ascii' pk='true' />
    <field name='colour_b' type='int' />
    <field name='colour_g' type='int' />
    <field fkey='ui_colour_profiles_tables.key' name='colour_profile' type='string_ascii' pk='true' />
    <field name='colour_r' type='int' />
  </table>
  <table table_name='ui_colour_profiles_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_colours_tables'
         table_version='0' >
    <field name='blue' type='int' />
    <field name='green' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='red' type='int' />
  </table>
  <table table_name='ui_colours_tables'
         table_version='1' >
    <field name='blue' type='int' />
    <field name='green' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='red' type='int' />
    <field name='description' type='string_ascii' />
    <field name='show_in_uied' type='boolean' />
  </table>
  <table table_name='ui_effects_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='particle_effects_tables.key' name='banner_fx' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='ping_fx' type='optstring_ascii' />
  </table>
  <table table_name='ui_large_images_tables'
         table_version='0' >
    <field fkey='game_area_enums_tables.key' name='game_area' type='string_ascii' pk='true' />
    <field name='image_path' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_tagged_images_tables'
         table_version='0' >
    <field name='image_path' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_text_replacements_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_tooltip_components_tables'
         table_version='2' >
    <field name='child_id' type='string_ascii' pk='true' />
    <field name='icon_path' type='optstring_ascii' />
    <field fkey='ui_tooltips_tables.key' name='ui_tooltip' type='string_ascii' pk='true' />
    <field name='state_name' type='optstring_ascii' />
    <field name='is_visible' type='boolean' />
  </table>
  <table table_name='ui_tooltips_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='layout_name' type='string_ascii' />
  </table>
  <table table_name='ui_unit_bullet_point_enums_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='state' type='string_ascii' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='ui_unit_bullet_point_enums_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='state' type='string_ascii' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='ui_unit_bullet_point_unit_overrides_tables'
         table_version='0' >
    <field fkey='ui_unit_bullet_point_enums_tables.key' name='bullet_point' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_unit_bullet_points_generations_tables'
         table_version='0' >
    <field fkey='ui_unit_bullet_point_enums_tables.key' name='bullet_point_enum' type='string_ascii' />
    <field name='should_display' type='boolean' />
    <field fkey='ui_unit_bullet_point_enums_tables.key' name='text_override' type='optstring_ascii' />
    <field fkey='unit_class_tables.key' name='unit_class' type='string_ascii' pk='true' />
    <field fkey='ui_unit_stats_tables.key' name='unit_stat' type='string_ascii' pk='true' />
    <field name='unit_stat_threshold' type='float' pk='true' />
  </table>
  <table table_name='ui_unit_bullet_points_generations_tables'
         table_version='2' >
    <field fkey='ui_unit_bullet_point_enums_tables.key' name='bullet_point_enum' type='string_ascii' />
    <field fkey='ui_unit_bullet_point_enums_tables.key' name='text_override' type='optstring_ascii' />
    <field fkey='unit_class_tables.key' name='unit_class' type='string_ascii' pk='true' />
    <field fkey='ui_unit_stats_tables.key' name='unit_stat' type='string_ascii' pk='true' />
    <field name='unit_stat_threshold' type='float' pk='true' />
    <field name='should_display' type='boolean' />
  </table>
  <table table_name='ui_unit_group_parents_tables'
         table_version='0' >
    <field name='icon' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='unknown2' type='int' />
  </table>
  <table table_name='ui_unit_group_parents_tables'
         table_version='1' >
    <field name='icon' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='order' type='int' />
    <field name='mp_cap' type='int' />
  </table>
  <table table_name='ui_unit_groupings_tables'
         table_version='1' >
    <field name='icon' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='ui_unit_group_parents_tables.key' name='parent_group' type='string_ascii' />
  </table>
  <table table_name='ui_unit_groupings_tables'
         table_version='1' >
    <field name='icon' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='order' type='int' />
  </table>
  <table table_name='ui_unit_stat_to_classes_tables'
         table_version='0' >
    <field fkey='ui_unit_stats_tables.key' name='stat_key' type='string' pk='true' />
    <field fkey='unit_class_tables.key' name='unit_class' type='string' pk='true' />
    <field name='list_order' type='int' />
  </table>
  <table table_name='ui_unit_stat_to_classes_tables'
         table_version='3' >
    <field fkey='ui_unit_stats_tables.key' name='stat_key' type='string_ascii' pk='true' />
    <field fkey='unit_class_tables.key' name='unit_class' type='string_ascii' pk='true' />
    <field name='list_order' type='int' />
    <field fkey='ui_unit_stats_filters_tables.key' name='filter' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_unit_stat_to_classes_tables'
         table_version='4' >
    <field fkey='ui_unit_stats_tables.key' name='stat_key' type='string_ascii' pk='true' />
    <field fkey='unit_class_tables.key' name='unit_class' type='string_ascii' pk='true' />
    <field name='list_order' type='int' />
    <field fkey='ui_unit_stats_filters_tables.key' name='filter' type='string_ascii' pk='true' />
    <field name='base_value' type='float' />
  </table>
  <table table_name='ui_unit_stat_to_classes_tables'
         table_version='5' >
    <field fkey='ui_unit_stats_tables.key' name='stat_key' type='string_ascii' pk='true' />
    <field fkey='unit_class_tables.key' name='unit_class' type='string_ascii' pk='true' />
    <field name='list_order' type='int' />
    <field fkey='ui_unit_stats_filters_tables.key' name='filter' type='string_ascii' pk='true' />
    <field name='base_value' type='float' />
  </table>
  <table table_name='ui_unit_stat_to_unit_castes_tables'
         table_version='0' >
    <field name='max_value_override' type='int' />
    <field fkey='ui_unit_stats_tables.key' name='stat' type='string_ascii' pk='true' />
    <field fkey='unit_castes_tables.caste' name='unit_caste' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_unit_stats_filters_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='ui_unit_stats_tables'
         table_version='3' >
    <field name='key' type='string' pk='true' />
    <field name='onscreen_name' type='string' />
    <field name='max_value' type='int' />
    <field name='campaign_only' type='boolean' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='ui_unit_stats_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='onscreen_name' type='string_ascii' />
    <field name='max_value' type='int' />
    <field name='campaign_only' type='boolean' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='ui_unit_stats_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='onscreen_name' type='string_ascii' />
    <field name='max_value' type='int' />
    <field name='campaign_only' type='boolean' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='ui_unit_stats_tables'
         table_version='9' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='max_value' type='int' />
    <field name='campaign_only' type='boolean' />
    <field name='sort_order' type='int' />
    <field fkey='unit_stat_localisations_tables.stat_key' name='localisation' type='string_ascii' />
    <field name='icon' type='string_ascii' />
  </table>
  <table table_name='ui_unit_statuses_tables'
         table_version='0' >
    <field name='icon_path' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='priority' type='int' />
  </table>
  <table table_name='uniform_naval_to_faction_colours_tables'
         table_version='2' >
    <field fkey='factions_tables.key' name='faction_name' type='optstring' pk='true' />
    <field name='primary_colour_b' type='float' />
    <field name='primary_colour_g' type='float' />
    <field name='primary_colour_r' type='float' />
    <field name='secondary_colour_b' type='float' />
    <field name='secondary_colour_g' type='float' />
    <field name='secondary_colour_r' type='float' />
    <field name='tertiary_colour_b' type='float' />
    <field name='tertiary_colour_g' type='float' />
    <field name='tertiary_colour_r' type='float' />
    <field fkey='uniforms_tables.Uniform_Name' name='uniform_name' type='string' pk='true' />
    <field fkey='uniform_type_enums_tables.key' name='type' type='string' pk='true' />
  </table>
  <table table_name='uniform_to_faction_colours_tables'
         table_version='0' >
    <field fkey='uniforms_tables.Uniform_Name' name='uniform_name' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction_name' type='string' pk='true' />
    <field name='primary_colour_r' type='int' />
    <field name='primary_colour_g' type='int' />
    <field name='primary_colour_b' type='int' />
    <field name='secondary_colour_r' type='int' />
    <field name='secondary_colour_g' type='int' />
    <field name='secondary_colour_b' type='int' />
    <field name='tertiary_colour_r' type='int' />
    <field name='tertiary_colour_g' type='int' />
    <field name='tertiary_colour_b' type='int' />
  </table>
  <table table_name='uniform_to_faction_colours_tables'
         table_version='2' >
    <field fkey='uniforms_tables.Uniform_Name' name='uniform_name' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction_name' type='optstring' pk='true' />
    <field name='primary_colour_r' type='int' />
    <field name='primary_colour_g' type='int' />
    <field name='primary_colour_b' type='int' />
    <field name='secondary_colour_r' type='int' />
    <field name='secondary_colour_g' type='int' />
    <field name='secondary_colour_b' type='int' />
    <field name='tertiary_colour_r' type='int' />
    <field name='tertiary_colour_g' type='int' />
    <field name='tertiary_colour_b' type='int' />
    <field fkey='uniform_type_enums_tables.key' name='type' type='string' pk='true' />
  </table>
  <table table_name='uniforms_tables'
         table_version='0' >
    <field name='Uniform_Name' type='string' />
    <field fkey='factions_tables.key' name='Faction' type='string' pk='true' />
    <field name='Filename' type='string' />
    <field fkey='unit_stats_land_tables.key' name='Unit' type='string' pk='true' />
  </table>
  <table table_name='uniforms_tables'
         table_version='0' >
    <field name='uniform_name' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='optstring' />
    <field name='uniform_variant' type='string' />
    <field name='filename' type='string' />
    <field fkey='unit_stats_land_tables.key' name='unit' type='string' />
    <field name='officer_filename' type='optstring' />
    <field name='standard_bearer_filename' type='optstring' />
    <field name='musician_filename' type='optstring' />
    <field fkey='imposter_sharing_enums_tables.key' name='imposter_sharing' type='optstring' />
  </table>
  <table table_name='uniforms_tables'
         table_version='2' >
    <field name='uniform_name' type='string' pk='true' />
    <field name='filename' type='string' />
    <field fkey='unit_stats_land_tables.key' name='unit' type='string' />
  </table>
  <table table_name='uniforms_tables'
         table_version='3' >
    <field name='Uniform_Name' type='string' />
    <field fkey='factions_tables.key' name='Faction' type='optstring' pk='true' />
    <field name='Filename' type='string' />
    <field fkey='unit_stats_land_tables.key' name='Unit' type='string' pk='true' />
    <field name='officer_filename' type='optstring' />
    <field name='standard_bearer_filename' type='optstring' />
    <field name='musician_filename' type='optstring' />
    <field fkey='imposter_sharing_enums_tables.key' name='imposter_sharing' type='optstring' />
  </table>
  <table table_name='unique_agent_component_junctions_tables'
         table_version='1' >
    <field fkey='unique_agent_components_tables.id' name='component' type='string_ascii' pk='true' />
    <field fkey='unique_agents_tables.agent_subtype' name='unique_agent' type='string_ascii' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='unique_agent_spawn_vfx_junctions_tables'
         table_version='0' >
    <field fkey='campaign_composite_scenes_tables.id' name='composite_scene' type='string_ascii' />
    <field fkey='unique_agents_tables.agent_subtype' name='unique_agent' type='string_ascii' pk='true' />
  </table>
  <table table_name='unique_agents_tables'
         table_version='2' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' pk='true' />
    <field fkey='names_tables.id' name='clan_name' type='string_ascii' />
    <field fkey='names_tables.id' name='forename' type='string_ascii' />
    <field fkey='names_tables.id' name='other_name' type='string_ascii' />
    <field fkey='names_tables.id' name='surname' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' />
    <field fkey='unique_agent_spawn_behaviours_tables.id' name='spawn_behaviour' type='string_ascii' />
  </table>
  <table table_name='unique_agents_tables'
         table_version='3' >
    <field fkey='agent_subtypes_tables.key' name='agent_subtype' type='string_ascii' pk='true' />
    <field fkey='names_tables.id' name='clan_name' type='string_ascii' />
    <field fkey='names_tables.id' name='forename' type='string_ascii' />
    <field fkey='names_tables.id' name='other_name' type='string_ascii' />
    <field fkey='names_tables.id' name='surname' type='string_ascii' />
    <field fkey='agents_tables.key' name='agent_type' type='string_ascii' />
    <field fkey='unique_agent_spawn_behaviours_tables.id' name='spawn_behaviour' type='string_ascii' />
    <field name='spawn_via_ui' type='boolean' />
  </table>
  <table table_name='unique_building_chains_tables'
         table_version='0' >
    <field fkey='building_chains_tables.key' name='building_chain' type='string_ascii' pk='true' />
    <field fkey='regions_tables.key' name='region' type='string_ascii' />
  </table>
  <table table_name='unit_abilities_additional_ui_effects_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='unit_abilities_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='stationary_for_turn' type='boolean' />
    <field name='supersedes_ability' type='optstring' />
    <field name='requires_effect_enabling' type='boolean' />
  </table>
  <table table_name='unit_abilities_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='stationary_for_turn' type='boolean' />
    <field name='supersedes_ability' type='optstring' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='bullet_text' type='optstring' />
    <field name='info_card_tooltip_text' type='optstring' />
    <field name='button_tooltip_text' type='optstring' />
  </table>
  <table table_name='unit_abilities_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='stationary_for_turn' type='boolean' />
    <field name='supersedes_ability' type='optstring_ascii' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='tooltip_text' type='optstring_ascii' />
  </table>
  <table table_name='unit_abilities_tables'
         table_version='11' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='supercedes_ability' type='boolean' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='icon-name' type='string_ascii' />
    <field name='upgrade-replacement' type='optstring_ascii' />
    <field name='type' type='string_ascii' />
    <field name='video_previews' type='optstring_ascii' />
    <field name='uniqueness' type='string_ascii' />
  </table>
  <table table_name='unit_abilities_tables'
         table_version='12' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='supercedes_ability' type='boolean' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='icon-name' type='string_ascii' />
    <field name='upgrade-replacement' type='optstring_ascii' />
    <field name='type' type='string_ascii' />
    <field name='video_previews' type='optstring_ascii' />
    <field name='uniqueness' type='string_ascii' />
    <field name='unknown8' type='boolean' />
  </table>
  <table table_name='unit_abilities_tables'
         table_version='13' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='supersedes_ability' type='optstring_ascii' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='icon_name' type='string_ascii' />
    <field fkey='unit_abilities_tables.key' name='overpower_option' type='optstring_ascii' />
    <field fkey='unit_ability_types_tables.key' name='type' type='string_ascii' />
    <field fkey='videos_tables.video_name' name='video' type='optstring_ascii' />
    <field fkey='ancillary_uniqueness_groupings_tables.group_key' name='uniqueness' type='string_ascii' />
    <field name='is_unit_upgrade' type='boolean' />
    <field name='is_hidden_in_ui' type='boolean' />
  </table>
  <table table_name='unit_abilities_tables'
         table_version='14' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='supercedes_ability' type='optstring_ascii' />
    <field name='requires_effect_enabling' type='boolean' />
    <field name='icon-name' type='string_ascii' />
    <field name='overpower_option' type='optstring_ascii' />
    <field name='type' type='string_ascii' />
    <field name='video' type='optstring_ascii' />
    <field name='uniqueness' type='string_ascii' />
    <field name='is_unit_upgrade' type='boolean' />
    <field name='is_hidden_in_ui' type='boolean' />
    <field fkey='unit_ability_source_types_tables.key' name='source_type' type='string_ascii' />
  </table>
  <table table_name='unit_abilities_to_additional_ui_effects_juncs_tables'
         table_version='0' >
    <field fkey='unit_abilities_tables.key' name='ability' type='string_ascii' pk='true' />
    <field fkey='unit_abilities_additional_ui_effects_tables.key' name='effect' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_ability_source_types_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_ability_types_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='show_cursor_trail' type='boolean' />
    <field name='icon_path' type='string_ascii' />
  </table>
  <table table_name='unit_armour_types_tables'
         table_version='1' >
    <field name='armour_value' type='int' />
    <field name='bonus_vs_missiles' type='optstring_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='weak_v_missiles' type='optstring_ascii' />
    <field fkey='audio_materials_enums_tables.key' name='audio_material' type='string_ascii' />
  </table>
  <table table_name='unit_armour_types_tables'
         table_version='5' >
    <field name='armour_value' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_armour_types_tables.key' name='audio_type' type='string_ascii' />
  </table>
  <table table_name='unit_armour_types_tables'
         table_version='6' >
    <field name='armour_value' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='audio_armour_types_tables.key' name='audio_type' type='optstring_ascii' />
  </table>
  <table table_name='unit_attributes_groups_tables'
         table_version='0' >
    <field name='group_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_attributes_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_attributes_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_attributes_to_groups_junctions_tables'
         table_version='2' >
    <field fkey='unit_attributes_tables.key' name='attribute' type='string_ascii' pk='true' />
    <field fkey='unit_attributes_groups_tables.group_name' name='attribute_group' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='unit_banner_unit_height_offsets_tables'
         table_version='0' >
    <field name='height_offset' type='int' />
    <field fkey='main_units_tables.unit' name='unit_record' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_banner_unit_height_offsets_tables'
         table_version='1' >
    <field name='height_offset' type='int' />
    <field fkey='main_units_tables.unit' name='unit_record' type='string_ascii' pk='true' />
    <field name='campaign_height_offset' type='int' />
  </table>
  <table table_name='unit_banners_tables'
         table_version='3' >
    <field name='faction_offset_x' type='float' />
    <field name='faction_offset_y' type='float' />
    <field name='faction_scale_x' type='float' />
    <field name='faction_scale_y' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='unitcat_offset_x' type='float' />
    <field name='unitcat_offset_y' type='float' />
    <field name='unitcat_scale_x' type='float' />
    <field name='unitcat_scale_y' type='float' />
    <field name='command_star_offset_x' type='float' />
    <field name='command_star_offset_y' type='float' />
    <field name='army_id_offset_y' type='float' />
    <field name='animation_name' type='optstring_ascii' />
    <field name='unit_id_offset_y' type='float' />
  </table>
  <table table_name='unit_castes_tables'
         table_version='1' >
    <field name='caste' type='string' pk='true' />
    <field name='localised_name' type='optstring' />
  </table>
  <table table_name='unit_castes_tables'
         table_version='2' >
    <field name='caste' type='string_ascii' pk='true' />
    <field name='localised_name' type='optstring_ascii' />
    <field name='sort_priority' type='int' />
  </table>
  <table table_name='unit_category_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='unit_category_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='localised_name' type='optstring' />
  </table>
  <table table_name='unit_category_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='localised_name' type='optstring' />
    <field name='r_colour' type='float' />
    <field name='g_colour' type='float' />
    <field name='b_colour' type='float' />
  </table>
  <table table_name='unit_category_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_name' type='optstring_ascii' />
    <field name='r_colour' type='float' />
    <field name='g_colour' type='float' />
    <field name='b_colour' type='float' />
  </table>
  <table table_name='unit_category_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_name' type='optstring_ascii' />
    <field name='r_colour' type='float' />
    <field name='g_colour' type='float' />
    <field name='b_colour' type='float' />
    <field name='min_battle_rows' type='int' />
  </table>
  <table table_name='unit_category_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='localised_name' type='optstring_ascii' />
  </table>
  <table table_name='unit_class_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='onscreen' type='string' />
  </table>
  <table table_name='unit_class_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='onscreen' type='string_ascii' />
    <field name='sort_priority' type='int' />
    <field name='icon' type='string_ascii' />
    <field name='can_assault_settlment' type='boolean' />
  </table>
  <table table_name='unit_class_tables'
         table_version='4' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='onscreen' type='string_ascii' />
    <field name='sort_priority' type='int' />
    <field name='can_assualt_settlment' type='boolean' />
  </table>
  <table table_name='unit_class_tables'
         table_version='5' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='onscreen' type='string_ascii' />
    <field name='sort_priority' type='int' />
  </table>
  <table table_name='unit_class_to_population_class_priorities_tables'
         table_version='0' >
    <field fkey='unit_class_tables.key' name='unit_class' type='string' pk='true' />
    <field name='upper_class_priority' type='int' />
    <field name='middle_class_priority' type='int' />
    <field name='lower_class_priority' type='int' />
  </table>
  <table table_name='unit_class_to_unit_ability_junctions_tables'
         table_version='0' >
    <field fkey='unit_class_tables.key' name='unit_class' type='string' pk='true' />
    <field fkey='unit_abilities_tables.key' name='unit_ability' type='string' pk='true' />
  </table>
  <table table_name='unit_description_gameplay_texts_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_description_historical_texts_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_description_short_texts_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_description_strengths_weaknesses_texts_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_experience_bonuses_tables'
         table_version='1' >
    <field fkey='ui_unit_stats_tables.key' name='stat' type='string_ascii' pk='true' />
    <field name='value' type='int' />
    <field name='growth_rate' type='float' />
    <field name='growth_scalar' type='float' />
  </table>
    <table table_name='unit_experience_bonuses_tables'
         table_version='1' >
    <field fkey='modifiable_unit_stats_tables.stat_key' name='stat' type='string_ascii' pk='true' />
    <field name='value' type='int' />
    <field name='growth_rate' type='float' />
    <field name='growth_scalar' type='float' />
  </table>
  <table table_name='unit_experience_threshold_modifiers_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='modifier' type='float' />
  </table>
  <table table_name='unit_experience_threshold_modifiers_tables'
         table_version='0' >
    <field fkey='main_units_tables.unit' name='key' type='string_ascii' pk='true' />
    <field name='modifier' type='float' />
  </table>
  <table table_name='unit_experience_thresholds_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='unit_experience_thresholds_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='value' type='int' />
  </table>
  <table table_name='unit_fatigue_effects_tables'
         table_version='2' >
    <field fkey='_kv_fatigue_tables.key' name='fatigue_level' type='string_ascii' pk='true' />
    <field fkey='ui_unit_stats_tables.key' name='stat' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='unit_fatigue_effects_tables'
         table_version='3' >
    <field fkey='_kv_fatigue_tables.key' name='fatigue_level' type='string_ascii' pk='true' />
    <field fkey='modifiable_unit_stats_tables.stat_key' name='stat' type='string_ascii' pk='true' />
    <field name='value' type='float' />
  </table>
  <table table_name='unit_ground_type_movement_modifiers_tables'
         table_version='0' >
    <field fkey='unit_category_tables.key' name='category' type='string_ascii' pk='true' />
    <field fkey='ground_types_tables.type' name='ground_type' type='string_ascii' pk='true' />
    <field name='speed_modifier' type='float' />
  </table>
  <table table_name='unit_info_card_abilities_strings_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='unit_info_card_abilities_strings_tables'
         table_version='1' >
    <field name='key' type='string' pk='true' />
    <field name='bullet_text' type='optstring' />
    <field name='tooltip_text' type='optstring' />
  </table>
  <table table_name='unit_lists_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_missile_weapon_junctions_tables'
         table_version='0' >
    <field fkey='missile_weapons_tables.key' name='missile_weapon' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' />
    <field name='id' type='int' pk='true' />
    <field name='-' type='int' />
  </table>
  <table table_name='unit_movement_modifiers_tables'
         table_version='0' >
    <field fkey='ground_types_tables.type' name='key' type='string' pk='true' />
    <field name='artillery' type='float' />
    <field name='artillery_horse' type='float' />
    <field name='cavalry' type='float' />
    <field name='infantry' type='float' />
  </table>
  <table table_name='unit_porthole_camera_settings_tables'
         table_version='2' >
    <field name='distance' type='float' />
    <field name='fov' type='float' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='phi' type='float' />
    <field name='theta' type='float' />
    <field name='target_x' type='float' />
    <field name='target_y' type='float' />
    <field name='target_z' type='float' />
    <field name='environment_file' type='string_ascii' />
  </table>
  <table table_name='unit_regiment_names_tables'
         table_version='0' >
    <field fkey='names_groups_tables.ID' name='name_group' type='string' pk='true' />
    <field fkey='unit_castes_tables.caste' name='unit_caste' type='string' pk='true' />
    <field fkey='unit_regiment_names_localisation_lookup_tables.key' name='unit_name' type='string' pk='true' />
    <field name='name_order' type='int' />
  </table>
  <table table_name='unit_regiment_names_tables'
         table_version='1' >
    <field fkey='names_groups_tables.key' name='name_group' type='int' pk='true' />
    <field fkey='unit_castes_tables.caste' name='unit_caste' type='string_ascii' pk='true' />
    <field fkey='unit_regiment_names_localisation_lookup_tables.key' name='unit_name' type='string_ascii' pk='true' />
    <field name='name_order' type='int' />
  </table>
  <table table_name='unit_required_technology_junctions_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='unit_key' type='string' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string' pk='true' />
  </table>
  <table table_name='unit_required_technology_junctions_tables'
         table_version='0' >
    <field fkey='main_units_tables.unit' name='unit_key' type='string_ascii' pk='true' />
    <field fkey='technologies_tables.key' name='technology_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_set_to_unit_junctions_tables'
         table_version='0' >
    <field name='exclude' type='boolean' />
    <field fkey='unit_castes_tables.caste' name='unit_caste' type='optstring_ascii' pk='true' />
    <field fkey='unit_category_tables.key' name='unit_category' type='optstring_ascii' pk='true' />
    <field fkey='unit_class_tables.key' name='unit_class' type='optstring_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit_record' type='optstring_ascii' pk='true' />
    <field fkey='unit_sets_tables.key' name='unit_set' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_set_unit_ability_junctions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='unit_sets_tables.key' name='unit_set' type='string_ascii' />
    <field name='unit_ability' type='string_ascii' />
  </table>
  <table table_name='unit_set_unit_attribute_junctions_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='unit_sets_tables.key' name='unit_set' type='string_ascii' />
    <field fkey='unit_attributes_tables.key' name='unit_attribute' type='string_ascii' />
  </table>
  <table table_name='unit_sets_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_sets_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_sets_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='use_unit_exp_level_range' type='boolean' />
    <field name='min_unit_exp_level_inclusive' type='int' />
    <field name='max_unit_exp_level_inclusive' type='int' />
  </table>
  <table table_name='unit_sets_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='use_unit_exp_level_range' type='boolean' />
    <field name='min_unit_exp_level_inclusive' type='int' />
    <field name='max_unit_exp_level_inclusive' type='int' />
    <field fkey='special_unit_categories_tables.category' name='special_category' type='optstring_ascii' />
  </table>
  <table table_name='unit_shield_types_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='shield_defence_value' type='int' />
    <field name='shield_armour_value' type='int' />
    <field fkey='audio_materials_enums_tables.key' name='audio_material' type='string_ascii' />
  </table>
  <table table_name='unit_shield_types_tables'
         table_version='3' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='shield_defence_value' type='int' />
    <field name='shield_armour_value' type='int' />
    <field fkey='audio_materials_enums_tables.key' name='audio_material' type='string_ascii' />
    <field name='missile_block_chance' type='int' />
  </table>
  <table table_name='unit_shield_types_tables'
         table_version='6' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='shield_defence_value' type='int' />
    <field name='shield_armour_value' type='int' />
    <field name='missile_block_chance' type='int' />
    <field fkey='audio_shield_types_tables.key' name='audio_type' type='optstring_ascii' />
  </table>
  <table table_name='unit_spacings_tables'
         table_version='2' >
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_variation' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_variation' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='dismounted_loose_formation_spacing_variation' type='float' />
    <field name='dismounted_loose_formation_spacing_vertical' type='float' />
    <field name='horde' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_variation' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
  </table>
  <table table_name='unit_spacings_tables'
         table_version='3' >
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_variation' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_variation' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='dismounted_loose_formation_spacing_variation' type='float' />
    <field name='dismounted_loose_formation_spacing_vertical' type='float' />
    <field name='horde' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_variation' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='routing_space_variation' type='float' />
  </table>
  <table table_name='unit_spacings_tables'
         table_version='4' >
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_variation' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_variation' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='dismounted_loose_formation_spacing_variation' type='float' />
    <field name='dismounted_loose_formation_spacing_vertical' type='float' />
    <field name='horde' type='boolean' />
    <field name='key' type='string_ascii' pk='true' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_variation' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='routing_space_variation' type='float' />
    <field name='is_chaotic_formation' type='boolean' />
  </table>
  <table table_name='unit_special_abilities_tables'
         table_version='0' >
    <field fkey='unit_special_ability_types_tables.special_ability_type' name='key' type='string' pk='true' />
    <field name='active_time' type='float' />
    <field name='recharge_time' type='float' />
    <field name='num_uses' type='int' />
  </table>
  <table table_name='unit_special_abilities_tables'
         table_version='5' >
    <field fkey='unit_special_ability_types_tables.special_ability_type' name='key' type='string' pk='true' />
    <field name='active_time' type='float' />
    <field name='recharge_time' type='float' />
    <field name='num_uses' type='int' />
    <field name='effect_range' type='float' />
    <field name='affect_self' type='boolean' />
    <field name='num_effected_friendly_units' type='int' />
    <field name='num_effected_enemy_units' type='int' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='optstring' />
    <field name='update_targets_every_frame' type='boolean' />
    <field name='initial_recharge' type='float' />
    <field fkey='projectiles_tables.key' name='activated_projectile' type='optstring' />
  </table>
  <table table_name='unit_special_abilities_tables'
         table_version='6' >
    <field fkey='unit_special_ability_types_tables.special_ability_type' name='key' type='string' pk='true' />
    <field name='active_time' type='float' />
    <field name='recharge_time' type='float' />
    <field name='num_uses' type='int' />
    <field name='effect_range' type='float' />
    <field name='affect_self' type='boolean' />
    <field name='num_effected_friendly_units' type='int' />
    <field name='num_effected_enemy_units' type='int' />
    <field fkey='projectile_shot_type_enum_tables.key' name='shot_type' type='optstring' />
    <field name='update_targets_every_frame' type='boolean' />
    <field name='initial_recharge' type='float' />
    <field fkey='projectiles_tables.key' name='activated_projectile' type='optstring' />
    <field name='can_autotrigger' type='boolean' />
  </table>
  <table table_name='unit_special_abilities_tables'
         table_version='16' >
    <field fkey='unit_abilities_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='active_time' type='float' />
    <field name='recharge_time' type='float' />
    <field name='num_uses' type='int' />
    <field name='effect_range' type='float' />
    <field name='affect_self' type='boolean' />
    <field name='num_effected_friendly_units' type='int' />
    <field name='num_effected_enemy_units' type='int' />
    <field name='update_targets_every_frame' type='boolean' />
    <field name='initial_recharge' type='float' />
    <field fkey='projectiles_tables.key' name='activated_projectile' type='optstring_ascii' />
    <field name='can_autotrigger' type='boolean' />
    <field name='target_friends' type='boolean' />
    <field name='target_enemies' type='boolean' />
    <field name='target_ground' type='boolean' />
    <field name='target_intercept_range' type='float' />
    <field fkey='special_abilities_specific_behaviour_types_tables.key' name='assume_specific_behaviour' type='optstring_ascii' />
    <field name='clear_current_order' type='boolean' />
    <field name='wind_up_time' type='float' />
    <field name='passive' type='boolean' />
    <field name='unique_id' type='int' />
  </table>
  <table table_name='unit_special_abilities_tables'
         table_version='38' >
    <field fkey='unit_abilities_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='active_time' type='float' />
    <field name='recharge_time' type='float' />
    <field name='num_uses' type='int' />
    <field name='effect_range' type='float' />
    <field name='affect_self' type='boolean' />
    <field name='num_effected_friendly_units' type='int' />
    <field name='num_effected_enemy_units' type='int' />
    <field name='update_targets_every_frame' type='boolean' />
    <field name='initial_recharge' type='float' />
    <field fkey='projectiles_tables.key' name='activated_projectile' type='optstring_ascii' />
    <field name='target_friends' type='boolean' />
    <field name='target_enemies' type='boolean' />
    <field name='target_ground' type='boolean' />
    <field name='target_intercept_range' type='float' />
    <field fkey='special_abilities_specific_behaviour_types_tables.key' name='assume_specific_behaviour' type='optstring_ascii' />
    <field name='clear_current_order' type='boolean' />
    <field name='wind_up_time' type='float' />
    <field name='passive' type='boolean' />
    <field name='unique_id' type='int' />
    <field name='-' type='int' />
    <field fkey='projectile_bombardments_tables.bombardment_key' name='bombardment' type='optstring_ascii' />
    <field fkey='land_units_tables.key' name='spawned_unit' type='optstring_ascii' />
    <field fkey='special_ability_stance_enums_tables.key' name='wind_up_stance' type='optstring_ascii' />
    <field name='mana_cost' type='float' />
    <field name='min_range' type='float' />
    <field fkey='area_of_effect_displays_tables.key' name='targetting_aoe' type='optstring_ascii' />
    <field fkey='area_of_effect_displays_tables.key' name='passive_aoe' type='optstring_ascii' />
    <field fkey='area_of_effect_displays_tables.key' name='active_aoe' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='activation_effect' type='optstring_ascii' />
    <field fkey='battle_vortexs_tables.vortex_key' name='vortex' type='optstring_ascii' />
    <field name='miscast_chance' type='float' />
    <field fkey='projectiles_explosions_tables.key' name='miscast_explosion' type='optstring_ascii' />
    <field fkey='battle_ai_abilities_usage_template_names_tables.ai_ability_usage_template_key' name='ai_usage' type='optstring_ascii' />
    <field fkey='audio_abilites_tables.key' name='audio' type='optstring_ascii' />
    <field fkey='special_ability_displays_tables.sa_display_key' name='special_ability_display' type='optstring_ascii' />
    <field fkey='audio_vo_battle_special_ability_states_tables.key' name='voiceover_state' type='optstring_ascii' />
    <field name='additional_melee_cp' type='float' />
    <field name='additional_missile_cp' type='float' />
  </table>
  <table table_name='unit_special_abilities_tables'
         table_version='39' >
    <field fkey='unit_abilities_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='active_time' type='float' />
    <field name='recharge_time' type='float' />
    <field name='num_uses' type='int' />
    <field name='effect_range' type='float' />
    <field name='affect_self' type='boolean' />
    <field name='num_effected_friendly_units' type='int' />
    <field name='num_effected_enemy_units' type='int' />
    <field name='update_targets_every_frame' type='boolean' />
    <field name='initial_recharge' type='float' />
    <field fkey='projectiles_tables.key' name='activated_projectile' type='optstring_ascii' />
    <field name='target_friends' type='boolean' />
    <field name='target_enemies' type='boolean' />
    <field name='target_ground' type='boolean' />
    <field name='target_intercept_range' type='float' />
    <field fkey='special_abilities_specific_behaviour_types_tables.key' name='assume_specific_behaviour' type='optstring_ascii' />
    <field name='clear_current_order' type='boolean' />
    <field name='wind_up_time' type='float' />
    <field name='passive' type='boolean' />
    <field name='unique_id' type='int' />
    <field name='-' type='int' />
    <field fkey='projectile_bombardments_tables.bombardment_key' name='bombardment' type='optstring_ascii' />
    <field fkey='land_units_tables.key' name='spawned_unit' type='optstring_ascii' />
    <field fkey='special_ability_stance_enums_tables.key' name='wind_up_stance' type='optstring_ascii' />
    <field name='mana_cost' type='float' />
    <field name='min_range' type='float' />
    <field fkey='area_of_effect_displays_tables.key' name='targetting_aoe' type='optstring_ascii' />
    <field fkey='area_of_effect_displays_tables.key' name='passive_aoe' type='optstring_ascii' />
    <field fkey='area_of_effect_displays_tables.key' name='active_aoe' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='activation_effect' type='optstring_ascii' />
    <field fkey='battle_vortexs_tables.vortex_key' name='vortex' type='optstring_ascii' />
    <field name='miscast_chance' type='float' />
    <field fkey='projectiles_explosions_tables.key' name='miscast_explosion' type='optstring_ascii' />
    <field fkey='battle_ai_abilities_usage_template_names_tables.ai_ability_usage_template_key' name='ai_usage' type='optstring_ascii' />
    <field fkey='audio_abilites_tables.key' name='audio' type='optstring_ascii' />
    <field fkey='special_ability_displays_tables.sa_display_key' name='special_ability_display' type='optstring_ascii' />
    <field fkey='audio_vo_battle_special_ability_states_tables.key' name='voiceover_state' type='optstring_ascii' />
    <field name='additional_melee_cp' type='float' />
    <field name='additional_missile_cp' type='float' />
    <field fkey='unit_special_abilities_tables.key' name='parent_ability' type='optstring_ascii' />
  </table>
  <table table_name='unit_special_abilities_tables'
         table_version='45' >
    <field fkey='unit_abilities_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='active_time' type='float' />
    <field name='recharge_time' type='float' />
    <field name='num_uses' type='int' />
    <field name='effect_range' type='float' />
    <field name='affect_self' type='boolean' />
    <field name='num_effected_friendly_units' type='int' />
    <field name='num_effected_enemy_units' type='int' />
    <field name='update_targets_every_frame' type='boolean' />
    <field name='initial_recharge' type='float' />
    <field fkey='projectiles_tables.key' name='activated_projectile' type='optstring_ascii' />
    <field name='target_friends' type='boolean' />
    <field name='target_enemies' type='boolean' />
    <field name='target_ground' type='boolean' />
    <field name='target_intercept_range' type='float' />
    <field fkey='special_abilities_specific_behaviour_types_tables.key' name='assume_specific_behaviour' type='optstring_ascii' />
    <field name='clear_current_order' type='boolean' />
    <field name='wind_up_time' type='float' />
    <field name='passive' type='boolean' />
    <field name='unique_id' type='int' />
    <field name='-' type='int' />
    <field fkey='projectile_bombardments_tables.bombardment_key' name='bombardment' type='optstring_ascii' />
    <field fkey='land_units_tables.key' name='spawned_unit' type='optstring_ascii' />
    <field fkey='special_ability_stance_enums_tables.key' name='wind_up_stance' type='optstring_ascii' />
    <field name='mana_cost' type='float' />
    <field name='min_range' type='float' />
    <field fkey='area_of_effect_displays_tables.key' name='targetting_aoe' type='optstring_ascii' />
    <field fkey='area_of_effect_displays_tables.key' name='passive_aoe' type='optstring_ascii' />
    <field fkey='area_of_effect_displays_tables.key' name='active_aoe' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='activation_effect' type='optstring_ascii' />
    <field fkey='battle_vortexs_tables.vortex_key' name='vortex' type='optstring_ascii' />
    <field name='miscast_chance' type='float' />
    <field fkey='projectiles_explosions_tables.key' name='miscast_explosion' type='optstring_ascii' />
    <field fkey='battle_ai_abilities_usage_template_names_tables.ai_ability_usage_template_key' name='ai_usage' type='optstring_ascii' />
    <field fkey='audio_abilities_tables.key' name='audio' type='optstring_ascii' />
    <field fkey='special_ability_displays_tables.sa_display_key' name='special_ability_display' type='optstring_ascii' />
    <field fkey='audio_vo_battle_special_ability_states_tables.key' name='voiceover_state' type='string_ascii' />
    <field name='additional_melee_cp' type='float' />
    <field name='additional_missile_cp' type='float' />
    <field fkey='unit_special_abilities_tables.key' name='parent_ability' type='optstring_ascii' />
    <field fkey='special_ability_spawn_types_tables.key' name='spawn_type' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='spawn_proxy_vfx' type='optstring_ascii' />
    <field name='target_ground_under_allies' type='boolean' />
    <field name='target_ground_under_enemies' type='boolean' />
    <field name='miscast_global_bonus' type='boolean' />
    <field name='target_self' type='boolean' />
  </table>
    <table table_name='unit_special_abilities_tables'
         table_version='46' >
    <field fkey='unit_abilities_tables.key' name='key' type='string_ascii' pk='true' />
    <field name='active_time' type='float' />
    <field name='recharge_time' type='float' />
    <field name='num_uses' type='int' />
    <field name='effect_range' type='float' />
    <field name='affect_self' type='boolean' />
    <field name='num_effected_friendly_units' type='int' />
    <field name='num_effected_enemy_units' type='int' />
    <field name='update_targets_every_frame' type='boolean' />
    <field name='initial_recharge' type='float' />
    <field fkey='projectiles_tables.key' name='activated_projectile' type='optstring_ascii' />
    <field name='target_friends' type='boolean' />
    <field name='target_enemies' type='boolean' />
    <field name='target_ground' type='boolean' />
    <field name='target_intercept_range' type='float' />
    <field fkey='special_abilities_specific_behaviour_types_tables.key' name='assume_specific_behaviour' type='optstring_ascii' />
    <field name='clear_current_order' type='boolean' />
    <field name='wind_up_time' type='float' />
    <field name='passive' type='boolean' />
    <field name='unique_id' type='int' />
    <field name='-' type='int' />
    <field fkey='projectile_bombardments_tables.bombardment_key' name='bombardment' type='optstring_ascii' />
    <field fkey='land_units_tables.key' name='spawned_unit' type='optstring_ascii' />
    <field fkey='special_ability_stance_enums_tables.key' name='wind_up_stance' type='optstring_ascii' />
    <field name='mana_cost' type='float' />
    <field name='min_range' type='float' />
    <field fkey='area_of_effect_displays_tables.key' name='targetting_aoe' type='optstring_ascii' />
    <field fkey='area_of_effect_displays_tables.key' name='passive_aoe' type='optstring_ascii' />
    <field fkey='area_of_effect_displays_tables.key' name='active_aoe' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='activation_effect' type='optstring_ascii' />
    <field fkey='battle_vortexs_tables.vortex_key' name='vortex' type='optstring_ascii' />
    <field name='miscast_chance' type='float' />
    <field fkey='projectiles_explosions_tables.key' name='miscast_explosion' type='optstring_ascii' />
    <field fkey='battle_ai_abilities_usage_template_names_tables.ai_ability_usage_template_key' name='ai_usage' type='optstring_ascii' />
    <field fkey='audio_abilities_tables.key' name='audio' type='optstring_ascii' />
    <field fkey='special_ability_displays_tables.sa_display_key' name='special_ability_display' type='optstring_ascii' />
    <field fkey='audio_vo_battle_special_ability_states_tables.key' name='voiceover_state' type='string_ascii' />
    <field name='additional_melee_cp' type='float' />
    <field name='additional_missile_cp' type='float' />
    <field fkey='unit_special_abilities_tables.key' name='parent_ability' type='optstring_ascii' />
    <field fkey='special_ability_spawn_types_tables.key' name='spawn_type' type='optstring_ascii' />
    <field fkey='particle_effects_tables.key' name='spawn_proxy_vfx' type='optstring_ascii' />
    <field name='target_ground_under_allies' type='boolean' />
    <field name='target_ground_under_enemies' type='boolean' />
    <field name='miscast_global_bonus' type='boolean' />
    <field name='target_self' type='boolean' />
    <field fkey='battle_vortex_composite_scene_groups_tables.group_id' name='composite_scene_group_on_wind_up' type='optstring_ascii' />
    <field fkey='battle_vortex_composite_scene_groups_tables.group_id' name='composite_scene_group_on_active' type='optstring_ascii' />
  </table>
  <table table_name='unit_special_ability_types_tables'
         table_version='0' >
    <field name='special_ability_type' type='string' pk='true' />
  </table>
  <table table_name='unit_stat_localisations_tables'
         table_version='0' >
    <field name='stat_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_stat_modifiers_tables'
         table_version='1' >
    <field fkey='unit_stat_modifiers_how_enums_tables.key' name='how' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='ui_unit_stats_tables.key' name='stat' type='string_ascii' />
  </table>
  <table table_name='unit_stat_modifiers_tables'
         table_version='2' >
    <field fkey='unit_stat_modifiers_how_enums_tables.key' name='how' type='string_ascii' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='modifiable_unit_stats_tables.stat_key' name='stat' type='string_ascii' />
  </table>
  <table table_name='unit_stats_land_experience_bonuses_tables'
         table_version='0' >
    <field name='xp_level' type='string' pk='true' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='core_reloading_skill' type='int' />
    <field name='morale' type='int' />
    <field name='core_marksmanship' type='int' />
    <field name='fatigue' type='int' />
    <field name='mp_fixed_cost' type='int' />
    <field name='mp_experience_cost_multiplier' type='float' />
  </table>
  <table table_name='unit_stats_land_experience_bonuses_tables'
         table_version='0' >
    <field name='xp_level' type='string_ascii' pk='true' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='core_reloading_skill' type='int' />
    <field name='morale' type='int' />
    <field name='core_marksmanship' type='int' />
    <field name='fatigue' type='int' />
    <field name='mp_fixed_cost' type='int' />
    <field name='mp_experience_cost_multiplier' type='float' />
  </table>
  <table table_name='unit_stats_land_experience_bonuses_tables'
         table_version='2' >
    <field name='xp_level' type='string_ascii' pk='true' />
    <field name='fatigue' type='int' />
    <field name='mp_fixed_cost' type='int' />
    <field name='mp_experience_cost_multiplier' type='float' />
    <field name='additional_melee_cp' type='float' />
    <field name='additional_missile_cp' type='float' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field name='mount_armour' type='string' />
    <field name='mount_health' type='string' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='boolean' />
    <field name='inspires_allies' type='boolean' />
    <field name='good_stamina' type='boolean' />
    <field name='use_grappling_hooks' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='1' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='boolean' />
    <field name='inspires_allies' type='boolean' />
    <field name='good_stamina' type='boolean' />
    <field name='use_grappling_hooks' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
    <field name='can_shoot_while_moving' type='boolean' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='1' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field name='mount_armour' type='string' />
    <field name='mount_health' type='string' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='boolean' />
    <field name='inspires_allies' type='boolean' />
    <field name='good_stamina' type='boolean' />
    <field name='use_grappling_hooks' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
    <field name='can_shoot_while_moving' type='boolean' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='4' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='boolean' />
    <field name='inspires_allies' type='boolean' />
    <field name='good_stamina' type='boolean' />
    <field name='use_grappling_hooks' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
    <field name='can_do_formed_attack' type='boolean' />
    <field name='can_shoot_while_moving' type='boolean' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='4' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field name='mount_armour' type='string' />
    <field name='mount_health' type='string' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='boolean' />
    <field name='inspires_allies' type='boolean' />
    <field name='good_stamina' type='boolean' />
    <field name='use_grappling_hooks' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
    <field name='is_immune_to_attrition' type='boolean' />
    <field name='can_fire_mounted_whilst_moving' type='boolean' />
    <field fkey='battle_personalities_tables.key' name='musician_2' type='optstring' />
    <field fkey='warscape_rigid_tables.key' name='ammo_caisson_destroyed_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_destruction' type='optstring' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='5' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='boolean' />
    <field name='inspires_allies' type='boolean' />
    <field name='good_stamina' type='boolean' />
    <field name='use_grappling_hooks' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
    <field name='can_do_formed_attack' type='boolean' />
    <field name='can_shoot_while_moving' type='boolean' />
    <field name='unused_95' type='boolean' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='5' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field name='mount_armour' type='string' />
    <field name='mount_health' type='string' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='boolean' />
    <field name='inspires_allies' type='boolean' />
    <field name='good_stamina' type='boolean' />
    <field name='use_grappling_hooks' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
    <field name='is_immune_to_attrition' type='boolean' />
    <field name='can_fire_mounted_whilst_moving' type='boolean' />
    <field fkey='battle_personalities_tables.key' name='musician_2' type='optstring' />
    <field fkey='warscape_rigid_tables.key' name='ammo_caisson_destroyed_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_destruction' type='optstring' />
    <field name='unknown' type='boolean' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='13' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field name='mount_armour' type='int' />
    <field name='mount_health' type='int' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='dismounted_melee_attack' type='int' />
    <field name='dismounted_charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='dismounted_loose_formation_spacing_vertical' type='float' />
    <field name='base_density' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='int' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='heat_resistance' type='boolean' />
    <field name='cold_resistance' type='boolean' />
    <field name='can_do_formed_attack' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
    <field name='is_immune_to_attrition' type='boolean' />
    <field name='can_fire_mounted_whilst_moving' type='boolean' />
    <field fkey='battle_personalities_tables.key' name='musician_2' type='optstring' />
    <field fkey='warscape_rigid_tables.key' name='ammo_caisson_destroyed_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_destruction' type='optstring' />
    <field name='all_ranks_fire' type='boolean' />
    <field name='guerrilla_deployment' type='boolean' />
    <field fkey='sound_events_tables.name' name='audio_selected' type='string' />
    <field fkey='sound_events_tables.name' name='audio_retreat' type='string' />
    <field fkey='sound_events_tables.name' name='audio_engaged_in_battle' type='string' />
    <field fkey='sound_events_tables.name' name='audio_idle' type='string' />
    <field fkey='sound_events_tables.name' name='audio_enemy_approaching' type='string' />
    <field fkey='sound_events_tables.name' name='audio_being_charged' type='string' />
    <field fkey='sound_events_tables.name' name='audio_being_flanked' type='string' />
    <field fkey='sound_events_tables.name' name='audio_wavering' type='string' />
    <field name='can_climb_fast' type='boolean' />
    <field name='can_fire_at_buildings' type='boolean' />
    <field name='can_fire_at_ground' type='boolean' />
    <field name='armour_piercing_missile_attack' type='boolean' />
    <field name='armour_piercing_melee_attack' type='boolean' />
  </table>
  <table table_name='unit_stats_land_tables'
         table_version='16' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='men' type='int' />
    <field name='horse' type='int' />
    <field name='guns' type='int' />
    <field fkey='battle_personalities_tables.key' name='officer' type='string' />
    <field fkey='battle_personalities_tables.key' name='musician' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='standard_bearer' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_entities_tables.key' name='man_entity' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour' type='int' />
    <field name='armour_audio' type='string' />
    <field name='man_health' type='int' />
    <field fkey='mounts_tables.key' name='mount_model' type='optstring' />
    <field fkey='battle_entities_tables.key' name='mount_entity' type='optstring' />
    <field fkey='battle_animations_table_tables.key' name='mount_animations_table' type='optstring' />
    <field name='mount_armour' type='int' />
    <field name='mount_health' type='int' />
    <field fkey='battle_entities_tables.key' name='articulated_entity' type='optstring' />
    <field fkey='battle_entities_tables.key' name='ammo_caisson_entity' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='artillery_model' type='optstring' />
    <field name='siege_gun' type='boolean' />
    <field fkey='gun_types_tables.gun_type' name='gun_type' type='optstring' />
    <field fkey='unit_stats_primary_missile_weapon_enum_tables.key' name='primary_missile_weapon' type='optstring' />
    <field name='core_marksmanship' type='int' />
    <field name='core_loading_skill' type='int' />
    <field name='primary_missile_attack' type='string' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field fkey='projectiles_tables.key' name='default_missile_type' type='optstring' />
    <field name='ammo' type='int' />
    <field fkey='unit_stats_skeleton_missile_enum_tables.key' name='skeleton_missile' type='optstring' />
    <field fkey='unit_melee_weapons_enum_tables.key' name='melee_weapon_type' type='string' />
    <field name='melee_attack' type='int' />
    <field name='charge_bonus' type='int' />
    <field name='dismounted_melee_attack' type='int' />
    <field name='dismounted_charge_bonus' type='int' />
    <field name='melee_defence' type='int' />
    <field name='shield_bonus' type='int' />
    <field fkey='unit_stats_skeleton_melee_enum_tables.key' name='skeleton_melee' type='string' />
    <field name='pistols' type='string' />
    <field fkey='unit_drill_set_enum_tables.unit_drill_set' name='unit_drill_set' type='string' />
    <field fkey='unit_training_level_enum_tables.key' name='unit_training_level' type='string' />
    <field name='morale' type='int' />
    <field name='rank_depth' type='int' />
    <field name='close_formation_spacing_horizontal' type='float' />
    <field name='close_formation_spacing_vertical' type='float' />
    <field name='loose_formation_spacing_horizontal' type='float' />
    <field name='loose_formation_spacing_vertical' type='float' />
    <field name='dismounted_close_formation_spacing_horizontal' type='float' />
    <field name='dismounted_close_formation_spacing_vertical' type='float' />
    <field name='dismounted_loose_formation_spacing_horizontal' type='float' />
    <field name='dismounted_loose_formation_spacing_vertical' type='float' />
    <field name='base_density' type='float' />
    <field name='melee_bonus_vs_cavalry' type='int' />
    <field name='grenades' type='boolean' />
    <field name='skirmish' type='boolean' />
    <field name='guard_mode' type='boolean' />
    <field name='can_dismount' type='boolean' />
    <field name='can_place_stakes' type='boolean' />
    <field name='cannot_run' type='boolean' />
    <field name='can_rally' type='boolean' />
    <field name='hide_medium_woodland' type='boolean' />
    <field name='hide_scrub' type='boolean' />
    <field name='hide_long_grass' type='boolean' />
    <field name='hide_buildings' type='boolean' />
    <field name='can_stalk' type='boolean' />
    <field name='can_snipe' type='boolean' />
    <field name='does_fire_mounted_by_default' type='boolean' />
    <field name='tree_spot_distance' type='float' />
    <field name='scrub_spot_distance' type='float' />
    <field name='long_grass_spot_distance' type='float' />
    <field name='campmap_stealth' type='boolean' />
    <field name='campmap_policing_bonus' type='boolean' />
    <field name='disciplined' type='boolean' />
    <field name='impetuous' type='boolean' />
    <field name='scares_horses' type='boolean' />
    <field name='fear_effect' type='int' />
    <field name='inspire' type='boolean' />
    <field name='fatigue_resistant' type='boolean' />
    <field name='siege_ladders' type='boolean' />
    <field name='heat_resistance' type='boolean' />
    <field name='cold_resistance' type='boolean' />
    <field name='can_do_formed_attack' type='boolean' />
    <field name='pike_wall' type='boolean' />
    <field name='pike_square' type='boolean' />
    <field name='is_immune_to_attrition' type='boolean' />
    <field name='can_fire_mounted_whilst_moving' type='boolean' />
    <field fkey='battle_personalities_tables.key' name='musician_2' type='optstring' />
    <field fkey='warscape_rigid_tables.key' name='ammo_caisson_destroyed_model' type='optstring' />
    <field fkey='warscape_animated_tables.key' name='ammo_caisson_destruction' type='optstring' />
    <field name='all_ranks_fire' type='boolean' />
    <field name='guerrilla_deployment' type='boolean' />
    <field fkey='sound_events_tables.name' name='audio_selected' type='string' />
    <field fkey='sound_events_tables.name' name='audio_retreat' type='string' />
    <field fkey='sound_events_tables.name' name='audio_engaged_in_battle' type='string' />
    <field fkey='sound_events_tables.name' name='audio_idle' type='string' />
    <field fkey='sound_events_tables.name' name='audio_enemy_approaching' type='string' />
    <field fkey='sound_events_tables.name' name='audio_being_charged' type='string' />
    <field fkey='sound_events_tables.name' name='audio_being_flanked' type='string' />
    <field fkey='sound_events_tables.name' name='audio_wavering' type='string' />
    <field name='can_climb_fast' type='boolean' />
    <field name='can_fire_at_buildings' type='boolean' />
    <field name='can_fire_at_ground' type='boolean' />
    <field name='armour_piercing_missile_attack' type='boolean' />
    <field name='armour_piercing_melee_attack' type='boolean' />
    <field name='loose_formation' type='boolean' />
    <field name='close_formation_spacing_variation' type='float' />
    <field name='loose_formation_spacing_variation' type='float' />
    <field name='dismounted_close_formation_spacing_variation' type='float' />
    <field name='dismounted_loose_formation_spacing_variation' type='float' />
    <field name='bulletproof' type='boolean' />
  </table>
  <table table_name='unit_stats_naval_crew_tables'
         table_version='0' >
    <field name='unit_type' type='string' pk='true' />
    <field name='core_loading_skill' type='int' />
    <field name='core_marksmanship' type='int' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='melee_weapon_type' type='string' />
    <field name='pistols' type='boolean' />
    <field name='ammo' type='int' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour_audio' type='string' />
    <field name='armour' type='int' />
    <field name='spacing' type='float' />
    <field name='discipline' type='int' />
  </table>
  <table table_name='unit_stats_naval_crew_tables'
         table_version='2' >
    <field name='unit_type' type='string' pk='true' />
    <field name='core_loading_skill' type='int' />
    <field name='core_marksmanship' type='int' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='melee_weapon_type' type='string' />
    <field name='pistols' type='boolean' />
    <field name='ammo' type='int' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string' />
    <field fkey='warscape_equipment_themes_tables.theme' name='equipment_theme' type='string' />
    <field name='armour_audio' type='string' />
    <field name='armour' type='int' />
    <field name='spacing' type='float' />
    <field name='discipline' type='int' />
    <field fkey='projectiles_tables.key' name='missile_type' type='optstring' />
  </table>
  <table table_name='unit_stats_naval_crew_tables'
         table_version='2' >
    <field name='unit_type' type='string_ascii' pk='true' />
    <field name='core_loading_skill' type='int' />
    <field name='core_markmanship' type='int' />
    <field name='melee_attack' type='int' />
    <field name='melee_defence' type='int' />
    <field name='melee_weapon_type' type='string_ascii' />
    <field name='pistols' type='boolean' />
    <field name='ammo' type='int' />
    <field fkey='battle_entities_tables.key' name='battle_entity' type='string_ascii' />
    <field fkey='warscape_animated_tables.key' name='soldier_model' type='string_ascii' />
    <field fkey='battle_animations_table_tables.key' name='man_animations_table' type='string_ascii' />
    <field name='equipment_theme' type='string_ascii' />
    <field name='armour_audio' type='string_ascii' />
    <field name='armour' type='int' />
    <field name='spacing' type='float' />
    <field name='discipline' type='int' />
    <field fkey='projectiles_tables.key' name='missile_type' type='optstring_ascii' />
  </table>
  <table table_name='unit_stats_naval_crew_to_factions_tables'
         table_version='0' >
    <field name='faction' type='string' pk='true' />
    <field name='marines' type='string' />
    <field name='seaman' type='string' />
    <field name='guncrew' type='string' />
    <field name='admiral' type='string' />
    <field name='commodore' type='string' />
    <field name='naval_officer' type='string' />
    <field name='musican' type='string' />
  </table>
  <table table_name='unit_stats_naval_crew_to_ship_categories_tables'
         table_version='0' >
    <field fkey='unit_stats_ship_categories_tables.key' name='key' type='string' pk='true' />
    <field fkey='unit_stats_naval_crew_tables.unit_type' name='marine_type' type='string' />
    <field fkey='unit_stats_naval_crew_tables.unit_type' name='seaman_type' type='string' />
    <field fkey='unit_stats_naval_crew_tables.unit_type' name='gunner_type' type='string' />
    <field fkey='unit_stats_naval_crew_tables.unit_type' name='admiral' type='string' />
    <field fkey='unit_stats_naval_crew_tables.unit_type' name='officer_1' type='string' />
    <field fkey='unit_stats_naval_crew_tables.unit_type' name='officer_2' type='optstring' />
    <field fkey='unit_stats_naval_crew_tables.unit_type' name='officer_3' type='optstring' />
  </table>
  <table table_name='unit_stats_naval_experience_bonuses_tables'
         table_version='0' >
    <field name='xp_level' type='string' pk='true' />
    <field name='melee_defence' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='morale' type='int' />
    <field name='mp_fixed_cost' type='int' />
    <field name='mp_experience_cost_multiplier' type='float' />
  </table>
  <table table_name='unit_stats_naval_experience_bonuses_tables'
         table_version='1' >
    <field name='xp_level' type='string' pk='true' />
    <field name='melee_defence' type='int' />
    <field name='melee_attack' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='morale' type='int' />
    <field name='mp_fixed_cost' type='int' />
    <field name='mp_experience_cost_multiplier' type='float' />
  </table>
  <table table_name='unit_stats_naval_experience_bonuses_tables'
         table_version='1' >
    <field name='xp_level' type='string_ascii' pk='true' />
    <field name='melee_defence' type='int' />
    <field name='melee_attack' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='morale' type='int' />
    <field name='mp_fixed_cost' type='int' />
    <field name='mp_experience_cost_multiplier' type='float' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field fkey='battle_personalities_tables.key' name='admiral' type='string' />
    <field fkey='battle_personalities_tables.key' name='captain' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='lieutenant' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='bosun' type='optstring' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='mass' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='stat_bar_manoeuvrability_rating' type='string' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field fkey='battle_personalities_tables.key' name='admiral' type='string' />
    <field fkey='battle_personalities_tables.key' name='cpt' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='lt' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='bosun' type='optstring' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='mass' type='int' />
    <field name='unknown' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='manoeuverability' type='string' />
    <field name='hull_strength_shown' type='int' />
    <field name='unknown97' type='string' />
    <field fkey='unit_stats_ship_categories_tables.key' name='ship_crew_category' type='string' />
    <field name='naval_mine_ability' type='int' />
    <field name='stat_bar_manoeuvrability_rating' type='string' />
    <field name='stat_bar_hull_strength' type='int' />
    <field name='bombard_ability' type='string' />
    <field name='torpedo_ability' type='string' />
    <field name='ramming_ability' type='int' />
    <field fkey='battlefield_building_audio_materials_tables.audio_material' name='audio_material' type='optstring' />
    <field name='forward_facing' type='string' />
    <field name='camera_ellipse_width' type='int' />
    <field name='camera_ellipse_length' type='int' />
    <field name='camera_ellipse_height' type='float' />
    <field name='camera_ellipse_offset' type='string' />
    <field name='boardable' type='boolean' />
    <field name='unknown137' type='float' />
    <field name='unknown138' type='float' />
    <field name='unknown139' type='float' />
    <field name='unknown140' type='float' />
    <field name='unknown141' type='boolean' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='1' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field fkey='battle_personalities_tables.key' name='admiral' type='string' />
    <field fkey='battle_personalities_tables.key' name='captain' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='lieutenant' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='bosun' type='optstring' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='mass' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='stat_bar_manoeuvrability_rating' type='string' />
    <field name='stat_bar_hull_strength' type='int' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='2' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='mass' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='stat_bar_hull_strength' type='int' />
    <field name='category' type='string' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='2' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field fkey='battle_personalities_tables.key' name='admiral' type='string' />
    <field fkey='battle_personalities_tables.key' name='captain' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='lieutenant' type='optstring' />
    <field fkey='battle_personalities_tables.key' name='bosun' type='optstring' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='mass' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='stat_bar_manoeuvrability_rating' type='string' />
    <field name='stat_bar_hull_strength' type='int' />
    <field name='category' type='string' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='3' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='mass' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='stat_bar_manoeuvrability_rating' type='string' />
    <field name='stat_bar_hull_strength' type='int' />
    <field name='category' type='string' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='6' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='mass' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='manoeuverability' type='string' />
    <field name='hull_strength_shown' type='int' />
    <field name='unknown97' type='string' />
    <field name='unknown98' type='string' />
    <field name='unknown119' type='int' />
    <field name='stat_bar_manoeuvrability_rating' type='string' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='7' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='mass' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='misc_panels_armour' type='int' />
    <field name='misc_panels_hits' type='int' />
    <field name='misc_panels_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='stat_bar_manoeuvrability_rating' type='string' />
  </table>
  <table table_name='unit_stats_naval_tables'
         table_version='16' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field name='morale' type='int' />
    <field name='mothball_cost' type='int' />
    <field name='reactivate_cost' type='int' />
    <field name='admiral_promotion_cost_record' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='bow_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='stern_chasers' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_1_top' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_2' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_3' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_4' type='optstring' />
    <field fkey='gun_types_tables.gun_type' name='deck_5' type='optstring' />
    <field fkey='models_naval_tables.key' name='ship_model' type='string' />
    <field name='num_marines' type='int' />
    <field name='num_seamen' type='int' />
    <field name='num_gunners' type='int' />
    <field name='core_gunner_marksmanship' type='int' />
    <field name='core_gunner_loading_skill' type='int' />
    <field fkey='unit_stats_firing_mechanism_enum_tables.key' name='firing_mechanism' type='string' />
    <field name='water_bail_out_modifier' type='float' />
    <field name='flood_threshold_to_sink' type='float' />
    <field name='fire_risk_modifier' type='float' />
    <field name='fire_resistance' type='float' />
    <field name='mass' type='int' />
    <field name='collision_momentum_modifer' type='float' />
    <field name='formation_distance' type='int' />
    <field name='minimum_distance' type='int' />
    <field name='formation_integrity' type='int' />
    <field name='top_speed' type='int' />
    <field name='acceleration' type='float' />
    <field name='stopping_threshold' type='float' />
    <field name='heel_factor' type='float' />
    <field name='beating_angle' type='int' />
    <field name='max_yard_angle' type='int' />
    <field name='sail_furl_angle' type='int' />
    <field name='speed_wind_astern' type='float' />
    <field name='speed_15_deg' type='float' />
    <field name='speed_30_deg' type='float' />
    <field name='speed_45_deg' type='float' />
    <field name='speed_60_deg' type='float' />
    <field name='speed_75_deg' type='float' />
    <field name='speed_90_deg' type='float' />
    <field name='speed_105_deg' type='float' />
    <field name='speed_120_deg' type='float' />
    <field name='speed_135_deg' type='float' />
    <field name='speed_145_deg' type='float' />
    <field name='speed_180_deg' type='float' />
    <field name='position_damping' type='float' />
    <field name='rotation_damping' type='float' />
    <field name='turn_rate_at_full_speed' type='float' />
    <field name='turn_rate_at_10_percent' type='float' />
    <field name='turn_rate_at_20_percent' type='float' />
    <field name='turn_rate_at_35_percent' type='float' />
    <field name='turn_rate_at_50_percent' type='float' />
    <field name='turn_rate_at_65_percent' type='float' />
    <field name='turn_rate_at_80_percent' type='float' />
    <field name='turn_rate_stopped' type='float' />
    <field name='top_gallants_allowed' type='boolean' />
    <field name='side_panels_above_water_1_top_armour' type='int' />
    <field name='side_panels_above_water_1_top_hits' type='int' />
    <field name='side_panels_above_water_1_top_critical' type='float' />
    <field name='side_panels_above_water_2_armour' type='int' />
    <field name='side_panels_above_water_2_hits' type='int' />
    <field name='side_panels_above_water_2_critical' type='float' />
    <field name='side_panels_below_water_armour' type='int' />
    <field name='side_panels_below_water_hits' type='int' />
    <field name='side_panels_below_water_critical' type='float' />
    <field name='prow_panels_above_water_armour' type='int' />
    <field name='prow_panels_above_water_hits' type='int' />
    <field name='prow_panels_above_water_critical' type='float' />
    <field name='prow_panels_below_water_armour' type='int' />
    <field name='prow_panels_below_water_hits' type='int' />
    <field name='prow_panels_below_water_critical' type='float' />
    <field name='stern_panels_above_water_armour' type='int' />
    <field name='stern_panels_above_water_hits' type='int' />
    <field name='stern_panels_above_water_critical' type='float' />
    <field name='stern_panels_below_water_armour' type='int' />
    <field name='stern_panels_below_water_hits' type='int' />
    <field name='stern_panels_below_water_critical' type='float' />
    <field name='mast_1_front_armour' type='int' />
    <field name='mast_1_front_hits' type='int' />
    <field name='mast_1_front_critical' type='float' />
    <field name='mast_2_armour' type='int' />
    <field name='mast_2_hits' type='int' />
    <field name='mast_2_critical' type='float' />
    <field name='mast_3_armour' type='int' />
    <field name='mast_3_hits' type='int' />
    <field name='mast_3_critical' type='float' />
    <field name='top_sails_armour' type='int' />
    <field name='top_sails_hits' type='int' />
    <field name='top_sails_critical' type='float' />
    <field name='middle_sails_armour' type='int' />
    <field name='middle_sails_hits' type='int' />
    <field name='middle_sails_critical' type='float' />
    <field name='bottom_sails_armour' type='int' />
    <field name='bottom_sails_hits' type='int' />
    <field name='bottom_sails_critical' type='float' />
    <field name='top_gallants_sails_armour' type='int' />
    <field name='top_gallants_sails_hits' type='int' />
    <field name='top_gallants_sails_critical' type='float' />
    <field name='mast_bowsprit_armour' type='int' />
    <field name='mast_bowsprit_hits' type='int' />
    <field name='mast_bowsprit_critical' type='float' />
    <field name='front_sails_armour' type='int' />
    <field name='front_sails_hits' type='int' />
    <field name='front_sails_critical' type='float' />
    <field name='back_sails_armour' type='int' />
    <field name='back_sails_hits' type='int' />
    <field name='back_sails_critical' type='float' />
    <field name='magazine_armour' type='int' />
    <field name='magazine_hits' type='int' />
    <field name='magazine_critical' type='float' />
    <field name='misc_panels_armour' type='int' />
    <field name='misc_panels_hits' type='int' />
    <field name='misc_panels_critical' type='float' />
    <field name='scares_enemies' type='boolean' />
    <field name='inspire' type='boolean' />
    <field name='can_trade' type='boolean' />
    <field name='stat_bar_manoeuvrability_rating' type='string' />
    <field name='stat_bar_hull_strength' type='int' />
    <field name='category' type='string' />
    <field fkey='unit_stats_ship_categories_tables.key' name='ship_crew_category' type='string' />
    <field name='naval_mine_ability' type='int' />
    <field fkey='projectiles_tables.key' name='naval_mine' type='optstring' />
    <field fkey='sound_events_tables.name' name='audio_selected' type='string' />
    <field name='bombard_ability' type='int' />
    <field name='torpedo_ability' type='int' />
    <field name='ramming_ability' type='float' />
    <field fkey='battlefield_building_audio_materials_tables.audio_material' name='audio_material' type='string' />
    <field name='forward_facing' type='boolean' />
    <field name='camera_ellipse_width' type='float' />
    <field name='camera_ellipse_length' type='float' />
    <field name='camera_ellipse_height' type='float' />
    <field name='camera_ellipse_offset' type='float' />
    <field name='boardable' type='boolean' />
  </table>
  <table table_name='unit_to_unit_abilities_junctions_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='unit_name' type='string' pk='true' />
    <field fkey='unit_abilities_tables.key' name='ability' type='string' pk='true' />
  </table>
  <table table_name='unit_to_unit_list_junctions_tables'
         table_version='0' >
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
    <field fkey='unit_lists_tables.key' name='unit_list' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_type_enums_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_variants_colours_tables'
         table_version='1' >
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='primary_colour_b' type='int' />
    <field name='primary_colour_g' type='int' />
    <field name='primary_colour_r' type='int' />
    <field name='secondary_colour_b' type='int' />
    <field name='secondary_colour_g' type='int' />
    <field name='secondary_colour_r' type='int' />
    <field fkey='uniform_type_enums_tables.key' name='soldier_type' type='optstring_ascii' />
    <field name='tertiary_colour_b' type='int' />
    <field name='tertiary_colour_g' type='int' />
    <field name='tertiary_colour_r' type='int' />
    <field fkey='unit_variants_tables.name' name='unit_variant' type='string_ascii' pk='true' />
  </table>
  <table table_name='unit_variants_colours_tables'
         table_version='2' >
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' />
    <field name='primary_colour_b' type='int' />
    <field name='primary_colour_g' type='int' />
    <field name='primary_colour_r' type='int' />
    <field name='secondary_colour_b' type='int' />
    <field name='secondary_colour_g' type='int' />
    <field name='secondary_colour_r' type='int' />
    <field fkey='uniform_type_enums_tables.key' name='soldier_type' type='optstring_ascii' />
    <field name='tertiary_colour_b' type='int' />
    <field name='tertiary_colour_g' type='int' />
    <field name='tertiary_colour_r' type='int' />
    <field name='key' type='int' pk='true' />
    <field name='-' type='int' />
    <field fkey='unit_variants_tables.name' name='unit_variant' type='optstring_ascii' />
  </table>
  <table table_name='unit_variants_ships_tables'
         table_version='0' >
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='name' type='string_ascii' />
    <field fkey='naval_units_tables.key' name='unit' type='string_ascii' pk='true' />
    <field name='unit_card' type='string_ascii' />
    <field name='variant' type='string_ascii' />
  </table>
  <table table_name='unit_variants_tables'
         table_version='4' >
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='name' type='string_ascii' />
    <field fkey='land_units_tables.key' name='unit' type='string_ascii' pk='true' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field name='height_variation' type='float' />
    <field name='height_scale' type='float' />
    <field name='unit_card' type='string_ascii' />
  </table>
  <table table_name='unit_variants_tables'
         table_version='5' >
    <field fkey='factions_tables.key' name='faction' type='optstring_ascii' pk='true' />
    <field name='name' type='string_ascii' />
    <field fkey='land_units_tables.key' name='unit' type='string_ascii' pk='true' />
    <field fkey='variants_tables.variant_name' name='variant' type='string_ascii' />
    <field name='unit_card' type='string_ascii' />
  </table>
  <table table_name='unit_variant_upgrades_tables'
         table_version='0' >
    <field fkey='ancillaries_tables.key' name='ancillary_primary' type='string_ascii' />
    <field fkey='ancillaries_tables.key' name='ancillary_secondary' type='optstring_ascii' />
    <field name='cost' type='int' />
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='main_unit_key' type='string_ascii' />
    <field fkey='variants_tables.variant_name' name='variant_name' type='string_ascii' />
  </table>
  <table table_name='unit_voice_categories_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='unit_voice_events_junctions_tables'
         table_version='0' >
    <field fkey='unit_voice_categories_tables.key' name='unit_voice_category_key' type='string' pk='true' />
    <field fkey='voice_types_tables.key' name='voice_type_key' type='string' pk='true' />
    <field fkey='voice_events_tables.name' name='voice_event_key' type='string' pk='true' />
    <field fkey='sound_events_tables.name' name='sound_event_key' type='string' pk='true' />
  </table>
  <table table_name='unit_weights_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
  </table>
  <table table_name='units_custom_battle_mounts_tables'
         table_version='1' >
    <field fkey='main_units_tables.unit' name='base_unit' type='string_ascii' pk='true' />
    <field name='icon_name' type='string_ascii' />
    <field fkey='main_units_tables.unit' name='mounted_unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='units_custom_battle_permissions_tables'
         table_version='4' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field name='general_unit' type='boolean' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
    <field name='siege_unit_attacker' type='boolean' />
    <field name='siege_unit_defender' type='boolean' />
  </table>
  <table table_name='units_custom_battle_permissions_tables'
         table_version='7' >
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field name='general_unit' type='boolean' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
    <field name='siege_unit_attacker' type='boolean' />
    <field name='siege_unit_defender' type='boolean' />
    <field name='general_portrait' type='optstring_ascii' />
    <field fkey='agent_uniforms_tables.uniform_name' name='general_uniform' type='optstring_ascii' />
    <field fkey='battle_set_piece_armies_characters_tables.character_name' name='set_piece_character' type='optstring_ascii' />
  </table>
  <table table_name='units_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='on_screen_name' type='string' />
    <field fkey='unit_category_tables.key' name='category' type='string' />
    <field fkey='unit_class_tables.key' name='class' type='string' />
    <field name='multiplayer_cost' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_voice_categories_tables.key' name='voice' type='optstring' />
    <field name='icon_name' type='string' />
    <field name='info_pic' type='string' />
    <field fkey='unit_description_texts_tables.key' name='unit_description_text' type='string' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource' type='optstring' />
    <field name='total_cap' type='int' />
    <field fkey='unit_category_tables.key' name='multiplayer_category' type='string' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_middle' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='prestige' type='int' />
    <field name='armed_citizenry' type='boolean' />
  </table>
  <table table_name='units_tables'
         table_version='2' >
    <field name='key' type='string' pk='true' />
    <field name='on_screen_name' type='string' />
    <field fkey='unit_category_tables.key' name='category' type='string' />
    <field fkey='unit_class_tables.key' name='class' type='string' />
    <field name='multiplayer_cost' type='int' />
    <field name='multiplayer_late_cost' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_voice_categories_tables.key' name='voice' type='optstring' />
    <field name='icon_name' type='string' />
    <field name='info_pic' type='string' />
    <field fkey='unit_description_texts_tables.key' name='unit_description_text' type='string' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource' type='optstring' />
    <field name='total_cap' type='int' />
    <field fkey='unit_category_tables.key' name='multiplayer_category' type='string' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_middle' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='prestige' type='int' />
    <field name='armed_citizenry' type='boolean' />
    <field name='total_cap_mp' type='int' />
  </table>
  <table table_name='units_tables'
         table_version='4' >
    <field name='key' type='string' pk='true' />
    <field name='on_screen_name' type='string' />
    <field fkey='unit_category_tables.key' name='category' type='string' />
    <field fkey='unit_class_tables.key' name='class' type='string' />
    <field name='multiplayer_cost' type='int' />
    <field name='multiplayer_late_cost' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_voice_categories_tables.key' name='voice' type='optstring' />
    <field name='icon_name' type='string' />
    <field name='info_pic' type='string' />
    <field fkey='unit_description_texts_tables.key' name='unit_description_text' type='string' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource' type='optstring' />
    <field name='total_cap' type='int' />
    <field fkey='unit_category_tables.key' name='multiplayer_category' type='string' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_middle' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='prestige' type='int' />
    <field name='armed_citizenry' type='boolean' />
    <field name='total_cap_mp' type='int' />
    <field name='unit_type_icon' type='optstring' />
    <field name='use_onscreen_name' type='boolean' />
  </table>
  <table table_name='units_tables'
         table_version='9' >
    <field name='key' type='string' pk='true' />
    <field name='on_screen_name' type='string' />
    <field fkey='unit_category_tables.key' name='category' type='string' />
    <field fkey='unit_class_tables.key' name='class' type='string' />
    <field name='multiplayer_cost' type='int' />
    <field name='multiplayer_late_cost' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_voice_categories_tables.key' name='voice' type='optstring' />
    <field name='icon_name' type='string' />
    <field name='info_pic' type='string' />
    <field fkey='unit_description_texts_tables.key' name='unit_description_text' type='string' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource' type='optstring' />
    <field name='total_cap' type='int' />
    <field fkey='unit_category_tables.key' name='multiplayer_category' type='string' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_middle' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='prestige' type='int' />
    <field name='armed_citizenry' type='boolean' />
    <field name='total_cap_mp' type='int' />
    <field name='unit_type_icon' type='optstring' />
    <field name='use_onscreen_name' type='boolean' />
    <field fkey='unit_castes_tables.caste' name='unit_caste' type='string' />
    <field fkey='building_levels_tables.level_name' name='additional_building_level_requirement' type='optstring' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='movie_event_strings_tables.event' name='unit_recruited_movie' type='optstring' />
    <field name='unique_index' type='int' />
  </table>
  <table table_name='units_tables'
         table_version='13' >
    <field name='key' type='string' pk='true' />
    <field name='on_screen_name' type='string' />
    <field fkey='unit_category_tables.key' name='category' type='string' />
    <field fkey='unit_class_tables.key' name='class' type='string' />
    <field name='multiplayer_cost' type='int' />
    <field name='multiplayer_late_cost' type='int' />
    <field name='create_time' type='int' />
    <field name='create_cost' type='int' />
    <field name='upkeep_cost' type='int' />
    <field name='campaign_action_points' type='int' />
    <field fkey='unit_voice_categories_tables.key' name='voice' type='optstring' />
    <field name='icon_name' type='string' />
    <field name='info_pic' type='string' />
    <field fkey='unit_description_texts_tables.key' name='unit_description_text' type='string' />
    <field fkey='region_unit_resources_tables.key' name='region_unit_resource' type='optstring' />
    <field name='total_cap' type='int' />
    <field fkey='unit_category_tables.key' name='multiplayer_category' type='string' />
    <field name='mp_available_early' type='boolean' />
    <field name='mp_available_middle' type='boolean' />
    <field name='mp_available_late' type='boolean' />
    <field name='prestige' type='int' />
    <field name='armed_citizenry' type='boolean' />
    <field name='total_cap_mp' type='int' />
    <field name='unit_type_icon' type='optstring' />
    <field name='use_onscreen_name' type='boolean' />
    <field fkey='unit_castes_tables.caste' name='unit_caste' type='string' />
    <field fkey='building_levels_tables.level_name' name='additional_building_level_requirement' type='optstring' />
    <field fkey='religions_tables.religion_key' name='religion_requirement' type='optstring' />
    <field fkey='resources_tables.key' name='resource_requirement' type='optstring' />
    <field name='in_encyclopedia' type='boolean' />
    <field fkey='movie_event_strings_tables.event' name='unit_recruited_movie' type='optstring' />
    <field name='unique_index' type='int' />
    <field name='is_male' type='boolean' />
    <field name='num_audio_VO_variations' type='int' />
    <field fkey='audio_languages_tables.key' name='audio_language' type='string' />
    <field name='VO_actor_numbers' type='string' />
    <field name='supports_first_person' type='boolean' />
  </table>
  <table table_name='units_to_exclusive_faction_permissions_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string' pk='true' />
    <field name='allowed' type='boolean' />
  </table>
  <table table_name='units_to_exclusive_faction_permissions_tables'
         table_version='0' >
    <field fkey='main_units_tables.unit' name='key' type='string_ascii' pk='true' />
    <field fkey='factions_tables.key' name='faction' type='string_ascii' pk='true' />
    <field name='allowed' type='boolean' />
  </table>
  <table table_name='units_to_gov_type_permissions_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='key' type='string' pk='true' />
    <field fkey='government_types_tables.government_type' name='gov_type' type='string' pk='true' />
    <field name='unique_number' type='string' />
    <field fkey='units_to_gov_type_outcomes_enum_tables.key' name='outcome' type='string' />
  </table>
  <table table_name='units_to_gov_type_permissions_tables'
         table_version='0' >
    <field fkey='main_units_tables.unit' name='key' type='string_ascii' pk='true' />
    <field fkey='government_types_tables.government_type' name='gov_type' type='string_ascii' pk='true' />
    <field name='unique_number' type='string_ascii' />
    <field fkey='units_to_gov_type_outcomes_enum_tables.key' name='outcome' type='string_ascii' />
  </table>
  <table table_name='units_to_gov_types_conversion_jcts_tables'
         table_version='0' >
    <field fkey='units_to_gov_type_permissions_tables.unique_number' name='key' type='string' pk='true' />
    <field fkey='units_tables.key' name='unit' type='string' pk='true' />
  </table>
  <table table_name='units_to_gov_types_conversion_jcts_tables'
         table_version='0' >
    <field fkey='units_to_gov_type_permissions_tables.unique_number' name='key' type='string_ascii' pk='true' />
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
  </table>
  <table table_name='units_to_groupings_military_permissions_tables'
         table_version='0' >
    <field fkey='units_tables.key' name='unit' type='string' pk='true' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string' pk='true' />
  </table>
  <table table_name='units_to_groupings_military_permissions_tables'
         table_version='0' >
    <field fkey='main_units_tables.unit' name='unit' type='string_ascii' pk='true' />
    <field fkey='groupings_military_tables.military_group' name='military_group' type='string_ascii' pk='true' />
  </table>
  <table table_name='units_to_special_editions_juncs_tables'
         table_version='0' >
    <field name='order_id' type='string' />
    <field name='unit' type='string' pk='true' />
  </table>
  <table table_name='unrest_cause_to_demands_tables'
         table_version='0' >
    <field fkey='TExc_unrest_causes_tables.cause' name='cause' type='string' pk='true' />
    <field name='level_of_unrest' type='string' pk='true' />
    <field fkey='TExc_unrest_demands_tables.demand' name='demand' type='string' />
    <field fkey='message_event_strings_tables.event' name='message' type='string' />
  </table>
  <table table_name='unrest_cause_to_demands_tables'
         table_version='0' >
    <field fkey='TExc_unrest_causes_tables.cause' name='cause' type='string_ascii' pk='true' />
    <field name='level_of_unrest' type='string_ascii' pk='true' />
    <field fkey='TExc_unrest_demands_tables.demand' name='demand' type='string_ascii' />
    <field fkey='message_event_strings_tables.event' name='message' type='string_ascii' />
  </table>
  <table table_name='unrest_cause_to_demands_tables'
         table_version='1' >
    <field fkey='TExc_unrest_causes_tables.cause' name='cause' type='string_ascii' pk='true' />
    <field name='level_of_unrest' type='string_ascii' pk='true' />
    <field fkey='TExc_unrest_demands_tables.demand' name='demand' type='string_ascii' />
  </table>
  <table table_name='vampire_mercenary_set_junctions_tables'
         table_version='0' >
    <field fkey='mercenary_pools_tables.key' name='mercenary_set' type='string_ascii' pk='true' />
  </table>
  <table table_name='variants_tables'
         table_version='0' >
    <field name='variant_name' type='string_ascii' pk='true' />
  </table>
  <table table_name='variants_tables'
         table_version='5' >
    <field name='variant_name' type='string_ascii' pk='true' />
    <field name='tech_folder' type='optstring_ascii' />
    <field name='variant_file_name' type='optstring_ascii' />
    <field name='low_poly_filename' type='optstring_ascii' />
    <field name='mount_scale' type='float' />
    <field name='scale' type='float' />
    <field name='scale_variation' type='float' />
  </table>
    <table table_name='variants_tables'
         table_version='6' >
    <field name='variant_name' type='string_ascii' pk='true' />
    <field name='tech_folder' type='optstring_ascii' />
    <field name='variant_filename' type='optstring_ascii' />
    <field name='low_poly_filename' type='optstring_ascii' />
    <field name='mount_scale' type='float' />
    <field name='scale' type='float' />
    <field name='scale_variation' type='float' />
    <field name='super_low_poly_filename' type='optstring_ascii' />
  </table>
  <table table_name='victory_conditions_tables'
         table_version='0' >
    <field name='condition' type='string_ascii' pk='true' />
  </table>
  <table table_name='victory_type_links_tables'
         table_version='0' >
    <field fkey='victory_types_tables.victory_type' name='from' type='string_ascii' pk='true' />
    <field fkey='victory_types_tables.victory_type' name='to' type='string_ascii' pk='true' />
  </table>
  <table table_name='victory_types_tables'
         table_version='1' >
    <field name='victory_type' type='string_ascii' pk='true' />
    <field name='tree_x' type='int' />
    <field name='icon' type='string_ascii' />
    <field name='tree_y' type='int' />
  </table>
  <table table_name='victory_types_tables'
         table_version='2' >
    <field name='victory_type' type='optstring_ascii' pk='true' />
    <field name='tree_y' type='int' />
    <field name='tree_x' type='int' />
    <field name='icon' type='string_ascii' />
    <field name='length_type' type='string_ascii' />
  </table>
  <table table_name='videos_subtitles_junctions_tables'
         table_version='0' >
    <field fkey='videos_tables.video_name' name='video_name' type='string' pk='true' />
    <field name='start' type='int' pk='true' />
    <field name='end' type='int' pk='true' />
    <field fkey='subtitles_tables.subtitle_key' name='subtitle_key' type='string' />
  </table>
  <table table_name='videos_tables'
         table_version='1' >
    <field name='video_name' type='string' pk='true' />
    <field fkey='video_types_tables.video_type' name='video_type' type='string' />
    <field name='audio_tracks' type='int' />
  </table>
  <table table_name='videos_tables'
         table_version='2' >
    <field name='video_name' type='string_ascii' pk='true' />
    <field fkey='video_types_tables.video_type' name='video_type' type='string_ascii' />
    <field name='audio_tracks' type='int' />
    <field fkey='vo_scripts_tables.id' name='script_ref' type='int' />
  </table>
  <table table_name='videos_tables'
         table_version='7' >
    <field name='video_name' type='string_ascii' pk='true' />
    <field name='video_type' type='string_ascii' />
    <field name='audio_tracks' type='int' />
    <field name='script_ref' type='int' />
  </table>
  <table table_name='voice_events_tables'
         table_version='0' >
    <field name='name' type='string' pk='true' />
  </table>
  <table table_name='voice_types_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
  </table>
  <table table_name='warscape_animated_lod_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='filename' type='string' />
    <field name='range' type='float' />
    <field fkey='warscape_animated_tables.key' name='animated' type='string' />
  </table>
  <table table_name='warscape_animated_lod_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='filename' type='string_ascii' />
    <field name='range' type='float' />
    <field fkey='warscape_animated_tables.key' name='animated' type='string_ascii' />
  </table>
  <table table_name='warscape_animated_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='texture_filename_base' type='string' />
    <field fkey='warscape_categories_tables.key' name='category' type='string' />
  </table>
  <table table_name='warscape_animated_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='texture_filename_base' type='string_ascii' />
    <field fkey='warscape_categories_tables.key' name='category' type='string_ascii' />
  </table>
  <table table_name='warscape_categories_tables'
         table_version='0' >
    <field name='category' type='string' pk='true' />
  </table>
  <table table_name='warscape_equipment_items_tables'
         table_version='0' >
    <field name='equipment_item' type='string' pk='true' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='equipment_key' type='string' pk='true' />
  </table>
  <table table_name='warscape_equipment_items_tables'
         table_version='2' >
    <field name='equipment_item' type='string_ascii' />
    <field name='equipment_key' type='string_ascii' pk='true' />
  </table>
  <table table_name='warscape_equipment_themes_tables'
         table_version='0' >
    <field name='theme' type='string' pk='true' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='primary_weapon' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='secondary_weapon' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='defensive' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='ambient' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='personal' type='optstring' />
  </table>
  <table table_name='warscape_equipment_themes_tables'
         table_version='1' >
    <field name='theme' type='string' pk='true' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='primary_weapon' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='secondary_weapon' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='defensive' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='ambient' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='personal' type='optstring' />
    <field fkey='warscape_equipment_collections_tables.collection_key' name='banners' type='optstring' />
  </table>
  <table table_name='warscape_naval_lod_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='path' type='string' />
    <field name='range' type='string' />
    <field name='naval' type='string' />
    <field name='ship_id' type='string' />
  </table>
  <table table_name='warscape_rigid_lod_range_tables'
         table_version='0' >
    <field name='lod_id' type='string' pk='true' />
    <field name='range' type='float' />
  </table>
  <table table_name='warscape_rigid_lod_range_tables'
         table_version='1' >
    <field name='lod_id' type='string_ascii' pk='true' />
    <field name='range' type='float' />
  </table>
  <table table_name='warscape_rigid_lod_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='filename' type='string' />
    <field name='range' type='string' />
    <field fkey='warscape_rigid_tables.key' name='rigid' type='string' />
  </table>
  <table table_name='warscape_rigid_lod_tables'
         table_version='1' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='filename' type='string_ascii' />
    <field name='range' type='string_ascii' />
    <field fkey='warscape_rigid_tables.key' name='rigid' type='string_ascii' />
  </table>
  <table table_name='warscape_rigid_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field name='texture_directory' type='string' />
    <field fkey='warscape_categories_tables.key' name='category' type='string' />
  </table>
  <table table_name='warscape_rigid_tables'
         table_version='2' >
    <field name='key' type='string_ascii' pk='true' />
    <field name='texture_directory' type='string_ascii' />
    <field fkey='warscape_categories_tables.key' name='category' type='string_ascii' />
  </table>
  <table table_name='warscape_trees_tables'
         table_version='0' >
    <field fkey='trees_tables.tree_id' name='tree' type='string' pk='true' />
    <field fkey='seasons_tables.season' name='season' type='string' pk='true' />
    <field name='model_path' type='string' />
  </table>
  <table table_name='warscape_underlay_textures_tables'
         table_version='0' >
    <field name='underlay_key' type='string' pk='true' />
    <field name='filename' type='string' />
    <field name='filepath' type='string' />
    <field name='levels' type='int' />
  </table>
  <table table_name='warscape_underlay_textures_tables'
         table_version='2' >
    <field name='underlay_key' type='string_ascii' pk='true' />
    <field name='filename' type='string_ascii' />
    <field name='filepath' type='string_ascii' />
    <field name='levels' type='int' />
  </table>
  <table table_name='wind_levels_tables'
         table_version='0' >
    <field name='key' type='string' pk='true' />
    <field fkey='sea_surfaces_tables.key' name='sea_surface' type='string' />
    <field name='magnitudeX' type='float' />
    <field name='magnitudeY' type='float' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='wind_levels_tables'
         table_version='0' >
    <field name='key' type='string_ascii' pk='true' />
    <field fkey='sea_surfaces_tables.key' name='sea_surface' type='string_ascii' />
    <field name='magnitudeX' type='float' />
    <field name='magnitudeY' type='float' />
    <field name='sort_order' type='int' />
  </table>
  <table table_name='workshop_categories_progress_levels_tables'
         table_version='3' >
    <field fkey='ancillaries_tables.key' name='ancillary_reward' type='optstring_ascii' pk='true' />
    <field fkey='workshop_categories_tables.category' name='category' type='string_ascii' pk='true' />
    <field name='level_to_unlock' type='int' pk='true' />
    <field fkey='main_units_tables.unit' name='unit_reward' type='optstring_ascii' pk='true' />
  </table>
  <table table_name='workshop_categories_tables'
         table_version='0' >
    <field name='category' type='string_ascii' pk='true' />
  </table>
  <table table_name='workshop_categories_to_rituals_tables'
         table_version='1' >
    <field fkey='workshop_categories_tables.category' name='category' type='string_ascii' pk='true' />
    <field fkey='rituals_tables.key' name='ritual' type='string_ascii' pk='true' />
    <field name='order' type='int' />
  </table>
</schema>