diff --git a/common/customizable_localization/00_adventurer_names.txt b/common/customizable_localization/00_adventurer_names.txt index 5c100ae46..d660a14d5 100644 --- a/common/customizable_localization/00_adventurer_names.txt +++ b/common/customizable_localization/00_adventurer_names.txt @@ -3256,6 +3256,7 @@ GetAdventureNameBand = { has_trait = education_republican_knowledge_2 has_trait = education_republican_knowledge_3 has_trait = education_republican_knowledge_4 + has_trait = education_republican_knowledge_5 } } } @@ -3853,6 +3854,7 @@ GetAdventureNameBand = { piety_level < 1 has_trait = excommunicated has_trait = disinherited + has_trait = adopted_no_inheritance has_trait = denounced has_trait = cynical dread > 0 @@ -11312,6 +11314,7 @@ GetAdventureNameReverentBand = { has_trait = education_republican_knowledge_2 has_trait = education_republican_knowledge_3 has_trait = education_republican_knowledge_4 + has_trait = education_republican_knowledge_5 } } } diff --git a/common/customizable_localization/00_building_custom_localization.txt b/common/customizable_localization/00_building_custom_localization.txt index 9464157c0..8a1fdbfb1 100644 --- a/common/customizable_localization/00_building_custom_localization.txt +++ b/common/customizable_localization/00_building_custom_localization.txt @@ -1,11 +1,25 @@ BaronyTownType = { type = landed_title + text = { + trigger = { + title_province = { + has_holding_type = church_holding + } + } + localization_key = barony_town_type_church_town + } + text = { trigger = { title_province = { county = { - development_level > medium_development_level + prosperity_level > medium_prosperity_level + } + NOR = { + has_holding_type = tribal_holding + has_holding_type = nomad_holding + has_holding_type = herder_holding } } } @@ -16,6 +30,12 @@ trigger = { title_province = { fort_level > 0 + NOR = { + has_holding_type = tribal_holding + has_holding_type = nomad_holding + has_holding_type = herder_holding + has_holding_type = church_holding + } } } localization_key = barony_town_type_castle_town @@ -25,8 +45,13 @@ trigger = { title_province = { county = { - development_level <= medium_development_level - development_level >= bad_development_level + prosperity_level <= medium_prosperity_level + prosperity_level >= bad_prosperity_level + } + NOR = { + has_holding_type = tribal_holding + has_holding_type = nomad_holding + has_holding_type = herder_holding } } } @@ -37,7 +62,7 @@ trigger = { title_province = { county = { - development_level < bad_development_level + prosperity_level < bad_prosperity_level } } } @@ -45,17 +70,23 @@ } } +BaronyTownTypePossessive = { + type = landed_title + parent = BaronyTownType + suffix = _possessive +} + GetFaithGrandTemple = { # Get name of Grand Temple in religion type = character text = { trigger = { OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } } - localization_key = building_holy_site_cathedral_01 + localization_key = holy_site_cathedral_01 } text = { trigger = { faith.religion = religion:islam_religion } - localization_key = building_holy_site_mosque_01 + localization_key = holy_site_mosque_01 } text = { @@ -94,62 +125,69 @@ GetGuildType = { random_valid = yes - text = { # Plain guild + text = { trigger = { - has_building = guild_halls_01 + has_building_or_higher = guild_hall_1 } localization_key = building_guild_halls } - - text = { # Carver's guild + + text = { trigger = { - has_building = guild_halls_02 - } - localization_key = building_carvers_guild - } - - text = { # Carpenter's guild - trigger = { - has_building = guild_halls_03 + has_building_or_higher = guild_carpenters_1 } localization_key = building_carpenters_guild } - - text = { # Hunter's guild + + text = { trigger = { - has_building = guild_halls_04 - } - localization_key = building_hunters_guild - } - - text = { # Mason's guild - trigger = { - has_building = guild_halls_05 + has_building_or_higher = guild_builders_1 } localization_key = building_masons_guild } - - text = { # Tailor's guild + + text = { trigger = { - has_building = guild_halls_06 - } - localization_key = building_tailors_guild - } - - text = { # Glassworker's guild - trigger = { - has_building = guild_halls_07 + has_building_or_higher = guild_glassmakers_1 } localization_key = building_glassworkers_guild } - - text = { # Artisan's guild + + text = { trigger = { - has_building = guild_halls_08 + has_building_or_higher = guild_goldsmiths_1 } localization_key = building_artisans_guild } - + + text = { + trigger = { + OR = { + has_building_or_higher = weavers_guild_1 + has_building_or_higher = guild_textiles_silk_1 + has_building_or_higher = luxury_carpet_workshop_1 + } + } + localization_key = building_tailors_guild + } + + text = { + trigger = { + OR = { + has_building_or_higher = guild_butchery_1 + has_building_or_higher = guild_tannery_1 + } + } + localization_key = building_hunters_guild + } + + text = { + trigger = { + has_building_or_higher = guild_parchment_workshop_1 + } + localization_key = building_carvers_guild + } + text = { # Fallback fishmongers trigger = { OR = { @@ -175,203 +213,205 @@ GetSpecialBuildingNameFromProvince = { text = { # Mahabodhi Temple trigger = { - has_special_building = yes + has_special_district = yes + #this = province:1276 # Gaya has_building = holy_site_mahabodhi_temple_01 } - localization_key = building_holy_site_mahabodhi_temple_01 + localization_key = holy_site_mahabodhi_temple_01 } text = { # Imam Ali Mosque trigger = { - has_special_building = yes + has_special_district = yes + #this = province:5993 # An-Najaf has_building = holy_site_imam_ali_mosque_01 } - localization_key = building_holy_site_imam_ali_mosque_01 + localization_key = holy_site_imam_ali_mosque_01 } text = { # Great Mosque of Mecca trigger = { - has_special_building = yes + has_special_district = yes #this = province:6223 # Mecca has_building = holy_site_great_mosque_of_mecca_01 } - localization_key = building_holy_site_great_mosque_of_mecca_01 + localization_key = holy_site_great_mosque_of_mecca_01 } text = { # Great Mosque of Cordoba trigger = { - has_special_building = yes + has_special_district = yes #this = province:1995 # Cordoba has_building = holy_site_great_mosque_of_cordoba_01 } - localization_key = building_holy_site_great_mosque_of_cordoba_01 + localization_key = holy_site_great_mosque_of_cordoba_01 } text = { # Great Mosque of Djenne trigger = { - has_special_building = yes + has_special_district = yes #this = province:6711 # Jenne-Jeno has_building = holy_site_great_mosque_of_djenne_01 } - localization_key = building_holy_site_great_mosque_of_djenne_01 + localization_key = holy_site_great_mosque_of_djenne_01 } text = { # Great Mosque of Samarra trigger = { - has_special_building = yes + has_special_district = yes #this = province:4805 # Jenne-Jeno has_building = holy_site_great_mosque_of_samarra_01 } - localization_key = building_holy_site_great_mosque_of_samarra_01 + localization_key = holy_site_great_mosque_of_samarra_01 } text = { # Cologne Cathedral trigger = { - has_special_building = yes + has_special_district = yes #this = province:2088 # Cologne has_building = holy_site_cologne_cathedral_01 } - localization_key = building_holy_site_cologne_cathedral_01 + localization_key = holy_site_cologne_cathedral_01 } text = { # Canterbury Cathedral 1 trigger = { - has_special_building = yes + has_special_district = yes #this = province:1503 # Canterbury has_building = holy_site_canterbury_cathedral_01 } - localization_key = building_holy_site_canterbury_cathedral_01 + localization_key = holy_site_canterbury_cathedral_01 } text = { # Canterbury Cathedral 2 trigger = { - has_special_building = yes + has_special_district = yes #this = province:1503 # Canterbury has_building = holy_site_canterbury_cathedral_02 } - localization_key = building_holy_site_canterbury_cathedral_02 + localization_key = holy_site_canterbury_cathedral_02 } text = { # Canterbury Cathedral 3 trigger = { - has_special_building = yes + has_special_district = yes #this = province:1503 # Canterbury has_building = holy_site_canterbury_cathedral_03 } - localization_key = building_holy_site_canterbury_cathedral_03 + localization_key = holy_site_canterbury_cathedral_03 } text = { # Prophetic Mosque trigger = { - has_special_building = yes + has_special_district = yes #this = province:6212 # Medina has_building = holy_site_prophetic_mosque_01 } - localization_key = building_holy_site_prophetic_mosque_01 + localization_key = holy_site_prophetic_mosque_01 } text = { # Doge's Palace trigger = { - has_special_building = yes + has_special_district = yes #this = province:2517 # Venice has_building = doges_palace_01 } - localization_key = building_doges_palace_01 + localization_key = doges_palace_01 } text = { # Walls of Genoa trigger = { - has_special_building = yes + has_special_district = yes #this = province:2466 # Genoa has_building = walls_of_genoa_01 } - localization_key = building_walls_of_genoa_01 + localization_key = walls_of_genoa_01 } text = { # Visby Ringmur trigger = { - has_special_building = yes + has_special_district = yes #this = province:369 # Visby has_building = visby_ringmur_01 } - localization_key = building_visby_ringmur_01 + localization_key = visby_ringmur_01 } text = { # Walls of Benin trigger = { - has_special_building = yes + has_special_district = yes #this = province:8072 # Benin City has_building = walls_of_benin_01 } - localization_key = building_walls_of_benin_01 + localization_key = walls_of_benin_01 } text = { # Theodosian Walls - Duchy Capital Building trigger = { - has_special_building = yes + has_special_district = yes #this = province:496 # Constantinople has_building = theodosian_walls_01 } - localization_key = building_theodosian_walls_01 + localization_key = theodosian_walls_01 } text = { # Aurelian Walls - Duchy Capital Building trigger = { - has_special_building = yes + has_special_district = yes #this = province:2575 # Rome has_building = aurelian_walls_01 } - localization_key = building_aurelian_walls_01 + localization_key = aurelian_walls_01 } text = { # The Colosseum trigger = { - has_special_building = yes + has_special_district = yes #this = province:2575 # Rome has_building = the_colosseum_01 } - localization_key = building_the_colosseum_01 + localization_key = the_colosseum_01 } text = { # The Iron Pillar of Delhi trigger = { - has_special_building = yes + has_special_district = yes #this = province:1365 # Indraprastha has_building = iron_pillar_of_delhi_01 } - localization_key = building_iron_pillar_of_delhi_01 + localization_key = iron_pillar_of_delhi_01 } text = { # The Iron Pillar of Dhar trigger = { - has_special_building = yes + has_special_district = yes #this = province:1149 # Dhara has_building = iron_pillar_of_dhar_01 } - localization_key = building_iron_pillar_of_dhar_01 + localization_key = iron_pillar_of_dhar_01 } text = { # The Pyramids trigger = { - has_special_building = yes + has_special_district = yes #this = province:6057 # Giza has_building = the_pyramids_01 } - localization_key = building_the_pyramids_01 + localization_key = the_pyramids_01 } text = { # Stonehenge trigger = { - has_special_building = yes + has_special_district = yes #this = province:1561 has_building = stonehenge_01 } - localization_key = building_stonehenge_01 + localization_key = stonehenge_01 } text = { # Offa's Dyke trigger = { - has_special_building = yes + has_special_district = yes #OR = { # this = province:1643 # Cheshire # this = province:1646 # Shropshire @@ -383,12 +423,12 @@ GetSpecialBuildingNameFromProvince = { #} has_building = offas_dyke_01 } - localization_key = building_offas_dyke_01 + localization_key = offas_dyke_01 } text = { # Hadrian's Wall trigger = { - has_special_building = yes + has_special_district = yes #OR = { # this = province:1609 # Bamburgh # this = province:1611 # Hexham @@ -397,2101 +437,2133 @@ GetSpecialBuildingNameFromProvince = { #} has_building = hadrians_wall_01 } - localization_key = building_hadrians_wall_01 + localization_key = hadrians_wall_01 } text = { # Petra trigger = { - has_special_building = yes + has_special_district = yes #this = province:5971 # Baidha-Petra has_building = petra_01 } - localization_key = building_petra_01 + localization_key = petra_01 } text = { # Bamian Buddhas trigger = { - has_special_building = yes + has_special_district = yes #this = province:4343 # Kabul has_building = buddhas_of_bamian_01 } - localization_key = building_buddhas_of_bamian_01 + localization_key = buddhas_of_bamian_01 } text = { # Alhambra trigger = { - has_special_building = yes + has_special_district = yes #this = province:1978 # Granada has_building = alhambra_01 } - localization_key = building_alhambra_01 + localization_key = alhambra_01 } text = { # Alhambra trigger = { - has_special_building = yes + has_special_district = yes #this = province:1978 # Granada has_building = alhambra_02 } - localization_key = building_alhambra_02 + localization_key = alhambra_02 } text = { # Citadel of Aleppo trigger = { - has_special_building = yes + has_special_district = yes #this = province:5934 # Halab has_building = citadel_of_aleppo_01 } - localization_key = building_citadel_of_aleppo_01 + localization_key = citadel_of_aleppo_01 } text = { # Citadel of Aleppo trigger = { - has_special_building = yes + has_special_district = yes #this = province:5934 # Halab has_building = citadel_of_aleppo_02 } - localization_key = building_citadel_of_aleppo_02 + localization_key = citadel_of_aleppo_02 } text = { # House of Wisdom trigger = { - has_special_building = yes + has_special_district = yes #this = province:4828 # Baghdad has_building = house_of_wisdom_01 } - localization_key = building_house_of_wisdom_01 + localization_key = house_of_wisdom_01 } text = { # Tower of London trigger = { - has_special_building = yes + has_special_district = yes #this = province:1527 # London has_building = the_tower_of_london_01 } - localization_key = building_the_tower_of_london_01 + localization_key = the_tower_of_london_01 } text = { # London Bridge trigger = { - has_special_building = yes + has_special_district = yes #this = province:1526 # Southwark has_building = london_bridge_01 } - localization_key = building_type_london_bridge_01 + localization_key = london_bridge_01 } text = { # Notre Dame trigger = { - has_special_building = yes + has_special_district = yes #this = province:2333 # Paris has_building = notre_dame_01 } - localization_key = building_notre_dame_01 + localization_key = notre_dame_01 } text = { # Brihadeeswarar Temple trigger = { - has_special_building = yes + has_special_district = yes #this = province:1115 # Cholamandalam has_building = brihadeeswarar_temple_01 } - localization_key = building_brihadeeswarar_temple_01 + localization_key = brihadeeswarar_temple_01 } text = { # Shwedagon Pagoda trigger = { - has_special_building = yes + has_special_district = yes #this = province:9598 # Dagon has_building = shwedagon_pagoda_01 } - localization_key = building_shwedagon_pagoda_01 + localization_key = shwedagon_pagoda_01 } text = { # Ananda Temple trigger = { - has_special_building = yes + has_special_district = yes #this = province:9550 # Pagan has_building = ananda_temple_01 } - localization_key = building_ananda_temple_01 + localization_key = ananda_temple_01 } text = { # The Friday Mosque trigger = { - has_special_building = yes + has_special_district = yes #this = province:4106 # Isfahan has_building = the_friday_mosque_01 } - localization_key = building_the_friday_mosque_01 + localization_key = the_friday_mosque_01 } text = { # Kjajuraho trigger = { - has_special_building = yes + has_special_district = yes #this = province:1298 # Chanderi has_building = khajuraho_01 } - localization_key = building_khajuraho_01 + localization_key = khajuraho_01 } text = { # Palace of Aachen trigger = { - has_special_building = yes + has_special_district = yes #this = province:2092 # Aachen has_building = palace_of_aachen_01 } - localization_key = building_palace_of_aachen_01 + localization_key = palace_of_aachen_01 } text = { # Hagia Sophia trigger = { - has_special_building = yes + has_special_district = yes #this = province:496 # Constantinople has_building = hagia_sophia_01 } - localization_key = building_hagia_sophia_01 + localization_key = hagia_sophia_01 } text = { # Hagia Sophia trigger = { - has_special_building = yes + has_special_district = yes #this = province:496 # Constantinople has_building = hagia_sophia_02 } - localization_key = building_hagia_sophia_02 + localization_key = hagia_sophia_02 } text = { # Dome of the Rock trigger = { - has_special_building = yes + has_special_district = yes #this = province:5965 # Jerusalem has_building = dome_of_the_rock_01 } - localization_key = building_dome_of_the_rock_01 + localization_key = dome_of_the_rock_01 } text = { # Temple in Jerusalem trigger = { - has_special_building = yes + has_special_district = yes #this = province:5965 # Jerusalem has_building = temple_in_jerusalem_01 } - localization_key = building_temple_in_jerusalem_01 + localization_key = temple_in_jerusalem_01 } text = { # Rammelsberg Mines 1 trigger = { #this = province:2918 # Goslar - has_special_building = yes + has_special_district = yes has_building = rammelsberg_mines_01 } - localization_key = building_rammelsberg_mines_01 + localization_key = rammelsberg_mines_01 } text = { # Rammelsberg Mines 2 trigger = { #this = province:2918 # Goslar - has_special_building = yes + has_special_district = yes has_building = rammelsberg_mines_02 } - localization_key = building_rammelsberg_mines_02 + localization_key = rammelsberg_mines_02 } text = { # Rammelsberg Mines 3 trigger = { #this = province:2918 # Goslar - has_special_building = yes + has_special_district = yes has_building = rammelsberg_mines_03 } - localization_key = building_rammelsberg_mines_03 + localization_key = rammelsberg_mines_03 } text = { # Rammelsberg Mines 4 trigger = { #this = province:2918 # Goslar - has_special_building = yes + has_special_district = yes has_building = rammelsberg_mines_04 } - localization_key = building_rammelsberg_mines_04 + localization_key = rammelsberg_mines_04 } text = { # Baofeng Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = baofeng_mines_01 } - localization_key = building_baofeng_mines_01 + localization_key = baofeng_mines_01 } text = { # Baofeng Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = baofeng_mines_02 } - localization_key = building_baofeng_mines_02 + localization_key = baofeng_mines_02 } text = { # Baofeng Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = baofeng_mines_03 } - localization_key = building_baofeng_mines_03 + localization_key = baofeng_mines_03 } text = { # Baofeng Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = baofeng_mines_04 } - localization_key = building_baofeng_mines_04 + localization_key = baofeng_mines_04 } text = { # Kutna Hora Mines 1 trigger = { #this = province:4161 # Caslav - has_special_building = yes + has_special_district = yes has_building = kutna_hora_mines_01 } - localization_key = building_kutna_hora_mines_01 + localization_key = kutna_hora_mines_01 } text = { # Kutna Hora Mines 2 trigger = { #this = province:4161 # Caslav - has_special_building = yes + has_special_district = yes has_building = kutna_hora_mines_02 } - localization_key = building_kutna_hora_mines_02 + localization_key = kutna_hora_mines_02 } text = { # Kutna Hora Mines 3 trigger = { #this = province:4161 # Caslav - has_special_building = yes + has_special_district = yes has_building = kutna_hora_mines_03 } - localization_key = building_kutna_hora_mines_03 + localization_key = kutna_hora_mines_03 } text = { # Kutna Hora Mines 4 trigger = { #this = province:4161 # Caslav - has_special_building = yes + has_special_district = yes has_building = kutna_hora_mines_04 } - localization_key = building_kutna_hora_mines_04 + localization_key = kutna_hora_mines_04 } text = { # Kremnica Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = kremnica_mines_01 } - localization_key = building_kremnica_mines_01 + localization_key = kremnica_mines_01 } text = { # Kremnica Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = kremnica_mines_02 } - localization_key = building_kremnica_mines_02 + localization_key = kremnica_mines_02 } text = { # Kremnica Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = kremnica_mines_03 } - localization_key = building_kremnica_mines_03 + localization_key = kremnica_mines_03 } text = { # Kremnica Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = kremnica_mines_04 } - localization_key = building_kremnica_mines_04 + localization_key = kremnica_mines_04 } text = { # Zijinshan Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = zijinshan_mines_01 } - localization_key = building_zijinshan_mines_01 + localization_key = zijinshan_mines_01 } text = { # Zijinshan Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = zijinshan_mines_02 } - localization_key = building_zijinshan_mines_02 + localization_key = zijinshan_mines_02 } text = { # Zijinshan Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = zijinshan_mines_03 } - localization_key = building_zijinshan_mines_03 + localization_key = zijinshan_mines_03 } text = { # Zijinshan Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = zijinshan_mines_04 } - localization_key = building_zijinshan_mines_04 + localization_key = zijinshan_mines_04 } text = { # Hanxing Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = hanxing_mines_01 } - localization_key = building_hanxing_mines_01 + localization_key = hanxing_mines_01 } text = { # Hanxing Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = hanxing_mines_02 } - localization_key = building_hanxing_mines_02 + localization_key = hanxing_mines_02 } text = { # Hanxing Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = hanxing_mines_03 } - localization_key = building_hanxing_mines_03 + localization_key = hanxing_mines_03 } text = { # Hanxing Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = hanxing_mines_04 } - localization_key = building_hanxing_mines_04 + localization_key = hanxing_mines_04 } text = { # Jiaodong Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = jiaodong_mines_01 } - localization_key = building_jiaodong_mines_01 + localization_key = jiaodong_mines_01 } text = { # Jiaodong Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = jiaodong_mines_02 } - localization_key = building_jiaodong_mines_02 + localization_key = jiaodong_mines_02 } text = { # Jiaodong Mines 3 trigger = { #this = province:3814 # Turoc - has_special_building = yes + has_special_district = yes has_building = jiaodong_mines_03 } - localization_key = building_jiaodong_mines_03 + localization_key = jiaodong_mines_03 } text = { # Jiaodong Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = jiaodong_mines_04 } - localization_key = building_jiaodong_mines_04 + localization_key = jiaodong_mines_04 } text = { # Falun Mines 1 trigger = { #this = province:350 # Falun - has_special_building = yes + has_special_district = yes has_building = falun_mines_01 } - localization_key = building_falun_mines_01 + localization_key = falun_mines_01 } text = { # Falun Mines 2 trigger = { #this = province:350 # Falun - has_special_building = yes + has_special_district = yes has_building = falun_mines_02 } - localization_key = building_falun_mines_02 + localization_key = falun_mines_02 } text = { # Falun Mines 3 trigger = { #this = province:350 # Falun - has_special_building = yes + has_special_district = yes has_building = falun_mines_03 } - localization_key = building_falun_mines_03 + localization_key = falun_mines_03 } text = { # Falun Mines 4 trigger = { #this = province:350 # Falun - has_special_building = yes + has_special_district = yes has_building = falun_mines_04 } - localization_key = building_falun_mines_04 + localization_key = falun_mines_04 } text = { # Konasamudram Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = konasamudram_mines_01 } - localization_key = building_konasamudram_mines_01 + localization_key = konasamudram_mines_01 } text = { # Konasamudram Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = konasamudram_mines_02 } - localization_key = building_konasamudram_mines_02 + localization_key = konasamudram_mines_02 } text = { # Konasamudram Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = konasamudram_mines_03 } - localization_key = building_konasamudram_mines_03 + localization_key = konasamudram_mines_03 } text = { # Konasamudram Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = konasamudram_mines_04 } - localization_key = building_konasamudram_mines_04 + localization_key = konasamudram_mines_04 } text = { # Forest of Dean Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = dean_mines_01 } - localization_key = building_dean_mines_01 + localization_key = dean_mines_01 } text = { # Forest of Dean Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = dean_mines_02 } - localization_key = building_dean_mines_02 + localization_key = dean_mines_02 } text = { # Forest of Dean Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = dean_mines_03 } - localization_key = building_dean_mines_03 + localization_key = dean_mines_03 } text = { # Forest of Dean Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = dean_mines_04 } - localization_key = building_dean_mines_04 + localization_key = dean_mines_04 } text = { # Phnom Dek Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = phnom_dek_mines_01 } - localization_key = building_phnom_dek_mines_01 + localization_key = phnom_dek_mines_01 } text = { # Phnom Dek Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = phnom_dek_mines_02 } - localization_key = building_phnom_dek_mines_02 + localization_key = phnom_dek_mines_02 } text = { # Phnom Dek Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = phnom_dek_mines_03 } - localization_key = building_phnom_dek_mines_03 + localization_key = phnom_dek_mines_03 } text = { # Phnom Dek Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = phnom_dek_mines_04 } - localization_key = building_phnom_dek_mines_04 + localization_key = phnom_dek_mines_04 } text = { # Chihu Iron Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = chihu_mines_01 } - localization_key = building_chihu_mines_01 + localization_key = chihu_mines_01 } text = { # Chihu Iron Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = chihu_mines_02 } - localization_key = building_chihu_mines_02 + localization_key = chihu_mines_02 } text = { # Chihu Iron Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = chihu_mines_03 } - localization_key = building_chihu_mines_03 + localization_key = chihu_mines_03 } text = { # Chihu Iron Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = chihu_mines_04 } - localization_key = building_chihu_mines_04 + localization_key = chihu_mines_04 } text = { # Schwarz Mines 1 trigger = { #this = province:2950 # Innsbruck - has_special_building = yes + has_special_district = yes has_building = schwaz_mines_01 } - localization_key = building_schwaz_mines_01 + localization_key = schwaz_mines_01 } text = { # Schwarz Mines 2 trigger = { #this = province:2950 # Innsbruck - has_special_building = yes + has_special_district = yes has_building = schwaz_mines_02 } - localization_key = building_schwaz_mines_02 + localization_key = schwaz_mines_02 } text = { # Schwarz Mines 3 trigger = { #this = province:2950 # Innsbruck - has_special_building = yes + has_special_district = yes has_building = schwaz_mines_03 } - localization_key = building_schwaz_mines_03 + localization_key = schwaz_mines_03 } text = { # Schwarz Mines 4 trigger = { #this = province:2950 # Innsbruck - has_special_building = yes + has_special_district = yes has_building = schwaz_mines_04 } - localization_key = building_schwaz_mines_04 + localization_key = schwaz_mines_04 } text = { # Liangzhe Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = liangzhe_mines_01 } - localization_key = building_liangzhe_mines_01 + localization_key = liangzhe_mines_01 } text = { # Liangzhe Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = liangzhe_mines_02 } - localization_key = building_liangzhe_mines_02 + localization_key = liangzhe_mines_02 } text = { # Liangzhe Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = liangzhe_mines_03 } - localization_key = building_liangzhe_mines_04 + localization_key = liangzhe_mines_04 } text = { # Liangzhe Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = liangzhe_mines_04 } - localization_key = building_liangzhe_mines_04 + localization_key = liangzhe_mines_04 } text = { # Argentiera Mines 1 trigger = { #this = province:2653 # Cagliari - has_special_building = yes + has_special_district = yes has_building = argentiera_mines_01 } - localization_key = building_argentiera_mines_01 + localization_key = argentiera_mines_01 } text = { # Argentiera Mines 2 trigger = { #this = province:2653 # Cagliari - has_special_building = yes + has_special_district = yes has_building = argentiera_mines_02 } - localization_key = building_argentiera_mines_02 + localization_key = argentiera_mines_02 } text = { # Argentiera Mines 3 trigger = { #this = province:2653 # Cagliari - has_special_building = yes + has_special_district = yes has_building = argentiera_mines_03 } - localization_key = building_argentiera_mines_03 + localization_key = argentiera_mines_03 } text = { # Argentiera Mines 4 trigger = { #this = province:2653 # Cagliari - has_special_building = yes + has_special_district = yes has_building = argentiera_mines_04 } - localization_key = building_argentiera_mines_04 + localization_key = argentiera_mines_04 } text = { # Srebrenica Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = srebrenica_mines_01 } - localization_key = building_srebrenica_mines_01 + localization_key = srebrenica_mines_01 } text = { # Srebrenica Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = srebrenica_mines_02 } - localization_key = building_srebrenica_mines_02 + localization_key = srebrenica_mines_02 } text = { # Srebrenica Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = srebrenica_mines_03 } - localization_key = building_srebrenica_mines_03 + localization_key = srebrenica_mines_03 } text = { # Srebrenica Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = srebrenica_mines_04 } - localization_key = building_srebrenica_mines_04 + localization_key = srebrenica_mines_04 } text = { # Kollur Diamond Mines 1 trigger = { #this = province:7912 # Ellur - has_special_building = yes + has_special_district = yes has_building = kollur_mines_01 } - localization_key = building_kollur_mines_01 + localization_key = kollur_mines_01 } text = { # Kollur Diamond Mines 2 trigger = { #this = province:7912 # Ellur - has_special_building = yes + has_special_district = yes has_building = kollur_mines_02 } - localization_key = building_kollur_mines_02 + localization_key = kollur_mines_02 } text = { # Kollur Diamond Mines 3 trigger = { #this = province:7912 # Ellur - has_special_building = yes + has_special_district = yes has_building = kollur_mines_03 } - localization_key = building_kollur_mines_03 + localization_key = kollur_mines_03 } text = { # Kollur Diamond Mines 4 trigger = { #this = province:7912 # Ellur - has_special_building = yes + has_special_district = yes has_building = kollur_mines_04 } - localization_key = building_kollur_mines_04 + localization_key = kollur_mines_04 } text = { # Siderokausia Mines 1 trigger = { #this = province:491 # Polygyros - has_special_building = yes + has_special_district = yes has_building = siderokausia_mines_01 } - localization_key = building_siderokausia_mines_01 + localization_key = siderokausia_mines_01 } text = { # Siderokausia Mines 2 trigger = { #this = province:491 # Polygyros - has_special_building = yes + has_special_district = yes has_building = siderokausia_mines_02 } - localization_key = building_siderokausia_mines_02 + localization_key = siderokausia_mines_02 } text = { # Siderokausia Mines 3 trigger = { #this = province:491 # Polygyros - has_special_building = yes + has_special_district = yes has_building = siderokausia_mines_03 } - localization_key = building_siderokausia_mines_03 + localization_key = siderokausia_mines_03 } text = { # Siderokausia Mines 4 trigger = { #this = province:491 # Polygyros - has_special_building = yes + has_special_district = yes has_building = siderokausia_mines_04 } - localization_key = building_siderokausia_mines_04 + localization_key = siderokausia_mines_04 } text = { # Zawar Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = zawar_mines_01 } - localization_key = building_zawar_mines_01 + localization_key = zawar_mines_01 } text = { # Zawar Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = zawar_mines_02 } - localization_key = building_zawar_mines_02 + localization_key = zawar_mines_02 } text = { # SideZawarrokausia Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = zawar_mines_03 } - localization_key = building_zawar_mines_03 + localization_key = zawar_mines_03 } text = { # Zawar Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = zawar_mines_04 } - localization_key = building_zawar_mines_04 + localization_key = zawar_mines_04 } text = { # Pansjhir Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = pansjhir_mines_01 } - localization_key = building_pansjhir_mines_01 + localization_key = pansjhir_mines_01 } text = { # Pansjhir Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = pansjhir_mines_02 } - localization_key = building_pansjhir_mines_02 + localization_key = pansjhir_mines_02 } text = { # Pansjhir Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = pansjhir_mines_03 } - localization_key = building_pansjhir_mines_03 + localization_key = pansjhir_mines_03 } text = { # Pansjhir Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = pansjhir_mines_04 } - localization_key = building_pansjhir_mines_04 + localization_key = pansjhir_mines_04 } text = { # Nishapur Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = nishapur_mines_01 } - localization_key = building_nishapur_mines_01 + localization_key = nishapur_mines_01 } text = { # Nishapur Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = nishapur_mines_02 } - localization_key = building_nishapur_mines_02 + localization_key = nishapur_mines_02 } text = { # Nishapur Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = nishapur_mines_03 } - localization_key = building_nishapur_mines_03 + localization_key = nishapur_mines_03 } text = { # Nishapur Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = nishapur_mines_04 } - localization_key = building_nishapur_mines_04 + localization_key = nishapur_mines_04 } text = { # Ratnapura Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = ratnapura_mines_01 } - localization_key = building_ratnapura_mines_01 + localization_key = ratnapura_mines_01 } text = { # Ratnapura Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = ratnapura_mines_02 } - localization_key = building_ratnapura_mines_02 + localization_key = ratnapura_mines_02 } text = { # Ratnapura Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = ratnapura_mines_03 } - localization_key = building_ratnapura_mines_03 + localization_key = ratnapura_mines_03 } text = { # Ratnapura Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = ratnapura_mines_04 } - localization_key = building_ratnapura_mines_04 + localization_key = ratnapura_mines_04 } text = { # Mogok Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = mogok_mines_01 } - localization_key = building_mogok_mines_01 + localization_key = mogok_mines_01 } text = { # Mogok Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = mogok_mines_02 } - localization_key = building_mogok_mines_02 + localization_key = mogok_mines_02 } text = { # Mogok Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = mogok_mines_03 } - localization_key = building_mogok_mines_03 + localization_key = mogok_mines_03 } text = { # Mogok Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = mogok_mines_04 } - localization_key = building_mogok_mines_04 + localization_key = mogok_mines_04 } text = { # Wadi Al-Allaq Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = allaq_mines_01 } - localization_key = building_allaq_mines_01 + localization_key = allaq_mines_01 } text = { # Wadi Al-Allaq Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = allaq_mines_02 } - localization_key = building_allaq_mines_02 + localization_key = allaq_mines_02 } text = { # Wadi Al-Allaq Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = allaq_mines_03 } - localization_key = building_allaq_mines_03 + localization_key = allaq_mines_03 } text = { # Wadi Al-Allaq Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = allaq_mines_04 } - localization_key = building_allaq_mines_04 + localization_key = allaq_mines_04 } text = { # Takkeda Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = takkeda_mines_01 } - localization_key = building_takkeda_mines_01 + localization_key = takkeda_mines_01 } text = { # Takkeda Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = takkeda_mines_02 } - localization_key = building_takkeda_mines_02 + localization_key = takkeda_mines_02 } text = { # Takkeda Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = takkeda_mines_03 } - localization_key = building_takkeda_mines_03 + localization_key = takkeda_mines_03 } text = { # Takkeda Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = takkeda_mines_04 } - localization_key = building_takkeda_mines_04 + localization_key = takkeda_mines_04 } text = { # Turda Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = turda_mines_01 } - localization_key = building_turda_mines_01 + localization_key = turda_mines_01 } text = { # Turda Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = turda_mines_02 } - localization_key = building_turda_mines_02 + localization_key = turda_mines_02 } text = { # Turda Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = turda_mines_03 } - localization_key = building_turda_mines_03 + localization_key = turda_mines_03 } text = { # Turda Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = turda_mines_04 } - localization_key = building_turda_mines_04 + localization_key = turda_mines_04 + } + + text = { # Wieliczka Mines 1 + trigger = { + has_special_district = yes + has_building = wieliczka_mines_01 + } + localization_key = wieliczka_mines_01 + } + + text = { # Wieliczka Mines 2 + trigger = { + has_special_district = yes + has_building = wieliczka_mines_02 + } + localization_key = wieliczka_mines_02 + } + + text = { # Wieliczka Mines 3 + trigger = { + has_special_district = yes + has_building = wieliczka_mines_03 + } + localization_key = wieliczka_mines_03 + } + + text = { # Wieliczka Mines 4 + trigger = { + has_special_district = yes + has_building = wieliczka_mines_04 + } + localization_key = wieliczka_mines_04 } text = { # Zigong Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = zigong_mines_01 } - localization_key = building_zigong_mines_01 + localization_key = zigong_mines_01 } text = { # Zigong Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = zigong_mines_02 } - localization_key = building_zigong_mines_02 + localization_key = zigong_mines_02 } text = { # Zigong Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = zigong_mines_03 } - localization_key = building_zigong_mines_03 + localization_key = zigong_mines_03 } text = { # Zigong Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = zigong_mines_04 } - localization_key = building_zigong_mines_04 + localization_key = zigong_mines_04 } text = { # Taghaza Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = taghaza_mines_01 } - localization_key = building_taghaza_mines_01 + localization_key = taghaza_mines_01 } text = { # Taghaza Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = taghaza_mines_02 } - localization_key = building_taghaza_mines_02 + localization_key = taghaza_mines_02 } text = { # Taghaza Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = taghaza_mines_03 } - localization_key = building_taghaza_mines_03 + localization_key = taghaza_mines_03 } text = { # Taghaza Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = taghaza_mines_04 } - localization_key = building_taghaza_mines_04 + localization_key = taghaza_mines_04 } text = { # Phocaea Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = phocaea_mines_01 } - localization_key = building_phocaea_mines_01 + localization_key = phocaea_mines_01 } text = { # Phocaea Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = phocaea_mines_02 } - localization_key = building_phocaea_mines_02 + localization_key = phocaea_mines_02 } text = { # Phocaea Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = phocaea_mines_03 } - localization_key = building_phocaea_mines_03 + localization_key = phocaea_mines_03 } text = { # Phocaea Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = phocaea_mines_04 } - localization_key = building_phocaea_mines_04 + localization_key = phocaea_mines_04 } text = { # Verespatak Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = verespatak_mines_01 } - localization_key = building_verespatak_mines_01 + localization_key = verespatak_mines_01 } text = { # Verespatak Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = verespatak_mines_02 } - localization_key = building_verespatak_mines_02 + localization_key = verespatak_mines_02 } text = { # Verespatak Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = verespatak_mines_03 } - localization_key = building_verespatak_mines_03 + localization_key = verespatak_mines_03 } text = { # Verespatak Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = verespatak_mines_04 } - localization_key = building_verespatak_mines_04 + localization_key = verespatak_mines_04 } text = { # Suvarnadvipa Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = suvarnadvipa_mines_01 } - localization_key = building_suvarnadvipa_mines_01 + localization_key = suvarnadvipa_mines_01 } text = { # Suvarnadvipa Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = suvarnadvipa_mines_02 } - localization_key = building_suvarnadvipa_mines_02 + localization_key = suvarnadvipa_mines_02 } text = { # Suvarnadvipa Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = suvarnadvipa_mines_03 } - localization_key = building_suvarnadvipa_mines_03 + localization_key = suvarnadvipa_mines_03 } text = { # Suvarnadvipa Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = suvarnadvipa_mines_04 } - localization_key = building_suvarnadvipa_mines_04 + localization_key = suvarnadvipa_mines_04 } text = { # Khetri Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = khetri_mines_01 } - localization_key = building_khetri_mines_01 + localization_key = khetri_mines_01 } text = { # Khetri Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = khetri_mines_02 } - localization_key = building_khetri_mines_02 + localization_key = khetri_mines_02 } text = { # Khetri Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = khetri_mines_03 } - localization_key = building_khetri_mines_03 + localization_key = khetri_mines_03 } text = { # Khetri Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = khetri_mines_04 } - localization_key = building_khetri_mines_04 + localization_key = khetri_mines_04 } text = { # Trepca Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = trepca_mines_01 } - localization_key = building_trepca_mines_01 + localization_key = trepca_mines_01 } text = { # Trepca Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = trepca_mines_02 } - localization_key = building_trepca_mines_02 + localization_key = trepca_mines_02 } text = { # Trepca Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = trepca_mines_03 } - localization_key = building_trepca_mines_03 + localization_key = trepca_mines_03 } text = { # Trepca Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = trepca_mines_04 } - localization_key = building_trepca_mines_04 + localization_key = trepca_mines_04 } text = { # Rudnik Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = rudnik_mines_01 } - localization_key = building_rudnik_mines_01 + localization_key = rudnik_mines_01 } text = { # Rudnik Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = rudnik_mines_02 } - localization_key = building_rudnik_mines_02 + localization_key = rudnik_mines_02 } text = { # Rudnik Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = rudnik_mines_03 } - localization_key = building_rudnik_mines_03 + localization_key = rudnik_mines_03 } text = { # Rudnik Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = rudnik_mines_04 } - localization_key = building_rudnik_mines_04 + localization_key = rudnik_mines_04 } text = { # Ijil Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = ijil_mines_01 } - localization_key = building_ijil_mines_01 + localization_key = ijil_mines_01 } text = { # Ijil Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = ijil_mines_02 } - localization_key = building_ijil_mines_02 + localization_key = ijil_mines_02 } text = { # Ijil Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = ijil_mines_03 } - localization_key = building_ijil_mines_03 + localization_key = ijil_mines_03 } text = { # Ijil Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = ijil_mines_04 } - localization_key = building_ijil_mines_04 + localization_key = ijil_mines_04 } text = { # Cevennes Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = cevennes_mines_01 } - localization_key = building_cevennes_mines_01 + localization_key = cevennes_mines_01 } text = { # Cevennes Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = cevennes_mines_02 } - localization_key = building_cevennes_mines_02 + localization_key = cevennes_mines_02 } text = { # Cevennes Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = cevennes_mines_03 } - localization_key = building_cevennes_mines_03 + localization_key = cevennes_mines_03 } text = { # Cevennes Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = cevennes_mines_04 } - localization_key = building_cevennes_mines_04 + localization_key = cevennes_mines_04 } text = { # Guiyang Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = guiyang_mines_01 } - localization_key = building_guiyang_mines_01 + localization_key = guiyang_mines_01 } text = { # Guiyang Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = guiyang_mines_02 } - localization_key = building_guiyang_mines_02 + localization_key = guiyang_mines_02 } text = { # Guiyang Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = guiyang_mines_03 } - localization_key = building_guiyang_mines_03 + localization_key = guiyang_mines_03 } text = { # Guiyang Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = guiyang_mines_04 } - localization_key = building_guiyang_mines_04 + localization_key = guiyang_mines_04 } text = { # Kaibao Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = kaibao_mines_01 } - localization_key = building_kaibao_mines_01 + localization_key = kaibao_mines_01 } text = { # Kaibao Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = kaibao_mines_02 } - localization_key = building_kaibao_mines_02 + localization_key = kaibao_mines_02 } text = { # Kaibao Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = kaibao_mines_03 } - localization_key = building_kaibao_mines_03 + localization_key = kaibao_mines_03 } text = { # Kaibao Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = kaibao_mines_04 } - localization_key = building_kaibao_mines_04 + localization_key = kaibao_mines_04 } text = { # Khotan Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = hetian_mines_01 } - localization_key = building_hetian_mines_01 + localization_key = hetian_mines_01 } text = { # Khotan Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = hetian_mines_02 } - localization_key = building_hetian_mines_02 + localization_key = hetian_mines_02 } text = { # Khotan Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = hetian_mines_03 } - localization_key = building_hetian_mines_03 + localization_key = hetian_mines_03 } text = { # Khotan Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = hetian_mines_04 } - localization_key = building_hetian_mines_04 + localization_key = hetian_mines_04 } text = { # Dushan Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = dushan_mines_01 } - localization_key = building_hetian_mines_01 + localization_key = hetian_mines_01 } text = { # Dushan Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = dushan_mines_02 } - localization_key = building_dushan_mines_02 + localization_key = dushan_mines_02 } text = { # Dushan Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = hetian_mines_03 } - localization_key = building_dushan_mines_03 + localization_key = dushan_mines_03 } text = { # Dushan Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = dushan_mines_04 } - localization_key = building_dushan_mines_04 + localization_key = dushan_mines_04 } text = { # Xiuyan Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = xiuyan_mines_01 } - localization_key = building_xiuyan_mines_01 + localization_key = xiuyan_mines_01 } text = { # Xiuyan Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = xiuyan_mines_02 } - localization_key = building_xiuyan_mines_02 + localization_key = xiuyan_mines_02 } text = { # Xiuyan Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = xiuyan_mines_03 } - localization_key = building_xiuyan_mines_03 + localization_key = xiuyan_mines_03 } text = { # Xiuyan Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = xiuyan_mines_04 } - localization_key = building_xiuyan_mines_04 + localization_key = xiuyan_mines_04 } text = { # Itoigawa Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = itoigawa_mines_01 } - localization_key = building_itoigawa_mines_01 + localization_key = itoigawa_mines_01 } text = { # Itoigawa Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = itoigawa_mines_02 } - localization_key = building_itoigawa_mines_02 + localization_key = itoigawa_mines_02 } text = { # Itoigawa Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = itoigawa_mines_03 } - localization_key = building_itoigawa_mines_03 + localization_key = itoigawa_mines_03 } text = { # Itoigawa Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = itoigawa_mines_04 } - localization_key = building_itoigawa_mines_04 + localization_key = itoigawa_mines_04 } text = { # Lantian Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = lantian_mines_01 } - localization_key = building_lantian_mines_01 + localization_key = lantian_mines_01 } text = { # Lantian Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = lantian_mines_02 } - localization_key = building_lantian_mines_02 + localization_key = lantian_mines_02 } text = { # Lantian Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = lantian_mines_03 } - localization_key = building_lantian_mines_03 + localization_key = lantian_mines_03 } text = { # Lantian Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = lantian_mines_04 } - localization_key = building_lantian_mines_04 + localization_key = lantian_mines_04 } text = { # Fengtian Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = fengtian_mines_01 } - localization_key = building_fengtian_mines_01 + localization_key = fengtian_mines_01 } text = { # Fengtian Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = fengtian_mines_02 } - localization_key = building_fengtian_mines_02 + localization_key = fengtian_mines_02 } text = { # Fengtian Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = fengtian_mines_03 } - localization_key = building_fengtian_mines_03 + localization_key = fengtian_mines_03 } text = { # Hpakant Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = hpakant_mines_01 } - localization_key = building_hpakant_mines_01 + localization_key = hpakant_mines_01 } text = { # Hpakant Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = hpakant_mines_02 } - localization_key = building_hpakant_mines_02 + localization_key = hpakant_mines_02 } text = { # Hpakant Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = hpakant_mines_03 } - localization_key = building_hpakant_mines_03 + localization_key = hpakant_mines_03 } text = { # Hpakant Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = hpakant_mines_04 } - localization_key = building_hpakant_mines_04 + localization_key = hpakant_mines_04 } text = { # Malinese Gold Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = mali_mines_01 } - localization_key = building_mali_mines_01 + localization_key = mali_mines_01 } text = { # Malinese Gold Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = mali_mines_02 } - localization_key = building_mali_mines_02 + localization_key = mali_mines_02 } text = { # Malinese Gold Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = mali_mines_03 } - localization_key = building_mali_mines_03 + localization_key = mali_mines_03 } text = { # Malinese Gold Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = mali_mines_04 } - localization_key = building_mali_mines_04 + localization_key = mali_mines_04 } text = { # Hall of Heroes 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = hall_of_heroes_01 } - localization_key = building_hall_of_heroes_01 + localization_key = hall_of_heroes_01 } text = { # Hall of Heroes 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = hall_of_heroes_02 } - localization_key = building_hall_of_heroes_02 + localization_key = hall_of_heroes_02 } text = { # Hall of Heroes 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = hall_of_heroes_03 } - localization_key = building_hall_of_heroes_03 + localization_key = hall_of_heroes_03 } text = { # Hall of Heroes 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = hall_of_heroes_04 } - localization_key = building_hall_of_heroes_04 + localization_key = hall_of_heroes_04 } text = { # Hall of Heroes 5 trigger = { - has_special_building = yes + has_special_district = yes has_building = hall_of_heroes_05 } - localization_key = building_hall_of_heroes_05 + localization_key = hall_of_heroes_05 } text = { # Drassanes trigger = { - has_special_building = yes + has_special_district = yes has_building = drassanes_01 } - localization_key = building_drassanes_01 + localization_key = drassanes_01 } text = { # Wallss of York trigger = { - has_special_building = yes + has_special_district = yes has_building = york_walls_01 } - localization_key = building_york_walls_01 + localization_key = york_walls_01 } text = { # Great Mosque of Damascus trigger = { - has_special_building = yes + has_special_district = yes has_building = damascus_mosque_01 } - localization_key = building_damascus_mosque_01 + localization_key = damascus_mosque_01 } text = { # Jokhang Temple trigger = { - has_special_building = yes + has_special_district = yes has_building = jokhang_01 } - localization_key = building_jokhang_01 + localization_key = jokhang_01 } text = { # Wartburg trigger = { - has_special_building = yes + has_special_district = yes has_building = wartburg_01 } - localization_key = building_wartburg_01 + localization_key = wartburg_01 } text = { # Beta Giyorgis trigger = { - has_special_building = yes + has_special_district = yes has_building = beta_giyorgis_01 } - localization_key = building_beta_giyorgis_01 + localization_key = beta_giyorgis_01 } text = { # Holy Wisdom of God Cathedral trigger = { - has_special_building = yes + has_special_district = yes has_building = holy_wisdom_01 } - localization_key = building_holy_wisdom_01 + localization_key = holy_wisdom_01 } text = { # Santa Reparata trigger = { - has_special_building = yes + has_special_district = yes has_building = duomo_florence_01 } - localization_key = building_duomo_florence_01 + localization_key = duomo_florence_01 } text = { # St John Baptistery trigger = { - has_special_building = yes + has_special_district = yes has_building = duomo_florence_02 } - localization_key = building_duomo_florence_02 + localization_key = duomo_florence_02 } text = { # Santa Maria del Fiore trigger = { - has_special_building = yes + has_special_district = yes OR = { has_building = duomo_florence_03 has_building = duomo_florence_04 } } - localization_key = building_duomo_florence_03 + localization_key = duomo_florence_03 } text = { # Konark Sun Temple trigger = { - has_special_building = yes + has_special_district = yes has_building = konark_temple_01 } - localization_key = building_konark_temple_01 + localization_key = konark_temple_01 } text = { # Kairouan Basins trigger = { - has_special_building = yes + has_special_district = yes has_building = kairouan_basins_01 } - localization_key = building_kairouan_basins_01 + localization_key = kairouan_basins_01 } text = { # Ghana Palace trigger = { - has_special_building = yes + has_special_district = yes has_building = ghana_palace_01 } - localization_key = building_ghana_palace_01 + localization_key = ghana_palace_01 } text = { # Visegrad Castle trigger = { - has_special_building = yes + has_special_district = yes has_building = visegrad_castle_01 } - localization_key = building_visegrad_castle_01 + localization_key = visegrad_castle_01 } text = { # Archcollegiate Church of St. Mary and St. Alexius in Tum trigger = { - has_special_building = yes + has_special_district = yes OR = { has_building = wawel_cathedral_01 has_building = wawel_cathedral_02 has_building = wawel_cathedral_03 } } - localization_key = building_wawel_cathedral_01 + localization_key = wawel_cathedral_01 } text = { # Vatapi Caves trigger = { - has_special_building = yes + has_special_district = yes has_building = vatapi_caves_01 } - localization_key = building_vatapi_caves_01 + localization_key = vatapi_caves_01 } text = { # Golden Fort of Jaisalmer trigger = { - has_special_building = yes + has_special_district = yes has_building = jaisalmer_fort_01 } - localization_key = building_jaisalmer_fort_01 + localization_key = jaisalmer_fort_01 } text = { # Koganeyama Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = koganeyama_mines_01 } - localization_key = building_koganeyama_mines_01 + localization_key = koganeyama_mines_01 } text = { # Koganeyama Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = koganeyama_mines_02 } - localization_key = building_koganeyama_mines_02 + localization_key = koganeyama_mines_02 } text = { # Koganeyama Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = koganeyama_mines_03 } - localization_key = building_koganeyama_mines_03 + localization_key = koganeyama_mines_03 } text = { # Koganeyama Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = koganeyama_mines_04 } - localization_key = building_koganeyama_mines_04 + localization_key = koganeyama_mines_04 } text = { # Tsushima Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = tsushima_mines_01 } - localization_key = building_tsushima_mines_01 + localization_key = tsushima_mines_01 } text = { # Tsushima Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = tsushima_mines_02 } - localization_key = building_tsushima_mines_02 + localization_key = tsushima_mines_02 } text = { # Tsushima Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = tsushima_mines_03 } - localization_key = building_tsushima_mines_03 + localization_key = tsushima_mines_03 } text = { # Tsushima Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = tsushima_mines_04 } - localization_key = building_tsushima_mines_04 + localization_key = tsushima_mines_04 } text = { # Sado Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = sado_mines_01 } - localization_key = building_sado_mines_01 + localization_key = sado_mines_01 } text = { # Sado Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = sado_mines_02 } - localization_key = building_sado_mines_02 + localization_key = sado_mines_02 } text = { # Sado Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = sado_mines_03 } - localization_key = building_sado_mines_03 + localization_key = sado_mines_03 } text = { # Sado Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = sado_mines_04 } - localization_key = building_sado_mines_04 + localization_key = sado_mines_04 } text = { # Tada Mines 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = tada_mines_01 } - localization_key = building_tada_mines_01 + localization_key = tada_mines_01 } text = { # Tada Mines 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = tada_mines_02 } - localization_key = building_tada_mines_02 + localization_key = tada_mines_02 } text = { # Tada Mines 3 trigger = { - has_special_building = yes + has_special_district = yes has_building = tada_mines_03 } - localization_key = building_tada_mines_03 + localization_key = tada_mines_03 } text = { # Tada Mines 4 trigger = { - has_special_building = yes + has_special_district = yes has_building = tada_mines_04 } - localization_key = building_tada_mines_04 + localization_key = tada_mines_04 } ### UNIVERSITIES text = { # Generic University trigger = { - has_special_building = yes + has_special_district = yes has_building = generic_university } - localization_key = building_generic_university + localization_key = generic_university } text = { # Al Azhar University trigger = { - has_special_building = yes + has_special_district = yes has_building = al_azhar_university } - localization_key = building_al_azhar_university + localization_key = al_azhar_university } text = { # Sankore University trigger = { - has_special_building = yes + has_special_district = yes has_building = sankore_university } - localization_key = building_sankore_university + localization_key = sankore_university } text = { # Siena University trigger = { - has_special_building = yes + has_special_district = yes has_building = siena_university } - localization_key = building_siena_university + localization_key = siena_university } text = { # Nalanda University trigger = { - has_special_building = yes + has_special_district = yes has_building = nalanda_university } - localization_key = building_nalanda_university + localization_key = nalanda_university } text = { # Nalanda University trigger = { - has_special_building = yes + has_special_district = yes has_building = nalanda_university } - localization_key = building_nalanda_university + localization_key = nalanda_university } text = { # Somapura University trigger = { - has_special_building = yes + has_special_district = yes has_building = nalanda_university } - localization_key = building_somapura_university_01 + localization_key = somapura_university_01 } text = { # Somapura University trigger = { - has_special_building = yes + has_special_district = yes OR = { has_building = cluny_abbey_01 has_building = cluny_abbey_02 } } - localization_key = building_cluny_abbey_01 + localization_key = cluny_abbey_01 } text = { # Abbey of St Gall trigger = { - has_special_building = yes + has_special_district = yes has_building = pam_abbey_of_st_gall_01 } - localization_key = building_pam_abbey_of_st_gall_01 + localization_key = pam_abbey_of_st_gall_01 } text = { # Palais des Papes trigger = { - has_special_building = yes + has_special_district = yes has_building = pam_palais_de_papes_01 } - localization_key = building_pam_palais_de_papes_01 + localization_key = pam_palais_de_papes_01 } text = { # Archbasilica of Saint John Lateran trigger = { - has_special_building = yes + has_special_district = yes has_building = pam_lateran_basilica_01 } - localization_key = building_pam_lateran_basilica_01 + localization_key = pam_lateran_basilica_01 } text = { # Reims Cathedral trigger = { - has_special_building = yes + has_special_district = yes has_building = pam_reims_cathedral_01 } - localization_key = building_pam_reims_cathedral_01 + localization_key = pam_reims_cathedral_01 } #Al qarawiyyin University text = { trigger = { - has_special_building = yes + has_special_district = yes has_building = al_qarawiyyin_university_01 } - localization_key = building_al_qarawiyyin_university_01 + localization_key = al_qarawiyyin_university_01 } @@ -2499,789 +2571,789 @@ GetSpecialBuildingNameFromProvince = { text = { # Sicilian Parliament trigger = { - has_special_building = yes + has_special_district = yes has_building = special_sicilian_parliament_01 } - localization_key = building_special_sicilian_parliament_01 + localization_key = special_sicilian_parliament_01 } text = { # Greenhouse trigger = { - has_special_building = yes + has_special_district = yes has_building = special_greenhouse_01 } - localization_key = building_special_greenhouse_01 + localization_key = special_greenhouse_01 } text = { # Hotin Fortress 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = hotin_fort_01 #this = province:5040 } - localization_key = building_hotin_fort_01 + localization_key = hotin_fort_01 } text = { # Hotin Fortress 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = hotin_fort_02 #this = province:5040 } - localization_key = building_hotin_fort_02 + localization_key = hotin_fort_02 } text = { # Heddal Stave Church trigger = { - has_special_building = yes + has_special_district = yes has_building = heddal_stave_church_01 #this = province:286 # Tunsberg } - localization_key = building_heddal_stave_church_01 + localization_key = heddal_stave_church_01 } text = { # Temple of Uppsala 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = temple_of_uppsala_01 #this = province:341 # Sigtuna } - localization_key = building_temple_of_uppsala_01 + localization_key = temple_of_uppsala_01 } text = { # Temple of Uppsala 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = temple_of_uppsala_02 #this = province:341 # Sigtuna } - localization_key = building_temple_of_uppsala_02 + localization_key = temple_of_uppsala_02 } text = { # Lund Cathedral trigger = { - has_special_building = yes + has_special_district = yes has_building = lund_cathedral_01 #this = province:70 # Lund } - localization_key = building_lund_cathedral_01 + localization_key = lund_cathedral_01 } text = { # Danevirke trigger = { - has_special_building = yes + has_special_district = yes has_building = danevirke_01 #this = province:62 # Hedeby } - localization_key = building_danevirke_01 + localization_key = danevirke_01 } text = { # Roman Wall of Lugo trigger = { - has_special_building = yes + has_special_district = yes has_building = roman_wall_of_lugo_01 #this = province:1792 # Lugo } - localization_key = building_roman_wall_of_lugo_01 + localization_key = roman_wall_of_lugo_01 } text = { # Gibraltar trigger = { - has_special_building = yes + has_special_district = yes has_building = rock_of_gibraltar_01 #this = province:1845 # Algeciras } - localization_key = building_rock_of_gibraltar_01 + localization_key = rock_of_gibraltar_01 } text = { # Gibraltar trigger = { - has_special_building = yes + has_special_district = yes has_building = aljaferia_palace_01 #this = province:1887 # Zaragoza } - localization_key = building_aljaferia_palace_01 + localization_key = aljaferia_palace_01 } text = { # Tower of Hercules trigger = { - has_special_building = yes + has_special_district = yes has_building = tower_of_hercules_01 #this = province:1787 # Coruna } - localization_key = building_tower_of_hercules_01 + localization_key = tower_of_hercules_01 } text = { # City Walls of Toledo trigger = { - has_special_building = yes + has_special_district = yes has_building = city_wall_of_toledo_01 #this = province:1919 # Toledo } - localization_key = building_city_wall_of_toledo_01 + localization_key = city_wall_of_toledo_01 } text = { # Alcazar of Segovia trigger = { - has_special_building = yes + has_special_district = yes has_building = alcazar_of_segovia_01 #this = province:1924 # Segovia } - localization_key = building_alcazar_of_segovia_01 + localization_key = alcazar_of_segovia_01 } text = { # Basilica Santiago trigger = { - has_special_building = yes + has_special_district = yes has_building = holy_site_basilica_santiago_01 #this = province:1785 # Santiago } - localization_key = building_holy_site_basilica_santiago_01 + localization_key = holy_site_basilica_santiago_01 } text = { # Cilician Gates trigger = { - has_special_building = yes + has_special_district = yes has_building = cilician_gates } - localization_key = building_cilician_gates + localization_key = cilician_gates } text = { # Fairy Chimneys trigger = { - has_special_building = yes + has_special_district = yes has_building = fairy_chimneys } - localization_key = building_fairy_chimneys + localization_key = fairy_chimneys } text = { # Church of Saint Sophia, Ohrid trigger = { - has_special_building = yes + has_special_district = yes has_building = sofia_ohrid } - localization_key = building_sofia_ohrid + localization_key = sofia_ohrid } text = { # Hosios Loukas trigger = { - has_special_building = yes + has_special_district = yes has_building = hosios_loukas } - localization_key = building_hosios_loukas + localization_key = hosios_loukas } text = { # Cattolica di Stilo trigger = { - has_special_building = yes + has_special_district = yes has_building = cattolica_stilo } - localization_key = building_cattolica_stilo + localization_key = cattolica_stilo } text = { # Etchmiadzin Cathedral trigger = { - has_special_building = yes + has_special_district = yes has_building = etchmiadzin_cathedral } - localization_key = building_etchmiadzin_cathedral + localization_key = etchmiadzin_cathedral } text = { # Jvari Monastery trigger = { - has_special_building = yes + has_special_district = yes has_building = jvari_monastery } - localization_key = building_jvari_monastery + localization_key = jvari_monastery } text = { # Saint Chatherine's Monastery trigger = { - has_special_building = yes + has_special_district = yes has_building = saint_catherine } - localization_key = building_saint_catherine + localization_key = saint_catherine } text = { # Sant'Apollinare Nuovo trigger = { - has_special_building = yes + has_special_district = yes has_building = apollinare_nuovo } - localization_key = building_apollinare_nuovo + localization_key = apollinare_nuovo } text = { # Mt. Athos trigger = { - has_special_building = yes + has_special_district = yes OR = { has_building = mount_athos_01 has_building = mount_athos_02 has_building = mount_athos_03 } } - localization_key = building_mount_athos_01 + localization_key = mount_athos_01 } text = { # Meteora trigger = { - has_special_building = yes + has_special_district = yes OR = { has_building = meteora_01 has_building = meteora_02 } } - localization_key = building_meteora_01 + localization_key = meteora_01 } text = { # Despots' Palace at Mystras trigger = { - has_special_building = yes + has_special_district = yes has_building = despot_palace } - localization_key = building_despot_palace + localization_key = despot_palace } text = { # Maiden's Tower trigger = { - has_special_building = yes + has_special_district = yes has_building = maiden_tower } - localization_key = building_maiden_tower + localization_key = maiden_tower } text = { # Patras Castle trigger = { - has_special_building = yes + has_special_district = yes has_building = patras_castle } - localization_key = building_patras_castle + localization_key = patras_castle } text = { # Sumela Monastery trigger = { - has_special_building = yes + has_special_district = yes OR = { has_building = sumela_monastery_01 has_building = sumela_monastery_02 } } - localization_key = building_sumela_monastery_01 + localization_key = sumela_monastery_01 } text = { # Church of St. Lazarus trigger = { - has_special_building = yes + has_special_district = yes has_building = saint_lazarus } - localization_key = building_saint_lazarus + localization_key = saint_lazarus } text = { # Kassiopi Castle trigger = { - has_special_building = yes + has_special_district = yes has_building = kassiopi_castle } - localization_key = building_kassiopi_castle + localization_key = kassiopi_castle } text = { # Hagios Demetrios trigger = { - has_special_building = yes + has_special_district = yes has_building = hagios_demetrios } - localization_key = building_hagios_demetrios + localization_key = hagios_demetrios } text = { # Church of the Theotokos trigger = { - has_special_building = yes + has_special_district = yes has_building = church_of_the_theotokos } - localization_key = building_church_of_the_theotokos + localization_key = church_of_the_theotokos } text = { # Parthenon trigger = { - has_special_building = yes + has_special_district = yes has_building = parthenon } - localization_key = building_parthenon + localization_key = parthenon } text = { # Sancutary of Imam Reza trigger = { - has_special_building = yes + has_special_district = yes has_building = imam_reza_shrine_01 #this = province:4012 # Tus } - localization_key = building_imam_reza_shrine_01 + localization_key = imam_reza_shrine_01 } text = { # Dome of Soltaniyeh trigger = { - has_special_building = yes + has_special_district = yes has_building = soltaniyeh_01 #this = province:4325 # Zanjan } - localization_key = building_soltaniyeh_01 + localization_key = soltaniyeh_01 } text = { # Ruins of the Palace of Ctesiphon 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = palace_of_ctesiphon_01 #this = province:4796 # An-Nahrawan } - localization_key = building_palace_of_ctesiphon_01 + localization_key = palace_of_ctesiphon_01 } text = { # Ruins of the Palace of Ctesiphon 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = palace_of_ctesiphon_02 #this = province:4796 # An-Nahrawan } - localization_key = building_palace_of_ctesiphon_02 + localization_key = palace_of_ctesiphon_02 } text = { # Falak-ol-Aflak trigger = { - has_special_building = yes + has_special_district = yes has_building = falak_ol_aflak_citadel_01 #this = province:4261 # Saburkhawasht #actually Khorramabad, Saburkhawasht or Shapurkhast } - localization_key = building_falak_ol_aflak_citadel_01 + localization_key = falak_ol_aflak_citadel_01 } text = { # Minarets of Jam trigger = { - has_special_building = yes + has_special_district = yes has_building = minarets_and_remains_of_jam_01 #this = province:4225 # Firuzkuh #AKA Chagcharan } - localization_key = building_minarets_and_remains_of_jam_01 + localization_key = minarets_and_remains_of_jam_01 } text = { # Great Wall of Gorgan trigger = { - has_special_building = yes + has_special_district = yes has_building = great_wall_of_gorgan_01 #this = province:4030 # Bakrabad and 4031 #Abaskun } - localization_key = building_great_wall_of_gorgan_01 + localization_key = great_wall_of_gorgan_01 } text = { # Lake Maharloo trigger = { - has_special_building = yes + has_special_district = yes has_building = maharloo_lake_01 #this = province:4177 # Shiraz-farsi } - localization_key = building_maharloo_lake_01 + localization_key = maharloo_lake_01 } text = { # Rainbow Mountains trigger = { - has_special_building = yes + has_special_district = yes has_building = rainbow_mountains_01 #this = province:4540 # Ahar } - localization_key = building_rainbow_mountains_01 + localization_key = rainbow_mountains_01 } text = { # Mount Damavand trigger = { - has_special_building = yes + has_special_district = yes has_building = mount_damavand_01 #this = province:4316 # Firrim } - localization_key = building_mount_damavand_01 + localization_key = mount_damavand_01 } text = { # Tomb of Batsheba trigger = { - has_special_building = yes + has_special_district = yes has_building = tomb_of_cyrus_01 #this = province:4118 # Istakhr } - localization_key = building_tomb_of_cyrus_01 + localization_key = tomb_of_cyrus_01 } text = { # Ark of Bukhara trigger = { - has_special_building = yes + has_special_district = yes has_building = ark_of_bukhara_01 #this = province:4394 # Bukhara } - localization_key = building_ark_of_bukhara_01 + localization_key = ark_of_bukhara_01 } text = { # Shah-i-Zinda 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = shah_i_zinda_01 #this = province:4404 # Samarqand / Samarkand } - localization_key = building_shah_i_zinda_01 + localization_key = shah_i_zinda_01 } text = { # Shah-i-Zinda 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = shah_i_zinda_02 #this = province:4404 # Samarqand / Samarkand } - localization_key = building_shah_i_zinda_02 + localization_key = shah_i_zinda_02 } text = { # Alamut Castle 1 trigger = { - has_special_building = yes + has_special_district = yes has_building = alamut_castle_01 #this = province:4323 # Qazwin / Qazvin } - localization_key = building_alamut_castle_01 + localization_key = alamut_castle_01 } text = { # Alamut Castle 2 trigger = { - has_special_building = yes + has_special_district = yes has_building = alamut_castle_02 #this = province:4323 # Qazwin / Qazvin } - localization_key = building_alamut_castle_02 + localization_key = alamut_castle_02 } text = { # Generic Assassin's Fortress trigger = { - has_special_building = yes + has_special_district = yes has_building = assassin_castle_01 #this = province:any_mountain_or_desertmountain_province } - localization_key = building_assassin_castle_01 + localization_key = assassin_castle_01 } text = { # Event Tower of Silence (typically a duchy building, this is a special for FP3 events) trigger = { - has_special_building = yes + has_special_district = yes has_building = event_tower_of_silence_01 #this = province:any_zoroastrian_faith } - localization_key = building_event_tower_of_silence_01 + localization_key = event_tower_of_silence_01 } text = { # Mount Fuji trigger = { - has_special_building = yes + has_special_district = yes has_building = mount_fuji_01 } - localization_key = building_mount_fuji_01 + localization_key = mount_fuji_01 } text = { # Mount Baekdu trigger = { - has_special_building = yes + has_special_district = yes has_building = mount_baekdu_01 } - localization_key = building_mount_baekdu_01 + localization_key = mount_baekdu_01 } text = { # Angkor Wat trigger = { - has_special_building = yes + has_special_district = yes has_building = angkor_wat_01 } - localization_key = building_angkor_wat_01 + localization_key = angkor_wat_01 } text = { # Angkor Wat trigger = { - has_special_building = yes + has_special_district = yes has_building = temples_angkor_01 } - localization_key = building_temples_angkor_01 + localization_key = temples_angkor_01 } text = { # Angkor Wat trigger = { - has_special_building = yes + has_special_district = yes has_building = temples_angkor_02 } - localization_key = building_temples_angkor_02 + localization_key = temples_angkor_02 } text = { # Saint Peter's Basilica trigger = { - has_special_building = yes + has_special_district = yes has_building = holy_site_st_peters_basilica_01 } - localization_key = building_holy_site_st_peters_basilica_01 + localization_key = holy_site_st_peters_basilica_01 } text = { # Mont-Saint-Michel trigger = { - has_special_building = yes + has_special_district = yes has_building = mont_st_michel_01 } - localization_key = building_mont_st_michel_01 + localization_key = mont_st_michel_01 } text = { # Mont-Saint-Michel trigger = { - has_special_building = yes + has_special_district = yes has_building = mont_st_michel_02 } - localization_key = building_mont_st_michel_02 + localization_key = mont_st_michel_02 } text = { # Mont-Saint-Michel trigger = { - has_special_building = yes + has_special_district = yes has_building = mont_st_michel_03 } - localization_key = building_mont_st_michel_03 + localization_key = mont_st_michel_03 } text = { # Mont-Saint-Michel trigger = { - has_special_building = yes + has_special_district = yes has_building = mont_st_michel_04 } - localization_key = building_mont_st_michel_04 + localization_key = mont_st_michel_04 } text = { # Sanchi Stupa trigger = { - has_special_building = yes + has_special_district = yes has_building = sanchi_stupa_01 } - localization_key = building_sanchi_stupa_01 + localization_key = sanchi_stupa_01 } text = { # Boudhanath trigger = { - has_special_building = yes + has_special_district = yes has_building = boudhanath_01 } - localization_key = building_boudhanath_01 + localization_key = boudhanath_01 } text = { # Grand Mosque of Yazd trigger = { - has_special_building = yes + has_special_district = yes has_building = yazd_mosque_01 } - localization_key = building_yazd_mosque_01 + localization_key = yazd_mosque_01 } text = { # Qutb Minar trigger = { - has_special_building = yes + has_special_district = yes has_building = qutb_minar_01 } - localization_key = building_qutb_minar_01 + localization_key = qutb_minar_01 } text = { # Qutb Minar trigger = { - has_special_building = yes + has_special_district = yes has_building = qutb_minar_02 } - localization_key = building_qutb_minar_02 + localization_key = qutb_minar_02 } text = { # Qutb Minar trigger = { - has_special_building = yes + has_special_district = yes has_building = qutb_minar_03 } - localization_key = building_qutb_minar_03 + localization_key = qutb_minar_03 } text = { # Alai Minar trigger = { - has_special_building = yes + has_special_district = yes has_building = qutb_minar_04 } - localization_key = building_qutb_minar_04 + localization_key = qutb_minar_04 } text = { # Tomb of a Gogouryeo King trigger = { - has_special_building = yes + has_special_district = yes has_building = goguryeo_tomb_01 } - localization_key = building_goguryeo_tomb_01 + localization_key = goguryeo_tomb_01 } text = { # Great Buddha of Kamakura trigger = { - has_special_building = yes + has_special_district = yes has_building = buddha_kamakura_01 } - localization_key = building_buddha_kamakura_01 + localization_key = buddha_kamakura_01 } text = { # Lingapura Pyramid trigger = { - has_special_building = yes + has_special_district = yes has_building = pyramid_lingapura_01 } - localization_key = building_pyramid_lingapura_01 + localization_key = pyramid_lingapura_01 } text = { # Maijishan Grottoes trigger = { - has_special_building = yes + has_special_district = yes has_building = maijishan_grottoes_01 } - localization_key = building_maijishan_grottoes_01 + localization_key = maijishan_grottoes_01 } text = { # Three Pagodas of Dali trigger = { - has_special_building = yes + has_special_district = yes has_building = three_pagodas_dali_01 } - localization_key = building_three_pagodas_dali_01 + localization_key = three_pagodas_dali_01 } text = { # Iron Lion of Cangzhou trigger = { - has_special_building = yes + has_special_district = yes has_building = iron_lion_cangzhou_01 } - localization_key = building_iron_lion_cangzhou_01 + localization_key = iron_lion_cangzhou_01 } text = { # Gaocheng Observatory trigger = { - has_special_building = yes + has_special_district = yes has_building = dengfeng_observatory_01 } - localization_key = building_dengfeng_observatory_01 + localization_key = dengfeng_observatory_01 } text = { # Candi of Muara Takus trigger = { - has_special_building = yes + has_special_district = yes has_building = muara_takus_01 } - localization_key = building_muara_takus_01 + localization_key = muara_takus_01 } text = { # Stone Pagoda of Mireuksa trigger = { - has_special_building = yes + has_special_district = yes has_building = stone_pagoda_01 } - localization_key = building_stone_pagoda_01 + localization_key = stone_pagoda_01 } text = { # Thuriang Kilns trigger = { - has_special_building = yes + has_special_district = yes has_building = thuriang_kilns_01 } - localization_key = building_thuriang_kilns_01 + localization_key = thuriang_kilns_01 } text = { # Yuelu Academy trigger = { - has_special_building = yes + has_special_district = yes has_building = yuelu_academy_01 } - localization_key = building_yuelu_academy_01 + localization_key = yuelu_academy_01 } text = { # Chocolate Hills trigger = { - has_special_building = yes + has_special_district = yes has_building = chocolate_hills_01 } - localization_key = building_chocolate_hills_01 + localization_key = chocolate_hills_01 } text = { # Fanfang of Guangzhou trigger = { - has_special_building = yes + has_special_district = yes has_building = fanfang_guangzhou_01 } - localization_key = building_fanfang_guangzhou_01 + localization_key = fanfang_guangzhou_01 } text = { # Wilwatikta Palace trigger = { - has_special_building = yes + has_special_district = yes has_building = wilwatikta_palace_01 } - localization_key = building_wilwatikta_palace_01 + localization_key = wilwatikta_palace_01 } text = { # Ha Long Bay trigger = { - has_special_building = yes + has_special_district = yes has_building = ha_long_bay_01 } - localization_key = building_ha_long_bay_01 + localization_key = ha_long_bay_01 } text = { # My Son Sanctuary trigger = { - has_special_building = yes + has_special_district = yes has_building = my_son_sanctuary_01 } - localization_key = building_my_son_sanctuary_01 + localization_key = my_son_sanctuary_01 } text = { # Gunung Api trigger = { - has_special_building = yes + has_special_district = yes has_building = gunung_api_01 } - localization_key = building_gunung_api_01 + localization_key = gunung_api_01 } text = { # Sulawesi Megaliths trigger = { - has_special_building = yes + has_special_district = yes has_building = suwalesi_megaliths_01 } - localization_key = building_suwalesi_megaliths_01 + localization_key = suwalesi_megaliths_01 } text = { # Kizuki Taisha trigger = { - has_special_building = yes + has_special_district = yes has_building = izumo_taisha_01 } - localization_key = building_izumo_taisha_01 + localization_key = izumo_taisha_01 } text = { # Temple of Confucius trigger = { - has_special_building = yes + has_special_district = yes has_building = confucius_temple_01 } - localization_key = building_confucius_temple_01 + localization_key = confucius_temple_01 } text = { # Imperial Citadel of Lin'an trigger = { - has_special_building = yes + has_special_district = yes has_building = citadel_linan_01 } - localization_key = building_citadel_linan_01 + localization_key = citadel_linan_01 } text = { # Trosky Castle trigger = { - has_special_building = yes + has_special_district = yes has_building = trosky_castle_01 } - localization_key = building_trosky_castle_01 + localization_key = trosky_castle_01 } } diff --git a/common/customizable_localization/00_divinity_custom_loc.txt b/common/customizable_localization/00_divinity_custom_loc.txt index 495d45a1f..5444d4f94 100644 --- a/common/customizable_localization/00_divinity_custom_loc.txt +++ b/common/customizable_localization/00_divinity_custom_loc.txt @@ -774,25 +774,17 @@ GetActualBishopTitle = { # Zunism text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:zun_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_zunism_religion_kingdom } text = { trigger = { - highest_held_title_tier < tier_kingdom + liege.highest_held_title_tier < tier_kingdom faith.religion = faith:zun_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_zunism_religion_duchy } @@ -800,55 +792,39 @@ GetActualBishopTitle = { # Zoroastrianism text = { trigger = { - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = no fp3_custom_divinity_for_zoroastrianism_faiths = yes } localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom } text = { trigger = { - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = yes fp3_custom_divinity_for_zoroastrianism_faiths = yes } localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom_female } text = { trigger = { - highest_held_title_tier >= tier_duchy - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_duchy + is_female = no fp3_custom_divinity_for_zoroastrianism_faiths = yes } localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy } text = { trigger = { - highest_held_title_tier >= tier_duchy - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_duchy + is_female = yes fp3_custom_divinity_for_zoroastrianism_faiths = yes } localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy_female } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy fp3_custom_divinity_for_zoroastrianism_faiths = yes } localization_key = councillor_court_chaplain_zoroastrianism_religion_county @@ -864,22 +840,14 @@ GetActualBishopTitle = { text = { trigger = { faith.religion = faith:west_african_bori_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_west_african_bori_religion_duchy } text = { trigger = { faith.religion = faith:west_african_bori_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = yes } localization_key = councillor_court_chaplain_west_african_bori_religion_duchy_female } @@ -894,14 +862,14 @@ GetActualBishopTitle = { # Tengrism text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:tengri_pagan.religion } localization_key = councillor_court_chaplain_tengrism_religion_kingdom } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:tengri_pagan.religion } localization_key = councillor_court_chaplain_tengrism_religion_duchy @@ -910,39 +878,31 @@ GetActualBishopTitle = { #Taoism text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = religion:taoism_religion } localization_key = councillor_court_chaplain_taoism_religion_kingdom } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = religion:taoism_religion } localization_key = councillor_court_chaplain_taoism_religion_duchy } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = religion:taoism_religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_taoism_religion_county } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = religion:taoism_religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_taoism_religion_county_female } @@ -958,49 +918,33 @@ GetActualBishopTitle = { #Slavic text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:slavic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_slavic_religion_kingdom } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:slavic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_slavic_religion_kingdom_female } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:slavic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_slavic_religion_duchy } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:slavic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_slavic_religion_duchy_female } @@ -1008,36 +952,24 @@ GetActualBishopTitle = { #Baltic text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:baltic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_baltic_religion_duchy } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:baltic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_baltic_religion_duchy_female } text = { trigger = { - highest_held_title_tier < tier_duchy - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier < tier_duchy + is_female = no OR = { faith.religion = faith:baltic_pagan.religion faith.religion = faith:slavic_pagan.religion @@ -1049,12 +981,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier < tier_duchy - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier < tier_duchy + is_female = yes OR = { faith.religion = faith:baltic_pagan.religion faith.religion = faith:slavic_pagan.religion @@ -1076,28 +1004,28 @@ GetActualBishopTitle = { #Judaism text = { trigger = { - highest_held_title_tier >= tier_empire + liege.highest_held_title_tier >= tier_empire faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_empire } text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_kingdom } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_duchy } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_county @@ -1106,56 +1034,40 @@ GetActualBishopTitle = { #Hellenic text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:hellenic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_hellenism_religion_kingdom } text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:hellenic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_hellenism_religion_kingdom_female } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:hellenic_pagan.religion } localization_key = councillor_court_chaplain_hellenism_religion_duchy } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:hellenic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_hellenism_religion_county } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:hellenic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_hellenism_religion_county_female } @@ -1163,39 +1075,31 @@ GetActualBishopTitle = { #Norse text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:norse_pagan.religion } localization_key = councillor_court_chaplain_germanic_religion_kingdom } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:norse_pagan.religion } localization_key = councillor_court_chaplain_germanic_religion_duchy } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:norse_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_germanic_religion_county } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:norse_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_germanic_religion_county_female } @@ -1203,7 +1107,7 @@ GetActualBishopTitle = { #Dualism text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:manichaean_faith.religion } localization_key = councillor_court_chaplain_dualism_religion_county @@ -1212,7 +1116,7 @@ GetActualBishopTitle = { #Bon text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:bon_faith.religion } localization_key = councillor_court_chaplain_bon_religion_kingdom @@ -1221,7 +1125,7 @@ GetActualBishopTitle = { # Japanese Buddhism text = { trigger = { - culture = { has_cultural_pillar = language_japonic } + liege.culture = { has_cultural_pillar = language_japonic } religion = religion:buddhism_religion } localization_key = councillor_court_chaplain_japanese_buddhism_religion @@ -1230,8 +1134,8 @@ GetActualBishopTitle = { # Korean Buddhism text = { trigger = { - highest_held_title_tier = tier_county - culture = { + liege.highest_held_title_tier = tier_county + liege.culture = { OR = { has_cultural_pillar = heritage_korean has_cultural_pillar = heritage_buyeo @@ -1243,8 +1147,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier = tier_duchy - culture = { + liege.highest_held_title_tier = tier_duchy + liege.culture = { OR = { has_cultural_pillar = heritage_korean has_cultural_pillar = heritage_buyeo @@ -1256,8 +1160,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier = tier_kingdom - culture = { + liege.highest_held_title_tier = tier_kingdom + liege.culture = { OR = { has_cultural_pillar = heritage_korean has_cultural_pillar = heritage_buyeo @@ -1275,8 +1179,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier = tier_kingdom - culture = { + liege.highest_held_title_tier = tier_kingdom + liege.culture = { OR = { has_cultural_pillar = heritage_korean has_cultural_pillar = heritage_buyeo @@ -1288,8 +1192,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_empire - culture = { + liege.highest_held_title_tier >= tier_empire + liege.culture = { OR = { has_cultural_pillar = heritage_korean has_cultural_pillar = heritage_buyeo @@ -1307,8 +1211,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_empire - culture = { + liege.highest_held_title_tier >= tier_empire + liege.culture = { OR = { has_cultural_pillar = heritage_korean has_cultural_pillar = heritage_buyeo @@ -1322,7 +1226,7 @@ GetActualBishopTitle = { # Viet Buddhism text = { trigger = { - culture = { has_cultural_pillar = language_vietnamese } + liege.culture = { has_cultural_pillar = language_vietnamese } religion = religion:buddhism_religion } localization_key = councillor_court_chaplain_buddhist_viet @@ -1331,7 +1235,7 @@ GetActualBishopTitle = { #Buddhism/Hinduism/Jainism text = { trigger = { - highest_held_title_tier >= tier_empire + liege.highest_held_title_tier >= tier_empire OR = { faith.religion = faith:theravada_faith.religion faith.religion = faith:vaishnava_faith.religion @@ -1342,7 +1246,7 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom OR = { faith.religion = faith:theravada_faith.religion faith.religion = faith:vaishnava_faith.religion @@ -1353,7 +1257,7 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy OR = { faith.religion = faith:theravada_faith.religion faith.religion = faith:vaishnava_faith.religion @@ -1365,7 +1269,7 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy OR = { faith.religion = faith:theravada_faith.religion faith.religion = faith:vaishnava_faith.religion @@ -1378,53 +1282,55 @@ GetActualBishopTitle = { #Shia text = { - trigger = { highest_held_title_tier >= tier_empire rite = rite:ismaili } + trigger = { liege.highest_held_title_tier >= tier_empire rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_empire } text = { - trigger = { highest_held_title_tier >= tier_kingdom rite = rite:ismaili } + trigger = { liege.highest_held_title_tier >= tier_kingdom rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_kingdom } text = { - trigger = { highest_held_title_tier < tier_duchy rite = rite:ismaili } + trigger = { liege.highest_held_title_tier < tier_duchy rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_county } #Islam text = { - trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:sunni.religion } + trigger = { liege.highest_held_title_tier >= tier_empire faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_empire } text = { - trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:sunni.religion } + trigger = { liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_kingdom } text = { - trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:sunni.religion } + trigger = { liege.highest_held_title_tier >= tier_duchy faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_duchy } text = { - trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:sunni.religion } + trigger = { liege.highest_held_title_tier < tier_duchy faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_county } #Yazidi text = { - trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:yazidi_faith.religion } + trigger = { liege.highest_held_title_tier >= tier_empire faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_empire } text = { - trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:yazidi_faith.religion } + trigger = { liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_kingdom } text = { - trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:yazidi_faith.religion } + trigger = { liege.highest_held_title_tier >= tier_duchy faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_duchy } text = { - trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:yazidi_faith.religion } + trigger = { liege.highest_held_title_tier < tier_duchy faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_county } + + # Patriarch exception text = { trigger = { is_female = yes @@ -1520,15 +1426,13 @@ GetActualBishopTitle = { } } } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - any_county_in_clerical_region = { - any_county_province = { - barony = { - is_holy_site_of = root.faith - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith } } } @@ -1565,15 +1469,13 @@ GetActualBishopTitle = { } } } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - any_county_in_clerical_region = { - any_county_province = { - barony = { - is_holy_site_of = root.faith - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith } } } @@ -1611,15 +1513,13 @@ GetActualBishopTitle = { } } } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - any_county_in_clerical_region = { - any_county_province = { - barony = { - is_holy_site_of = root.faith - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith } } } @@ -1654,15 +1554,13 @@ GetActualBishopTitle = { } } } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - any_county_in_clerical_region = { - any_county_province = { - barony = { - is_holy_site_of = root.faith - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith } } } @@ -1683,11 +1581,9 @@ GetActualBishopTitle = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -1762,7 +1658,7 @@ GetActualBishopTitle = { text = { trigger = { is_female = yes - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -1772,12 +1668,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_empire + is_female = no OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -1787,12 +1679,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_empire + is_female = yes OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -1802,12 +1690,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = no OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -1817,12 +1701,8 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = yes OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -1832,7 +1712,7 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -1843,7 +1723,7 @@ GetActualBishopTitle = { text = { trigger = { is_female = yes - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -1853,7 +1733,7 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -1934,11 +1814,9 @@ GetActualBishopTitle = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -1956,11 +1834,9 @@ GetActualBishopTitle = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -1979,11 +1855,9 @@ GetActualBishopTitle = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -2001,11 +1875,9 @@ GetActualBishopTitle = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -2071,25 +1943,17 @@ GetActualBishopTitle = { } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + liege.highest_held_title_tier >= tier_empire + is_female = no } localization_key = councillor_court_chaplain_christian_duchy } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + liege.highest_held_title_tier >= tier_empire + is_female = yes } localization_key = councillor_court_chaplain_christian_duchy } @@ -2104,8 +1968,8 @@ GetActualBishopTitle = { text = { trigger = { is_female = yes - highest_held_title_tier < tier_duchy OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + liege.highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_christian_county_female } @@ -2134,38 +1998,30 @@ GetActualBishopTitle = { text = { trigger = { faith = { has_doctrine = pagan_hostility_doctrine } - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = no } localization_key = councillor_court_chaplain_paganism_religion_kingdom } text = { trigger = { faith = { has_doctrine = pagan_hostility_doctrine } - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = yes } localization_key = councillor_court_chaplain_paganism_religion_kingdom_female } text = { trigger = { faith = { has_doctrine = pagan_hostility_doctrine } - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy } localization_key = councillor_court_chaplain_paganism_religion_duchy } text = { trigger = { faith = { has_doctrine = pagan_hostility_doctrine } - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_paganism_religion_county } @@ -2174,63 +2030,55 @@ GetActualBishopTitle = { text = { trigger = { is_female = yes - highest_held_title_tier >= tier_empire + liege.highest_held_title_tier >= tier_empire } localization_key = councillor_court_chaplain_theocrat_empire_female } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_empire + is_female = no } localization_key = councillor_court_chaplain_theocrat_empire } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_empire + is_female = yes } localization_key = councillor_court_chaplain_theocrat_empire_female } text = { trigger = { is_female = yes - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom } localization_key = councillor_court_chaplain_theocrat_kingdom_female } text = { - trigger = { highest_held_title_tier >= tier_kingdom } + trigger = { liege.highest_held_title_tier >= tier_kingdom } localization_key = councillor_court_chaplain_theocrat_kingdom } text = { trigger = { is_female = yes - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy } localization_key = councillor_court_chaplain_theocrat_duchy_female } text = { - trigger = { highest_held_title_tier >= tier_duchy } + trigger = { liege.highest_held_title_tier >= tier_duchy } localization_key = councillor_court_chaplain_theocrat_duchy } text = { trigger = { is_female = yes - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_theocrat_county_female } text = { - trigger = { highest_held_title_tier < tier_duchy } + trigger = { liege.highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_theocrat_county } } @@ -2315,7 +2163,19 @@ GetActualDukeTheocracyTitle = { text = { trigger = { - exists = clerical_elector_title + OR = { + exists = clerical_elector_title + # Dead characters hold no titles and keep no flags, but primary_title still returns their title at death + AND = { + is_alive = no + primary_title ?= { + is_target_in_global_variable_list = { + name = roma_cardinalates + target = this + } + } + } + } } localization_key = duke_theocracy_male_christianity_religion_cardinal } @@ -2453,6 +2313,7 @@ GetActualDukeTheocracyTitle = { localization_key = duke_theocracy_male_christianity_religion_default } } + # GetActualBishopTitle should be updated synchronously with this GetActualBishopTitlePossessive = { type = character @@ -2589,25 +2450,17 @@ GetActualBishopTitlePossessive = { # Zunism text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:zun_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_zunism_religion_kingdom_possessive } text = { trigger = { - highest_held_title_tier < tier_kingdom + liege.highest_held_title_tier < tier_kingdom faith.religion = faith:zun_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_zunism_religion_duchy_possessive } @@ -2615,56 +2468,40 @@ GetActualBishopTitlePossessive = { # Zoroastrianism text = { trigger = { - highest_held_title_tier >= tier_kingdom faith.religion = faith:zoroastrian_faith.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = no } localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom_possessive } text = { trigger = { - highest_held_title_tier >= tier_kingdom faith.religion = faith:zoroastrian_faith.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = yes } localization_key = councillor_court_chaplain_zoroastrianism_religion_kingdom_female_possessive } text = { trigger = { - highest_held_title_tier >= tier_duchy faith.religion = faith:zoroastrian_faith.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_duchy + is_female = no } localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy_possessive } text = { trigger = { - highest_held_title_tier >= tier_duchy faith.religion = faith:zoroastrian_faith.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_duchy + is_female = yes } localization_key = councillor_court_chaplain_zoroastrianism_religion_duchy_female_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy faith.religion = faith:zoroastrian_faith.religion + liege.highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_zoroastrianism_religion_county_possessive } @@ -2679,22 +2516,14 @@ GetActualBishopTitlePossessive = { text = { trigger = { faith.religion = faith:west_african_bori_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_west_african_bori_religion_duchy_possessive } text = { trigger = { faith.religion = faith:west_african_bori_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_west_african_bori_religion_duchy_female_possessive } @@ -2709,14 +2538,14 @@ GetActualBishopTitlePossessive = { # Tengrism text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:tengri_pagan.religion } localization_key = councillor_court_chaplain_tengrism_religion_kingdom_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:tengri_pagan.religion } localization_key = councillor_court_chaplain_tengrism_religion_duchy_possessive @@ -2725,39 +2554,31 @@ GetActualBishopTitlePossessive = { #Taoism text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = religion:taoism_religion } localization_key = councillor_court_chaplain_taoism_religion_kingdom_possessive } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = religion:taoism_religion } localization_key = councillor_court_chaplain_taoism_religion_duchy_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = religion:taoism_religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_taoism_religion_county_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = religion:taoism_religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_taoism_religion_county_female_possessive } @@ -2773,49 +2594,33 @@ GetActualBishopTitlePossessive = { #Slavic text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:slavic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_slavic_religion_kingdom_possessive } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:slavic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_slavic_religion_kingdom_female_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:slavic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_slavic_religion_duchy_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:slavic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_slavic_religion_duchy_female_possessive } @@ -2823,36 +2628,24 @@ GetActualBishopTitlePossessive = { #Baltic text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:baltic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_baltic_religion_duchy_possessive } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:baltic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_baltic_religion_duchy_female_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier < tier_duchy + is_female = no OR = { faith.religion = faith:baltic_pagan.religion faith.religion = faith:slavic_pagan.religion @@ -2864,12 +2657,8 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier < tier_duchy - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier < tier_duchy + is_female = yes OR = { faith.religion = faith:baltic_pagan.religion faith.religion = faith:slavic_pagan.religion @@ -2891,28 +2680,28 @@ GetActualBishopTitlePossessive = { #Judaism text = { trigger = { - highest_held_title_tier >= tier_empire + liege.highest_held_title_tier >= tier_empire faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_empire_possessive } text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_kingdom_possessive } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_duchy_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:rabbinic_faith.religion } localization_key = councillor_court_chaplain_judaism_religion_county_possessive @@ -2921,56 +2710,40 @@ GetActualBishopTitlePossessive = { #Hellenic text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:hellenic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_hellenism_religion_kingdom_possessive } text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:hellenic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_hellenism_religion_kingdom_female_possessive } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:hellenic_pagan.religion } localization_key = councillor_court_chaplain_hellenism_religion_duchy_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:hellenic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_hellenism_religion_county_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:hellenic_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_hellenism_religion_county_female_possessive } @@ -2978,39 +2751,31 @@ GetActualBishopTitlePossessive = { #Norse text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:norse_pagan.religion } localization_key = councillor_court_chaplain_germanic_religion_kingdom_possessive } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy faith.religion = faith:norse_pagan.religion } localization_key = councillor_court_chaplain_germanic_religion_duchy_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:norse_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + is_female = no } localization_key = councillor_court_chaplain_germanic_religion_county_possessive } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:norse_pagan.religion - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + is_female = yes } localization_key = councillor_court_chaplain_germanic_religion_county_female_possessive } @@ -3018,7 +2783,7 @@ GetActualBishopTitlePossessive = { #Dualism text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy faith.religion = faith:manichaean_faith.religion } localization_key = councillor_court_chaplain_dualism_religion_county_possessive @@ -3027,7 +2792,7 @@ GetActualBishopTitlePossessive = { #Bon text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:bon_faith.religion } localization_key = councillor_court_chaplain_bon_religion_kingdom_possessive @@ -3036,7 +2801,7 @@ GetActualBishopTitlePossessive = { #Buddhism/Hinduism/Jainism text = { trigger = { - highest_held_title_tier >= tier_empire + liege.highest_held_title_tier >= tier_empire OR = { faith.religion = faith:theravada_faith.religion faith.religion = faith:vaishnava_faith.religion @@ -3047,7 +2812,7 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom OR = { faith.religion = faith:theravada_faith.religion faith.religion = faith:vaishnava_faith.religion @@ -3058,7 +2823,7 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy OR = { faith.religion = faith:theravada_faith.religion faith.religion = faith:vaishnava_faith.religion @@ -3070,7 +2835,7 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy OR = { faith.religion = faith:theravada_faith.religion faith.religion = faith:vaishnava_faith.religion @@ -3083,51 +2848,51 @@ GetActualBishopTitlePossessive = { #Shia text = { - trigger = { highest_held_title_tier >= tier_empire rite = rite:ismaili } + trigger = { liege.highest_held_title_tier >= tier_empire rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_empire_possessive } text = { - trigger = { highest_held_title_tier >= tier_kingdom rite = rite:ismaili } + trigger = { liege.highest_held_title_tier >= tier_kingdom rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_kingdom_possessive } text = { - trigger = { highest_held_title_tier < tier_duchy rite = rite:ismaili } + trigger = { liege.highest_held_title_tier < tier_duchy rite = rite:ismaili } localization_key = councillor_court_chaplain_ismaili_county_possessive } #Islam text = { - trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:sunni.religion } + trigger = { liege.highest_held_title_tier >= tier_empire faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_empire_possessive } text = { - trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:sunni.religion } + trigger = { liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_kingdom_possessive } text = { - trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:sunni.religion } + trigger = { liege.highest_held_title_tier >= tier_duchy faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_duchy_possessive } text = { - trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:sunni.religion } + trigger = { liege.highest_held_title_tier < tier_duchy faith.religion = faith:sunni.religion } localization_key = councillor_court_chaplain_islam_county_possessive } #Yazidi text = { - trigger = { highest_held_title_tier >= tier_empire faith.religion = faith:yazidi_faith.religion } + trigger = { liege.highest_held_title_tier >= tier_empire faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_empire_possessive } text = { - trigger = { highest_held_title_tier >= tier_kingdom faith.religion = faith:yazidi_faith.religion } + trigger = { liege.highest_held_title_tier >= tier_kingdom faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_kingdom_possessive } text = { - trigger = { highest_held_title_tier >= tier_duchy faith.religion = faith:yazidi_faith.religion } + trigger = { liege.highest_held_title_tier >= tier_duchy faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_duchy_possessive } text = { - trigger = { highest_held_title_tier < tier_duchy faith.religion = faith:yazidi_faith.religion } + trigger = { liege.highest_held_title_tier < tier_duchy faith.religion = faith:yazidi_faith.religion } localization_key = councillor_court_chaplain_yazidi_county_possessive } @@ -3226,15 +2991,13 @@ GetActualBishopTitlePossessive = { } } } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - any_county_in_clerical_region = { - any_county_province = { - barony = { - is_holy_site_of = root.faith - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith } } } @@ -3270,15 +3033,13 @@ GetActualBishopTitlePossessive = { } } } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - any_county_in_clerical_region = { - any_county_province = { - barony = { - is_holy_site_of = root.faith - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith } } } @@ -3316,15 +3077,13 @@ GetActualBishopTitlePossessive = { } } } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - any_county_in_clerical_region = { - any_county_province = { - barony = { - is_holy_site_of = root.faith - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith } } } @@ -3359,15 +3118,13 @@ GetActualBishopTitlePossessive = { } } } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - any_county_in_clerical_region = { - any_county_province = { - barony = { - is_holy_site_of = root.faith - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes + any_county_in_clerical_region = { + any_county_province = { + barony = { + is_holy_site_of = root.faith } } } @@ -3388,11 +3145,9 @@ GetActualBishopTitlePossessive = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -3467,7 +3222,7 @@ GetActualBishopTitlePossessive = { text = { trigger = { is_female = yes - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -3477,12 +3232,8 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_empire + is_female = no OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -3492,12 +3243,8 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_empire + is_female = yes OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -3507,12 +3254,8 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = no OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -3522,12 +3265,8 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = yes OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -3537,7 +3276,7 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -3548,7 +3287,7 @@ GetActualBishopTitlePossessive = { text = { trigger = { is_female = yes - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -3558,7 +3297,7 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy OR = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion } faith.religion = faith:manichaean_faith.religion @@ -3639,11 +3378,9 @@ GetActualBishopTitlePossessive = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -3661,11 +3398,9 @@ GetActualBishopTitlePossessive = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -3684,11 +3419,9 @@ GetActualBishopTitlePossessive = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -3706,11 +3439,9 @@ GetActualBishopTitlePossessive = { tier = tier_duchy has_clerical_region = yes } - cp:councillor_court_chaplain ?= { - primary_title ?= { - tier = tier_duchy - has_clerical_region = yes - } + liege.primary_title ?= { + tier = tier_duchy + has_clerical_region = yes } } } @@ -3776,25 +3507,17 @@ GetActualBishopTitlePossessive = { } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + liege.highest_held_title_tier >= tier_empire + is_female = no } localization_key = councillor_court_chaplain_christian_duchy_possessive } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:oriental_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } + liege.highest_held_title_tier >= tier_empire + is_female = yes } localization_key = councillor_court_chaplain_christian_duchy_possessive } @@ -3830,38 +3553,30 @@ GetActualBishopTitlePossessive = { text = { trigger = { faith = { has_doctrine = pagan_hostility_doctrine } - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = no } localization_key = councillor_court_chaplain_paganism_religion_kingdom_possessive } text = { trigger = { faith = { has_doctrine = pagan_hostility_doctrine } - highest_held_title_tier >= tier_kingdom - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_kingdom + is_female = yes } localization_key = councillor_court_chaplain_paganism_religion_kingdom_female_possessive } text = { trigger = { faith = { has_doctrine = pagan_hostility_doctrine } - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy } localization_key = councillor_court_chaplain_paganism_religion_duchy_possessive } text = { trigger = { faith = { has_doctrine = pagan_hostility_doctrine } - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_paganism_religion_county_possessive } @@ -3870,63 +3585,55 @@ GetActualBishopTitlePossessive = { text = { trigger = { is_female = yes - highest_held_title_tier >= tier_empire + liege.highest_held_title_tier >= tier_empire } localization_key = councillor_court_chaplain_theocrat_empire_female_possessive } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = yes - } - } + liege.highest_held_title_tier >= tier_empire + is_female = no } localization_key = councillor_court_chaplain_theocrat_empire_possessive } text = { trigger = { - highest_held_title_tier >= tier_empire - NOT = { # Required formatting to include male/female check as well as vacancy - cp:councillor_court_chaplain ?= { - is_female = no - } - } + liege.highest_held_title_tier >= tier_empire + is_female = yes } localization_key = councillor_court_chaplain_theocrat_empire_female_possessive } text = { trigger = { is_female = yes - highest_held_title_tier >= tier_kingdom + liege.highest_held_title_tier >= tier_kingdom } localization_key = councillor_court_chaplain_theocrat_kingdom_female_possessive } text = { - trigger = { highest_held_title_tier >= tier_kingdom } + trigger = { liege.highest_held_title_tier >= tier_kingdom } localization_key = councillor_court_chaplain_theocrat_kingdom_possessive } text = { trigger = { is_female = yes - highest_held_title_tier >= tier_duchy + liege.highest_held_title_tier >= tier_duchy } localization_key = councillor_court_chaplain_theocrat_duchy_female_possessive } text = { - trigger = { highest_held_title_tier >= tier_duchy } + trigger = { liege.highest_held_title_tier >= tier_duchy } localization_key = councillor_court_chaplain_theocrat_duchy_possessive } text = { trigger = { is_female = yes - highest_held_title_tier < tier_duchy + liege.highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_theocrat_county_female_possessive } text = { - trigger = { highest_held_title_tier < tier_duchy } + trigger = { liege.highest_held_title_tier < tier_duchy } localization_key = councillor_court_chaplain_theocrat_county_possessive } } diff --git a/common/customizable_localization/00_food_custom_loc.txt b/common/customizable_localization/00_food_custom_loc.txt index 4d3cd3de3..1c353150f 100644 --- a/common/customizable_localization/00_food_custom_loc.txt +++ b/common/customizable_localization/00_food_custom_loc.txt @@ -1,6 +1,7 @@ #RegionalDrink #RegionalAlcoholicDrink #get_region_root_vegetable & get_region_root_vegetable_plural +#RegionalSpice & RegionalSpicePlural #RegionalEdibleAnimal #RegionalEdibleMeat #FavoriteTreat @@ -961,6 +962,225 @@ RegionalRootVegetablePlural = { } } +#NOTE! These nouns should work with "a" (not "an"), or as a mass noun ("a sack of pepper"). +RegionalSpice = { + type = character + random_valid = yes + + text = { + trigger = { + location = { + OR = { + geographical_region = world_asia_sulawesi_maluku + geographical_region = world_asia_indonesia + geographical_region = world_africa_east + } + } + } + localization_key = regional_spice_clove + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_asia_sulawesi_maluku + geographical_region = world_asia_indonesia + } + } + } + localization_key = regional_spice_nutmeg + } + text = { + trigger = { + location = { geographical_region = world_asia_sulawesi_maluku } + } + localization_key = regional_spice_mace + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_india + geographical_region = world_asia_southeast + geographical_region = world_asia_indonesia + geographical_region = world_asia_borneo + } + } + } + localization_key = regional_spice_pepper + } + text = { + trigger = { + location = { geographical_region = world_india } + } + localization_key = regional_spice_long_pepper + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_india + geographical_region = world_asia_southeast + geographical_region = world_africa_east + } + } + } + localization_key = regional_spice_cinnamon + } + text = { + trigger = { + location = { geographical_region = world_india } + } + localization_key = regional_spice_cardamom + } + text = { + trigger = { + location = { geographical_region = world_india } + } + localization_key = regional_spice_turmeric + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_india + geographical_region = world_asia_china + geographical_region = world_asia_southeast + geographical_region = world_asia_japan + geographical_region = world_tibet + } + } + } + localization_key = root_vegetable_ginger + } + text = { + trigger = { + location = { geographical_region = world_asia_southeast } + } + localization_key = regional_spice_galangal + } + text = { + trigger = { + location = { geographical_region = world_asia_china } + } + localization_key = regional_spice_cassia + } + text = { + trigger = { + location = { geographical_region = world_asia_china } + } + localization_key = regional_spice_star_anise + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_asia_china + geographical_region = world_tibet + } + } + } + localization_key = regional_spice_sichuan_pepper + } + text = { + trigger = { + location = { geographical_region = world_asia_japan } + } + localization_key = regional_spice_japanese_pepper + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_middle_east + geographical_region = world_middle_east_persia + geographical_region = world_europe_south + geographical_region = world_asia_minor + } + } + } + localization_key = regional_spice_saffron + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_middle_east + geographical_region = world_middle_east_persia + geographical_region = world_asia_minor + geographical_region = world_africa_north + geographical_region = world_steppe + } + } + } + localization_key = regional_spice_cumin + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_middle_east + geographical_region = world_asia_minor + geographical_region = world_africa_north + } + } + } + localization_key = regional_spice_coriander + } + text = { + trigger = { + location = { geographical_region = world_africa_west } + } + localization_key = regional_spice_melegueta_pepper + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_europe + geographical_region = world_asia_minor + } + } + } + localization_key = regional_spice_mustard + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_europe_south + geographical_region = world_europe_west + geographical_region = world_asia_minor + } + } + } + localization_key = regional_spice_fennel + } + text = { + trigger = { + location = { + OR = { + geographical_region = world_europe_north + geographical_region = world_europe_east + geographical_region = world_steppe + } + } + } + localization_key = regional_spice_caraway + } + # Fallback so the pool is never empty. + text = { + localization_key = regional_spice_pepper + } +} + +RegionalSpicePlural = { + type = character + random_valid = yes + parent = RegionalSpice + suffix = _plural +} + RegionalEdibleAnimal = { type = character random_valid = yes @@ -1887,15 +2107,30 @@ FavoriteTreatUppercase = { } } +# Keep in sync with GetTgfLocalDish in gdp_custom_loc.txt GetLocalStreetFood = { type = character text = { trigger = { - OR = { - root.location.culture = { has_cultural_pillar = heritage_arabic } - root.location.culture = { has_cultural_pillar = heritage_iranian } - root.location.culture = { has_cultural_pillar = heritage_syriac } + root.location.culture = { + OR = { + has_cultural_pillar = heritage_egyptian + this = culture:egyptian + } + } + } + localization_key = ful + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_arabic + has_cultural_pillar = heritage_iranian + has_cultural_pillar = heritage_syriac + } } } localization_key = sambusa @@ -1908,6 +2143,22 @@ GetLocalStreetFood = { localization_key = inihaw } + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_byzantine } + static_group_filter = { group = street_food_sphoungata match = 0.333 } + } + localization_key = sphoungata + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_byzantine } + static_group_filter = { group = street_food_tarichos match = 0.5 } + } + localization_key = tarichos + } + text = { trigger = { root.location.culture = { @@ -1934,6 +2185,13 @@ GetLocalStreetFood = { localization_key = pakhala } + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_dravidian } + } + localization_key = idli + } + text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_turkic } @@ -1958,6 +2216,7 @@ GetLocalStreetFood = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_chinese } + static_group_filter = { group = street_food_botuo match = 0.25 } } localization_key = botuo } @@ -1965,6 +2224,7 @@ GetLocalStreetFood = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_chinese } + static_group_filter = { group = street_food_bing match = 0.333 } } localization_key = bing } @@ -1972,6 +2232,7 @@ GetLocalStreetFood = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_chinese } + static_group_filter = { group = street_food_mantou match = 0.5 } } localization_key = mantou } @@ -1979,6 +2240,7 @@ GetLocalStreetFood = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_japonic } + static_group_filter = { group = street_food_zosui match = 0.333 } } localization_key = zosui } @@ -1986,6 +2248,7 @@ GetLocalStreetFood = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_japonic } + static_group_filter = { group = street_food_sushi match = 0.5 } } localization_key = sushi } @@ -1998,6 +2261,7 @@ GetLocalStreetFood = { has_cultural_pillar = heritage_buyeo } } + static_group_filter = { group = street_food_kimchi match = 0.5 } } localization_key = kimchi } @@ -2010,7 +2274,7 @@ GetLocalStreetFood = { has_cultural_pillar = heritage_buyeo has_cultural_pillar = heritage_japonic has_cultural_pillar = heritage_chinese - } + } } } localization_key = rice_cake @@ -2025,16 +2289,171 @@ GetLocalStreetFood = { text = { trigger = { - root.location.culture = { has_cultural_pillar = heritage_byzantine } + root.location.culture = { has_cultural_pillar = heritage_north_germanic } } - localization_key = sphoungata + localization_key = salt_herring } text = { trigger = { - root.location.culture = { has_cultural_pillar = heritage_byzantine } + root.location.culture = { has_cultural_pillar = heritage_west_germanic } } - localization_key = tarichos + localization_key = meat_pie + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_goidelic + has_cultural_pillar = heritage_brythonic + } + } + } + localization_key = oatcake + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_balto_finnic + has_cultural_pillar = heritage_baltic + has_cultural_pillar = heritage_volga_finnic + has_cultural_pillar = heritage_ugro_permian + } + } + } + localization_key = smoked_fish + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_frankish } + } + localization_key = oublie + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_central_germanic } + static_group_filter = { group = street_food_grilled_sausage match = 0.5 } + } + localization_key = grilled_sausage + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_central_germanic } + } + localization_key = pretzel + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_east_slavic } + } + localization_key = blin + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_west_slavic } + } + localization_key = obwarzanek + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_south_slavic + has_cultural_pillar = heritage_vlach + has_cultural_pillar = heritage_magyar + has_cultural_pillar = heritage_albanian + } + } + } + localization_key = pogaca + } + + text = { + trigger = { + root.location.culture = { + OR = { + this = culture:ethiopian + this = culture:welayta + } + } + } + localization_key = injera + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_yoruba + has_cultural_pillar = heritage_west_african + } + } + } + localization_key = akara + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_sahelian + has_cultural_pillar = heritage_senegambian + } + } + } + localization_key = fura + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_tibetan } + } + localization_key = tsampa + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_mongolic + has_cultural_pillar = heritage_tungusic + } + } + } + localization_key = aaruul + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_ainuic + has_cultural_pillar = heritage_nivkh + } + } + } + localization_key = dried_salmon + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_bantu + has_cultural_pillar = heritage_central_african + } + } + } + localization_key = roasted_plantain } text = { @@ -2042,15 +2461,30 @@ GetLocalStreetFood = { } } +# Keep in sync with GetTgfLocalDish in gdp_custom_loc.txt GetLocalStreetFoodPlural = { type = character text = { trigger = { - OR = { - root.location.culture = { has_cultural_pillar = heritage_arabic } - root.location.culture = { has_cultural_pillar = heritage_iranian } - root.location.culture = { has_cultural_pillar = heritage_syriac } + root.location.culture = { + OR = { + has_cultural_pillar = heritage_egyptian + this = culture:egyptian + } + } + } + localization_key = ful_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_arabic + has_cultural_pillar = heritage_iranian + has_cultural_pillar = heritage_syriac + } } } localization_key = sambusa_plural @@ -2063,6 +2497,22 @@ GetLocalStreetFoodPlural = { localization_key = inihaw_plural } + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_byzantine } + static_group_filter = { group = street_food_sphoungata match = 0.333 } + } + localization_key = sphoungata_plural + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_byzantine } + static_group_filter = { group = street_food_tarichos match = 0.5 } + } + localization_key = tarichos + } + text = { trigger = { root.location.culture = { @@ -2074,18 +2524,6 @@ GetLocalStreetFoodPlural = { } localization_key = honey_fritter_plural } - text = { - trigger = { - root.location.culture = { has_cultural_pillar = heritage_byzantine } - } - localization_key = sphoungata_plural - } - text = { - trigger = { - root.location.culture = { has_cultural_pillar = heritage_byzantine } - } - localization_key = tarichos - } text = { trigger = { @@ -2101,6 +2539,13 @@ GetLocalStreetFoodPlural = { localization_key = pakhala_plural } + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_dravidian } + } + localization_key = idli_plural + } + text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_turkic } @@ -2125,6 +2570,7 @@ GetLocalStreetFoodPlural = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_chinese } + static_group_filter = { group = street_food_botuo match = 0.25 } } localization_key = botuo_plural } @@ -2132,6 +2578,7 @@ GetLocalStreetFoodPlural = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_chinese } + static_group_filter = { group = street_food_bing match = 0.333 } } localization_key = bing_plural } @@ -2139,6 +2586,7 @@ GetLocalStreetFoodPlural = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_chinese } + static_group_filter = { group = street_food_mantou match = 0.5 } } localization_key = mantou_plural } @@ -2146,6 +2594,7 @@ GetLocalStreetFoodPlural = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_japonic } + static_group_filter = { group = street_food_zosui match = 0.333 } } localization_key = zosui_plural } @@ -2153,6 +2602,7 @@ GetLocalStreetFoodPlural = { text = { trigger = { root.location.culture = { has_cultural_pillar = heritage_japonic } + static_group_filter = { group = street_food_sushi match = 0.5 } } localization_key = sushi_plural } @@ -2165,6 +2615,7 @@ GetLocalStreetFoodPlural = { has_cultural_pillar = heritage_buyeo } } + static_group_filter = { group = street_food_kimchi match = 0.5 } } localization_key = kimchi_plural } @@ -2177,7 +2628,7 @@ GetLocalStreetFoodPlural = { has_cultural_pillar = heritage_buyeo has_cultural_pillar = heritage_japonic has_cultural_pillar = heritage_chinese - } + } } } localization_key = rice_cake_plural @@ -2190,6 +2641,175 @@ GetLocalStreetFoodPlural = { localization_key = bubur_plural } + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_north_germanic } + } + localization_key = salt_herring_plural + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_west_germanic } + } + localization_key = meat_pie_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_goidelic + has_cultural_pillar = heritage_brythonic + } + } + } + localization_key = oatcake_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_balto_finnic + has_cultural_pillar = heritage_baltic + has_cultural_pillar = heritage_volga_finnic + has_cultural_pillar = heritage_ugro_permian + } + } + } + localization_key = smoked_fish_plural + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_frankish } + } + localization_key = oublie_plural + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_central_germanic } + static_group_filter = { group = street_food_grilled_sausage match = 0.5 } + } + localization_key = grilled_sausage_plural + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_central_germanic } + } + localization_key = pretzel_plural + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_east_slavic } + } + localization_key = blin_plural + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_west_slavic } + } + localization_key = obwarzanek_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_south_slavic + has_cultural_pillar = heritage_vlach + has_cultural_pillar = heritage_magyar + has_cultural_pillar = heritage_albanian + } + } + } + localization_key = pogaca_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + this = culture:ethiopian + this = culture:welayta + } + } + } + localization_key = injera_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_yoruba + has_cultural_pillar = heritage_west_african + } + } + } + localization_key = akara_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_sahelian + has_cultural_pillar = heritage_senegambian + } + } + } + localization_key = fura_plural + } + + text = { + trigger = { + root.location.culture = { has_cultural_pillar = heritage_tibetan } + } + localization_key = tsampa_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_mongolic + has_cultural_pillar = heritage_tungusic + } + } + } + localization_key = aaruul_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_ainuic + has_cultural_pillar = heritage_nivkh + } + } + } + localization_key = dried_salmon_plural + } + + text = { + trigger = { + root.location.culture = { + OR = { + has_cultural_pillar = heritage_bantu + has_cultural_pillar = heritage_central_african + } + } + } + localization_key = roasted_plantain_plural + } + text = { localization_key = stew_plural } diff --git a/common/customizable_localization/00_government_custom_loc.txt b/common/customizable_localization/00_government_custom_loc.txt index 335ff3d97..3ca4389db 100644 --- a/common/customizable_localization/00_government_custom_loc.txt +++ b/common/customizable_localization/00_government_custom_loc.txt @@ -109,14 +109,29 @@ GetRoom = { trigger = { trigger_if = { limit = { is_ruler = yes } - has_government = landless_adventurer_government + OR = { + has_government = landless_adventurer_government + has_government = nomad_government + has_government = herder_government + } } trigger_else = { - liege ?= { has_government = landless_adventurer_government } + liege ?= { + OR = { + has_government = landless_adventurer_government + has_government = nomad_government + has_government = herder_government + } + } } } localization_key = tent } + text = { + trigger = { always = no } + localization_key = hall + fallback = yes + } text = { trigger = { always = no } localization_key = room @@ -137,10 +152,20 @@ GetCourtyard = { trigger = { trigger_if = { limit = { is_ruler = yes } - has_government = landless_adventurer_government + OR = { + has_government = landless_adventurer_government + has_government = nomad_government + has_government = herder_government + } } trigger_else = { - liege ?= { has_government = landless_adventurer_government } + liege ?= { + OR = { + has_government = landless_adventurer_government + has_government = nomad_government + has_government = herder_government + } + } } } localization_key = camp @@ -169,6 +194,18 @@ GetCourt = { } localization_key = camp } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = company + } text = { trigger = { always = no } localization_key = court @@ -191,6 +228,18 @@ GetCourtConcept = { } localization_key = CAMP } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = COMPANY + } text = { trigger = { always = no } localization_key = COURT_CONCEPT @@ -198,6 +247,23 @@ GetCourtConcept = { } } +GetCourtPositionOrAssociate = { + type = character + + text = { + trigger = { + has_government = merchant_government + } + localization_key = ASSOCIATE_DEPUTY + } + text = { + trigger = { always = no } + localization_key = COURTIER_COUNCILLOR + fallback = yes + } + +} + GetCourtierGendered = { type = character @@ -217,14 +283,34 @@ GetCourtierGendered = { } text = { trigger = { - liege ?= { is_landless_adventurer = no } + liege ?= { has_government = merchant_government } + is_female = yes + } + localization_key = associate_female + } + text = { + trigger = { + liege ?= { has_government = merchant_government } + is_male = yes + } + localization_key = associate_male + } + text = { + trigger = { + liege ?= { + is_landless_adventurer = no + NOT = { has_government = merchant_government } + } is_female = yes } localization_key = relation_courtier_female } text = { trigger = { - liege ?= { is_landless_adventurer = no } + liege ?= { + is_landless_adventurer = no + NOT = { has_government = merchant_government } + } is_male = yes } localization_key = relation_courtier_male @@ -246,6 +332,18 @@ GetCourtier = { } localization_key = follower } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = associate + } text = { trigger = { always = no } localization_key = courtier @@ -274,6 +372,18 @@ GetCourtierConcept = { } localization_key = FOLLOWER } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = ASSOCIATE + } text = { trigger = { always = no } localization_key = COURTIER @@ -293,7 +403,12 @@ GetSubject = { text = { trigger = { trigger_if = { - limit = { is_ruler = yes } + limit = { + OR = { + is_ruler = yes + is_alive = no + } + } has_government = landless_adventurer_government } trigger_else = { @@ -302,6 +417,23 @@ GetSubject = { } localization_key = follower } + text = { + trigger = { + trigger_if = { + limit = { + OR = { + is_ruler = yes + is_alive = no + } + } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = associate + } text = { trigger = { always = no } localization_key = subject @@ -319,25 +451,7 @@ GetSuccessionHeirMotion = { type = character text = { - trigger = { - trigger_if = { - limit = { is_ruler = yes } - OR = { - has_government = landless_adventurer_government - AND = { - OR = { - any_held_title = { is_noble_family_title = yes } - government_has_mechanic = administrative - } - is_independent_ruler = no - } - tgp_is_ceremonial_regent_trigger = yes - } - } - trigger_else = { - liege ?= { has_government = landless_adventurer_government } - } - } + trigger = { successor_is_not_a_traditional_feudal_esque_ruler_trigger = yes } localization_key = succession_heir_leader } text = { @@ -347,6 +461,62 @@ GetSuccessionHeirMotion = { } } +GetSuccessionRulerNoun = { + type = character + + text = { + trigger = { successor_is_not_a_traditional_feudal_esque_ruler_trigger = yes } + localization_key = succession_ruler_title + } + text = { + trigger = { always = no } + localization_key = succession_ruler_noun + fallback = yes + } +} + +GetSuccessionFewRulers = { + type = character + + text = { + trigger = { successor_is_not_a_traditional_feudal_esque_ruler_trigger = yes } + localization_key = succession_few_others + } + text = { + trigger = { always = no } + localization_key = succession_few_rulers + fallback = yes + } +} + +GetSuccessionShyCouncil = { + type = character + + text = { + trigger = { government_has_flag = government_is_merchant } + localization_key = succession_shy_associates + } + text = { + trigger = { always = no } + localization_key = succession_shy_council + fallback = yes + } +} + +GetSuccessionTrustingCouncil = { + type = character + + text = { + trigger = { government_has_flag = government_is_merchant } + localization_key = succession_trusting_associates + } + text = { + trigger = { always = no } + localization_key = succession_trusting_council + fallback = yes + } +} + GetDungeon = { type = character @@ -354,7 +524,10 @@ GetDungeon = { trigger = { trigger_if = { limit = { is_ruler = yes } - has_government = landless_adventurer_government + OR = { + has_government = landless_adventurer_government + has_government = merchant_government + } } trigger_else = { liege ?= { has_government = landless_adventurer_government } @@ -382,10 +555,18 @@ GetDungeonConcept = { trigger = { trigger_if = { limit = { is_ruler = yes } - has_government = landless_adventurer_government + OR = { + has_government = landless_adventurer_government + has_government = merchant_government + } } trigger_else = { - liege ?= { has_government = landless_adventurer_government } + liege ?= { + OR = { + has_government = landless_adventurer_government + has_government = merchant_government + } + } } } localization_key = STOCKADE_CONCEPT @@ -418,6 +599,18 @@ GetRealmOrDomicile = { } localization_key = game_concept_camp } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = game_concept_company + } text = { trigger = { trigger_if = { @@ -480,10 +673,18 @@ GetRealmOrDomicileTooltip = { trigger = { trigger_if = { limit = { is_ruler = yes } - is_landless_administrative = yes + OR = { + is_landless_administrative = yes + is_landless_republic = yes + } } trigger_else = { - liege ?= { is_landless_administrative = yes } + liege ?= { + OR = { + is_landless_administrative = yes + is_landless_republic = yes + } + } } } localization_key = NOBLE_FAMILY @@ -558,6 +759,18 @@ GetRealmOrDomicileTooltip = { } localization_key = VASSAL_TOOLTIP } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = MERCHANT + } text = { trigger = { always = no } localization_key = REALM_TOOLTIP @@ -604,6 +817,18 @@ GetRealmOrDomicileConcept = { } localization_key = GOVERNORSHIP } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = COMPANY + } text = { trigger = { always = no } localization_key = activity_filter_realm @@ -611,13 +836,103 @@ GetRealmOrDomicileConcept = { } } +GetCourtOrDomicileArtifactConcept = { + type = character + + text = { + trigger = { + domicile ?= { is_domicile_type = merchant_company } + } + localization_key = DOMICILE_ARTIFACT + } + text = { + trigger = { always = no } + localization_key = COURT_ARTIFACT + fallback = yes + } +} + +GetCourtOrDomicileArtifactConceptPlural = { + type = character + parent = GetCourtOrDomicileArtifactConcept + suffix = "_PLURAL" +} + +GetCourtOrDomicileArtifactNoConcept = { + type = character + + text = { + trigger = { + domicile ?= { is_domicile_type = merchant_company } + } + localization_key = game_concept_domicile_artifact + } + text = { + trigger = { always = no } + localization_key = game_concept_court_artifact + fallback = yes + } +} + +GetCourtOrDomicileArtifactNoConceptPlural = { + type = character + + text = { + trigger = { + domicile ?= { is_domicile_type = merchant_company } + } + localization_key = game_concept_domicile_artifacts + } + text = { + trigger = { always = no } + localization_key = game_concept_court_artifacts + fallback = yes + } +} + +GetCourtOrDomicileArtifactNoRoyalCourtTabDesc = { + type = character + + text = { + trigger = { + domicile ?= { is_domicile_type = merchant_company } + } + localization_key = CHARACTER_WITHOUT_ROYAL_COURT_COURT_ARTIFACT_TAB_merchant + } + text = { + trigger = { always = no } + localization_key = CHARACTER_WITHOUT_ROYAL_COURT_COURT_ARTIFACT_TAB_court + fallback = yes + } +} + GetCourtPosition = { type = character text = { - trigger = { is_landed = no } + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = landless_adventurer_government + } + trigger_else = { + liege ?= { has_government = landless_adventurer_government } + } + } localization_key = game_concept_officer } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = game_concept_deputy + } text = { trigger = { always = no } localization_key = game_concept_court_position @@ -629,9 +944,29 @@ GetCourtPositionPlural = { type = character text = { - trigger = { is_landed = no } + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = landless_adventurer_government + } + trigger_else = { + liege ?= { has_government = landless_adventurer_government } + } + } localization_key = game_concept_officers } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = game_concept_deputies + } text = { trigger = { always = no } localization_key = game_concept_court_positions @@ -639,13 +974,67 @@ GetCourtPositionPlural = { } } +GetCourtPositionConcept = { + type = character + + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = landless_adventurer_government + } + trigger_else = { + liege ?= { has_government = landless_adventurer_government } + } + } + localization_key = OFFICER + } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = DEPUTY + } + text = { + trigger = { always = no } + localization_key = COURT_POSITION + fallback = yes + } +} + GetCourtPositionConceptPlural = { type = character text = { - trigger = { is_landed = no } + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = landless_adventurer_government + } + trigger_else = { + liege ?= { has_government = landless_adventurer_government } + } + } localization_key = OFFICER_PLURAL } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = DEPUTY_PLURAL + } text = { trigger = { always = no } localization_key = COURT_POSITION_PLURAL @@ -657,9 +1046,29 @@ GetCourtOrOfficerPositionConceptPlural = { type = character text = { - trigger = { is_landed = no } + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = landless_adventurer_government + } + trigger_else = { + liege ?= { has_government = landless_adventurer_government } + } + } localization_key = officer_positions } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = deputy_positions + } text = { trigger = { always = no } localization_key = COURT_POSITION_PLURAL @@ -667,13 +1076,67 @@ GetCourtOrOfficerPositionConceptPlural = { } } +GetGrantCourtPositionName = { + type = character + + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = landless_adventurer_government + } + trigger_else = { + liege ?= { has_government = landless_adventurer_government } + } + } + localization_key = grant_court_position_officer + } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = grant_court_position_deputy + } + text = { + trigger = { always = no } + localization_key = grant_court_position_court + fallback = yes + } +} + GetCourtOwnerConcept = { type = character text = { - trigger = { is_landed = no } + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = landless_adventurer_government + } + trigger_else = { + liege ?= { has_government = landless_adventurer_government } + } + } localization_key = ADVENTURER } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = MERCHANT + } text = { trigger = { always = no } localization_key = LIEGE @@ -685,7 +1148,12 @@ GetCourtOwner = { type = character text = { - trigger = { has_government = landless_adventurer_government } + trigger = { + OR = { + has_government = landless_adventurer_government + has_government = merchant_government + } + } localization_key = court_owner_adventurer } text = { @@ -710,6 +1178,18 @@ GetValidKnightsHeader = { } localization_key = KNIGHTS_SUBHEADER_LANDLESS_ADVENTURER } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = KNIGHTS_SUBHEADER_MERCHANT + } text = { trigger = { always = no } localization_key = KNIGHTS_SUBHEADER @@ -796,6 +1276,12 @@ GetServants = { } localization_key = followers_adventurer } + text = { + trigger = { + has_government = merchant_government + } + localization_key = associates_company + } text = { trigger = { always = no } localization_key = servants_desc_regular @@ -812,6 +1298,12 @@ GetFollowerOrVassal = { } localization_key = follower } + text = { + trigger = { + has_government = merchant_government + } + localization_key = associate + } text = { trigger = { always = no } localization_key = vassal @@ -1250,6 +1742,24 @@ GetGovernmentIcon = { } localization_key = steppe_admin_icon_concept } + text = { # Merchant + trigger = { + trigger_if = { + limit = { is_alive = no } + has_government = merchant_government + } + trigger_else = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + } + localization_key = merchant_icon_concept + } text = { # Feudal trigger = { always = no } localization_key = feudal_icon_concept @@ -1368,6 +1878,12 @@ GetGovernmentTypeIcon = { } localization_key = steppe_admin_icon_concept } + text = { # Merchant + trigger = { + government_type_has_flag = government_is_merchant + } + localization_key = merchant_icon_concept + } text = { # Feudal trigger = { always = no } localization_key = feudal_icon_concept @@ -1399,3 +1915,37 @@ GetTribalFeudal = { localization_key = feudal_government } } + +GetCourtButton = { + type = character + + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = landless_adventurer_government + } + trigger_else = { + liege ?= { has_government = landless_adventurer_government } + } + } + localization_key = camp_followers + } + text = { + trigger = { + trigger_if = { + limit = { is_ruler = yes } + has_government = merchant_government + } + trigger_else = { + liege ?= { has_government = merchant_government } + } + } + localization_key = company_associates + } + text = { + trigger = { always = no } + localization_key = courtier_plural + fallback = yes + } +} diff --git a/common/customizable_localization/00_greeting_custom_loc.txt b/common/customizable_localization/00_greeting_custom_loc.txt index 963e41085..22fe912d2 100644 --- a/common/customizable_localization/00_greeting_custom_loc.txt +++ b/common/customizable_localization/00_greeting_custom_loc.txt @@ -1373,10 +1373,17 @@ FormOfAddressForLiege = { is_clergy = yes government_has_flag = government_is_theocracy is_theocratic_lessee = yes + government_has_flag = government_is_merchant } } localization_key = form_of_address_my_ladylord } + text = { + trigger = { + government_has_flag = government_is_merchant + } + localization_key = form_of_address_my_mistressmaster + } text = { trigger = { OR = { diff --git a/common/customizable_localization/00_hold_court_custom_joe.txt b/common/customizable_localization/00_hold_court_custom_joe.txt deleted file mode 100644 index 990edae82..000000000 --- a/common/customizable_localization/00_hold_court_custom_joe.txt +++ /dev/null @@ -1,315 +0,0 @@ -get_hold_court_8001_flaw = { # Flavor for reasons they are a bad mayor - type = character - random_valid = yes - - text = { - trigger = { has_trait = lazy } - localization_key = hold_court_8001.desc_lazy - } - - text = { - trigger = { has_trait = greedy } - localization_key = hold_court_8001.desc_greedy - } - - text = { - trigger = { has_trait = arbitrary } - localization_key = hold_court_8001.desc_arbitrary - } - - text = { - trigger = { has_trait = deceitful } - localization_key = hold_court_8001.desc_deceitful - } - - text = { - trigger = { stewardship <= 6 } - localization_key = hold_court_8001.desc_incompetent - } - - text = { - trigger = { age < 25 } - localization_key = hold_court_8001.desc_young - } - - text = { - trigger = { has_trait = infirm } - localization_key = hold_court_8001.desc_infirm - } - - text = { - trigger = { has_trait = incapable } - localization_key = hold_court_8001.desc_incapable - } - - text = { - trigger = { age > 60 } - localization_key = hold_court_8001.desc_old - } - - text = { - trigger = { always = yes } - localization_key = hold_court_8001.desc_fallback - } -} - -get_hold_court_8010_stake = { # Flavor for government type of worried vassal - type = character - - text = { - trigger = { government_has_flag = government_is_republic } - localization_key = hold_court_8010.desc_republic - } - - text = { - trigger = { government_has_flag = government_is_theocracy } - localization_key = hold_court_8010.desc_theocratic - } - - text = { - trigger = { always = yes } - localization_key = hold_court_8010.desc_family - } -} - -get_hold_court_8020_holiness_1 = { # Describe the holiness of the target county - type = character - - text = { - trigger = { - exists = var:holy_site_var - var:holy_site_var = { - any_county_province = { - barony = { - is_holy_site_of = ROOT.faith - title_province = { has_special_building = yes } - } - } - } - } - localization_key = holiness_cathedral_1 - } - - text = { - trigger = { - exists = var:holy_site_var - var:holy_site_var = { - any_county_province = { - barony = { is_holy_site_of = ROOT.faith } - } - } - } - localization_key = holiness_holy_site_1 - } - - text = { - trigger = { always = yes } - localization_key = holiness_fallback_1 - } -} - -get_hold_court_8020_holiness_2 = { # Describe the holiness of the target county - type = character - - text = { - trigger = { - exists = var:holy_site_var - var:holy_site_var = { - any_county_province = { - barony = { - is_holy_site_of = ROOT.faith - title_province = { has_special_building = yes } - } - } - } - } - localization_key = holiness_cathedral_2 - } - - text = { - trigger = { - exists = var:holy_site_var - var:holy_site_var = { - any_county_province = { - barony = { is_holy_site_of = ROOT.faith } - } - } - } - localization_key = holiness_holy_site_2 - } - - text = { - trigger = { always = yes } - localization_key = holiness_fallback_2 - } -} - -get_hold_court_8020_holiness_3 = { # Describe the holiness of the target county - type = character - - text = { - trigger = { - exists = var:holy_site_var - var:holy_site_var = { - any_county_province = { - barony = { - is_holy_site_of = ROOT.faith - title_province = { has_special_building = yes } - } - } - } - } - localization_key = holiness_cathedral_3 - } - - text = { - trigger = { - exists = var:holy_site_var - var:holy_site_var = { - any_county_province = { - barony = { is_holy_site_of = ROOT.faith } - } - } - } - localization_key = holiness_holy_site_3 - } - - text = { - trigger = { - always = yes - } - localization_key = holiness_fallback_3 - } -} - -get_hold_court_8100_parent = { - type = character - - text = { - trigger = { # If male dominated - rite = { - NOT = { rite_has_doctrine = doctrine_gender_male_dominated } - } - } - localization_key = mama - } - - text = { - trigger = { # If female dominated - rite = { - NOT = { rite_has_doctrine = doctrine_gender_female_dominated } - } - } - localization_key = papa - } - - text = { - trigger = { always = yes } - localization_key = hold_court_8100_parent_general - } -} - -get_hold_court_8100_situation = { - type = character - random_valid = yes - - text = { - trigger = { - OR = { - AND = { - rite = { - NOT = { rite_has_doctrine = doctrine_gender_male_dominated } - } - mother ?= { is_alive = no } - } - AND = { - rite = { - NOT = { rite_has_doctrine = doctrine_gender_female_dominated } - } - father ?= { is_alive = no } - } - } - } - localization_key = hold_court_8100_situation_dead - } - - text = { - trigger = { - OR = { - AND = { - rite = { - NOT = { rite_has_doctrine = doctrine_gender_male_dominated } - } - mother ?= { is_imprisoned = yes } - } - AND = { - rite = { - NOT = { rite_has_doctrine = doctrine_gender_female_dominated } - } - father ?= { is_imprisoned = yes } - } - } - } - localization_key = hold_court_8100_situation_jailed - } - - text = { - trigger = { always = yes } - localization_key = hold_court_8100_situation_unknown - } -} - -get_hold_court_8190_ethos = { - type = character - random_valid = yes - - text = { - trigger = { - culture = { has_cultural_pillar = ethos_bellicose } - } - localization_key = hold_court_8190_bellicose - } - - text = { - trigger = { - culture = { has_cultural_pillar = ethos_stoic } - } - localization_key = hold_court_8190_stoic - } - - text = { - trigger = { - culture = { has_cultural_pillar = ethos_bureaucratic } - } - localization_key = hold_court_8190_bureaucratic - } - - text = { - trigger = { - culture = { has_cultural_pillar = ethos_spiritual } - } - localization_key = hold_court_8190_spiritual - } - - text = { - trigger = { - culture = { has_cultural_pillar = ethos_courtly } - } - localization_key = hold_court_8190_courtly - } - - text = { - trigger = { - culture = { has_cultural_pillar = ethos_egalitarian } - } - localization_key = hold_court_8190_egalitarian - } - - text = { - trigger = { - culture = { has_cultural_pillar = ethos_communal } - } - localization_key = hold_court_8190_communal - } -} - diff --git a/common/customizable_localization/00_insult_custom_loc.txt b/common/customizable_localization/00_insult_custom_loc.txt index d4c81598e..2043e3125 100644 --- a/common/customizable_localization/00_insult_custom_loc.txt +++ b/common/customizable_localization/00_insult_custom_loc.txt @@ -4602,3 +4602,23 @@ CriminalCrierInsult = { text = { localization_key = criminal_crier_insult_cross_eyed } } + +InsultNounDumb = { + type = character + random_valid = yes + + #Buffoon + text = { localization_key = insult_noun_clumsy_buffoon } + #Dimwit + text = { localization_key = insult_noun_clumsy_dimwit } + #Fool + text = { localization_key = insult_noun_dumb_fool } + #Simpleton + text = { localization_key = insult_noun_dumb_simpleton } + #Cretin + text = { localization_key = insult_noun_dumb_cretin } + #Nitwit + text = { localization_key = insult_noun_dumb_nitwit } + #Imbecile + text = { localization_key = insult_noun_dumb_imbecile } +} diff --git a/common/customizable_localization/00_knight_culture.txt b/common/customizable_localization/00_knight_culture.txt index 02940fcd4..7e6f77498 100644 --- a/common/customizable_localization/00_knight_culture.txt +++ b/common/customizable_localization/00_knight_culture.txt @@ -1,6 +1,15 @@ KnightCulture = { type = character + text = { + trigger = { + OR = { + government_has_flag = government_is_merchant + government_has_flag = government_is_republic + } + } + localization_key = knight_enforcer + } text = { trigger = { has_government = landless_adventurer_government @@ -88,6 +97,27 @@ } } +KnightCultureConsonant = { + type = character + text = { + trigger = { government_has_flag = government_is_merchant } + localization_key = article_an + } + text = { + trigger = { + OR = { + faith = { religion_tag = zoroastrianism_religion } + culture = { has_cultural_pillar = language_iranian } + } + } + localization_key = article_an + } + text = { + localization_key = article_a + fallback = yes + } +} + KnightCulturePlural = { parent = KnightCulture suffix = "_plural" @@ -121,4 +151,4 @@ KnightCulturePluralPossessiveNoTooltipLowercase = { KnightCultureAdjectiveNoTooltipLowercase = { parent = KnightCulture suffix = "_no_tooltip_lowercase_adjective" -} \ No newline at end of file +} diff --git a/common/customizable_localization/00_language_custom_loc.txt b/common/customizable_localization/00_language_custom_loc.txt index 8b6355fbd..7dfaa3f64 100644 --- a/common/customizable_localization/00_language_custom_loc.txt +++ b/common/customizable_localization/00_language_custom_loc.txt @@ -55,6 +55,14 @@ IberiaRomanceLanguage = { GetFaithSacredLanguage = { type = all + # Narrowest Christian branch first, otherwise the Latin and Greek fallbacks would match these + text = { + trigger = { + faith = faith:cathar + } + localization_key = language_occitano_romance_name #Occitan + } + text = { trigger = { OR = { @@ -92,7 +100,7 @@ GetFaithSacredLanguage = { } text = { - trigger = { faith = faith:theravada } + trigger = { faith = faith:theravada_faith } localization_key = language_pali_name #Pali } @@ -114,7 +122,9 @@ GetFaithSacredLanguage = { text = { trigger = { - religion = religion:taoism_religion + religion = { + is_in_family = rf_sinitic + } } localization_key = language_chinese_name } @@ -130,6 +140,13 @@ GetFaithSacredLanguage = { localization_key = language_sanskrit_name #Sanskrit } + text = { + trigger = { + religion = religion:hellenism_religion + } + localization_key = language_greek_name #Greek + } + text = { trigger = { always = yes @@ -178,7 +195,7 @@ GetFaithSacredLanguageCharacter = { } text = { - trigger = { faith = faith:theravada } + trigger = { faith = faith:theravada_faith } localization_key = language_pali_name #Pali } @@ -200,7 +217,9 @@ GetFaithSacredLanguageCharacter = { text = { trigger = { - religion = religion:taoism_religion + religion = { + is_in_family = rf_sinitic + } } localization_key = language_chinese_name } @@ -215,6 +234,13 @@ GetFaithSacredLanguageCharacter = { } localization_key = language_sanskrit_name #Sanskrit } + + text = { + trigger = { + religion = religion:hellenism_religion + } + localization_key = language_greek_name #Greek + } text = { trigger = { always = yes diff --git a/common/customizable_localization/00_ruler_transition_loc.txt b/common/customizable_localization/00_ruler_transition_loc.txt index 90196430a..e42062fc7 100644 --- a/common/customizable_localization/00_ruler_transition_loc.txt +++ b/common/customizable_localization/00_ruler_transition_loc.txt @@ -500,6 +500,10 @@ DeathMessageOutro = { localization_key = SUCCESSION_EVENT_WINDOW_DEAD_OUTRO_MIND_DUMB trigger = { has_trait = intellect_bad + NOR = { + government_has_flag = government_is_merchant + government_has_flag = government_is_republic + } } weight_multiplier = { base = 2 @@ -698,6 +702,7 @@ DeathMessageOutro = { localization_key = SUCCESSION_EVENT_WINDOW_DEAD_OUTRO_LIFESTYLE_GENERAL trigger = { has_martial_lifestyle_trait_trigger = yes + NOT = { government_has_flag = government_is_merchant } } } text = { @@ -722,6 +727,7 @@ DeathMessageOutro = { localization_key = SUCCESSION_EVENT_WINDOW_DEAD_OUTRO_LIFESTYLE_ERUDITE trigger = { has_learning_lifestyle_trait_trigger = yes + NOT = { government_has_flag = government_is_merchant } } } text = { @@ -740,6 +746,7 @@ DeathMessageOutro = { localization_key = SUCCESSION_EVENT_WINDOW_DEAD_OUTRO_LIFESTYLE_MYSTIC trigger = { has_trait = lifestyle_mystic + NOT = { government_has_flag = government_is_merchant } } } text = { @@ -859,6 +866,7 @@ DeathMessageOutro = { localization_key = SUCCESSION_EVENT_WINDOW_DEAD_OUTRO_PERSONALITY_WRATHFUL trigger = { has_trait = wrathful + NOT = { government_has_flag = government_is_merchant } } weight_multiplier = { base = 0.01 @@ -961,6 +969,15 @@ HeirMessageInterface = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_UNDERAGE trigger = { is_adult = no + exists = diarch + } + } + text = { + localization_key = SUCCESSION_EVENT_WINDOW_HEIR_UNDERAGE_MERCHANT + trigger = { + is_adult = no + NOT = { exists = diarch } + government_has_flag = government_is_merchant } } text = { @@ -984,6 +1001,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_GENDER trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no OR = { AND = { is_female = yes @@ -1048,6 +1066,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_DIPLOMACY trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no NOT = { has_trait = deceitful } @@ -1087,6 +1106,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_REVELER trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = lifestyle_reveler } @@ -1094,6 +1114,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_ADMINISTRATOR trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_stewardship_lifestyle_trait_trigger = yes } @@ -1158,6 +1179,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_GLUTTON_GREEDY trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = gluttonous has_trait = greedy @@ -1174,6 +1196,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_CONTENT_ARBITRARY trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = content has_trait = arbitrary @@ -1185,6 +1208,7 @@ HeirMessageInterface = { is_adult = yes has_trait = craven has_trait = education_martial + NOT = { government_has_flag = government_is_merchant } } } text = { @@ -1193,6 +1217,7 @@ HeirMessageInterface = { is_adult = yes has_trait = shy has_trait = content + successor_is_a_landless_patrician_trigger = no } } text = { @@ -1222,6 +1247,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_CYNICAL_CRUEL trigger = { + successor_is_a_landless_patrician_trigger = no is_adult = yes has_trait = cynical OR = { @@ -1282,11 +1308,13 @@ HeirMessageInterface = { has_trait = brave has_trait = berserker } + NOT = { government_has_flag = government_is_merchant } } } text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_TEMPERATE_LUSTFUL trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = temperate has_trait = lustful @@ -1311,6 +1339,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_CRAVEN_HONEST trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = craven has_trait = honest @@ -1335,6 +1364,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_CYNICAL_ARBITRARY trigger = { + successor_is_a_landless_patrician_trigger = no is_adult = yes has_trait = cynical OR = { @@ -1391,6 +1421,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_VENGEFUL trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = vengeful } @@ -1424,6 +1455,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_CANNIBAL trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = cannibal NOT = { @@ -1473,6 +1505,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_WITCH trigger = { + successor_is_a_landless_patrician_trigger = no is_adult = yes AND = { has_trait = witch @@ -1486,6 +1519,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_COMPASSIONATE trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = compassionate } @@ -1509,11 +1543,16 @@ HeirMessageInterface = { trigger = { is_adult = yes has_trait = gregarious + NOR = { + government_has_flag = government_is_landless_adventurer + government_has_flag = government_is_merchant + } } } text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_ZEALOUS trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = zealous } @@ -1552,6 +1591,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_HUMBLE trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = humble } @@ -1559,6 +1599,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_ARBITRARY trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = arbitrary } @@ -1584,6 +1625,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_LUSTFUL trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes OR = { has_trait = lustful @@ -1594,6 +1636,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_CONTENT trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = content } @@ -1629,6 +1672,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_CALLOUS trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = callous } @@ -1636,6 +1680,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_CRAVEN trigger = { + successor_is_a_landless_patrician_trigger = no is_adult = yes has_trait = craven } @@ -1643,6 +1688,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_GREEDY trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = greedy } @@ -1652,6 +1698,10 @@ HeirMessageInterface = { trigger = { is_adult = yes has_trait = sadistic + NOR = { + government_has_flag = government_is_landless_adventurer + government_has_flag = government_is_merchant + } } } text = { @@ -1659,6 +1709,7 @@ HeirMessageInterface = { trigger = { is_adult = yes has_trait = trusting + successor_is_a_landless_patrician_trigger = no } } text = { @@ -1671,6 +1722,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_LAZY trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = lazy } @@ -1685,6 +1737,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_WRATHFUL trigger = { + successor_is_not_a_traditional_feudal_esque_ruler_trigger = no is_adult = yes has_trait = wrathful } @@ -1692,6 +1745,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_PARANOID trigger = { + successor_is_a_landless_patrician_trigger = no is_adult = yes has_trait = paranoid } @@ -1699,6 +1753,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_TRAIT_STUBBORN trigger = { + successor_is_a_landless_patrician_trigger = no is_adult = yes has_trait = stubborn } @@ -1799,6 +1854,7 @@ HeirMessageInterface = { text = { localization_key = SUCCESSION_EVENT_WINDOW_HEIR_THREE_SKILLS trigger = { + successor_is_a_landless_patrician_trigger = no calc_true_if = { amount >= 3 amount < 5 @@ -2028,4 +2084,224 @@ GameOverMessageNotableAchievements = { dynasty = global_var:flag_restored_roman_empire.dynasty } } + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_RESTORED_DUMNONIA_DESC + trigger = { + exists = global_var:flag_restored_dumnonia + dynasty = global_var:flag_restored_dumnonia.dynasty + } + } + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_RESTORED_CAROLINGIAN_DESC + trigger = { + exists = global_var:flag_reformed_carolingian_empire + dynasty = global_var:flag_reformed_carolingian_empire.dynasty + } + } + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_RESTORED_HOLY_ROMAN_EMPIRE_DESC + trigger = { + exists = global_var:restore_holy_roman_empire_decision + dynasty = global_var:restore_holy_roman_empire_decision.dynasty + } + } + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_RESTORED_OLD_VASCONIA_DESC + trigger = { + exists = global_var:flag_restored_old_vasconia + dynasty = global_var:flag_restored_old_vasconia.dynasty + } + } + + # Have you ever unified a kingdom/empire/etc.? + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_UNIFICATION_SPANISH_DESC + trigger = { + exists = global_var:unite_the_spanish_thrones_decision + exists = global_var:unite_the_spanish_thrones_decision.dynasty + dynasty = global_var:unite_the_spanish_thrones_decision.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_UNIFICATION_SLAVS_DESC + trigger = { + exists = global_var:unite_the_slavs_decision + exists = global_var:unite_the_slavs_decision.dynasty + dynasty = global_var:unite_the_slavs_decision.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_UNIFICATION_SOUTHERN_SLAVS_DESC + trigger = { + exists = global_var:unite_the_southern_slavs_decision + exists = global_var:unite_the_southern_slavs_decision.dynasty + dynasty = global_var:unite_the_southern_slavs_decision.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_UNIFICATION_WESTERN_SLAVS_DESC + trigger = { + exists = global_var:unite_the_western_slavs_decision + exists = global_var:unite_the_western_slavs_decision.dynasty + dynasty = global_var:unite_the_western_slavs_decision.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_UNIFICATION_BURGUNDY_DESC + trigger = { + exists = global_var:flag_unified_burgundy_kingdom + exists = global_var:flag_unified_burgundy_kingdom.dynasty + dynasty = global_var:flag_unified_burgundy_kingdom.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_UNIFICATION_ITALY_DESC + trigger = { + exists = global_var:flag_unified_italian_empire + exists = global_var:flag_unified_italian_empire.dynasty + dynasty = global_var:flag_unified_italian_empire.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_UNIFICATION_AFRICA_DESC + trigger = { + exists = global_var:unite_africa_decision + exists = global_var:unite_africa_decision.dynasty + dynasty = global_var:unite_africa_decision.dynasty + } + } + + # Have you ever formed/created/founded a kingdom/empire/etc.? + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_PORTUGAL_DESC + trigger = { + exists = global_var:form_portugal_decision + dynasty = global_var:form_portugal_decision.dynasty + } + } + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_CANARIAS_DESC + trigger = { + exists = global_var:declare_canarias_decision + dynasty = global_var:declare_canarias_decision.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_BOSNIA_DESC + trigger = { + exists = global_var:flag_founded_kingdom_of_bosnia + dynasty = global_var:flag_founded_kingdom_of_bosnia.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_ARMENIA_DESC + trigger = { + exists = global_var:flag_created_armenian_empire + dynasty = global_var:flag_created_armenian_empire.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_VIET_DESC + trigger = { + exists = global_var:flag_created_dai_viet_empire + dynasty = global_var:flag_created_dai_viet_empire.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_MAJAPAHIT_DESC + trigger = { + exists = global_var:flag_created_majapahit_empire + dynasty = global_var:flag_created_majapahit_empire.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_RYUKYU_DESC + trigger = { + exists = global_var:flag_created_ryukyu_empire + dynasty = global_var:flag_created_ryukyu_empire.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_SIAM_DESC + trigger = { + exists = global_var:flag_created_siam_kingdom + dynasty = global_var:flag_created_siam_kingdom.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_BRUNEI_KINGDOM_DESC + trigger = { + exists = global_var:flag_created_brunei_kingdom + dynasty = global_var:flag_created_brunei_kingdom.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_BRUNEI_EMPIRE_DESC + trigger = { + exists = global_var:flag_created_brunei_empire + dynasty = global_var:flag_created_brunei_empire.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_RUM_DESC + trigger = { + exists = global_var:flag_formed_rum_sultanate + dynasty = global_var:flag_formed_rum_sultanate.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_ISRAEL_DESC + trigger = { + exists = global_var:create_israel_kingdom + dynasty = global_var:create_israel_kingdom.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_OUTREMER_DESC + trigger = { + exists = global_var:flag_created_outremer_empire + dynasty = global_var:flag_created_outremer_empire.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_SWITZERLAND_DESC + trigger = { + exists = global_var:flag_formed_switzerland_kingdom + dynasty = global_var:flag_formed_switzerland_kingdom.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_AUSTRIA_DESC + trigger = { + exists = global_var:flag_formed_austria_kingdom + dynasty = global_var:flag_formed_austria_kingdom.dynasty + } + } + + text = { + localization_key = SUCCESSION_EVENT_WINDOW_END_DATE_CREATED_ARAGON_DESC + trigger = { + exists = global_var:flag_formed_kingdom_of_aragon + dynasty = global_var:flag_formed_kingdom_of_aragon.dynasty + } + } } diff --git a/common/customizable_localization/00_statecraft_lifestyle_custom_loc.txt b/common/customizable_localization/00_statecraft_lifestyle_custom_loc.txt deleted file mode 100644 index 3ad8ca674..000000000 --- a/common/customizable_localization/00_statecraft_lifestyle_custom_loc.txt +++ /dev/null @@ -1,27 +0,0 @@ - - -StatecraftGetVassalType = { - type = character - - text = { - trigger = { government_has_flag = government_is_feudal} - localization_key = statecraft_ongoing.4010.nobility - fallback = yes - } - text = { - trigger = { government_has_flag = government_is_clan} - localization_key = statecraft_ongoing.4010.clan - } - text = { - trigger = { government_has_flag = government_is_tribal} - localization_key = statecraft_ongoing.4010.chieftains - } - text = { - trigger = { government_has_flag = government_is_theocracy} - localization_key = statecraft_ongoing.4010.clergy - } - text = { - trigger = { government_has_flag = government_is_republic} - localization_key = statecraft_ongoing.4010.citizenry - } -} diff --git a/common/customizable_localization/00_visit_settlement_custom_loc.txt b/common/customizable_localization/00_visit_settlement_custom_loc.txt index c231dca24..6d7b51ec5 100644 --- a/common/customizable_localization/00_visit_settlement_custom_loc.txt +++ b/common/customizable_localization/00_visit_settlement_custom_loc.txt @@ -332,7 +332,7 @@ SettlementCity = { } } location.county = { - development_level < 20 + prosperity_level < 20 NOT = { culture = { has_cultural_tradition = tradition_horse_lords @@ -355,7 +355,7 @@ SettlementCity = { } } location.county = { - development_level >= 20 + prosperity_level >= 20 } } localization_key = is_city diff --git a/common/customizable_localization/05_bp2_custom_loc.txt b/common/customizable_localization/05_bp2_custom_loc.txt index 5cc0e3ddf..a2c02f44f 100644 --- a/common/customizable_localization/05_bp2_custom_loc.txt +++ b/common/customizable_localization/05_bp2_custom_loc.txt @@ -197,7 +197,7 @@ GetDiplomacyBuilding = { random_valid = yes text = { - localization_key = building_city_02 + localization_key = city_02 fallback = yes } } @@ -281,7 +281,7 @@ GetIntrigueBuilding = { liege ?= { government_has_flag = government_is_tribal } } } - localization_key = building_castle_02 + localization_key = castle_02 } text = { trigger = { @@ -299,7 +299,7 @@ GetIntrigueBuilding = { liege ?= { government_has_flag = government_is_tribal } } } - localization_key = building_city_04 + localization_key = city_04 } } @@ -327,7 +327,7 @@ GetLearningBuilding = { liege ?= { government_has_flag = government_is_tribal } } } - localization_key = building_type_monastic_schools_01 + localization_key = temple_school } text = { trigger = { diff --git a/common/customizable_localization/06_ce1_legends_custom_loc.txt b/common/customizable_localization/06_ce1_legends_custom_loc.txt index 3a99fbbd1..99336bcf0 100644 --- a/common/customizable_localization/06_ce1_legends_custom_loc.txt +++ b/common/customizable_localization/06_ce1_legends_custom_loc.txt @@ -318,10 +318,7 @@ GetRandomExteriorDetail = { #Remember to use the 1st person present in the loc, text = { # You see a passing merchant trigger = { location = { - OR = { - has_holding_type = city_holding - has_building_or_higher = market_villages_01 - } + has_holding_type = city_holding } } localization_key = GetRandomExteriorDetail_merchant @@ -1152,4 +1149,4 @@ GetCustodianSynonym = { text = { localization_key = GetCustodianSynonym_defender } -} \ No newline at end of file +} diff --git a/common/customizable_localization/07_ep3_custom_loc.txt b/common/customizable_localization/07_ep3_custom_loc.txt index 26c518b6e..334b0e772 100644 --- a/common/customizable_localization/07_ep3_custom_loc.txt +++ b/common/customizable_localization/07_ep3_custom_loc.txt @@ -1,6 +1,11 @@ GetCourtType = { type = character + text = { + trigger = { has_government = merchant_government } + localization_key = game_concept_company + } + text = { trigger = { has_government = landless_adventurer_government } localization_key = game_concept_camp @@ -15,6 +20,11 @@ GetCourtTypePlural = { type = character + text = { + trigger = { has_government = merchant_government } + localization_key = game_concept_companies + } + text = { trigger = { has_government = landless_adventurer_government } localization_key = game_concept_camps @@ -29,6 +39,11 @@ GetCourtTypePlural = { GetCourtTypeConcept = { type = character + text = { + trigger = { has_government = merchant_government } + localization_key = COMPANY + } + text = { trigger = { has_government = landless_adventurer_government } localization_key = CAMP @@ -43,6 +58,11 @@ GetCourtTypeConcept = { GetCourtierType = { type = character + text = { + trigger = { has_government = merchant_government } + localization_key = game_concept_associate + } + text = { trigger = { has_government = landless_adventurer_government } localization_key = game_concept_follower @@ -57,6 +77,11 @@ GetCourtierType = { GetCourtierTypePlural = { type = character + text = { + trigger = { has_government = merchant_government } + localization_key = game_concept_associates + } + text = { trigger = { has_government = landless_adventurer_government } localization_key = game_concept_followers @@ -76,6 +101,11 @@ GetCourtierTypeConcept = { localization_key = FOLLOWER } + text = { + trigger = { has_government = merchant_government } + localization_key = ASSOCIATE + } + text = { trigger = { is_landless_adventurer = no } localization_key = COURTIER @@ -90,6 +120,11 @@ GetCourtiersTypeConcept = { localization_key = FOLLOWER_PLURAL } + text = { + trigger = { is_landless_merchant = yes } + localization_key = ASSOCIATE_PLURAL + } + text = { trigger = { is_landless_adventurer = no } localization_key = COURTIER_PLURAL @@ -128,7 +163,7 @@ TriumphReligiousLocation = { # Muslim faith.religion = religion:islam_religion } - localization_key = building_hagia_sophia_02 + localization_key = hagia_sophia_02 } @@ -175,7 +210,7 @@ TriumphReligiousLocationCapitalized = { # Muslim faith.religion = religion:islam_religion } - localization_key = building_hagia_sophia_02 + localization_key = hagia_sophia_02 } text = { @@ -1431,15 +1466,21 @@ GetProvincialConceptNoTooltip = { GetProvincialArmyConcept = { type = character + text = { + trigger = { government_has_flag = government_is_republic } + localization_key = REPUBLICAN_ARMY_CONCEPT + } + text = { trigger = { + government_has_flag = government_is_administrative top_liege.culture ?= { has_cultural_pillar = heritage_byzantine } } localization_key = THEMATIC_ARMY_CONCEPT } text = { - trigger = { always = no } + trigger = { government_has_flag = government_is_administrative } fallback = yes localization_key = PROVINCIAL_ARMY_CONCEPT } @@ -1453,15 +1494,21 @@ GetProvincialArmyConceptNoTooltip = { GetProvincialArmiesConcept = { type = character + text = { + trigger = { government_has_flag = government_is_republic } + localization_key = REPUBLICAN_ARMIES_CONCEPT + } + text = { trigger = { + government_has_flag = government_is_administrative top_liege.culture ?= { has_cultural_pillar = heritage_byzantine } } localization_key = THEMATIC_ARMIES_CONCEPT } text = { - trigger = { always = no } + trigger = { government_has_flag = government_is_administrative } fallback = yes localization_key = PROVINCIAL_ARMIES_CONCEPT } @@ -1472,6 +1519,55 @@ GetProvincialArmiesConceptNoTooltip = { suffix = "_NO_TOOLTIP" } +GetNobleFamilySuffix = { + type = character + text = { + trigger = { culture = { has_cultural_pillar = language_korean } } + localization_key = c_nf_korea_suffix + } + text = { + trigger = { culture = { has_cultural_pillar = language_japonic } } + localization_key = c_nf_japan_suffix + } + text = { + trigger = { culture = { has_cultural_pillar = heritage_viet } } + localization_key = c_nf_viet_suffix + } + text = { + # they don't have their script represented in game so we have to use the name list instead + trigger = { culture = { has_name_list = name_list_tangut } } + localization_key = c_nf_xia_suffix + } + text = { + trigger = { culture = { has_cultural_pillar = language_khitan } } + localization_key = c_nf_liao_suffix + } + text = { + trigger = { culture = { has_cultural_pillar = heritage_tungusic } } + localization_key = c_nf_jin_suffix + } + # secondary fallback for anything somehow related to china + text = { + trigger = { + OR = { + culture = { culture_use_chinese_character_trigger = yes } + AND = { + culture_has_east_asian_heritage_pillar_trigger = yes + government_has_flag = government_is_celestial + } + } + } + localization_key = c_nf_china_suffix + } + text = { + trigger = { government_has_flag = government_is_republic } + localization_key = c_republic_suffix + } + text = { + localization_key = c_nf_default_suffix + } +} + GetByzantineCoinWithGloss = { type = province @@ -1556,6 +1652,11 @@ GetGuestsOrNot = { localization_key = COURT_WINDOW_HAS_FOLLOWERS } + text = { + trigger = { has_government = merchant_government } + localization_key = COURT_WINDOW_HAS_ASSOCIATES + } + text = { trigger = { is_landless_adventurer = no } localization_key = COURT_WINDOW_HAS_COURTIERS @@ -1995,6 +2096,13 @@ GetInvalidatedContractType = { GetContractOrIssue = { type = character + text = { + trigger = { + government_has_flag = government_is_merchant + } + localization_key = TRADE_CONTRACT_NO_CONCEPT + } + text = { trigger = { government_has_mechanic = administrative @@ -2041,6 +2149,13 @@ GetContractOrIssuePossessivePlural = { GetContractOrIssueGameConcept = { type = character + text = { + trigger = { + government_has_flag = government_is_merchant + } + localization_key = TRADE_CONTRACT + } + text = { trigger = { government_has_mechanic = administrative @@ -2068,3 +2183,8 @@ GetContractOrIssueGameConcept = { localization_key = TASK_CONTRACT } } + +GetContractOrIssueGameConceptPlural = { + parent = GetContractOrIssueGameConcept + suffix = "_PLURAL" +} diff --git a/common/customizable_localization/10_ach_custom_loc.txt b/common/customizable_localization/10_ach_custom_loc.txt index c2c478c30..0faa3a865 100644 --- a/common/customizable_localization/10_ach_custom_loc.txt +++ b/common/customizable_localization/10_ach_custom_loc.txt @@ -362,7 +362,6 @@ GetHoFGreeterExchangeFirstPerson = { OR = { has_secret_relation_lover = scope:second has_relation_lover = scope:second - has_relation_soulmate = scope:second } OR = { AND = { @@ -383,10 +382,7 @@ GetHoFGreeterExchangeFirstPerson = { } text = { trigger = { - OR = { - has_relation_lover = scope:second - has_relation_soulmate = scope:second - } + has_relation_lover = scope:second } localization_key = HoFGreeterExchangeFPAllTooShortEmbrace } @@ -468,10 +464,7 @@ GetHoFGreeterExchange = { rite_has_parameter = homosexuality_illegal } } - OR = { - has_relation_lover = scope:second - has_relation_soulmate = scope:second - } + has_relation_lover = scope:second is_male = yes scope:second = { is_male = yes @@ -493,10 +486,7 @@ GetHoFGreeterExchange = { rite_has_parameter = homosexuality_illegal } } - OR = { - has_relation_lover = scope:second - has_relation_soulmate = scope:second - } + has_relation_lover = scope:second is_female = yes scope:second = { is_female = yes @@ -515,7 +505,6 @@ GetHoFGreeterExchange = { OR = { has_secret_relation_lover = scope:second has_relation_lover = scope:second - has_relation_soulmate = scope:second } } localization_key = HoFGreeterExchangeOverlong @@ -530,7 +519,6 @@ GetHoFGreeterExchange = { trigger = { OR = { has_relation_friend = scope:second - has_relation_best_friend = scope:second AND = { opinion = { target = scope:second @@ -749,7 +737,7 @@ GetCoronationSite = { NEOW_religion_is_broadly_christian_trigger = yes faith = faith:carolingian } - has_special_building = yes + has_special_district = yes has_building_or_higher = palace_of_aachen_01 } localization_key = CoronationSitePalatineChapel @@ -758,25 +746,25 @@ GetCoronationSite = { text = { # Hagia Sophia trigger = { NEOW_religion_is_broadly_christian_trigger = yes - has_special_building = yes + has_special_district = yes has_building = hagia_sophia_01 } - localization_key = building_hagia_sophia_01 + localization_key = hagia_sophia_01 } text = { # Hagia Sophia trigger = { religion = religion:islam_religion - has_special_building = yes + has_special_district = yes has_building = hagia_sophia_02 } - localization_key = building_hagia_sophia_02 + localization_key = hagia_sophia_02 } text = { # Church of the Holy Sepulchre trigger = { NEOW_religion_is_broadly_christian_trigger = yes - has_special_building = yes + has_special_district = yes OR = { has_building_or_higher = dome_of_the_rock_01 has_building_or_higher = temple_in_jerusalem_01 @@ -796,7 +784,7 @@ GetCoronationSite = { text = { # Westminster Abbey trigger = { NEOW_religion_is_broadly_christian_trigger = yes - has_special_building = yes + has_special_district = yes has_building_or_higher = the_tower_of_london_01 } localization_key = CoronationSiteWestminsterAbbey @@ -1139,7 +1127,7 @@ GetLocalCommonerTerm = { has_building = temple_01 } county = { - development_level <= 5 + prosperity_level <= 5 } } } @@ -1207,7 +1195,7 @@ GetLocalCommonerTermPlural = { has_building = temple_01 } county = { - development_level <= 5 + prosperity_level <= 5 } } } @@ -1221,7 +1209,7 @@ GetLocalCommonerTermPlural = { has_holding_type = church_holding } county = { - development_level >= 20 + prosperity_level >= 20 } } } diff --git a/common/customizable_localization/tgp_custom_loc.txt b/common/customizable_localization/tgp_custom_loc.txt index 930b6519a..72f216f7c 100644 --- a/common/customizable_localization/tgp_custom_loc.txt +++ b/common/customizable_localization/tgp_custom_loc.txt @@ -2037,3 +2037,55 @@ GetMonographQuality = { localization_key = monograph_description_quality_great } } + +GetSilkRoadBuilding = { + type = province + + text = { # Bazaar of Lahur (Lahore) + trigger = { + has_special_district = yes + has_building_or_higher = lahur_bazaar_01 + } + localization_key = lahur_bazaar_01_tooltip + } + + text = { # Marketplace of Chang'an + trigger = { + has_special_district = yes + has_building_or_higher = changan_market_01 + } + localization_key = changan_market_01_tooltip + } + + text = { # Marketplace of Dūnhuáng + trigger = { + has_special_district = yes + has_building_or_higher = dunhuang_market_01 + } + localization_key = dunhuang_market_01_tooltip + } + + text = { # Bazaar of Gurganj + trigger = { + has_special_district = yes + has_building_or_higher = gurganj_bazaar_01 + } + localization_key = gurganj_bazaar_01_tooltip + } + + text = { # Khrom of Lhasa + trigger = { + has_special_district = yes + has_building_or_higher = lhasa_market_01 + } + localization_key = lhasa_market_01_tooltip + } + + text = { # Bazaar of Tabriz + trigger = { + has_special_district = yes + has_building_or_higher = tabriz_bazaar_01 + } + localization_key = tabriz_bazaar_01_tooltip + } +}