namespace = ambitionsPlus
namespace = Plus
namespace = PerformancePlus

#reserved: Plus.900 to Plus.949

#######################################
# AMBITION EVENTS
#######################################

### NEW ### Not yet finished
# Make a Friend
character_event = {
	id = ambitionsPlus.001
	picture = GFX_evt_courtiers_talking

	desc = {
		text = EVTDESC_Plus_900
		trigger = {
			event_target:potential_friend = { is_liege_of = ROOT }
		}
	}

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_capable = yes
	min_age = 16
	prisoner = no

	trigger = {
		OR = {
			has_ambition = obj_befriend_liege
			has_ambition = obj_make_a_friend
		}

		in_command_trigger = no
		is_inaccessible_trigger = no

		any_character = {
			trigger_if = {
				limit = {
					ROOT = { has_ambition = obj_befriend_liege }
				}
				is_liege_of = ROOT
			}

			opinion = {
				who = ROOT
				value >= 10
			}

			is_adult = yes
			num_of_friends < 2
			is_incapable = no
			prisoner = no
			in_command_trigger = no
			is_inaccessible_trigger = no

			NOR = {
				is_friend = ROOT
				is_rival = ROOT
				has_character_modifier = friendship_timer
			}

			# We don't believe in friends with benefits around here (apparently)
			trigger_if = {
				limit = {
					is_female = yes
					trait = homosexual
				}
				is_female = no
			}
			trigger_else_if = {
				limit = { is_female = yes }
				is_female = yes
			}
			trigger_else_if = {
				limit = { trait = homosexual }
				is_female = yes
			}
			trigger_else = {
				is_female = no
			}
		}
	}

	immediate = {
		random_character = {
			limit = {
				trigger_if = {
					limit = {
						ROOT = { has_ambition = obj_befriend_liege }
					}
					is_liege_of = ROOT
				}

				opinion = {
					who = ROOT
					value >= 10
				}

				is_adult = yes
				num_of_friends < 2
				is_incapable = no
				prisoner = no
				in_command_trigger = no
				is_inaccessible_trigger = no

				NOR = {
					is_friend = ROOT
					is_rival = ROOT
					has_character_modifier = friendship_timer
				}

				# We don't believe in friends with benefits around here (apparently)
				trigger_if = {
					limit = {
						is_female = yes
						trait = homosexual
					}
					is_female = no
				}
				trigger_else_if = {
					limit = { is_female = yes }
					is_female = yes
				}
				trigger_else_if = {
					limit = { trait = homosexual }
					is_female = yes
				}
				trigger_else = {
					is_female = no
				}

				trigger_if = {
					limit = { has_character_flag = approached_for_friendship }

					had_character_flag = {
						flag = approached_for_friendship
						years >= 1
					}
				}
			}

			save_event_target_as = potential_friend
		}
	}

	option = {
		name = EVTOPTA_Plus_900 # Let's try it!

		event_target:potential_friend = {
			character_event = { id = ambitionsPlus.002 }
		}
	}

	option = {
		name = EVTOPTB_Plus_900 # Maybe later
	}
}

# Target Decides
character_event = {
	id = ambitionsPlus.002
	picture = GFX_evt_courtiers_talking

	desc = {
		text = EVTDESC_Plus_901
		trigger = { is_liege_of = FROM }
	}

	is_triggered_only = yes

	immediate = {
		add_character_modifier = {
			name = friendship_timer
			duration = 365
			hidden = yes
		}
	}

	option = { # Make Friends
		name = EVTOPTA_Plus_901

		add_friend = FROM
	}

	option = { # Rebuff him
		name = EVTOPTB_Plus_901
	}

	after = {
		FROM = {
			character_event = {
				id = ambitionsPlus.003
				days = 1
				random = 3
			}
		}
	}
}

# Informed of Decision
character_event = {
	id = ambitionsPlus.003
	picture = GFX_evt_courtiers_talking

	desc = { # They said yes!
		text = EVTDESC_Plus_902
		trigger = { is_friend = FROM }
	}
	desc = { # They rebuffed me!
		text = EVTDESC_Plus_903
		trigger = {
			NOT = { is_friend = FROM }
		}
	}

	is_triggered_only = yes

	option = {
		name = EXCELLENT

		trigger = { is_friend = FROM }
	}

	option = {
		name = SO_BE_IT

		trigger = {
			NOT = { is_friend = FROM }
		}

		opinion = {
			name = opinion_sad
			who = FROM
			years = 2
		}
	}
}


### OLD ###
# Befriend Liege
character_event = {
	id = PerformancePlus.900

	is_triggered_only = yes
	hide_window = yes

	only_capable = yes
	min_age = 16
	prisoner = no

	trigger = {
		OR = {
			has_ambition = obj_make_a_friend
			has_ambition = obj_befriend_liege
		}

		is_councillor = yes
		in_command_trigger = no
		is_inaccessible_trigger = no

		opinion = {
			who = liege
			value = 10
		}

		liege = {
			is_adult = yes
			num_of_friends < 2
			same_sex = ROOT
			is_incapable = no
			prisoner = no
			in_command_trigger = no
			is_inaccessible_trigger = no

			NOR = {
				is_friend = ROOT
				is_rival = ROOT
			}

			trigger_if = {
				limit = { has_character_flag = approached_for_friendship }

				had_character_flag = {
					flag = approached_for_friendship
					years >= 1
				}
			}
		}
	}

	immediate = {
		random_list = {
			3 = {
				character_event = {
					id = Plus.900
					days = 60
					random = 30
				}
			}

			32 = {
				mult_modifier = {
					factor = 0.75
					trait = gregarious
				}

				mult_modifier = {
					factor = 0.5
					is_close_relative = liege
				}

				mult_modifier = {
					factor = 0.5
					liege = { has_ambition = obj_make_a_friend }
				}

				mult_modifier = {
					factor = 0.65

					opinion = {
						who = liege
						value >= 75
					}
				}
			}
		}
	}
}

### Councillor tries to befriend liege
character_event = {
	id = Plus.900
	desc = EVTDESC_Plus_900
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	prisoner = no
	min_age = 16
	only_capable = yes

	trigger = {
		OR = {
			has_ambition = obj_make_a_friend
			has_ambition = obj_befriend_liege
		}

		in_command_trigger = no
		is_councillor = yes
		is_inaccessible_trigger = no

		liege = {
			is_adult = yes
			num_of_friends < 2
			same_sex = ROOT
			prisoner = no
			is_incapable = no
			in_command_trigger = no
			is_inaccessible_trigger = no

			NOR = {
				is_friend = ROOT
				is_rival = ROOT
			}

			trigger_if = {
				limit = { has_character_flag = approached_for_friendship }

				had_character_flag = {
					flag = approached_for_friendship
					years >= 1
				}
			}
		}

		opinion = {
			who = liege
			value >= 10
		}
	}

	option = {
		name = EVTOPTA_Plus_900 # Let's try

		liege = {
			show_scope_change = no

			set_character_flag = approached_for_friendship

			character_event = {
				id = Plus.901
				days = 1
				random = 3
				tooltip = make_friend_attempt_tooltip
			}
		}

		ai_chance = { factor = 95 }
	}

	option = {
		name = EVTOPTB_Plus_900 # Maybe later

		random = {
			chance = 10
			add_trait_shy_effect = yes
			remove_trait_gregarious_effect = yes
		}

		ai_chance = { factor = 5 }
	}

}

# Liege responds
character_event = {
	id = Plus.901
	desc = EVTDESC_Plus_901
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA_Plus_901 # Make Friends

		add_friend = FROM

		FROM = {
			show_scope_change = no

			character_event = {
				id = Plus.902
				days = 1
				random = 3
				tooltip = make_friend_success_tooltip
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_901 # Rebuff him

		FROM = {
			show_scope_change = no

			character_event = {
				id = Plus.903
				days = 1
				random = 3
				tooltip = make_friend_sad_tooltip
			}
		}
	}
}

# Friends - councillor and liege
character_event = {
	id = Plus.902
	desc = EVTDESC_Plus_902
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	ai = no

	option = {
		name = EXCELLENT

		tooltip = {
			add_friend = FROM
		}
	}
}

# Sad - councillor and liege
character_event = {
	id = Plus.903
	desc = EVTDESC_Plus_903
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = SO_BE_IT

		opinion = {
			name = opinion_sad
			who = FROM
			years = 2
		}
	}
}

### Ruler tries to befriend a courtier
character_event = {
	id = Plus.905
	desc = EVTDESC_Plus_905
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_rulers = yes
	min_age = 16
	only_capable = yes
	prisoner = no
	war = no

	trigger = {
		has_ambition = obj_make_a_friend
		is_ill = no
		in_command_trigger = no
		is_inaccessible_trigger = no

		any_courtier = {
			is_adult = yes
			same_sex = ROOT
			num_of_friends < 2
			prisoner = no
			is_ill = no
			is_incapable = no
			in_command_trigger = no
			is_inaccessible_trigger = no

			opinion = {
				who = ROOT
				value >= 0
			}

			NOR = {
				is_parent_of = ROOT
				is_friend = ROOT
				is_rival = ROOT
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 1.18
			trait = gregarious
		}

		mult_modifier = {
			factor = 1.18
			age >= 25
		}

		mult_modifier = {
			factor = 1.18
			age >= 35
		}

		mult_modifier = {
			factor = 1.33
			lower_real_tier_than = DUKE
		}
	}

	option = {
		name = EVTOPTA_Plus_905 # Let's see what they have to say

		random_courtier = {
			show_scope_change = no

			limit = {
				is_adult = yes
				same_sex = ROOT
				num_of_friends < 2
				prisoner = no
				is_ill = no
				is_incapable = no
				in_command_trigger = no
				is_inaccessible_trigger = no

				opinion = {
					who = ROOT
					value >= 0
				}

				NOR = {
					is_parent_of = ROOT
					is_friend = ROOT
					is_rival = ROOT
				}
			}

			character_event = {
				id = Plus.906
				days = 1
				random = 3
				tooltip = make_friend_attempt_tooltip
			}
		}

		ai_chance = { factor = 95 }
	}

	option = {
		name = EVTOPTB_Plus_905 # I'm not interested in these people

		random = {
			chance = 10
			add_trait_proud_effect = yes
			remove_trait_silently_humble_effect = yes
		}

		ai_chance = { factor = 5 }
	}
}

# Courtier decides if he wants to make friends with liege
character_event = {
	id = Plus.906
	desc = EVTDESC_Plus_906
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA_Plus_906 # Make Friends

		add_friend = FROM

		FROM = {
			show_scope_change = no

			character_event = {
				id = Plus.907
				days = 1
				random = 3
				tooltip = make_friend_success_tooltip
			}
		}

		ai_chance = {
			factor = 75

			mult_modifier = {
				factor = 0.5

				opinion = {
					who = liege
					value < 25
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_906 # Rebuff him

		FROM = {
			show_scope_change = no

			character_event = {
				id = Plus.908
				days = 1
				random = 3
				tooltip = make_friend_sad_tooltip
			}
		}

		ai_chance = {
			factor = 25

			mult_modifier = {
				factor = 0.5

				opinion = {
					who = liege
					value >= 25
				}
			}
		}
	}
}

# Friends - courtier and liege
character_event = {
	id = Plus.907
	desc = EVTDESC_Plus_907
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	ai = no

	option = {
		name = EXCELLENT

		tooltip = {
			add_friend = FROM
		}
	}
}

# Sad - courtier and liege
character_event = {
	id = Plus.908
	desc = EVTDESC_Plus_908
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = SO_BE_IT

		opinion = {
			name = opinion_sad
			who = FROM
			years = 2
		}
	}
}

character_event = {
	id = PerformancePlus.910

	is_triggered_only = yes
	hide_window = yes

	only_capable = yes
	min_age = 16
	prisoner = no

	trigger = {
		OR = {
			has_ambition = obj_make_a_friend
			has_ambition = obj_befriend_liege
			liege = { has_ambition = obj_make_a_friend }
		}

		OR = {
			trait = duelist
			trait = tough_soldier
			trait = skilled_tactician
			trait = brilliant_strategist
		}

		trigger_if = {
			limit = { is_female = yes }

			OR = {
				trait = martial_lady
				trait = martial_lady_tengri
				trait = martial_lady_pagan
			}
		}

		in_command_trigger = no
		is_inaccessible_trigger = no
		independent = no

		liege = {
			is_adult = yes
			num_of_friends < 2
			prisoner = no
			is_incapable = no
			in_command_trigger = no
			is_inaccessible_trigger = no
			is_weak_trigger = no

			trigger_if = {
				limit = { is_female = yes }

				OR = {
					trait = martial_lady
					trait = martial_lady_tengri
					trait = martial_lady_pagan
				}
			}

			NOR = {
				trait = content
				trait = kind
				trait = craven
				is_friend = ROOT
				is_rival = ROOT
			}

			trigger_if = {
				limit = { has_character_flag = approached_for_friendship }

				had_character_flag = {
					flag = approached_for_friendship
					years >= 1
				}
			}
		}

		opinion = {
			who = liege
			value >= 10
		}
	}

	immediate = {
		random_list = {
			3 = {
				character_event = {
					id = Plus.910
					days = 60
					random = 30
				}
			}

			62 = {
				mult_modifier = {
					factor = 0.85
					trait = gregarious
				}

				mult_modifier = {
					factor = 0.65
					is_close_relative = liege
				}

				mult_modifier = {
					factor = 0.5
					trait = duelist
				}

				mult_modifier = {
					factor = 0.5
					liege = { trait = duelist }
				}

				mult_modifier = {
					factor = 0.5
					liege = { has_ambition = obj_make_a_friend }
				}

				mult_modifier = {
					factor = 0.85

					opinion = {
						who = liege
						value >= 75
					}
				}
			}
		}
	}
}

### Duelist tries to befriend liege
character_event = {
	id = Plus.910
	desc = EVTDESC_Plus_910
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		OR = {
			has_ambition = obj_make_a_friend
			has_ambition = obj_befriend_liege
			liege = { has_ambition = obj_make_a_friend }
		}

		OR = {
			trait = duelist
			trait = tough_soldier
			trait = skilled_tactician
			trait = brilliant_strategist
		}

		trigger_if = {
			limit = { is_female = yes }

			OR = {
				trait = martial_lady
				trait = martial_lady_tengri
				trait = martial_lady_pagan
			}
		}

		independent = no
		in_command_trigger = no
		is_inaccessible_trigger = no

		liege = {
			is_adult = yes
			num_of_friends < 2
			prisoner = no
			is_incapable = no
			in_command_trigger = no
			is_inaccessible_trigger = no
			is_weak_trigger = no

			trigger_if = {
				limit = { is_female = yes }

				OR = {
					trait = martial_lady
					trait = martial_lady_tengri
					trait = martial_lady_pagan
				}
			}

			NOR = {
				trait = content
				trait = kind
				trait = craven
				is_friend = ROOT
				is_rival = ROOT
			}

			trigger_if = {
				limit = { has_character_flag = approached_for_friendship }

				had_character_flag = {
					flag = approached_for_friendship
					years >= 1
				}
			}
		}

		opinion = {
			who = liege
			value >= 10
		}
	}

	option = {
		name = EVTOPTA_Plus_900 # Let's try

		liege = {
			show_scope_change = no

			set_character_flag = approached_for_friendship

			character_event = {
				id = Plus.911
				days = 1
				random = 3
				tooltip = make_friend_attempt_tooltip
			}
		}

		ai_chance = { factor = 95 }
	}

	option = {
		name = EVTOPTB_Plus_900 # Maybe later

		random = {
			chance = 10
			add_trait_shy_effect = yes
			remove_trait_gregarious_effect = yes
		}

		ai_chance = { factor = 5 }
	}
}

# Liege responds
character_event = {
	id = Plus.911
	desc = EVTDESC_Plus_911
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA_Plus_901 # Make Friends

		add_friend = FROM

		random = {
			chance = 25
			change_martial = 1
		}

		hidden_effect = {
			change_variable = {
				which = lifestyle_martial
				value = 1
			}
		}

		FROM = {
			show_scope_change = no

			character_event = {
				id = Plus.912
				days = 1
				random = 3
				tooltip = make_friend_success_tooltip
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_906 # Rebuff him

		FROM = {
			show_scope_change = no

			character_event = {
				id = Plus.913
				days = 1
				random = 3
				tooltip = make_friend_sad_tooltip
			}
		}
	}
}

# Friends - duelist and liege
character_event = {
	id = Plus.912
	desc = EVTDESC_Plus_912
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EXCELLENT

		hidden_effect = {
			change_variable = {
				which = lifestyle_martial
				value = 1
			}
		}

		tooltip = {
			add_friend = FROM
		}
	}
}

# Sad - duelist and liege
character_event = {
	id = Plus.913
	desc = EVTDESC_Plus_913
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = SO_BE_IT

		opinion = {
			name = opinion_sad
			who = FROM
			years = 2
		}
	}
}

### Friendship between two courtiers
character_event = {
	id = Plus.915
	desc = EVTDESC_Plus_915
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		has_ambition = obj_make_a_friend
		is_ruler = no
		in_command_trigger = no
		is_inaccessible_trigger = no

		any_host_courtier = {
			is_adult = yes
			at_location = ROOT
			same_sex = ROOT
			num_of_friends < 2
			prisoner = no
			is_ill = no
			is_incapable = no
			is_inaccessible_trigger = no
			in_command_trigger = no

			opinion = {
				who = ROOT
				value >= 0
			}

			NOR = {
				is_parent_of = ROOT
				is_friend = ROOT
				is_rival = ROOT
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = gregarious
		}
	}

	option = {
		name = EVTOPTA_Plus_905 # Let's see what they have to say

		random_host_courtier = {
			limit = {
				is_adult = yes
				same_sex = ROOT
				at_location = ROOT
				num_of_friends < 2
				prisoner = no
				is_ill = no
				is_incapable = no
				is_inaccessible_trigger = no
				in_command_trigger = no

				opinion = {
					who = ROOT
					value >= 0
				}

				NOR = {
					is_parent_of = ROOT
					is_friend = ROOT
					is_rival = ROOT
				}
			}

			character_event = {
				id = Plus.916
				days = 1
				random = 3
				tooltip = make_friend_attempt_tooltip
			}
		}

		ai_chance = { factor = 95 }
	}

	option = {
		name = EVTOPTB_Plus_906 # Maybe later

		random = {
			chance = 10
			add_trait_shy_effect = yes
			remove_trait_gregarious_effect = yes
		}

		ai_chance = { factor = 5 }
	}
}

# Other courtier responds
character_event = {
	id = Plus.916
	desc = EVTDESC_Plus_916
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA_Plus_906 # Make Friends

		add_friend = FROM

		FROM = {
			show_scope_change = no

			character_event = {
				id = Plus.917
				days = 1
				random = 3
				tooltip = make_friend_success_tooltip
			}
		}

		ai_chance = { factor = 75 }
	}

	option = {
		name = EVTOPTB_Plus_906 # Rebuff him

		FROM = {
			show_scope_change = no

			character_event = {
				id = Plus.918
				days = 1
				random = 3
				tooltip = make_friend_sad_tooltip
			}
		}

		ai_chance = { factor = 25 }
	}
}

# Friends - 2 courtiers
character_event = {
	id = Plus.917
	desc = EVTDESC_Plus_917
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	ai = no

	option = {
		name = EXCELLENT

		tooltip = {
			add_friend = FROM
		}
	}
}

# Sad - 2 courtiers
character_event = {
	id = Plus.918
	desc = EVTDESC_Plus_918
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = SO_BE_IT

		opinion = {
			name = opinion_sad
			who = FROM
			years = 2
		}
	}
}

### CHANGE NICKNAME

# Character receives event to try to remove nickname
character_event = {
	id = Plus.925
	desc = EVTDESC_Plus_925
	picture = GFX_evt_council

	is_triggered_only = yes

	ai = no
	only_capable = yes
	prisoner = no

	trigger = {
		has_ambition = obj_change_nick
		has_nickname = yes
		NOT = { has_character_modifier = change_nick_timer }
		is_inaccessible_trigger = no
	}

	immediate = {
		add_character_modifier = {
			name = change_nick_timer
			years = 1
			hidden = yes
		}
	}

	option = {
		name = EVTOPTA_Plus_925 # Just make them stop

		random_list = {
			50 = { character_event = { id = Plus.926 months = 1 tooltip = successful_change_nick } }
			50 = { character_event = { id = Plus.928 months = 1 tooltip = failed_change_nick } }
		}
	}

	option = {
		name = EVTOPTB_Plus_925 # Punish anyone who utters it  that will do the trick

		trigger = {
			NOR = {
				trait = kind
				trait = just
			}
		}

		if = {
			limit = { NOT = { trait = cruel } }

			random = {
				chance = 30
				add_trait_cruel_effect = yes
				remove_trait_kind_effect = yes
			}
		}

		tyrant_plus_1_effect = yes

		character_event = {
			id = Plus.927
			months = 1
			tooltip = successful_change_nick
		}
	}

	option = {
		name = EVTOPTC_Plus_925 # Do whatever you have to, I don't care

		trigger = { prestige >= 500 }

		prestige = -200

		random_list = {
			75 = { character_event = { id = Plus.926 months = 1 tooltip = successful_change_nick } }
			25 = { character_event = { id = Plus.928 months = 1 tooltip = failed_change_nick } }
		}
	}

	option = {
		name = EVTOPTD_Plus_925 # Perhaps I should let it go...

		set_character_flag = gave_up_change_nick

		random = {
			chance = 30

			if = {
				limit = { trait = proud }
				remove_trait_proud_effect = yes
			}
			else_if = {
				limit = { NOT = { trait = humble } }
				add_trait_humble_effect = yes
			}
		}
	}
}

# Successfully removes nickname
character_event = {
	id = Plus.926
	desc = EVTDESC_Plus_926
	picture = GFX_evt_scandal

	is_triggered_only = yes

	only_rulers = yes

	trigger = {
		has_ambition = obj_change_nick
		has_nickname = yes
	}

	option = {
		name = EXCELLENT

		hidden_effect = {
			remove_nickname = ROOT
		}
	}
}

# Removes nickname through the use of force
character_event = {
	id = Plus.927
	desc = EVTDESC_Plus_927
	picture = GFX_evt_burning_house

	is_triggered_only = yes

	only_rulers = yes

	trigger = {
		has_ambition = obj_change_nick
		has_nickname = yes
	}

	option = {
		name = EXCELLENT

		hidden_effect = {
			remove_nickname = ROOT
		}
	}
}

# Character fails to lose the nickname
character_event = {
	id = Plus.928
	desc = EVTDESC_Plus_928
	picture = GFX_evt_scandal

	is_triggered_only = yes

	only_rulers = yes

	trigger = {
		has_ambition = obj_change_nick
		has_nickname = yes
	}

	option = {
		name = EVTOPTA_Plus_928 # Try again
	}

	option = {
		name = EVTOPTD_Plus_925 # Perhaps I should let it go...

		set_character_flag = gave_up_change_nick

		random = {
			chance = 30

			if = {
				limit = { trait = proud }
				remove_trait_proud_effect = yes
			}
			else_if = {
				limit = { NOT = { trait = humble } }
				add_trait_humble_effect = yes
			}
		}
	}
}