###################################
#
# Events for Lifestyle
#
# Id 5000-5499 is reserved
#
###################################
#
# Written by Sara Wendel-Örtqvist

#Scholar/Tea Master - Start
character_event = {
	id = 5000
	desc = "EVTDESC5000"
	
	trigger = {
		age = 25
		NOT = {
			lifestyle_traits = 1
		}
	}
	
	mean_time_to_happen = {
		months = 5500
		
		modifier = {
			factor = 1.7
			trait = content
		}
		modifier = {
			factor = 0.7
			trait = ambitious
		}
	}
	
	option = {
		name = "EVTOPTA5000"
		character_event = {
			id = 5001
			days = 10
			tooltip = "EVTTOOLTIP5001"
		}
	}
	
	option = {
		name = "EVTOPTB5000"
		character_event = {
			id = 5002
			days = 10
			tooltip = "EVTTOOLTIP5002"
		}
	}
	option = {
		name = "EVTOPTC5000"
		honor = 5
	}
}

#Scholar/Tea Master - A mystery is revealed
character_event = {
	id = 5001
	desc = "EVTDESC5001"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA5001"
		character_event = {
			id = 5002
			days = 20
			tooltip = "EVTTOOLTIP5002"
		}
	}
	
	option = {
		name = "EVTOPTB5001"
		character_event = { 
			id = 5003
			days = 30
			tooltip = "EVTTOOLTIP5003"
		}
	}
}

#Mystery Revealed
character_event = {
	id = 5002
	desc = "EVTDESC5002"
	
	is_triggered_only = yes
	
	
	option = {
		name = "EVTOPTA5002"
		add_trait = tea_master
	}
	
	option = {
		name = "EVTOPTB5002"
		character_event = {
			id = 5003
			tooltip = "EVTTOOLTIP5003"
		}
	}
	
	option = {
		name = "EVTOPTC5002"
		honor = 5
	}
}

#Books, books, books!
character_event = {
	id = 5003
	desc = "EVTDESC5003"
	
	is_triggered_only = yes
	
	
	option = {
		name = "EVTOPTA5003"
		add_trait = scholar
	}
	
	option = {
		name = "EVTOPTC5002"
		honor = 5
	}
}

#Go-player/Calligraphist - Start
character_event = {
	id = 5010
	desc = "EVTDESC5010"
	
	trigger = {
		is_female = no
		age = 25
		NOT = {
			lifestyle_traits = 1
		}
	}
	
	mean_time_to_happen = {
		months = 5000
		
		modifier = {
			factor = 0.5
			trait = ambitious
		}
		modifier = {
			factor = 2
			trait = content
		}
	}
	
	option = {
		name = "EVTOPTA5010" #Go!
		character_event = {
			id = 5011
			days = 10
			tooltip = "EVTTOOLTIP5011"
		}
	}
	
	option = {
		name = "EVTOPTB5010" #Calligraphy!
		character_event = {
			id = 5012
			days = 10
			tooltip = "EVTTOOLTIP5012"
		}
	}
}

#Go!
character_event = {
	id = 5011
	desc = "EVTDESC5011"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA5011" #I'll try calligraphy
		character_event = {
			id = 5012
			days = 20
			tooltip = "EVTTOOLTIP5012"
		}
	}
	
	option = {
		name = "EVTOPTB5011" #More!
		character_event = { 
			id = 5013
			days = 30
			tooltip = "EVTTOOLTIP5013"
		}
	}
}

#Calligraphy!
character_event = {
	id = 5012
	desc = "EVTDESC5012"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA5012"
		add_trait = calligraphist
	}
	option = {
		name = "EVTOPTB5012"
		honor = 5
	}
}

#Go!
character_event = {
	id = 5013
	desc = "EVTDESC5013"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA5013"
		add_trait = go_player
	}
	option = {
		name = "EVTOPTB5013"
		honor = 5
	}
}

#Gardener/Artist - Start
character_event = {
	id = 5020
	desc = "EVTDESC5020"
	
	trigger = {
		age = 25
		NOT = {
			lifestyle_traits = 1
		}
	}
	
	mean_time_to_happen = {
		months = 5500
		
		modifier = {
			factor = 0.5
			trait = genius
		}
		modifier = {
			factor = 0.5
			trait = quick
		}
		
		modifier = {
			factor = 2
			trait = slow
		}
		modifier = {
			factor = 2
			trait = imbecile
		}
	}
	
	option = {
		name = "EVTOPTA5020"
		character_event = {
			id = 5021
			days = 14
			tooltip = "EVTTOOLTIP5021"
		}
	}
	
	option = {
		name = "EVTOPTB5020"
		character_event = {
			id = 5022
			days = 14
			tooltip = "EVTTOOLTIP5022"
		}
	}
}

#Paint 
character_event = {
	id = 5021
	desc = "EVTDESC5021"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA5021"
		honor = 5
	}
	
	option = {
		name = "EVTOPTB5021"
		character_event = { 
			id = 5023
			days = 30
			tooltip = "EVTTOOLTIP5023"
		}
	}
}

#Red Rose
character_event = {
	id = 5022
	desc = "EVTDESC5022"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA5022"
		honor = 5
		clr_character_flag = red_rose
	}
	
	option = {
		name = "EVTOPTB5022"
		character_event = { 
			id = 5023
			days = 30
			tooltip = "EVTTOOLTIP5023"
		}
	}
}

#Keep on painting
character_event = {
	id = 5023
	desc = "EVTDESC5023"
	
	is_triggered_only = yes
	
	
	option = {
		name = "EVTOPTA5023"
		honor = 2
		clr_character_flag = red_rose
		clr_character_flag = red_paint
		character_event = {
			id = 5024
			days = 10
			tooltip = "EVTTOOLTIP5024"
		}
	}
	
	option = {
		name = "EVTOPTB5023"
		honor = 2
		clr_character_flag = red_rose
		clr_character_flag = red_paint
		character_event = {
			id = 5025
			days = 10
			tooltip = "EVTTOOLTIP5025"
		}
	}
}

#Painter
character_event = {
	id = 5024
	desc = "EVTDESC5024"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5024"
		add_trait = painter
	}
	option = {
		name = "EVTOPTB5024"
		honor = 5
	}
}

#Gardener
character_event = {
	id = 5025
	desc = "EVTDESC5025"
	
	is_triggered_only = yes
	option = {
		name = "EVTOPTA5024"
		add_trait = gardener
	}
	option = {
		name = "EVTOPTB5024"
		honor = 5
	}
}

#Musician/Poet - Start
character_event = {
	id = 5030
	desc = "EVTDESC5030"
	
	trigger = {
		age = 25
		is_female = no
		in_command = no
		war = no
		treasury = 10
		NOT = {
			lifestyle_traits = 1
		}
		NOT = {
			OR = {
				has_character_modifier = never_giveup
				has_character_modifier = aspiring_poet
			}
		}
	}
	
	mean_time_to_happen = {
		months = 5000
		
		modifier = {
			factor = 0.2
			trait = charismatic_negotiator
		}
		modifier = {
			factor = 0.4
			trait = skilled_tactician
		}
		modifier = {
			factor = 1.2
			trait = misguided_warrior
		}
		modifier = {
			factor = 1.3
			trait = naive_appeaser
		}
	}
	
	option = {
		name = "EVTOPTA5030" #Poetry!
		random_list = {
			50 = {
				character_event = { #Ignored
					id = 5031
					days = 14
					tooltip = "EVTTOOLTIP5031"
				}
			}
			50 = {
				character_event = { #She likes it!
					id = 5032
					days = 14
					tooltip = "EVTTOOLTIP5032"
				}
			}
		}	
	}
	
	option = {
		name = "EVTOPTB5030" #Music!
		random_list = {
			50 = {
				character_event = { #Ignored
					id = 5031
					days = 14
					tooltip = "EVTTOOLTIP5031"
				}
			}
			50 = {
				character_event = { #She likes it!
					id = 5033
					days = 14
					tooltip = "EVTTOOLTIP5033"
					
				}
			}
		}			
	}
	option = {
		name = "EVTOPTC5030" #Neither!
	}
}

#Ignored
character_event = {
	id = 5031
	desc = "EVTDESC5031"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5031" #Forget it
		treasury = -10
	}
	
	option = {
		name = "EVTOPTB5031" #Try something else
		add_character_modifier = {
			name = "never_giveup"
			duration = 365
		}
	}
}

#She likes it! - poetry
character_event = {
	id = 5032
	desc = "EVTDESC5032"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5032"
		add_character_modifier = {
			name = "aspiring_poet"
			duration = -1
		}
	}
}

#She likes it! - Music
character_event = {
	id = 5033
	desc = "EVTDESC5033"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5033"
		add_character_modifier = {
			name = "aspiring_musician"
			duration = -1
		}
	}
}

#Sing!
character_event = {
	id = 5034
	desc = "EVTDESC5034"
	
	trigger = {
		in_command = no
		war = no
		OR = {
			has_character_modifier = never_giveup
			has_character_modifier = aspiring_musician
		}
	}
	
	mean_time_to_happen = {
		months = 5000
		
		modifier = {
			factor = 1.5
			trait = misguided_warrior
		}
		modifier = {
			factor = 1.25
			trait = tough_soldier
		}
		modifier = {
			factor = 0.25
			trait = skilled_tactician
		}
		modifier = {
			factor = 0.5
			trait = brilliant_strategist
		}
	}
	
	immediate = {
		remove_character_modifier = never_giveup
		remove_character_modifier = aspiring_musician
	}
	
	option = {
		name = "EVTOPTA5034"
		character_event = {
			id = 5036
			days = 30
			tooltip = "EVTTOOLTIP5036"
		}
	}
}

#I will write poetry
character_event = {
	id = 5035
	desc = "EVTDESC5035"
	
	trigger = {
		OR = {
			has_character_modifier = never_giveup
			has_character_modifier = aspiring_poet
		}
		in_command = no
		war = no
	}
	
	mean_time_to_happen = {
		months = 5000

		modifier = {
			factor = 1.3
			trait = naive_appeaser
		}
		modifier = {
			factor = 1.2
			trait = underhanded_rogue
		}
		modifier = {
			factor = 0.2
			trait = grey_eminence
		}
		modifier = {
			factor = 0.4
			trait = charismatic_negotiator
		}
	}
	
	immediate = {
		remove_character_modifier = never_giveup
		remove_character_modifier = aspiring_poet
	}
	
	option = {
		name = "EVTOPTA5035"
		character_event = {
			id = 5037
			days = 30
			tooltip = "EVTTOOLTIP5037"
		}
	}
}

#I can sing!
character_event = {
	id = 5036
	desc = "EVTDESC5036"
	
	is_triggered_only = yes

	
	option = {
		name = "EVTOPTA5036"
		add_trait = musician
	}
	
	option = {
		name = "EVTOPTB5036"
		honor = 15
	}
}

#I have been published!
character_event = {
	id = 5037
	desc = "EVTDESC5037"
	
	is_triggered_only = yes

	
	option = {
		name = "EVTOPTA5037"
		add_trait = poet
	}
	
	option = {
		name = "EVTOPTB5037"
		honor = 15
	}
}

#Hunter/Falconer - Start
character_event = {
	id = 5040
	desc = "EVTDESC5040"
	
	trigger = {
		age = 25
		is_female = no
		in_command = no
		war = no
		NOT = {
			lifestyle_traits = 1
		}
	}
	
	mean_time_to_happen = {
		months = 5000
		
		modifier = {
			factor = 0.2
			trait = ambitious
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 1.3
			trait = wroth
		}
	}
	
	option = {
		name = "EVTOPTA5040" #Hunting
		random_list = {
			50 = {
				character_event = {
					id = 5041
					days = 14
					tooltip = "EVTTOOLTIP5041"
				}
			}
			50 = {
				character_event = {
					id = 5042
					days = 14
					tooltip = "EVTTOOLTIP5042"
				}
			}
		}	
	}
	
	option = {
		name = "EVTOPTB5040" #Falconry
		random_list = {
			50 = {
				character_event = {
					id = 5043 
					days = 14
					tooltip = "EVTTOOLTIP5043"
				}
			}
			50 = {
				character_event = {
					id = 5044
					days = 14
					tooltip = "EVTTOOLTIP5044"
				}
			}
		}			
	}
}

#Hunting - no fun
character_event = {
	id = 5041
	desc = "EVTDESC5041"
	
	is_triggered_only = yes

	
	option = {
		name = "EVTOPTA5041" #Forget it
		honor = -10
	}
	
	option = {
		name = "EVTOPTB5041" #Try something else
		set_character_flag = inever_giveup
	}
}

#Hunting - Really fun!
character_event = {
	id = 5042
	desc = "EVTDESC5042"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5042"
		add_character_modifier = {
			name = "aspiring_hunter"
			duration = -1
		}
	}
}

#Falconry - no fun
character_event = {
	id = 5043
	desc = "EVTDESC5043"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5043" #Forget it
		honor = -10
	}
	
	option = {
		name = "EVTOPTB5043" #Try something else
		set_character_flag = inever_giveup
	}
}

#Falconry - Really fun!
character_event = {
	id = 5044
	desc = "EVTDESC5044"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5044"
		add_character_modifier = {
			name = "aspiring_falconer"
			duration = -1
		}
	}
}

#Hunter
character_event = {
	id = 5045
	desc = "EVTDESC5045"
	
	trigger = {
		OR = {
			has_character_flag = inever_giveup
			has_character_modifier = aspiring_hunter
		}
		in_command = yes
		war = yes
	}
	
	mean_time_to_happen = {
		months = 5000
		
		modifier = {
			factor = 0.2
			trait = ambitious
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 1.3
			trait = wroth
		}
	}
	
	immediate = {
		clr_character_flag = inever_giveup
		remove_character_modifier = aspiring_hunter
	}
	
	option = {
		name = "EVTOPTA5045"
		add_trait = hunter
	}
	
	option = {
		name = "EVTOPTB5045" #Booring
		treasury = 10
	}
}

#Falconer
character_event = {
	id = 5046
	desc = "EVTDESC5046"
	
	trigger = {
		OR = {
			has_character_flag = inever_giveup
			has_character_modifier = aspiring_falconer
		}
		in_command = no
		war = no
	}
	
	mean_time_to_happen = {
		months = 5000

		modifier = {
			factor = 0.2
			trait = ambitious
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 1.3
			trait = wroth
		}
	}
	immediate = {
		clr_character_flag = inever_giveup
		remove_character_modifier = aspiring_falconer
	}	
	
	option = {
		name = "EVTOPTA5046"
		add_trait = falconer
	}
	
	option = {
		name = "EVTOPTB5046" #Booring
		treasury = 25
	}
}

#Female: Poet/Go player - Start
character_event = {
	id = 5050
	desc = "EVTDESC5050"
	
	trigger = {
		age = 25
		is_female = yes
		in_command = no
		war = no
		NOT = {
			lifestyle_traits = 1
		}
	}
	
	mean_time_to_happen = {
		months = 5000
		
		modifier = {
			factor = 0.2
			trait = ambitious
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 1.3
			trait = wroth
		}
	}
	
	option = {
		name = "EVTOPTA5050" #Poet
		random_list = {
			50 = {
				character_event = {
					id = 5051
					days = 14
					tooltip = "EVTTOOLTIP5051"
				}
			}
			50 = {
				character_event = {
					id = 5052
					days = 14
					tooltip = "EVTTOOLTIP5052"
				}
			}
		}	
	}
	
	option = {
		name = "EVTOPTB5050" #Go Player
		random_list = {
			50 = {
				character_event = {
					id = 5053 
					days = 14
					tooltip = "EVTTOOLTIP5053"
				}
			}
			50 = {
				character_event = {
					id = 5054
					days = 14
					tooltip = "EVTTOOLTIP5054"
				}
			}
		}			
	}
}

#Poetry - Boring
character_event = {
	id = 5051
	desc = "EVTDESC5051"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5051" #Try something else
		set_character_flag = iwillnever_giveup
	}
}

#Poetry - Nice
character_event = {
	id = 5052
	desc = "EVTDESC5052"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5052"
		add_character_modifier = {
			name = "novice_poet"
			duration = -1
		}
	}
}

#Go - Boring
character_event = {
	id = 5053
	desc = "EVTDESC5053"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5053" #Try something else
		set_character_flag = iwillnever_giveup
	}
}

#Go - Nice
character_event = {
	id = 5054
	desc = "EVTDESC5044"
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA5044"
		add_character_modifier = {
			name = "aspiring_go_player"
			duration = -1
		}
	}
}

#Poet
character_event = {
	id = 5055
	desc = "EVTDESC5055"
	
	trigger = {
		is_female = yes
		in_command = no
		war = no
		OR = {
			has_character_flag = iwillnever_giveup
			has_character_modifier = novice_poet
		}
	}
	
	mean_time_to_happen = {
		months = 5000
		
		modifier = {
			factor = 0.2
			trait = ambitious
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 1.2
			trait = content
		}
		modifier = {
			factor = 1.3
			trait = wroth
		}
	}
	immediate = {
		clr_character_flag = iwillnever_giveup
		remove_character_modifier = novice_poet
	}
	
	option = {
		name = "EVTOPTA5055"
		add_trait = poet
	}
	
	option = {
		name = "EVTOPTB5055"
		treasury = 10
	}
}

#Go Player
character_event = {
	id = 5056
	desc = "EVTDESC5056"
	
	trigger = {
		is_female = yes
		in_command = no
		war = no
		OR = {
			has_character_flag = iwillnever_giveup
			has_character_modifier = aspiring_go_player
		}
	}
	
	mean_time_to_happen = {
		months = 5000

		modifier = {
			factor = 0.2
			trait = ambitious
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 1.2
			trait = content
		}
		modifier = {
			factor = 1.3
			trait = wroth
		}
	}
	
	option = {
		name = "EVTOPTA5056"
		clr_character_flag = iwillnever_giveup
		remove_character_modifier = aspiring_go_player
		add_trait = go_player
	}
	
	option = {
		name = "EVTOPTB5056" #Booring
		clr_character_flag = iwillnever_giveup
		remove_character_modifier = aspiring_go_player
		treasury = 10
	}
}

#Female: Musician/Calligraphist - Start
character_event = {
	id = 5060
	desc = "EVTDESC5060"
	
	trigger = {
		age = 25
		is_female = yes
		NOT = {
			lifestyle_traits = 1
		}
	}
	
	mean_time_to_happen = {
		months = 5000
	}
	
	option = {
		name = "EVTOPTA5060" #Music!
		honor = 5
		character_event = {
			id = 5061
			days = 10
			tooltip = "EVTTOOLTIP5061"
		}
	}
	
	option = {
		name = "EVTOPTB5060" #Calligraphy!
		honor = 5
		character_event = {
			id = 5062
			days = 10
			tooltip = "EVTTOOLTIP5062"
		}
	}
}

#Female: Musician!
character_event = {
	id = 5061
	desc = "EVTDESC5061"
	
	is_triggered_only = yes
	
	mean_time_to_happen = {
		months = 5000
	}
	
	option = {
		name = "EVTOPTA5061" #I'll try calligraphy
		character_event = {
			id = 5062
			days = 20
			tooltip = "EVTTOOLTIP5062"
		}
	}
	
	option = {
		name = "EVTOPTB5061" #More!
		character_event = { 
			id = 5063
			days = 30
			tooltip = "EVTTOOLTIP5063"
		}
	}
}

#Female: Calligraphy!
character_event = {
	id = 5062
	desc = "EVTDESC5062"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA5062"
		add_trait = calligraphist
	}
	
	option = {
		name = "EVTOPTB5012"
		honor = 5
	}
}

#Female: Musician
character_event = {
	id = 5063
	desc = "EVTDESC5063"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA5062"
		add_trait = musician
	}
	option = {
		name = "EVTOPTB5063"
		honor = 5
	}
}
