country_decisions = { pol_commonwealth = { major = yes potential = { normal_or_historical_nations = yes NOT = { has_country_flag = formed_plc_flag } OR = { ai = no is_playing_custom_nation = no } OR = { is_free_or_tributary_trigger = yes ai = no } NOT = { exists = PLC } NOT = { tag = HLR } tag = POL LIT = { exists = yes } OR = { ai = no AND = { senior_union_with = LIT LIT = { #This overlaps with allow for AI, is meant to negate do_not_integrate NOT = { num_of_cities = 60 } #Keep this number the same as in allow. Original 38 +10 } } } } provinces_to_highlight = { OR = { province_id = 262 # Krakow province_id = 257 # Warszawa province_id = 43 # Danzig province_id = 1841 # Marienburg } OR = { NOT = { owned_by = ROOT } NOT = { is_core = ROOT } } } allow = { LIT = { was_player = no } LIT = { NOT = { num_of_cities = 60 } #Keep this number the same as in potential. Original 38 +10 NOT = { liberty_desire = 25 } } if = { limit = { has_country_flag = pol_tech_8_form_plc_flag } adm_tech = 8 } else = { adm_tech = 10 } is_subject = no is_nomad = no stability = 1 is_at_war = no owns_core_province = 262 # Krakow owns_core_province = 257 # Warszawa owns_core_province = 43 # Danzig owns_core_province = 1841 # Marienburg senior_union_with = LIT MAZ = { exists = no } } effect = { change_tag = PLC on_change_tag_effect = yes inherit = LIT swap_non_generic_missions = yes accept_commonwealth_cultures_effect = yes remove_non_electors_emperors_from_empire_effect = yes if = { limit = { NOT = { government_rank = 2 } } set_government_rank = 2 } if = { limit = { poland_region = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } poland_region = { add_permanent_claim = PLC } } if = { limit = { white_ruthenia_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } white_ruthenia_area = { add_permanent_claim = PLC } } if = { limit = { lithuania_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } lithuania_area = { add_permanent_claim = PLC } } if = { limit = { pripyat_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } pripyat_area = { add_permanent_claim = PLC } } random_owned_province = { limit = { OR = { culture = polish culture = polish_new } } add_base_tax = 1 } set_country_flag = formed_plc_flag add_prestige = 25 if = { limit = { has_dlc = "Lions of the North" NOT = { has_estate_privilege = estate_nobles_golden_liberty } } complete_mission = pol_leverage_magnates complete_mission = pol_great_sejm complete_mission = plc_articles_agreement } if = { limit = { has_custom_ideas = no } country_event = { id = ideagroups.1 } #Swap Ideas } } ai_will_do = { factor = 1 } ai_importance = 400 do_not_integrate = LIT } lit_commonwealth = { major = yes potential = { normal_or_historical_nations = yes NOT = { has_country_flag = formed_plc_flag } OR = { ai = no is_playing_custom_nation = no } OR = { is_free_or_tributary_trigger = yes ai = no } NOT = { exists = PLC } NOT = { tag = HLR } tag = LIT POL = { exists = yes ai = yes was_player = no } OR = { ai = no AND = { senior_union_with = POL POL = { #This overlaps with allow for AI, is meant to negate do_not_integrate NOT = { num_of_cities = 40 } #Keep this number the same as in allow. Original 22 + 10 NOT = { liberty_desire = 25 } } } } } provinces_to_highlight = { OR = { province_id = 272 # Vilna province_id = 276 # Minsk province_id = 280 # Kiev province_id = 1941 # Turov } OR = { NOT = { owned_by = ROOT } NOT = { is_core = ROOT } } } allow = { POL = { NOT = { num_of_cities = 40 } NOT = { liberty_desire = 25 } } #Keep this number the same as in potential. Original 22+10 adm_tech = 10 is_subject = no is_nomad = no stability = 3 is_at_war = no owns_core_province = 272 # Vilna owns_core_province = 276 # Minsk owns_core_province = 280 # Kiev owns_core_province = 1941 # Turov senior_union_with = POL MAZ = { exists = no } } effect = { change_tag = PLC on_change_tag_effect = yes if = { limit = { OR = { tag = LIT primary_culture = lithuanian } } override_country_name = LPC set_country_flag = is_LPC_flag } else = { restore_country_name = yes } inherit = POL set_country_flag = pol_chose_pu_flag swap_non_generic_missions = yes accept_commonwealth_cultures_effect = yes remove_non_electors_emperors_from_empire_effect = yes if = { limit = { NOT = { government_rank = 2 } } set_government_rank = 2 } if = { limit = { poland_region = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } poland_region = { add_permanent_claim = PLC } } if = { limit = { white_ruthenia_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } white_ruthenia_area = { add_permanent_claim = PLC } } if = { limit = { lithuania_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } lithuania_area = { add_permanent_claim = PLC } } if = { limit = { pripyat_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } pripyat_area = { add_permanent_claim = PLC } } random_owned_province = { limit = { culture = lithuanian } add_base_tax = 1 } set_country_flag = formed_plc_flag add_prestige = 25 complete_mission = pol_leverage_magnates complete_mission = pol_great_sejm complete_mission = plc_articles_agreement if = { limit = { has_custom_ideas = no } country_event = { id = ideagroups.1 } #Swap Ideas } } ai_will_do = { factor = 1 } ai_importance = 200 do_not_integrate = POL } commonwealth_enforced = { major = yes potential = { normal_or_historical_nations = yes NOT = { has_country_flag = formed_plc_flag } OR = { ai = no is_playing_custom_nation = no } OR = { is_free_or_tributary_trigger = yes ai = no } NOT = { exists = PLC } LIT = { NOT = { senior_union_with = POL } NOT = { junior_union_with = POL } } POL = { NOT = { senior_union_with = LIT } NOT = { junior_union_with = LIT } } OR = { tag = LIT tag = POL tag = UKR culture_group = slavic } OR = { ai = no NOT = { exists = POL } NOT = { exists = LIT } } } provinces_to_highlight = { OR = { province_id = 272 # Vilna province_id = 276 # Minsk province_id = 280 # Kiev province_id = 1941 # Turov province_id = 262 # Krakow province_id = 257 # Warszawa province_id = 43 # Danzig province_id = 1841 # Marienburg } OR = { NOT = { owned_by = ROOT } NOT = { is_core = ROOT } } } allow = { adm_tech = 10 is_free_or_tributary_trigger = yes is_nomad = no stability = 3 is_at_war = no owns_core_province = 272 # Vilna owns_core_province = 276 # Minsk owns_core_province = 280 # Kiev owns_core_province = 1941 # Turov owns_core_province = 262 # Krakow owns_core_province = 257 # Warszawa owns_core_province = 43 # Danzig owns_core_province = 1841 # Marienburg MAZ = { exists = no } } effect = { change_tag = PLC on_change_tag_effect = yes if = { limit = { OR = { tag = UKR is_greater_ruthenian_culture = yes } } override_country_name = COMMONWEALTH_OF_THREE_NATIONS change_country_color = { color = { 3 46 7 } } set_country_flag = is_commonwealth_of_three_nations_flag } else_if = { limit = { OR = { tag = LIT primary_culture = lithuanian } } override_country_name = LPC set_country_flag = is_LPC_flag } else = { restore_country_name = yes } set_country_flag = pol_chose_pu_flag swap_non_generic_missions = yes remove_non_electors_emperors_from_empire_effect = yes if = { limit = { NOT = { government_rank = 2 } } PLC = { set_government_rank = 2 } } accept_commonwealth_cultures_effect = yes if = { limit = { poland_region = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } poland_region = { add_permanent_claim = ROOT } } if = { limit = { white_ruthenia_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } white_ruthenia_area = { add_permanent_claim = ROOT } } if = { limit = { lithuania_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } lithuania_area = { add_permanent_claim = ROOT } } if = { limit = { pripyat_area = { NOT = { owned_by = POL } NOT = { owned_by = LIT } NOT = { owned_by = PLC } } } pripyat_area = { add_permanent_claim = ROOT } } random_owned_province = { limit = { has_owner_culture = yes } add_base_tax = 1 } set_country_flag = formed_plc_flag add_prestige = 25 if = { limit = { NOT = { was_tag = POL } has_dlc = "Lions of the North" } complete_mission = pol_leverage_magnates complete_mission = pol_great_sejm complete_mission = plc_articles_agreement } if = { limit = { has_custom_ideas = no } country_event = { id = ideagroups.1 } #Swap Ideas } } ai_will_do = { factor = 1 } ai_importance = 200 } }