eoanb_category_politics_internal = {

	CIR_Unite_Tribes = {

		icon = generic_nationalism

		allowed = { tag = CIR }
		#visible = {
		#	has_idea = chiefdom
		#}

		available = {
			OR = {
				NOT = { has_idea = pre_industrial_era }
				CAU = { exists = no }
			}
		}

		is_good = yes
		fire_only_once = yes

		cost = 0

		complete_effect = {
			add_stability = 0.19
			add_war_support = 0.2
			set_politics = {
				ruling_party = traditional_conservatism
        		elections_allowed = yes
        		election_frequency = 48
			}
			add_country_leader_role = {
  				Character = CIR_1857_Berzeg
  				Promote_leader = yes
  				Country_leader = {
					ideology = islamist
    				expire = "1965.1.1"
    				traits = {}
      			}
			}
			set_party_name = {
    			ideology = traditional_conservatism
    			long_name = CIR_1860_REP
    			name = CIR_1860_REP
			}
			set_party_name = {
    			ideology = centrism
    			long_name = CIR_1860_REP
    			name = CIR_1860_REP
			}
  			army_experience = 15
  			add_doctrine_cost_reduction = { cost_reduction = 1 uses = 1 category = land_doctrine }
  			add_ideas = {
  				#parliamentary_republic
  				limited_elections
  				parliamentary_suffrage
  			}
  			hidden_effect = {
  				country_event = { id = caucasus.10 days = 30 }
  				retire_ideology_leader = fundamentalism
  				add_popularity = {
    				ideology = traditional_conservatism
    				popularity = 0.4
				}
				add_popularity = {
    				ideology = centrism
    				popularity = 0.2
				}
  			}
		}

		ai_will_do = {
			base = 100
		}
	}

}

eoanb_category_diplomatic_actions = {

	CIR_Seek_Help_UK = {

		icon = eng_trade_unions_support

		allowed = { tag = CIR }
		visible = {
			#NOT = { has_idea = chiefdom }
			has_war_with = RUS
		}

		available = {
			surrender_progress > 0.1
		}

		is_good = yes
		fire_only_once = yes

		cost = 25

		complete_effect = {
			ENG = {
				country_event = {
    				id = caucasus.1
    				days = 4
				}
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	CIR_Seek_Help_OTO = {

		icon = eng_trade_unions_support

		allowed = { tag = CIR }
		visible = {
			#NOT = { has_idea = chiefdom }
			has_war_with = RUS
		}

		available = {
			surrender_progress > 0.1
		}

		is_good = yes
		fire_only_once = yes

		cost = 25

		complete_effect = {
			OTO = {
				country_event = {
    				id = caucasus.4
    				days = 2
				}
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	CIR_Surrender_To_RUS = {

		icon = hol_war_on_pacifism

		allowed = { tag = CIR }
		visible = {
			#NOT = { has_idea = chiefdom }
			has_war_with = RUS
		}

		available = {
			surrender_progress > 0.7
		}

		is_good = yes
		fire_only_once = yes

		cost = 25

		complete_effect = {
			custom_effect_tooltip = CIR_vic_Surrender_To_Russia_tt
			RUS = {
				country_event = {
    				id = caucasus.7
    				days = 2
				}
			}
		}

		ai_will_do = {
			base = 1
		}
	}

}

