country_decisions = {
cascadia_nation = {
           major = yes
           potential = {
                 NOT = { has_country_flag = changed_from_colonial_nation }
                 was_never_end_game_tag_trigger = yes
                 is_nomad = no
                 is_random_new_world = no
                 NOT = { tag = HLR }
                 NOT = { tag = PAP }
                 OR = {
                       is_former_colonial_nation = yes
                       is_colonial_nation = yes
                       AND = {
                             NOT = {
                                   OR = {
                                         technology_group = north_american
                                         technology_group = mesoamerican
                                         technology_group = andean
                                         technology_group = high_american
                                         technology_group = south_american
                                  }
                            }
                            capital_scope = {
                                  colonial_region = colonial_alaska
                                  is_core = ROOT
                            }
                       }
                 }
                 colonial_alaska = {
                       owned_by = ROOT
                 }
                 OR = {
                       ai = no
                       AND = {
                             ai = yes
                             num_of_cities = 3
                       }
                 }
           }
           provinces_to_highlight = {
                 colonial_region = colonial_alaska
                 OR = {
                       NOT = { owned_by = ROOT }
                       is_city = no
                 }
           }
           allow = {
                 adm_tech = 10
                 is_free_or_tributary_trigger = yes
                 is_at_war = no
                 capital_scope = {
                       colonial_region = colonial_alaska
                       is_core = ROOT
                 }
                 num_of_owned_provinces_with = {
                       value = 10
           colonial_region = colonial_alaska
           is_city = yes
     }
     NOT = { exists = CSC }
}
effect = {
      hidden_effect = {
            if = {
                  limit = {
                        NOT = { is_former_colonial_nation = yes }
                  }
                  ROOT = { save_event_target_as = old_tag_target }
                  set_country_flag = was_not_former_colonial_nation
            }
      }
      change_tag = CSC
      on_change_tag_effect = yes
      if = {
            limit = {
                  NOT = { is_former_colonial_nation = yes }
            }
            restore_old_nation_on_formation_effect = yes
            remove_non_electors_emperors_from_empire_effect = yes
      }
      if = {
            limit = {
                  NOT = { government_rank = 2 }
            }
            set_government_rank = 2
      }
      colonial_alaska = {
            limit = {
                  NOT = { owned_by = ROOT }
            }
            add_permanent_claim = CSC
      }
     if = {
           limit = {
                 culture_group = iberian
                 NOT = { primary_culture = mexican }
           }
           change_primary_culture = mexican
     }
     if = {
           limit = {
                 culture_group = french
                 NOT = { primary_culture = quebecois }
           }
           change_primary_culture = quebecois
     }
     add_country_modifier = {
           name = "centralization_modifier"
           duration = 7300
     }
     add_prestige = 25
     if = {
           limit = { has_custom_ideas = no }
           country_event = { id = ideagroups.1 } #Swap Ideas
             }
             #can't have more than one elective monarchy in the game
             if = {
                   limit = {
                         has_reform = elective_monarchy
                   }
                   change_government = monarchy
                   add_government_reform = feudalism_reform
             }
             set_country_flag = changed_from_colonial_nation
        }
        ai_will_do = {
              factor = 1
        }
    }