add_namespace = C52

country_event = {
	id = C52.001
	title = C52.001.t
	desc = C52.001.d
	picture = GFX_C52_event_001
	
	is_triggered_only = yes

	option = {
		name = C52.001.a
		custom_effect_tooltip = effect_C52_guchud_hire
		set_country_flag = flag_C52_guchud
		hidden_effect = {
	    	remove_ideas = idea_C52_chaotic_horde
	    	add_ideas = idea_C52_horde
		}
	}
	option = {
		name = C52.001.b
		add_political_power = 150
		hidden_effect = {
	    	remove_ideas = idea_C52_chaotic_horde
		    add_ideas = idea_C52_horde
        }		
	}
}

country_event = {
	id = C52.002
	title = C52.002.t
	desc = C52.002.d
	picture = GFX_C52_event_002
	
	is_triggered_only = yes

	option = {
		name = C52.002.a
	    add_ideas = idea_C52_land_farmers
	}
	option = {
	    name = C52.002.b
		add_ideas = idea_C52_land_warriors
	}
}

country_event = {
	id = C52.003
	title = C52.003.t
	desc = C52.003.d
	picture = GFX_C52_event_003
	
	is_triggered_only = yes

	option = {
		name = C52.003.a
	    set_cosmetic_tag = C52_YUAN
		remove_ideas = idea_C52_horde
		add_ideas = idea_C52_mandate
		hidden_effect = {
	    	remove_country_leader_trait = trait_C52_great_khan
		    add_country_leader_trait = trait_C52_emperor
			set_portraits = {
				character = C52_ganhuyag
				army = {
                    large = gfx/leaders/C52/portrait_C52_ganhuyag1.dds
                }
			    civilian = {
				    large = gfx/leaders/C52/portrait_C52_ganhuyag1.dds
			    }
			}
        }
	}
}

country_event = {
	id = C52.004
	title = C52.004.t
	desc = C52.004.d
	picture = GFX_C52_event_004
	
	is_triggered_only = yes

	option = {
		name = C52.004.a
		remove_ideas = idea_C52_pogroms
		add_state_core = 613
		add_state_core = 598
		add_state_core = 597
		add_state_core = 743
		add_state_core = 614
		add_state_core = 608
		add_state_core = 615
		add_state_core = 622
		add_state_core = 746
		add_state_core = 616
		add_state_core = 283
		add_state_core = 754
		add_state_core = 755
	}
}

country_event = {
	id = C52.005
	title = C52.005.t
	desc = C52.005.d
	picture = GFX_C52_event_005
	
	is_triggered_only = yes

	option = {
		name = C52.005.a
	    set_cosmetic_tag = C52_KHAGAN
		add_stability = 0.1
		hidden_effect = {
	    	remove_country_leader_trait = trait_C52_great_khan
		    add_country_leader_trait = trait_C52_kagan
        }
	}
}