##########################################
#
# Furusiyya Tournament Events
#
# Event ID 88250 - 88499 is reserved
#
##########################################

# Rewritten by Hooni for the mod!
# Invitation

narrative_event = {
	id = 88250
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88250"
	picture = "GFX_evt_emissary_muslim"

	is_triggered_only = yes
	prisoner = no
	
	option = {
		name = "EVTOPTA88250"
		ai_chance = {
			factor = 50
			modifier  = {
				factor = 0.1
				ai = yes
				trait = in_hiding
			}
			modifier  = {
				factor = 0.5
				trait = craven
			}
			modifier  = {
				factor = 2
				trait = brave
			}
			modifier  = {
				factor = 0.5
				NOT = {combat_rating = 1}
			}
			modifier  = {
				factor = 2
				combat_rating = 3
			}
			modifier  = {
				factor = 2
				combat_rating = 5
			}
			modifier  = {
				factor = 2
				combat_rating = 7
			}
			modifier  = {
				factor = 2
				combat_rating = 9
			}
		}
		prestige = 50
		
		set_character_flag = tntk
		if = {
			limit = { trait = in_hiding	}
			remove_trait = in_hiding
			add_character_modifier = {
				name = went_out_of_hiding_timer
				duration = 180
				hidden = yes
			}
			hidden_tooltip = { character_event = { id = CM.6400 } } # Notify plotters and family
		}
	}
	option = {
		name = "EVTOPTB88250"
		ai_chance = {
			factor = 50
		}
		prestige = -25
	}
}

# Start of tournament
narrative_event = {
	id = 88251
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88251"
	picture = "GFX_evt_feast"

	is_triggered_only = yes
	
	
	option = {
		name = "EVTOPTA88251"
		
		
		trigger = {
			any_realm_character = {
				trait = at_tournament
			}
			war = no
		}
		
		custom_tooltip = {
			text = decadence_reduction_per_duke
			hidden_tooltip = {
				any_realm_character = {
					limit = {
						trait = at_tournament
						higher_tier_than = COUNT
					}
					decadence = -1
				}
			}
		}
		
		hidden_tooltip = {
			
			add_trait = at_tournament
			character_event = {id = 88252 days = 85} #Tournament Ends 60 + 25 leeway
			
			#START ROUND 1
			character_event = {id = TNT.12000 days = 7 random = 3}
			any_realm_character = {
				#Wound/Maim/Killed
				limit = {
					trait = at_tournament
				}
				character_event = {id = TNT.12000 days = 7 random = 3}
			}
			
			
			character_event = {id = TNT.13000 days = 10 random = 5}
			#determine the first elimination round
			any_realm_character = {
				limit = {
					trait = at_tournament
				}
				character_event = {id = TNT.13000 days = 10 random = 5}
			}
			
			#ADD ONE COURTIER EVENT HERE
			random_realm_character = { #Homo
				limit = {
					trait = at_tournament
					is_female = no
				}
				character_event = {id = 88273 days = 15}
			}
			
			
			character_event = {id = TNT.14000 days = 20 random = 10}
			#Flavour
			any_realm_character = {
				limit = {
					trait = at_tournament
				}
				character_event = {id = TNT.14000 days = 20 random = 10}
			}
			
			#Determine highest combat_rating who has not lost first round
			character_event = {id = TNT.1000 days = 35}
			
			#Determine the second finalist who has not lost first round
			#character_event = {id = TNT.1001 days = 40}
			
			#Final Highlight
			character_event = {id = TNT.1010 days = 45}
			
		}
		chronicle = {
			entry = CHRONICLE_FURUSIYYA
			picture = GFX_evt_joust
		}
		
		
	}
	
	option = {
		name = "EVTOPTB88251"
		trigger = {
			OR = {
				NOT = {
					any_realm_character = {
						trait = at_tournament
					}
				}
				war = yes
			}
		}
		wealth = 150
		prestige = -150
		decadence = 2
		
		hidden_tooltip = {
			any_realm_character = {
				limit = {
					trait = at_tournament
				}
				character_event = { id = 88287 }
			}
		}
		remove_trait = tournament_holder
		remove_trait = at_tournament
	}
}





# Tournament has been cancelled
character_event = {
	id = 88287
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88287"
	picture = "GFX_evt_joust"

	is_triggered_only = yes

	option = {

		name = "EVTOPTA88287"
		prestige = -50
		remove_trait = at_tournament
	}
}

# Message about death
character_event = {
	id = 88288
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88288"
	picture = "GFX_evt_death"

	is_triggered_only = yes

	trigger = {
		OR = {
			NOT = { has_character_flag = dmsg }
			AND = {
				dynasty = FROM
				NOT = { has_character_flag = kdmsg }
			}
			
		}
	}

	option = {
		
		name = "EVTOPTA88288"
	}
	option = {
		name = "EVTOPTB88288"
		set_character_flag = dmsg
		if = {
			limit = {dynasty = FROM}
			set_character_flag = kdmsg
		}
	}
}

# Message about maimed
character_event = {
	id = 88289
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88289"
	picture = "GFX_evt_emissary"

	is_triggered_only = yes

	trigger = {
		OR = {
			AND = {
				FROM = {
					OR = {
						is_landed = yes
						AND = {
							is_councillor = yes
							liege = {
								character = ROOT
							}
						}
					}
				}
				NOT = { has_character_flag = mmsg }
			}
			
			AND = {
				dynasty = FROM
				NOT = { has_character_flag = kmmsg }
			}
			
		}
	}

	option = {
		name = "EVTOPTA88289"
	}
	option = {
		name = "EVTOPTB88289"
		set_character_flag = mmsg
		if = {
			limit = {dynasty = FROM}
			set_character_flag = kmmsg
		}
	}
}

# Message about wounded
character_event = {
	id = 88290
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88290"
	picture = "GFX_evt_emissary"

	trigger = {
		NOT = { has_character_flag = wmsg }
		dynasty = FROM
	}

	is_triggered_only = yes
	option = {
		
		name = "EVTOPTA88290"
	}
	option = {
		name = "EVTOPTB88290"
		set_character_flag = wmsg
	}
}

# Tournament is over
character_event = {
	id = 88252
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88252"
	picture = "GFX_evt_joust"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA88252"


		
		any_realm_character = {
			limit = {
				trait = at_tournament
				NOT = {
					character = ROOT
				}
				NOT = {
					has_character_flag = tnt1st
				}
				NOT = {
					has_character_flag = tnt2nd
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = {
						modifier = {
							factor = 0
							has_character_flag = tntl
						}
						character_event = { id = 88253 }
					}
					10 = {
						modifier = {
							factor = 0
							has_character_flag = tntl
						}
						character_event = { id = 88254 }
					}
					10 = {
						character_event = { id = 88255 }
					}
					10 = {
						character_event = { id = 88256 }
					}
					10 = {
						character_event = { id = 88257 }
					}
				}
			
				opinion = {
					modifier = opinion_tournament_participant
					who = ROOT
					years = 2
				}
			}
		}
		
		
		hidden_tooltip = {
			any_realm_character = {
				clear_tournament_effect = yes
			}
		}

		clear_tournament_effect = yes
		
		clr_character_flag = mmsg
		clr_character_flag = dmsg
		clr_character_flag = kmmsg
		clr_character_flag = kdmsg
		clr_character_flag = wmsg
	}
}





# End of tournament event
character_event = {
	id = 88253
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88253"
	picture = "GFX_evt_joust"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88253"
		prestige = 50
	}
}


# End of tournament event
character_event = {
	id = 88254
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88254"
	picture = "GFX_evt_joust"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88254"
		prestige = 100
	}
}

# End of tournament event
character_event = {
	id = 88255
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88255"
	picture = "GFX_evt_joust"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88255"
		prestige = -50
	}
}

# End of tournament event
character_event = {
	id = 88256
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88256"
	picture = "GFX_evt_joust"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88256"
		prestige = -100
	}
}

# End of tournament event
character_event = {
	id = 88257
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88257"
	picture = "GFX_evt_joust"

	is_triggered_only = yes

	option = {
		change_martial = 1
		melee_level_effect = yes
		name = "EVTOPTA88257"
	}
}


# Character is killed
character_event = {
	id = 88259
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88259"
	picture = "GFX_evt_death"

	is_triggered_only = yes

	
	option = {
		name = "EVTOPTA88259"
		death = {
			death_reason = death_furusiyya
		}
		hidden_tooltip = {
			if = {
				limit = {
					top_liege = {
						NOT = {
							character = ROOT
						}
					}
				}
				top_liege = { character_event = { id = 88288 days = 1 random = 3} }
			}
		}
	}
}

# Character is maimed
character_event = {
	id = 88260
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88260"
	picture = "GFX_evt_melee"

	is_triggered_only = yes


	immediate = {
		set_character_flag = tntl
	}
	option = {
		name = "EVTOPTA88260"
		add_maim = yes
		hidden_tooltip = {
			if = {
				limit = {
					top_liege = {
						NOT = {
							character = ROOT
						}
					}
				}
				top_liege = { character_event = { id = 88289 days = 1 random = 3} }
			}
		}
	}
}

# Character is wounded
character_event = {
	id = 88261
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88261"
	picture = "GFX_evt_council"

	is_triggered_only = yes

	
	option = {
		name = "EVTOPTA88261"
		add_trait = wounded
		hidden_tooltip = {
			if = {
				limit = {
					top_liege = {
						NOT = {
							character = ROOT
						}
					}
				}
				top_liege = { character_event = { id = 88290 days = 1 random = 3} }
			}
		}
	}
}

# Character becomes craven
character_event = {
	id = 88262
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88262"
	picture = "GFX_evt_melee"

	is_triggered_only = yes

	trigger = {
		NOT = {
			trait = brave
			trait = craven
		}
	}
	option = {
		name = "EVTOPTA88262"
		add_trait = craven
	}
}

# Character becomes brave
character_event = {
	id = 88263
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88263"
	picture = "GFX_evt_melee"

	is_triggered_only = yes
	
	trigger = {
		NOT = {
			trait = brave
		}
	}

	option = {
		name = "EVTOPTA88263"
		add_trait = brave
	}
}

# Character becomes tough soldier
character_event = {
	id = 88264
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88264"
	picture = "GFX_evt_melee"

	is_triggered_only = yes

	trigger = {
		NOT = {has_character_flag = tntl}
		trait = misguided_warrior
	}

	option = {
		name = "EVTOPTA88264"
		remove_trait = misguided_warrior
		add_trait = tough_soldier
	}
}

# Character becomes skilled tactician
character_event = {
	id = 88265
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88265"
	picture = "GFX_evt_melee"

	is_triggered_only = yes

	trigger = {
		NOT = {has_character_flag = tntl}
		trait = tough_soldier
	}

	option = {
		name = "EVTOPTA88265"
		remove_trait = tough_soldier
		if = {
			limit = {combat_rating = 4}
			add_trait = nimble_fighter
			break = yes
		}
		if = {
			limit = {NOT = {combat_rating = 4}}
			add_trait = skilled_tactician
		}
	}
}

# Character becomes brilliant strategist
character_event = {
	id = 88266
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88266"
	picture = "GFX_evt_council"

	is_triggered_only = yes

	trigger = {
		NOT = {has_character_flag = tntl}
		trait = skilled_tactician
	}

	option = {
		name = "EVTOPTA88266"
		remove_trait = skilled_tactician
		add_trait = brilliant_strategist
	}
}

character_event = {
	id = 88267
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88266"
	picture = "GFX_evt_council"

	is_triggered_only = yes

	trigger = {
		NOT = {has_character_flag = tntl}
		OR = {
			trait = swordsman1
			trait = swordsman2
			trait = swordsman3
			trait = swordsman4
			trait = axe1
			trait = axe2
			trait = axe3
			trait = axe4
			trait = mace1
			trait = mace2
			trait = mace3
			trait = mace4
			trait = spear1
			trait = spear2
			trait = spear3
			trait = spear4
			trait = fokos1
			trait = fokos2
			trait = fokos3
			trait = fokos4
			trait = scimitar1
			trait = scimitar2
			trait = scimitar3
			trait = scimitar4
			trait = ulfberht1
			trait = ulfberht2
			trait = ulfberht3
			trait = ulfberht4
			trait = kontos1
			trait = kontos2
			trait = kontos3
			trait = kontos4
		}
	}

	option = {
		name = "EVTOPTA88266"
		if = {
			limit = {
				trait = fokos4
			}
			remove_trait = fokos4
			add_trait = fokos5
			break = yes
		}
		if = {
			limit = {
				trait = fokos3
			}
			remove_trait = fokos3
			add_trait = fokos4
			break = yes
		}
		if = {
			limit = {
				trait = fokos2
			}
			remove_trait = fokos2
			add_trait = fokos3
			break = yes
		}
		
		if = {
			limit = {
				trait = fokos1
			}
			remove_trait = fokos1
			add_trait = fokos2
			break = yes
		}
		if = {
			limit = {
				trait = swordsman4
			}
			remove_trait = swordsman4
			add_trait = swordsman5
			break = yes
		}
		if = {
			limit = {
				trait = swordsman3
			}
			remove_trait = swordsman3
			add_trait = swordsman4
			break = yes
		}
		if = {
			limit = {
				trait = swordsman2
			}
			remove_trait = swordsman2
			add_trait = swordsman3
			break = yes
		}
		
		if = {
			limit = {
				trait = swordsman1
			}
			remove_trait = swordsman1
			add_trait = swordsman2
			break = yes
		}
		if = {
			limit = {
				trait = spear4
			}
			remove_trait = spear4
			add_trait = spear5
			break = yes
		}
		if = {
			limit = {
				trait = spear3
			}
			remove_trait = spear3
			add_trait = spear4
			break = yes
		}
		if = {
			limit = {
				trait = spear2
			}
			remove_trait = spear2
			add_trait = spear3
			break = yes
		}
		
		if = {
			limit = {
				trait = spear1
			}
			remove_trait = spear1
			add_trait = spear2
			break = yes
		}
		if = {
			limit = {
				trait = axe4
			}
			remove_trait = axe4
			add_trait = axe5
			break = yes
		}
		if = {
			limit = {
				trait = axe3
			}
			remove_trait = axe3
			add_trait = axe4
			break = yes
		}
		if = {
			limit = {
				trait = axe2
			}
			remove_trait = axe2
			add_trait = axe3
			break = yes
		}
		
		if = {
			limit = {
				trait = axe1
			}
			remove_trait = axe1
			add_trait = axe2
			break = yes
		}
		if = {
			limit = {
				trait = mace4
			}
			remove_trait = mace4
			add_trait = mace5
			break = yes
		}
		if = {
			limit = {
				trait = mace3
			}
			remove_trait = mace3
			add_trait = mace4
			break = yes
		}
		if = {
			limit = {
				trait = mace2
			}
			remove_trait = mace2
			add_trait = mace3
			break = yes
		}
		
		if = {
			limit = {
				trait = mace1
			}
			remove_trait = mace1
			add_trait = mace2
			break = yes
		}
		
		if = {
			limit = {
				trait = ulfberht4
			}
			remove_trait = ulfberht4
			add_trait = ulfberht5
			break = yes
		}
		if = {
			limit = {
				trait = ulfberht3
			}
			remove_trait = ulfberht3
			add_trait = ulfberht4
			break = yes
		}
		if = {
			limit = {
				trait = ulfberht2
			}
			remove_trait = ulfberht2
			add_trait = ulfberht3
			break = yes
		}
		
		if = {
			limit = {
				trait = ulfberht1
			}
			remove_trait = ulfberht1
			add_trait = ulfberht2
			break = yes
		}
		
		#Bulawa is not a weapon
		
		if = {
			limit = {
				trait = kontos4
			}
			remove_trait = kontos4
			add_trait = kontos5
			break = yes
		}
		if = {
			limit = {
				trait = kontos3
			}
			remove_trait = kontos3
			add_trait = kontos4
			break = yes
		}
		if = {
			limit = {
				trait = kontos2
			}
			remove_trait = kontos2
			add_trait = kontos3
			break = yes
		}
		
		if = {
			limit = {
				trait = kontos1
			}
			remove_trait = kontos1
			add_trait = kontos2
			break = yes
		}
		
		if = {
			limit = {
				trait = scimitar4
			}
			remove_trait = scimitar4
			add_trait = scimitar5
			break = yes
		}
		if = {
			limit = {
				trait = scimitar3
			}
			remove_trait = scimitar3
			add_trait = scimitar4
			break = yes
		}
		if = {
			limit = {
				trait = scimitar2
			}
			remove_trait = scimitar2
			add_trait = scimitar3
			break = yes
		}
		
		if = {
			limit = {
				trait = scimitar1
			}
			remove_trait = scimitar1
			add_trait = scimitar2
			break = yes
		}
	}
}


# Character wins the tournament
character_event = {
	id = 88270
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88270"
	picture = "GFX_evt_melee"

	hide_from = yes
	is_triggered_only = yes

	option = {
		name = "EVTOPTA88270"
		wealth = 100
		prestige = 300
		change_martial = 1
		if = {
			limit = {NOT = {trait = brave}}
			add_trait = brave
		}
		add_trait = tournament_winner
		hidden_tooltip = {
			top_liege = {
				any_realm_character = {
					limit = {NOT = {character = ROOT}}
					character_event = { id = 88284 days = 12}
				}
			}
		}
		
		decadence = -25
		
		hidden_tooltip = {
			any_dynasty_member = {
				limit = { 
					ai = no
					NOT = { character = ROOT }
				}
				character_event = { id = 88301 }
			}
		}
	}
}

# Inform about winner
narrative_event = {
	id = 88284
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88284"
	picture = "GFX_evt_joust"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88284"
		tooltip = {
			FROM = {
				add_trait = tournament_winner
			}
			decadence = -25
		}
		opinion = {
			modifier = opinion_tournament_winner
			who = FROM
			years = 20
		}
	}
}

# Character wins second place in the tournament
character_event = {
	id = 88271
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88271"
	picture = "GFX_evt_melee"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88271"
		wealth = 50
		prestige = 250

		clr_character_flag = tntmm
		clr_character_flag = tntwd

		
		hidden_tooltip = {
			top_liege = {
				any_realm_character = {
					limit = {NOT = {character = ROOT}}
					character_event = { id = 88285 }
				}
			}
		}
		if = {
			limit = {
				religion_group = muslim
				NOT = { 
					any_liege = {
						dynasty = ROOT
					}
				}
			}
			decadence = -3
		}
		hidden_tooltip = {
			any_dynasty_member = {
				limit = { 
					ai = no
					NOT = { character = ROOT }
				}
				character_event = { id = 88302 }
			}
		}
	}
}

# Inform about second place
narrative_event = {
	id = 88285
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88285"
	picture = "GFX_evt_joust"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88285"
		opinion = {
			modifier = opinion_tournament_second_place
			who = FROM
			years = 15
		}
	}
}



# Character becomes homosexual
character_event = {
	id = 88273
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88273"
	picture = "GFX_evt_lunatic_muslim"

	is_triggered_only = yes
	
	trigger = {
		trait = at_tournament
		NOT = {num_of_lovers = 1}
		NOT = {
			trait = homosexual
			trait = celibate
		}
		NOT = { trait = eunuch }
	}

	option = {
		name = "EVTOPTA88273"
		add_trait = homosexual
	}
}

# Character becomes syphilitic
character_event = {
	id = 88274
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88274"
	picture = "GFX_evt_sultan"

	is_triggered_only = yes

	trigger = {
		trait = at_tournament
		trait = lustful
		NOT = {
			trait = celibate
		}
		NOT = { trait = eunuch }
		NOT = { has_character_modifier = minor_disease_herpes }
	}


	option = {
		name = "EVTOPTA88274"
		add_character_modifier = {
			modifier = minor_disease_herpes
			duration = -1
		}
	}
}

# Character becomes drunkard
character_event = {
	id = 88275
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88275"
	picture = "GFX_evt_drunk"

	is_triggered_only = yes

	trigger = {
		trait = at_tournament
		trait = gluttonous
		NOT = {
			trait = drunkard
		}
	}

	option = {
		name = "EVTOPTA88275"
		add_trait = drunkard
	}
}

# Character becomes duelist
character_event = {
	id = 88276
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88276"
	picture = "GFX_evt_melee"

	is_triggered_only = yes

	trigger = {
		is_landed = no
		trait = at_tournament
		combat_rating = 3
		NOT = {
			trait = content
			trait = kind
			trait = craven
			trait = weak
			lifestyle_traits = 1
		}
	}

	option = {
		name = "EVTOPTA88276"
		add_trait = duelist
	}
}

# Character gains intrigue
character_event = {
	id = 88277
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88277"
	picture = "GFX_evt_whispers"

	is_triggered_only = yes

	trigger = {
		trait = at_tournament
		NOT = {
			trait = drunkard
		}
	}
	
	immediate = {
		set_character_flag = tntl
	}
	
	option = {
		name = "EVTOPTA88277"
		change_intrigue = 1
	}
}

# Character gains stewardship
character_event = {
	id = 88279
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88279"
	picture = "GFX_evt_market"

	is_triggered_only = yes

	trigger = {
		trait = at_tournament
	}
	immediate = {
		set_character_flag = tntl
	}
	option = {
		name = "EVTOPTA88279"
		change_stewardship = 1
	}
}


# Character gains diplomacy
character_event = {
	id = 88281
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88281"
	picture = "GFX_evt_council"

	is_triggered_only = yes

	trigger = {
		trait = at_tournament
	}
	immediate = {
		set_character_flag = tntl
	}
	option = {
		name = "EVTOPTA88281"
		change_diplomacy = 1
	}
}


# Invitations have gone out
character_event = {
	id = 88283
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88283"
	picture = "GFX_evt_moors"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88283"
	}
}

# Ruler has died, the tournament is over
character_event = {
	id = 88291
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88291"
	picture = "GFX_evt_death"

	is_triggered_only = yes

	trigger = {
		religion_group = muslim
		trait = tournament_holder
		trait = at_tournament
	}

	option = {
		name = EVTOPTA88291

		any_realm_character = {
			letter_event = {
				id = 88292
				days = 2
				random = 2
				tooltip = "EVTTOOLTIP88292"
			}
		}

	}
}

#The tournament has been cancelled due to Ruler's death
letter_event = {
	id = 88292
	title = "FURUSIYYATITLE"
	desc = "EVTDESC88292"
	picture = "GFX_evt_death"

	is_triggered_only = yes

	option = {
		clear_tournament_effect = yes
		name = "EVTOPTA88292"
	}
}

# Furusiyya held
character_event = {
	id = 88300
	desc = "EVTDESC88300"
	picture = "GFX_evt_joust_muslim"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88300"
	}
}

# Tournament Winner
character_event = {
	id = 88301
	desc = "EVTDESC88301"
	picture = "GFX_evt_joust_muslim"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88301"
	}
}

# Tournament Second Place
character_event = {
	id = 88302
	desc = "EVTDESC88302"
	picture = "GFX_evt_joust_muslim"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA88302"
	}
}