# MIO Unlock Catalog — per-entry prereq triggers. # Trigger names match MIO token names so `mio_catalog_entry_prereqs_yes` can dispatch via meta_trigger. GENERIC_krepost_state_defense_bureau_unlock_btn_enabled = { num_of_military_factories > 9 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_KREPOST_TECH_TT has_tech = infantry_weapons_1 } } GENERIC_north_plains_heavy_industries_unlock_btn_enabled = { num_of_military_factories > 14 has_army_experience > 49 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_NORTH_PLAINS_TECH_TT has_tech = infantry_weapons_2 } } GENERIC_sentinel_grid_networks_unlock_btn_enabled = { num_of_military_factories > 14 has_tech = computing2 } GENERIC_brunn_heavy_engineering_werke_unlock_btn_enabled = { num_of_military_factories > 14 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_BRUNN_TECH_TT OR = { has_tech = nsb_artillery_1 has_tech = tech_arty_1 } } } GENERIC_reichswerke_konstrukt_dynamik_unlock_btn_enabled = { num_of_military_factories > 24 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_REICHSWERKE_TECH_TT OR = { AND = { has_tech = nsb_artillery_1 has_tech = mbt_tech_1 } has_tech = SP_arty_1 } } } GENERIC_vector_defense_labs_unlock_btn_enabled = { num_of_military_factories > 19 has_idea = defense_industry custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_VECTOR_TECH_TT has_tech = SAM0 } } GENERIC_marshall_tractor_works_unlock_btn_enabled = { num_of_military_factories > 24 has_army_experience > 74 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_MARSHALL_TECH_TT OR = { has_tech = mbt_tech_1 has_tech = MBT_1 } } } GENERIC_vanderlind_hartwell_systems_unlock_btn_enabled = { num_of_military_factories > 29 has_idea = defense_industry has_army_experience > 99 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_VANDERLIND_TECH_TT OR = { AND = { has_tech = mbt_tech_2 has_tech = small_autocannon_tech_2 } AND = { has_tech = MBT_2 has_tech = IFV_2 } } } } GENERIC_mil_kamov_rotorworks_unlock_btn_enabled = { num_of_military_factories > 19 has_air_experience > 49 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_MIL_KAMOV_TECH_TT OR = { has_tech = nsb_attack_helicopter_tech_2 has_tech = nsb_transport_helicopter_2 has_tech = attack_helicopter_2 has_tech = transport_helicopter_2 } } } GENERIC_helitech_avionique_unlock_btn_enabled = { num_of_military_factories > 24 has_idea = defense_industry custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_HELITECH_AVIONICS_TT OR = { has_tech = avionics_1 has_tech = AS_upgrade_1 } } custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_HELITECH_HELO_TT OR = { has_tech = nsb_attack_helicopter_tech_2 has_tech = nsb_transport_helicopter_2 has_tech = attack_helicopter_2 has_tech = transport_helicopter_2 } } } GENERIC_aurora_aerodynamics_corporation_unlock_btn_enabled = { num_of_military_factories > 34 has_idea = defense_industry has_air_experience > 99 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_AURORA_TECH_TT OR = { AND = { has_tech = gen_3_light has_tech = gen_3_medium } AND = { has_tech = AS_Fighter2 has_tech = MR_Fighter2 } } } } GENERIC_societe_europeenne_daerostructures_unlock_btn_enabled = { num_of_military_factories > 24 has_air_experience > 74 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_SOCIETE_TECH_TT OR = { has_tech = gen_3_large has_tech = transport_plane1 has_tech = naval_plane1 } } } GENERIC_southwestern_aerospace_dynamics_bureau_unlock_btn_enabled = { num_of_military_factories > 34 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_SOUTHWESTERN_TECH_TT OR = { AND = { has_tech = gen_4_light has_tech = gen_3_large } AND = { has_tech = strategic_bomber1 has_tech = AS_Fighter2 } } } } GENERIC_skyforge_autonomous_systems_unlock_btn_enabled = { num_of_military_factories > 19 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_SKYFORGE_TECH_TT has_tech = artificial_intelligence_5 } } GENERIC_compagnie_aeronatique_darmement_unlock_btn_enabled = { num_of_military_factories > 29 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_COMPAGNIE_GLCM_TT has_tech = GLCM1 } custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_COMPAGNIE_WEAPONS_TT OR = { has_tech = naval_weapons_1 has_tech = ag_weapons_1 has_tech = air_weapons_1 has_tech = AS_Fighter1 has_tech = MR_Fighter1 has_tech = Strike_fighter1 } } } GENERIC_whitehall_strategic_solutions_unlock_btn_enabled = { num_of_naval_factories > 4 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_WHITEHALL_TECH_TT OR = { has_tech = corvette_hull_1 has_tech = patrol_boat_hull_1_tech } } } GENERIC_triton_maritime_defense_group_unlock_btn_enabled = { num_of_naval_factories > 9 has_idea = maritime_industry has_navy_experience > 99 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_TRITON_TECH_TT OR = { has_tech = destroyer_hull_1 has_tech = frigate_hull_2 } } } GENERIC_eastern_maritime_shipbuilding_group_unlock_btn_enabled = { num_of_naval_factories > 14 num_of_military_factories > 29 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_EASTERN_TECH_TT OR = { has_tech = cruiser_hull_1 has_tech = carrier_hull_1 } } } GENERIC_sevmorprom_submarine_yards_unlock_btn_enabled = { num_of_naval_factories > 7 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_SEVMORPROM_TECH_TT OR = { has_tech = missile_submarine_hull_1 has_tech = attack_submarine_hull_1 } } } GENERIC_halland_civic_engineering_group_unlock_btn_enabled = { OR = { has_idea = industrial_conglomerates has_idea = chaebols has_idea = the_donju } OR = { num_of_naval_factories > 4 num_of_civilian_factories > 19 } } GENERIC_second_academy_missile_bureau_unlock_btn_enabled = { num_of_military_factories > 39 custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_SECOND_ACADEMY_GLCM_TT has_tech = GLCM1 } custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_SECOND_ACADEMY_BALLISTIC_TT OR = { has_tech = ICBM has_tech = IRBM } } } GENERIC_western_orbital_systems_bureau_unlock_btn_enabled = { num_of_military_factories > 34 has_idea = defense_industry custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_WESTERN_ORBITAL_OLV_TT has_tech = OLV1 } custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_WESTERN_ORBITAL_BALLISTIC_TT OR = { has_tech = ICBM2 has_tech = IRBM2 } } } GENERIC_central_heavy_atomics_power_unlock_btn_enabled = { num_of_naval_factories > 14 num_of_military_factories > 34 has_idea = maritime_industry has_idea = defense_industry custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_CENTRAL_HEAVY_REACTOR_TT has_tech = reactor1 } custom_trigger_tooltip = { tooltip = MIO_CAT_REQ_CENTRAL_HEAVY_SUB_TT OR = { has_tech = attack_submarine_hull_2 has_tech = missile_submarine_hull_2 } } } _unlock_btn_enabled = { always = no } # Dispatches to the per-MIO `_unlock_btn_enabled` trigger by interpolating the current entry's # token key. Used by both the click gate and the `[!]` tooltip — meta_trigger substitution keeps # the per-MIO ✓/✗ checkmarks intact behind a single static reference. mio_catalog_entry_prereqs_yes = { meta_trigger = { text = { [TRIG] = yes } TRIG = "[?global.mio_catalog_all_tokens^v.GetTokenKey]_unlock_btn_enabled" } } # Per-entry visibility for the rebuild loop: show if not unlocked AND (filter off OR meets prereqs). # Stays a cascade because `_unlocked` flags lack the GENERIC_ prefix — can't meta_trigger. mio_catalog_entry_available_yes = { OR = { AND = { check_variable = { v = 1 } NOT = { has_country_flag = krepost_state_defense_bureau_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 9 has_tech = infantry_weapons_1 } } } AND = { check_variable = { v = 2 } NOT = { has_country_flag = north_plains_heavy_industries_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 14 has_tech = infantry_weapons_2 has_army_experience > 49 } } } AND = { check_variable = { v = 3 } NOT = { has_country_flag = sentinel_grid_networks_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 14 has_tech = computing2 } } } AND = { check_variable = { v = 4 } NOT = { has_country_flag = brunn_heavy_engineering_werke_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 14 OR = { has_tech = nsb_artillery_1 has_tech = tech_arty_1 } } } } AND = { check_variable = { v = 5 } NOT = { has_country_flag = reichswerke_konstrukt_dynamik_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 24 OR = { AND = { has_tech = nsb_artillery_1 has_tech = mbt_tech_1 } has_tech = SP_arty_1 } } } } AND = { check_variable = { v = 6 } NOT = { has_country_flag = vector_defense_labs_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 19 has_tech = SAM0 has_idea = defense_industry } } } AND = { check_variable = { v = 7 } NOT = { has_country_flag = marshall_tractor_works_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 24 has_army_experience > 74 OR = { has_tech = mbt_tech_1 has_tech = MBT_1 } } } } AND = { check_variable = { v = 8 } NOT = { has_country_flag = vanderlind_hartwell_systems_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 29 has_idea = defense_industry has_army_experience > 99 OR = { AND = { has_tech = mbt_tech_2 has_tech = small_autocannon_tech_2 } AND = { has_tech = MBT_2 has_tech = IFV_2 } } } } } AND = { check_variable = { v = 9 } NOT = { has_country_flag = mil_kamov_rotorworks_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 19 has_air_experience > 49 OR = { has_tech = nsb_attack_helicopter_tech_2 has_tech = nsb_transport_helicopter_2 has_tech = attack_helicopter_2 has_tech = transport_helicopter_2 } } } } AND = { check_variable = { v = 10 } NOT = { has_country_flag = helitech_avionique_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 24 has_idea = defense_industry OR = { has_tech = avionics_1 has_tech = AS_upgrade_1 } OR = { has_tech = nsb_attack_helicopter_tech_2 has_tech = nsb_transport_helicopter_2 has_tech = attack_helicopter_2 has_tech = transport_helicopter_2 } } } } AND = { check_variable = { v = 11 } NOT = { has_country_flag = aurora_aerodynamics_corporation_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 34 has_idea = defense_industry has_air_experience > 99 OR = { AND = { has_tech = gen_3_light has_tech = gen_3_medium } AND = { has_tech = AS_Fighter2 has_tech = MR_Fighter2 } } } } } AND = { check_variable = { v = 12 } NOT = { has_country_flag = societe_europeenne_daerostructures_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 24 has_air_experience > 74 OR = { has_tech = gen_3_large has_tech = transport_plane1 has_tech = naval_plane1 } } } } AND = { check_variable = { v = 13 } NOT = { has_country_flag = southwestern_aerospace_dynamics_bureau_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 34 OR = { AND = { has_tech = gen_4_light has_tech = gen_3_large } AND = { has_tech = strategic_bomber1 has_tech = AS_Fighter2 } } } } } AND = { check_variable = { v = 14 } NOT = { has_country_flag = skyforge_autonomous_systems_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 19 has_tech = artificial_intelligence_5 } } } AND = { check_variable = { v = 15 } NOT = { has_country_flag = compagnie_aeronatique_darmement_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 29 has_tech = GLCM1 OR = { has_tech = naval_weapons_1 has_tech = ag_weapons_1 has_tech = air_weapons_1 has_tech = AS_Fighter1 has_tech = MR_Fighter1 has_tech = Strike_fighter1 } } } } AND = { check_variable = { v = 16 } NOT = { has_country_flag = whitehall_strategic_solutions_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_naval_factories > 4 OR = { has_tech = corvette_hull_1 has_tech = patrol_boat_hull_1_tech } } } } AND = { check_variable = { v = 17 } NOT = { has_country_flag = triton_maritime_defense_group_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_naval_factories > 9 has_idea = maritime_industry has_navy_experience > 99 OR = { has_tech = destroyer_hull_1 has_tech = frigate_hull_2 } } } } AND = { check_variable = { v = 18 } NOT = { has_country_flag = eastern_maritime_shipbuilding_group_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_naval_factories > 14 num_of_military_factories > 29 OR = { has_tech = cruiser_hull_1 has_tech = carrier_hull_1 } } } } AND = { check_variable = { v = 19 } NOT = { has_country_flag = sevmorprom_submarine_yards_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_naval_factories > 7 OR = { has_tech = missile_submarine_hull_1 has_tech = attack_submarine_hull_1 } } } } AND = { check_variable = { v = 20 } NOT = { has_country_flag = halland_civic_engineering_group_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { OR = { has_idea = industrial_conglomerates has_idea = chaebols has_idea = the_donju } OR = { num_of_naval_factories > 4 num_of_civilian_factories > 19 } } } } AND = { check_variable = { v = 21 } NOT = { has_country_flag = second_academy_missile_bureau_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 39 has_tech = GLCM1 OR = { has_tech = ICBM has_tech = IRBM } } } } AND = { check_variable = { v = 22 } NOT = { has_country_flag = western_orbital_systems_bureau_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_military_factories > 34 has_tech = OLV1 has_idea = defense_industry OR = { has_tech = ICBM2 has_tech = IRBM2 } } } } AND = { check_variable = { v = 23 } NOT = { has_country_flag = central_heavy_atomics_power_unlocked } OR = { NOT = { has_country_flag = mio_catalog_filter_available } AND = { num_of_naval_factories > 14 num_of_military_factories > 34 has_tech = reactor1 has_idea = maritime_industry has_idea = defense_industry OR = { has_tech = attack_submarine_hull_2 has_tech = missile_submarine_hull_2 } } } } } }