# European Federation of States: per-country flag change on joining EFS. # Each EU member country adopts its EFS-branded cosmetic tag (EFS_). # If the country is already a constituent of a formed nation (BLT, SCA, IBR), # it adopts that formable's EFS-branded tag instead. EFS_flag_category = { EFS_update_flag = { icon = GFX_decision_generic_form_nation cost = 0 ai_will_do = { base = 10000 } visible = { NOT = { has_country_flag = EFS_flag_change } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision EFS_update_flag" if = { limit = { tag = ALB } set_cosmetic_tag = EFS_ALB } else_if = { limit = { tag = ARM } set_cosmetic_tag = EFS_ARM } else_if = { limit = { tag = AUS } set_cosmetic_tag = EFS_AUS } else_if = { limit = { tag = AZE } set_cosmetic_tag = EFS_AZE } else_if = { limit = { tag = BEL } set_cosmetic_tag = EFS_BEL } else_if = { limit = { tag = BLR } set_cosmetic_tag = EFS_BLR } else_if = { limit = { tag = BOS } set_cosmetic_tag = EFS_BOS } else_if = { limit = { tag = BUL } set_cosmetic_tag = EFS_BUL } else_if = { limit = { tag = CAT } if = { limit = { has_country_flag = is_IBR } set_cosmetic_tag = EFS_IBR } else = { set_cosmetic_tag = EFS_CAT } } else_if = { limit = { tag = CRE } set_cosmetic_tag = EFS_CRE } else_if = { limit = { tag = CRO } set_cosmetic_tag = EFS_CRO } else_if = { limit = { tag = CYP } set_cosmetic_tag = EFS_CYP } else_if = { limit = { tag = CZE } set_cosmetic_tag = EFS_CZE } else_if = { limit = { tag = DEN } if = { limit = { has_country_flag = is_SCA } set_cosmetic_tag = EFS_SCA } else = { set_cosmetic_tag = EFS_DEN } } else_if = { limit = { tag = ENG } if = { limit = { has_cosmetic_tag = ENG_England } set_cosmetic_tag = EFS_ENG_england } else = { set_cosmetic_tag = EFS_ENG } } else_if = { limit = { tag = EST } if = { limit = { has_country_flag = is_BLT } set_cosmetic_tag = EFS_BLT } else = { set_cosmetic_tag = EFS_EST } } else_if = { limit = { tag = FIN } if = { limit = { has_country_flag = is_SCA } set_cosmetic_tag = EFS_SCA } else = { set_cosmetic_tag = EFS_FIN } } else_if = { limit = { tag = FRA } set_cosmetic_tag = EFS_FRA } else_if = { limit = { tag = FYR } set_cosmetic_tag = EFS_FYR } else_if = { limit = { tag = GEO } set_cosmetic_tag = EFS_GEO } else_if = { limit = { tag = GER } set_cosmetic_tag = EFS_GER } else_if = { limit = { tag = GRE } set_cosmetic_tag = EFS_GRE } else_if = { limit = { tag = HOL } set_cosmetic_tag = EFS_HOL } else_if = { limit = { tag = HUN } set_cosmetic_tag = EFS_HUN } else_if = { limit = { tag = ICE } if = { limit = { has_country_flag = is_SCA } set_cosmetic_tag = EFS_SCA } else = { set_cosmetic_tag = EFS_ICE } } else_if = { limit = { tag = IRE } set_cosmetic_tag = EFS_IRE } else_if = { limit = { tag = ITA } set_cosmetic_tag = EFS_ITA } else_if = { limit = { tag = KOS } set_cosmetic_tag = EFS_KOS } else_if = { limit = { tag = LAT } if = { limit = { has_country_flag = is_BLT } set_cosmetic_tag = EFS_BLT } else = { set_cosmetic_tag = EFS_LAT } } else_if = { limit = { tag = LIT } if = { limit = { has_country_flag = is_BLT } set_cosmetic_tag = EFS_BLT } else = { set_cosmetic_tag = EFS_LIT } } else_if = { limit = { tag = LUX } set_cosmetic_tag = EFS_LUX } else_if = { limit = { tag = MLT } set_cosmetic_tag = EFS_MLT } else_if = { limit = { tag = MLV } set_cosmetic_tag = EFS_MLV } else_if = { limit = { tag = MNT } set_cosmetic_tag = EFS_MNT } else_if = { limit = { tag = NRY } if = { limit = { has_country_flag = is_SCA } set_cosmetic_tag = EFS_SCA } else = { set_cosmetic_tag = EFS_NOR } } else_if = { limit = { tag = POL } set_cosmetic_tag = EFS_POL } else_if = { limit = { tag = POR } if = { limit = { has_country_flag = is_IBR } set_cosmetic_tag = EFS_IBR } else = { set_cosmetic_tag = EFS_POR } } else_if = { limit = { tag = ROM } set_cosmetic_tag = EFS_ROM } else_if = { limit = { tag = SCL } set_cosmetic_tag = EFS_SCL } else_if = { limit = { tag = SCO } set_cosmetic_tag = EFS_SCO } else_if = { limit = { tag = SER } set_cosmetic_tag = EFS_SER } else_if = { limit = { tag = SLO } set_cosmetic_tag = EFS_SLO } else_if = { limit = { tag = SLV } set_cosmetic_tag = EFS_SLV } else_if = { limit = { tag = SPR } if = { limit = { has_country_flag = is_IBR } set_cosmetic_tag = EFS_IBR } else = { set_cosmetic_tag = EFS_SPR } } else_if = { limit = { tag = SWE } if = { limit = { has_country_flag = is_SCA } set_cosmetic_tag = EFS_SCA } else = { set_cosmetic_tag = EFS_SWE } } else_if = { limit = { tag = SWI } set_cosmetic_tag = EFS_SWI } else_if = { limit = { tag = TUR } set_cosmetic_tag = EFS_TUR } else_if = { limit = { tag = UKR } set_cosmetic_tag = EFS_UKR } else = { set_cosmetic_tag = EFS_WAS } set_temp_variable = { special_formable_id = 102 } commit_special_formable = yes set_country_flag = EFS_flag_change custom_effect_tooltip = tooltip_change_flag } } }