################################################################
#
# Events for Buddhists
#
################################################################

namespace = buddhist
namespace = meditation

# Visiting a temple
character_event = {
	id = buddhist.1
	desc = buddhist.1.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = buddhist.1.a
		piety = 20
		clr_character_flag = visiting_buddhist_temple
		add_character_modifier = {
			name = visited_buddhist_temple
			duration = 365
		}
		add_character_modifier = {
			name = visit_buddhist_temple_timer
			duration = 730
			hidden = yes
		}
	}
}

# Earning the Dharma King nickname
narrative_event = {
	id = buddhist.12
	title = buddhist.12.name
	desc = buddhist.12.desc
	picture = GFX_evt_icon_eastern_group
	
	only_playable = yes
	min_age = 30
	capable_only = yes
	prisoner = no
	only_men = yes
	only_rulers = yes
	
	trigger = {
		religion = buddhist
		NOT = { has_character_flag = VIET_dharma_king }
		piety = 2500
		OR = {
			trait = kind
			trait = zealous
			trait = just
			trait = charitable
			trait = temperate
		}
		NOT = { trait = cruel }
		NOT = { trait = arbitrary }
		NOT = { trait = greedy }
		NOT = { trait = wroth }
		NOT = { trait = impaler }
		NOT = { trait = hedonist }
		is_theocracy = no
	}
	
	mean_time_to_happen = {
		months = 2580
		
		modifier = {
			factor = 0.8
			trait = kind
		}
		modifier = {
			factor = 1.25
			trait = envious
		}
		modifier = {
			factor = 0.8
			trait = patient
		}
		modifier = {
			factor = 1.25
			trait = wroth
		}
		modifier = {
			factor = 0.8
			trait = humble
		}
		modifier = {
			factor = 1.25
			trait = proud
		}
		modifier = {
			factor = 0.8
			trait = diligent
		}
		modifier = {
			factor = 1.25
			trait = duelist
		}
		modifier = {
			factor = 0.8
			trait = celibate
		}
		modifier = {
			factor = 1.25
			trait = kinslayer
		}
		modifier = {
			factor = 0.8
			piety = 4000
		}
		modifier = {
			factor = 0.66
			piety = 6000
		}
		modifier = {
			factor = 0.5
			piety = 8000
		}
		modifier = {
			factor = 2
			AND = {
				lower_tier_than = DUKE
				is_primary_heir = no
				is_pretender = no
			}
		}
		modifier = {
			factor = 1.5
			AND = {
				lower_tier_than = KING
				is_primary_heir = no
				is_pretender = no
			}
		}
		modifier = {
			factor = 0.8
			trait = vegetarian
		}
		modifier = {
			factor = 0.8
			trait = retreat_veteran
		}
		modifier = {
			factor = 0.6
			trait = retreat_master
		}
		
	}
	
	option = { # ok
		name = buddhist.12.a
		piety = 100
		prestige = 50
		give_nickname = nick_dharma_king
		set_character_flag = VIET_dharma_king
	}
}


#######################################
# Choosing a Sect
#######################################

# Sect event chain start - never had a sect before
character_event = {
	id = buddhist.2
	desc = buddhist.2.desc
	picture = GFX_evt_buddhist_pagoda
	
	only_rulers = yes
	
	trigger = {
		religion = buddhist
		NOT = { has_character_flag = buddhist_sect_already_chose_once }
		NOT = { has_character_flag = choosing_buddhist_sect }
		primary_title = { higher_tier_than = BARON }
		OR = {
			trait = mahayana_buddhist
			trait = vajrayana_buddhist
			trait = theravada_buddhist
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	immediate = {
		set_character_flag = choosing_buddhist_sect
		set_character_flag = buddhist_sect_already_chose_once
		hidden_tooltip = {
			add_character_modifier = {
				name = VIET_recently_chose_buddhist_sect
				duration = 1095
				hidden = yes
			}
		}
	}
	
	option = { #I have decided
		name = buddhist.2.a
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" }
	}
	option = { #want to learn more first
		name = buddhist.2.b
		trigger = {
			ai = no
		}
		set_character_flag = learn_more_buddhist_sects
		if = {
			limit = {
				trait = mahayana_buddhist
			}
			character_event = { id = buddhist.5 tooltip = "buddhist.5.tooltip" }
		}
		if = {
			limit = {
				trait = vajrayana_buddhist
			}
			character_event = { id = buddhist.21 tooltip = "buddhist.21.tooltip" }
		}
		if = {
			limit = {
				trait = theravada_buddhist
			}
			character_event = { id = buddhist.26 tooltip = "buddhist.26.tooltip" }
		}
	}
}
# Sect event chain start - had a sect before
character_event = {
	id = buddhist.3
	desc = buddhist.3.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	immediate = {
		hidden_tooltip = {
			add_character_modifier = {
				name = VIET_recently_chose_buddhist_sect
				duration = 1095
				hidden = yes
			}
		}
	}
	
	option = { #I have decided
		name = buddhist.3.a
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" }
	}
	option = { #want to learn more first
		name = buddhist.3.b
		trigger = {
			ai = no
		}
		set_character_flag = learn_more_buddhist_sects
		if = {
			limit = {
				trait = mahayana_buddhist
			}
			character_event = { id = buddhist.5 tooltip = "buddhist.5.tooltip" }
		}
		if = {
			limit = {
				trait = vajrayana_buddhist
			}
			character_event = { id = buddhist.21 tooltip = "buddhist.21.tooltip" }
		}
		if = {
			limit = {
				trait = theravada_buddhist
			}
			character_event = { id = buddhist.26 tooltip = "buddhist.26.tooltip" }
		}
	}
}

# recently chose sect - are you sure? - REMOVED
#character_event = {
#	id = buddhist.4
#	desc = buddhist.4.desc
#	picture = GFX_evt_icon_eastern_group
#	is_triggered_only = yes
#}

# learn about sects
character_event = {
	id = buddhist.5
	desc = buddhist.5.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.5.a
		character_event = { id = buddhist.6 tooltip = "buddhist.6.tooltip" } #Zen
	}
	option = {
		name = buddhist.5.b
		character_event = { id = buddhist.7 tooltip = "buddhist.7.tooltip" } # Pure Land
	}
	option = {
		name = buddhist.5.c
		character_event = { id = buddhist.8 tooltip = "buddhist.8.tooltip" } # Lotus School
	}
	option = {
		name = buddhist.5.d
		character_event = { id = buddhist.9 tooltip = "buddhist.9.tooltip" } # Yogacara
	}
}

# learn about sects - Zen
character_event = {
	id = buddhist.6
	desc = buddhist.6.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.6.a
		character_event = { id = buddhist.7 tooltip = "buddhist.7.tooltip" } # Pure Land
	}
	option = {
		name = buddhist.6.b
		character_event = { id = buddhist.8 tooltip = "buddhist.8.tooltip" } # Lotus School
	}
	option = {
		name = buddhist.6.c
		character_event = { id = buddhist.9 tooltip = "buddhist.9.tooltip" } # Yogacara
	}
	option = {
		name = buddhist.6.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# learn about sects - Pure land
character_event = {
	id = buddhist.7
	desc = buddhist.7.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.7.a
		character_event = { id = buddhist.6 tooltip = "buddhist.6.tooltip" } # Zen
	}
	option = {
		name = buddhist.7.b
		character_event = { id = buddhist.8 tooltip = "buddhist.8.tooltip" } # Lotus School
	}
	option = {
		name = buddhist.7.c
		character_event = { id = buddhist.9 tooltip = "buddhist.9.tooltip" } # Yogacara
	}
	option = {
		name = buddhist.7.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# learn about sects - Lotus School
character_event = {
	id = buddhist.8
	desc = buddhist.8.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.8.a
		character_event = { id = buddhist.6 tooltip = "buddhist.6.tooltip" } # Zen
	}
	option = {
		name = buddhist.8.b
		character_event = { id = buddhist.7 tooltip = "buddhist.7.tooltip" } # Pure Land
	}
	option = {
		name = buddhist.8.c
		character_event = { id = buddhist.9 tooltip = "buddhist.9.tooltip" } # Yogacara
	}
	option = {
		name = buddhist.8.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# learn about sects - Yogacara
character_event = {
	id = buddhist.9
	desc = buddhist.9.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.9.a
		character_event = { id = buddhist.6 tooltip = "buddhist.6.tooltip" } # Zen
	}
	option = {
		name = buddhist.9.b
		character_event = { id = buddhist.7 tooltip = "buddhist.7.tooltip" } # Pure Land
	}
	option = {
		name = buddhist.9.c
		character_event = { id = buddhist.8 tooltip = "buddhist.9.tooltip" } # Lotus School
	}
	option = {
		name = buddhist.9.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# Time to choose
character_event = {
	id = buddhist.10
	desc = buddhist.10.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	option = { #Zen
		name = buddhist.10.a
		trigger = {
			trait = mahayana_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = zen_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = mahavihara_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
		}
		clr_character_flag = choosing_buddhist_sect
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
	}
	option = { #Pure Land
		name = buddhist.10.b
		trigger = {
			trait = mahayana_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = pure_land_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = mahavihara_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
	}
	option = { #Lotus School
		name = buddhist.10.c
		trigger = {
			trait = mahayana_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = lotus_school_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = mahavihara_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
		set_character_flag = already_chose_buddhist_sect
	}
	option = { #Yogacara
		name = buddhist.10.d
		trigger = {
			trait = mahayana_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = yogacara_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = mahavihara_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
		set_character_flag = already_chose_buddhist_sect
	}
	option = { #Yogacara
		name = buddhist.10.e
		trigger = {
			trait = vajrayana_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = gelug_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = mahavihara_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
		set_character_flag = already_chose_buddhist_sect
	}
	option = { #Sakya
		name = buddhist.10.f
		trigger = {
			trait = vajrayana_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = sakya_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = mahavihara_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
		set_character_flag = already_chose_buddhist_sect
	}
	option = { #Kagyu
		name = buddhist.10.g
		trigger = {
			trait = vajrayana_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = kagyu_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = mahavihara_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
		set_character_flag = already_chose_buddhist_sect
	}
	option = { #Nyingma
		name = buddhist.10.h
		trigger = {
			trait = vajrayana_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = nyingma_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = mahavihara_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
		set_character_flag = already_chose_buddhist_sect
	}
	option = { #mahavihara
		name = buddhist.10.i
		trigger = {
			trait = theravada_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = mahavihara_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = abhayagiri_vihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
		set_character_flag = already_chose_buddhist_sect
	}
	option = { #abhayagiri vihara
		name = buddhist.10.j
		trigger = {
			trait = theravada_buddhist
		}
		custom_tooltip = { text = i_choose_you_buddhist_school }
		add_character_modifier = {
			name = abhayagiri_vihara_supporter
			duration = -1
		}
		hidden_tooltip = {
			remove_character_modifier = pure_land_supporter
			remove_character_modifier = zen_supporter
			remove_character_modifier = lotus_school_supporter
			remove_character_modifier = yogacara_supporter
			remove_character_modifier = gelug_supporter
			remove_character_modifier = sakya_supporter
			remove_character_modifier = kagyu_supporter
			remove_character_modifier = nyingma_supporter
			remove_character_modifier = mahavihara_supporter
			clr_character_flag = choosing_buddhist_sect
		}
		if = {
			limit = {
				OR = {
					trait = cynical
					trait = greedy
					trait = ambitious
					trait = deceitful
					trait = hedonist
					trait = envious
					trait = gluttonous
					trait = arbitrary
				}
			}
			hidden_tooltip = {
				random_list = {
					10 = { character_event = { id = buddhist.11 days = 1 } } #booo
					90 = { }
				}
			}
		}
		set_character_flag = already_chose_buddhist_sect
	}
}

# Playing politics?
character_event = {
	id = buddhist.11
	desc = buddhist.11.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	option = { #I know
		name = buddhist.11.a
		piety = -25
		prestige = -10
		add_character_modifier = {
			name = spiritually_insincere_buddhist
			duration = 730
		}
	}
	option = { #lolwut
		name = buddhist.11.b
		piety = -25
		prestige = -10
		add_character_modifier = {
			name = spiritually_insincere_buddhist
			duration = 730
		}
	}
}

# No longer follower of correct sect
character_event = {
	id = buddhist.20
	desc = buddhist.20.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	trigger = {
		OR = {
			AND = {
				OR = {
					has_character_modifier = pure_land_supporter
					has_character_modifier = zen_supporter
					has_character_modifier = lotus_school_supporter
					has_character_modifier = yogacara_supporter
				}
				NOT = { trait = mahayana_buddhist }
			}
			AND = {
				OR = {
					has_character_modifier = gelug_supporter
					has_character_modifier = sakya_supporter
					has_character_modifier = kagyu_supporter
					has_character_modifier = nyingma_supporter
				}
				NOT = { trait = vajrayana_buddhist }
			}
			AND = {
				OR = {
					has_character_modifier = mahavihara_supporter
					has_character_modifier = abhayagiri_vihara_supporter
				}
				NOT = { trait = theravada_buddhist }
			}
		}
	}
	
	option = { #ok
		name = buddhist.20.a
		remove_character_modifier = pure_land_supporter
		remove_character_modifier = zen_supporter
		remove_character_modifier = lotus_school_supporter
		remove_character_modifier = yogacara_supporter
		remove_character_modifier = gelug_supporter
		remove_character_modifier = sakya_supporter
		remove_character_modifier = kagyu_supporter
		remove_character_modifier = nyingma_supporter
		remove_character_modifier = mahavihara_supporter
		remove_character_modifier = abhayagiri_vihara_supporter
	}
}

# learn about sects
character_event = {
	id = buddhist.21
	desc = buddhist.21.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.21.a
		character_event = { id = buddhist.22 tooltip = "buddhist.22.tooltip" } #gelug
	}
	option = {
		name = buddhist.21.b
		character_event = { id = buddhist.23 tooltip = "buddhist.23.tooltip" } # sakya
	}
	option = {
		name = buddhist.21.c
		character_event = { id = buddhist.24 tooltip = "buddhist.24.tooltip" } # kagyu
	}
	option = {
		name = buddhist.21.d
		character_event = { id = buddhist.25 tooltip = "buddhist.25.tooltip" } # nyingma
	}
}

# learn about sects - gelug
character_event = {
	id = buddhist.22
	desc = buddhist.22.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.22.a
		character_event = { id = buddhist.23 tooltip = "buddhist.23.tooltip" } # sakya
	}
	option = {
		name = buddhist.22.b
		character_event = { id = buddhist.24 tooltip = "buddhist.24.tooltip" } # kagyu
	}
	option = {
		name = buddhist.22.c
		character_event = { id = buddhist.25 tooltip = "buddhist.25.tooltip" } # nyingma
	}
	option = {
		name = buddhist.7.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# learn about sects - sakya
character_event = {
	id = buddhist.23
	desc = buddhist.23.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.23.a
		character_event = { id = buddhist.22 tooltip = "buddhist.22.tooltip" } #gelug
	}
	option = {
		name = buddhist.23.b
		character_event = { id = buddhist.24 tooltip = "buddhist.24.tooltip" } # kagyu
	}
	option = {
		name = buddhist.23.c
		character_event = { id = buddhist.25 tooltip = "buddhist.25.tooltip" } # nyingma
	}
	option = {
		name = buddhist.7.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# learn about sects - kagyu
character_event = {
	id = buddhist.24
	desc = buddhist.24.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.24.a
		character_event = { id = buddhist.22 tooltip = "buddhist.22.tooltip" } #gelug
	}
	option = {
		name = buddhist.24.b
		character_event = { id = buddhist.23 tooltip = "buddhist.23.tooltip" } # sakya
	}
	option = {
		name = buddhist.24.c
		character_event = { id = buddhist.25 tooltip = "buddhist.25.tooltip" } # nyingma
	}
	option = {
		name = buddhist.7.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# learn about sects - nyingma
character_event = {
	id = buddhist.25
	desc = buddhist.25.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.25.a
		character_event = { id = buddhist.22 tooltip = "buddhist.22.tooltip" } #gelug
	}
	option = {
		name = buddhist.25.b
		character_event = { id = buddhist.23 tooltip = "buddhist.23.tooltip" } # sakya
	}
	option = {
		name = buddhist.25.c
		character_event = { id = buddhist.24 tooltip = "buddhist.24.tooltip" } # kagyu
	}
	option = {
		name = buddhist.7.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# learn about sects
character_event = {
	id = buddhist.26
	desc = buddhist.26.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.26.a
		character_event = { id = buddhist.27 tooltip = "buddhist.27.tooltip" } #mahavihara
	}
	option = {
		name = buddhist.26.b
		character_event = { id = buddhist.28 tooltip = "buddhist.28.tooltip" } # av
	}
}

# learn about sects - mahavihara
character_event = {
	id = buddhist.27
	desc = buddhist.27.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.27.a
		character_event = { id = buddhist.28 tooltip = "buddhist.28.tooltip" } #av
	}
	option = {
		name = buddhist.7.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

# learn about sects - av
character_event = {
	id = buddhist.28
	desc = buddhist.28.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = buddhist.28.a
		character_event = { id = buddhist.27 tooltip = "buddhist.27.tooltip" } #av
	}
	option = {
		name = buddhist.7.d
		character_event = { id = buddhist.10 tooltip = "buddhist.10.tooltip" } #done
	}
}

#######################################
# Dedicating a Holy Site
#######################################

# dedicate holy site choose
character_event = {
	id = buddhist.13
	desc = buddhist.13.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # Stupa
		name = buddhist.13.a
		character_event = { id = buddhist.14 }
	}
	option = { # Temple
		name = buddhist.13.b
		character_event = { id = buddhist.16 }
	}
	option = { # Monastery
		name = buddhist.13.c
		character_event = { id = buddhist.18 }
	}
}
# stupa begins building
character_event = {
	id = buddhist.14
	desc = buddhist.14.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # Stupa
		name = buddhist.14.a
		add_character_modifier = {
			name = building_buddhist_holy_site
			duration = -1
		}
		character_event = { id = buddhist.15 days = 365 random = 365 tooltip = "buddhist.15.tooltip" }
	}
}
# stupa finishes
character_event = {
	id = buddhist.15
	desc = buddhist.15.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # Stupa
		name = buddhist.15.a
		remove_character_modifier = building_buddhist_holy_site
		piety = 50
		add_character_modifier = {
			name = built_buddhist_stupa
			duration = 1825
		}
	}
}
# temple begins building
character_event = {
	id = buddhist.16
	desc = buddhist.16.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # temple
		name = buddhist.16.a
		add_character_modifier = {
			name = building_buddhist_holy_site
			duration = -1
		}
		character_event = { id = buddhist.17 days = 365 random = 365 tooltip = "buddhist.17.tooltip" }
	}
}
# temple finishes
character_event = {
	id = buddhist.17
	desc = buddhist.17.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # temple
		name = buddhist.17.a
		remove_character_modifier = building_buddhist_holy_site
		piety = 50
		add_character_modifier = {
			name = built_buddhist_temple
			duration = 1825
		}
	}
}
# monastery begins building
character_event = {
	id = buddhist.18
	desc = buddhist.18.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # monastery
		name = buddhist.18.a
		add_character_modifier = {
			name = building_buddhist_holy_site
			duration = -1
		}
		character_event = { id = buddhist.19 days = 365 random = 365 tooltip = "buddhist.19.tooltip" }
	}
}
# monastery finishes
character_event = {
	id = buddhist.19
	desc = buddhist.19.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # monastery
		name = buddhist.19.a
		remove_character_modifier = building_buddhist_holy_site
		piety = 50
		add_character_modifier = {
			name = built_buddhist_monastery
			duration = 1825
		}
	}
}


#######################################
#
# MEDITATION RETREAT EVENTS
#
#######################################

#######################################
# Meditation Retreat Base Events
#######################################


# Prepare for Meditation Retreat
character_event = {
	id = meditation.1
	desc = meditation.1.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	option = { # Not experienced
		name = meditation.1.a
		trigger = {
			NOT = { trait = retreat_veteran }
			NOT = { trait = retreat_master }
		}
		set_character_flag = buddhist_retreater_1
		set_character_flag = novice_buddhist_retreater
		narrative_event = { id = meditation.2 days = 6 random = 3 tooltip = "meditation.2.tooltip" }
	}
	option = { # Experienced
		name = meditation.1.b
		trigger = {
			trait = retreat_veteran
			NOT = { trait = retreat_master }
		}
		set_character_flag = buddhist_retreater_1
		set_character_flag = experienced_buddhist_retreater
		narrative_event = { id = meditation.2 days = 6 random = 3 tooltip = "meditation.2.tooltip" }
	}
	option = { # Very Experienced
		name = meditation.1.b
		trigger = {
			NOT = { trait = retreat_veteran }
			trait = retreat_master
		}
		set_character_flag = buddhist_retreater_1
		set_character_flag = experienced_buddhist_retreater
		narrative_event = { id = meditation.2 days = 6 random = 3 tooltip = "meditation.2.tooltip" }
	}
}

# Retreat about to begin
narrative_event = {
	id = meditation.2
	title = meditation.2.name
	desc = meditation.2.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # Three months
		name = meditation.2.a
		add_trait = on_retreat
		set_character_flag = retreat_three_months
		if = {
			limit = {
				has_character_flag = novice_buddhist_retreater
			}
			character_event = { id = meditation.3 days = 2 tooltip = "meditation.3.tooltip" }
		}
		if = {
			limit = {
				has_character_flag = experienced_buddhist_retreater
			}
			character_event = { id = meditation.4 days = 2 tooltip = "meditation.4.tooltip" }
		}
		hidden_tooltip = {
			character_event = { id = meditation.8 days = 85 } # End - five days before actual end
		}
	}
	option = { # Half a year
		name = meditation.2.b
		add_trait = on_retreat
		set_character_flag = retreat_half_year
		if = {
			limit = {
				has_character_flag = novice_buddhist_retreater
			}
			character_event = { id = meditation.3 days = 2 tooltip = "meditation.3.tooltip" }
		}
		if = {
			limit = {
				has_character_flag = experienced_buddhist_retreater
			}
			character_event = { id = meditation.4 days = 2 tooltip = "meditation.4.tooltip" }
		}
		hidden_tooltip = {
			character_event = { id = meditation.5 days = 90 } # Three months to go
			character_event = { id = meditation.8 days = 175 } # End - five days before actual end
		}
	}
	option = { # One year
		name = meditation.2.c
		add_trait = on_retreat
		if = {
			limit = {
				has_character_flag = novice_buddhist_retreater
			}
			character_event = { id = meditation.3 days = 2 tooltip = "meditation.3.tooltip" }
		}
		if = {
			limit = {
				has_character_flag = experienced_buddhist_retreater
			}
			character_event = { id = meditation.4 days = 2 tooltip = "meditation.4.tooltip" }
		}
		set_character_flag = retreat_one_year
		hidden_tooltip = {
			character_event = { id = meditation.5 days = 90 } # Nine months to go
			character_event = { id = meditation.6 days = 180 } # Half a year to go
			character_event = { id = meditation.7 days = 270 } # Three months to go
			character_event = { id = meditation.8 days = 360 } # End - five days before actual end
		}
	}
}

# Begin retreat - novice
character_event = {
	id = meditation.3
	desc = meditation.3.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.3.a
		if = { #Simple Meditation events - highly likely to occur
			limit = {
				has_character_flag = retreat_three_months
			}
			hidden_tooltip = {
				random_list = {
					10 = { }
					15 = { character_event = { id = meditation.14 days = 30 } }
					15 = { character_event = { id = meditation.15 days = 35 } }
					15 = { character_event = { id = meditation.16 days = 40 } }
					15 = { character_event = { id = meditation.17 days = 45 } }
					15 = { character_event = { id = meditation.18 days = 50 } }
					15 = { character_event = { id = meditation.19 days = 55 } }
				}
			}
		}
		if = { #Simple Meditation events - likely to occur
			limit = {
				NOT = { has_character_flag = retreat_three_months }
			}
			hidden_tooltip = {
				random_list = {
					40 = { }
					10 = { character_event = { id = meditation.14 days = 55 } }
					10 = { character_event = { id = meditation.15 days = 50 } }
					10 = { character_event = { id = meditation.16 days = 45 } }
					10 = { character_event = { id = meditation.17 days = 40 } }
					10 = { character_event = { id = meditation.18 days = 35 } }
					10 = { character_event = { id = meditation.19 days = 30 } }
				}
			}
		}
		#Rare Events
		if = {
			limit = {
				NOT = { has_character_flag = retreat_whats_buddha }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = { character_event = { id = meditation.20 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_chair_exam }
			}
			hidden_tooltip = {
				random_list = {
					85 = { }
					15 = { narrative_event = { id = meditation.21 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_emptiness_anger }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = { narrative_event = { id = meditation.22 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_master_knows_not }
			}
			hidden_tooltip = {
				random_list = {
					85 = { }
					15 = { narrative_event = { id = meditation.23 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_lotus_position }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = { narrative_event = { id = meditation.24 days = 45 random = 10 } }
				}
			}
		}
		#Normal events
		custom_tooltip = {
			text = begin_retreat_novice
			hidden_tooltip = {
				random_list = {
					#Possibly no events (38%)
					38 = { }
					#6 - Both novice and experienced (30%)
					5 = { character_event = { id = meditation.25 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.26 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.27 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.28 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.29 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.30 days = 30 random = 30 } }
					#8 - Novice only (32%)
					4 = { character_event = { id = meditation.31 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.32 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.33 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.34 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.35 days = 30 random = 30 } }
					4 = { narrative_event = { id = meditation.36 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.37 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.38 days = 30 random = 30 } }
				}
			}
		}
	}
}

# Begin retreat - experienced
character_event = {
	id = meditation.4
	desc = meditation.4.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.4.a
		if = { #Simple Meditation events - highly likely to occur
			limit = {
				has_character_flag = retreat_three_months
			}
			hidden_tooltip = {
				random_list = {
					10 = { }
					15 = { character_event = { id = meditation.14 days = 30 } }
					15 = { character_event = { id = meditation.15 days = 35 } }
					15 = { character_event = { id = meditation.16 days = 40 } }
					15 = { character_event = { id = meditation.17 days = 45 } }
					15 = { character_event = { id = meditation.18 days = 50 } }
					15 = { character_event = { id = meditation.19 days = 55 } }
				}
			}
		}
		if = { #Simple Meditation events - likely to occur
			limit = {
				NOT = { has_character_flag = retreat_three_months }
			}
			hidden_tooltip = {
				random_list = {
					40 = { }
					10 = { character_event = { id = meditation.14 days = 55 } }
					10 = { character_event = { id = meditation.15 days = 50 } }
					10 = { character_event = { id = meditation.16 days = 45 } }
					10 = { character_event = { id = meditation.17 days = 40 } }
					10 = { character_event = { id = meditation.18 days = 35 } }
					10 = { character_event = { id = meditation.19 days = 30 } }
				}
			}
		}
		#Rare Events
		if = {
			limit = {
				NOT = { has_character_flag = retreat_whats_buddha }
			}
			hidden_tooltip = {
				random_list = {
					70 = { }
					30 = { character_event = { id = meditation.20 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_chair_exam }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = { narrative_event = { id = meditation.21 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_emptiness_anger }
			}
			hidden_tooltip = {
				random_list = {
					70 = { }
					30 = { narrative_event = { id = meditation.22 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_master_knows_not }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = { narrative_event = { id = meditation.23 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_lotus_position }
			}
			hidden_tooltip = {
				random_list = {
					70 = { }
					30 = { narrative_event = { id = meditation.24 days = 45 random = 10 } }
				}
			}
		}
		custom_tooltip = {
			text = begin_retreat_experienced
			hidden_tooltip = {
				random_list = {
					#Possibly no events (38%)
					38 = { }
					#6 - Both novice and experienced (30%)
					5 = { character_event = { id = meditation.25 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.26 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.27 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.28 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.29 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.30 days = 30 random = 30 } }
					#8 Possible Experienced Events (32%)
					4 = { character_event = { id = meditation.30 days = 39 random = 30 } }
					4 = { character_event = { id = meditation.30 days = 40 random = 30 } }
					4 = { character_event = { id = meditation.30 days = 41 random = 30 } }
					4 = { character_event = { id = meditation.30 days = 42 random = 30 } }
					4 = { character_event = { id = meditation.30 days = 43 random = 30 } }
					4 = { character_event = { id = meditation.30 days = 44 random = 30 } }
					4 = { character_event = { id = meditation.30 days = 45 random = 30 } }
					4 = { character_event = { id = meditation.30 days = 46 random = 30 } }
				}
			}
		}
	}
}

# Three months into retreat
character_event = {
	id = meditation.5
	desc = meditation.5.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.5.a
		#Rare Events
		if = {
			limit = {
				NOT = { has_character_flag = retreat_whats_buddha }
			}
			hidden_tooltip = {
				random_list = {
					85 = { }
					15 = { character_event = { id = meditation.20 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_chair_exam }
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = { narrative_event = { id = meditation.21 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_emptiness_anger }
			}
			hidden_tooltip = {
				random_list = {
					85 = { }
					15 = { narrative_event = { id = meditation.22 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_master_knows_not }
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = { narrative_event = { id = meditation.23 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_lotus_position }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = { narrative_event = { id = meditation.24 days = 45 random = 10 } }
				}
			}
		}
		hidden_tooltip = { #Simple Meditation events - likely to occur
			random_list = {
				40 = { }
				10 = { character_event = { id = meditation.14 days = 45 } }
				10 = { character_event = { id = meditation.15 days = 30 } }
				10 = { character_event = { id = meditation.16 days = 55 } }
				10 = { character_event = { id = meditation.17 days = 50 } }
				10 = { character_event = { id = meditation.18 days = 35 } }
				10 = { character_event = { id = meditation.19 days = 40 } }
			}
		}
		if = {
			limit = {
				has_character_flag = novice_buddhist_retreater
			}
			hidden_tooltip = {
				random_list = {
					#Possibly no events (38%)
					38 = { }
					#6 - Both novice and experienced (30%)
					5 = { character_event = { id = meditation.25 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.26 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.27 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.28 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.29 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.30 days = 30 random = 30 } }
					#8 - Novice only (32%)
					4 = { character_event = { id = meditation.31 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.32 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.33 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.34 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.35 days = 30 random = 30 } }
					4 = { narrative_event = { id = meditation.36 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.37 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.38 days = 30 random = 30 } }
				}
			}
		}
	}
}

# Half year into retreat
character_event = {
	id = meditation.6
	desc = meditation.6.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.6.a
		#Rare Events
		if = {
			limit = {
				NOT = { has_character_flag = retreat_whats_buddha }
			}
			hidden_tooltip = {
				random_list = {
					85 = { }
					15 = { character_event = { id = meditation.20 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_chair_exam }
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = { narrative_event = { id = meditation.21 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_emptiness_anger }
			}
			hidden_tooltip = {
				random_list = {
					85 = { }
					15 = { narrative_event = { id = meditation.22 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_master_knows_not }
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = { narrative_event = { id = meditation.23 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_lotus_position }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = { narrative_event = { id = meditation.24 days = 45 random = 10 } }
				}
			}
		}
		hidden_tooltip = { #Simple Meditation events - likely to occur
			random_list = {
				40 = { }
				10 = { character_event = { id = meditation.14 days = 40 } }
				10 = { character_event = { id = meditation.15 days = 50 } }
				10 = { character_event = { id = meditation.16 days = 30 } }
				10 = { character_event = { id = meditation.17 days = 35 } }
				10 = { character_event = { id = meditation.18 days = 55 } }
				10 = { character_event = { id = meditation.19 days = 45 } }
			}
		}
		if = {
			limit = {
				has_character_flag = novice_buddhist_retreater
			}
			hidden_tooltip = {
				random_list = {
					#Possibly no events (38%)
					38 = { }
					#6 - Both novice and experienced (30%)
					5 = { character_event = { id = meditation.25 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.26 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.27 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.28 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.29 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.30 days = 30 random = 30 } }
					#8 - Novice only (32%)
					4 = { character_event = { id = meditation.31 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.32 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.33 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.34 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.35 days = 30 random = 30 } }
					4 = { narrative_event = { id = meditation.36 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.37 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.38 days = 30 random = 30 } }
				}
			}
		}
	}
}

# Nine months into retreat
character_event = {
	id = meditation.7
	desc = meditation.7.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.7.a
		#Rare Events
		if = {
			limit = {
				NOT = { has_character_flag = retreat_whats_buddha }
			}
			hidden_tooltip = {
				random_list = {
					85 = { }
					15 = { character_event = { id = meditation.20 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_chair_exam }
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = { narrative_event = { id = meditation.21 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_emptiness_anger }
			}
			hidden_tooltip = {
				random_list = {
					85 = { }
					15 = { narrative_event = { id = meditation.22 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_master_knows_not }
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = { narrative_event = { id = meditation.23 days = 45 random = 10 } }
				}
			}
		}
		if = {
			limit = {
				NOT = { has_character_flag = retreat_lotus_position }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = { narrative_event = { id = meditation.24 days = 45 random = 10 } }
				}
			}
		}
		hidden_tooltip = { #Simple Meditation events - likely to occur
			random_list = {
				40 = { }
				10 = { character_event = { id = meditation.14 days = 50 } }
				10 = { character_event = { id = meditation.15 days = 40 } }
				10 = { character_event = { id = meditation.16 days = 55 } }
				10 = { character_event = { id = meditation.17 days = 45 } }
				10 = { character_event = { id = meditation.18 days = 30 } }
				10 = { character_event = { id = meditation.19 days = 35 } }
			}
		}
		if = {
			limit = {
				has_character_flag = novice_buddhist_retreater
			}
			hidden_tooltip = {
				random_list = {
					#Possibly no events (38%)
					38 = { }
					#6 - Both novice and experienced (30%)
					5 = { character_event = { id = meditation.25 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.26 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.27 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.28 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.29 days = 30 random = 30 } }
					5 = { character_event = { id = meditation.30 days = 30 random = 30 } }
					#8 - Novice only (32%)
					4 = { character_event = { id = meditation.31 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.32 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.33 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.34 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.35 days = 30 random = 30 } }
					4 = { narrative_event = { id = meditation.36 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.37 days = 30 random = 30 } }
					4 = { character_event = { id = meditation.38 days = 30 random = 30 } }
				}
			}
		}
	}
}

# Retreat about to end
character_event = {
	id = meditation.8
	desc = meditation.8.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Not experienced
		name = meditation.8.a
		trigger = {
			NOT = { trait = retreat_veteran }
			NOT = { trait = retreat_master }
			NOT = { has_character_flag = retreat_at_least_once }
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					90 = { narrative_event = { id = meditation.9 days = 5 } } #Do not advance in retreat level
					10 = { narrative_event = { id = meditation.10 days = 5 } } #Advance in retreat level
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					80 = { narrative_event = { id = meditation.9 days = 5 } } #Do not advance in retreat level
					70 = { narrative_event = { id = meditation.10 days = 5 } } #Advance in retreat level
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			hidden_tooltip = {
				random_list = {
					70 = { narrative_event = { id = meditation.9 days = 5 } } #Do not advance in retreat level
					30 = { narrative_event = { id = meditation.10 days = 5 } } #Advance in retreat level
				}
			}
		}
		clr_character_flag = buddhist_retreater_1
		clr_character_flag = buddhist_retreater_2
		clr_character_flag = buddhist_retreater_3
	}
	option = { # Not experienced but did do retreat before
		name = meditation.8.b
		trigger = {
			NOT = { trait = retreat_veteran }
			NOT = { trait = retreat_master }
			has_character_flag = retreat_at_least_once
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					85 = { narrative_event = { id = meditation.9 days = 5 } } #Do not advance in retreat level
					15 = { narrative_event = { id = meditation.10 days = 5 } } #Advance in retreat level
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					75 = { narrative_event = { id = meditation.9 days = 5 } } #Do not advance in retreat level
					25 = { narrative_event = { id = meditation.10 days = 5 } } #Advance in retreat level
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			hidden_tooltip = {
				random_list = {
					65 = { narrative_event = { id = meditation.9 days = 5 } } #Do not advance in retreat level
					35 = { narrative_event = { id = meditation.10 days = 5 } } #Advance in retreat level
				}
			}
		}
		clr_character_flag = buddhist_retreater_1
		clr_character_flag = buddhist_retreater_2
		clr_character_flag = buddhist_retreater_3
	}
	option = { # Experienced
		name = meditation.8.b
		trigger = {
			trait = retreat_veteran
			NOT = { trait = retreat_master }
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					95 = { narrative_event = { id = meditation.11 days = 5 } } #Do not advance in retreat level
					5 = { narrative_event = { id = meditation.12 days = 5 } } #Advance in retreat level
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					85 = { narrative_event = { id = meditation.11 days = 5 } } #Do not advance in retreat level
					15 = { narrative_event = { id = meditation.12 days = 5 } } #Advance in retreat level
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			hidden_tooltip = {
				random_list = {
					75 = { narrative_event = { id = meditation.11 days = 5 } } #Do not advance in retreat level
					25 = { narrative_event = { id = meditation.12 days = 5 } } #Advance in retreat level
				}
			}
		}
		clr_character_flag = buddhist_retreater_1
		clr_character_flag = buddhist_retreater_2
		clr_character_flag = buddhist_retreater_3
	}
	option = { # Very Experienced
		name = meditation.8.c
		trigger = {
			NOT = { trait = retreat_veteran }
			trait = retreat_master
		}
		hidden_tooltip = {
			narrative_event = { id = meditation.13 days = 5 } #ok
		}
		clr_character_flag = buddhist_retreater_1
		clr_character_flag = buddhist_retreater_2
		clr_character_flag = buddhist_retreater_3
	}
}

# Retreat ends - didn't upgrade level
narrative_event = {
	id = meditation.9
	title = meditation.9.name
	desc = meditation.9.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = {
		name = meditation.9.a
		remove_trait = on_retreat
		if = {
			limit = {
				has_character_flag = retreat_three_months
			}
			clr_character_flag = retreat_three_months
			piety = 10
		}
		if = {
			limit = {
				has_character_flag = retreat_half_year
			}
			clr_character_flag = retreat_half_year
			piety = 20
		}
		if = {
			limit = {
				has_character_flag = retreat_one_year
			}
			clr_character_flag = retreat_one_year
			piety = 30
		}
		set_character_flag = retreat_at_least_once
		clr_character_flag = going_on_meditation_retreat
		clr_character_flag = novice_buddhist_retreater
		clr_character_flag = experienced_buddhist_retreater
		clr_character_flag = do_not_disturb
		add_character_modifier = {
			name = participated_in_meditation_retreat
			duration = 365
		}
	}
}

# Retreat ends - novice to veteran
narrative_event = {
	id = meditation.10
	title = meditation.9.name
	desc = meditation.10.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = {
		name = meditation.10.a
		remove_trait = on_retreat
		if = {
			limit = {
				has_character_flag = retreat_three_months
			}
			clr_character_flag = retreat_three_months
			piety = 10
		}
		if = {
			limit = {
				has_character_flag = retreat_half_year
			}
			clr_character_flag = retreat_half_year
			piety = 20
		}
		if = {
			limit = {
				has_character_flag = retreat_one_year
			}
			clr_character_flag = retreat_one_year
			piety = 30
		}
		add_trait = retreat_veteran
		clr_character_flag = going_on_meditation_retreat
		clr_character_flag = novice_buddhist_retreater
		clr_character_flag = experienced_buddhist_retreater
		clr_character_flag = do_not_disturb
		add_character_modifier = {
			name = participated_in_meditation_retreat
			duration = 365
		}
	}
}

# Retreat ends - veteran no upgrade
narrative_event = {
	id = meditation.11
	title = meditation.9.name
	desc = meditation.11.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = {
		name = meditation.11.a
		remove_trait = on_retreat
		if = {
			limit = {
				has_character_flag = retreat_three_months
			}
			clr_character_flag = retreat_three_months
			piety = 15
		}
		if = {
			limit = {
				has_character_flag = retreat_half_year
			}
			clr_character_flag = retreat_half_year
			piety = 25
		}
		if = {
			limit = {
				has_character_flag = retreat_one_year
			}
			clr_character_flag = retreat_one_year
			piety = 35
		}
		#add_trait = retreat_veteran
		clr_character_flag = going_on_meditation_retreat
		clr_character_flag = novice_buddhist_retreater
		clr_character_flag = experienced_buddhist_retreater
		clr_character_flag = do_not_disturb
		add_character_modifier = {
			name = participated_in_meditation_retreat
			duration = 365
		}
	}
}

# Retreat ends - veteran upgrades
narrative_event = {
	id = meditation.12
	title = meditation.9.name
	desc = meditation.12.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = {
		name = meditation.12.a
		remove_trait = on_retreat
		if = {
			limit = {
				has_character_flag = retreat_three_months
			}
			clr_character_flag = retreat_three_months
			piety = 15
		}
		if = {
			limit = {
				has_character_flag = retreat_half_year
			}
			clr_character_flag = retreat_half_year
			piety = 25
		}
		if = {
			limit = {
				has_character_flag = retreat_one_year
			}
			clr_character_flag = retreat_one_year
			piety = 35
		}
		remove_trait = retreat_veteran
		add_trait = retreat_master
		clr_character_flag = going_on_meditation_retreat
		clr_character_flag = novice_buddhist_retreater
		clr_character_flag = experienced_buddhist_retreater
		clr_character_flag = do_not_disturb
		add_character_modifier = {
			name = participated_in_meditation_retreat
			duration = 365
		}
	}
}

# Retreat ends - master
narrative_event = {
	id = meditation.13
	title = meditation.9.name
	desc = meditation.13.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = {
		name = meditation.13.a
		remove_trait = on_retreat
		if = {
			limit = {
				has_character_flag = retreat_three_months
			}
			clr_character_flag = retreat_three_months
			piety = 20
		}
		if = {
			limit = {
				has_character_flag = retreat_half_year
			}
			clr_character_flag = retreat_half_year
			piety = 30
		}
		if = {
			limit = {
				has_character_flag = retreat_one_year
			}
			clr_character_flag = retreat_one_year
			piety = 40
		}
		clr_character_flag = going_on_meditation_retreat
		clr_character_flag = novice_buddhist_retreater
		clr_character_flag = experienced_buddhist_retreater
		clr_character_flag = do_not_disturb
		add_character_modifier = {
			name = participated_in_meditation_retreat
			duration = 365
		}
		add_character_modifier = {
			name = VIET_retreat_timer
			duration = 1095
			hidden = yes
		}
	}
}

###################################################################
# Meditation Retreat Basic Generic Events Always Fired
###################################################################

# Breathe in and out
character_event = {
	id = meditation.14
	desc = meditation.14.desc
	picture = GFX_evt_death_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = meditation.14.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			piety = 1
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			piety = 2
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			piety = 3
		}
	}
}

# Calmer than usual
character_event = {
	id = meditation.15
	desc = meditation.15.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = meditation.15.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			piety = 2
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			piety = 3
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			piety = 4
		}
	}
}

# Chant names of Buddhas and Bodhisattvas
character_event = {
	id = meditation.16
	desc = meditation.16.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	option = {
		name = meditation.16.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			piety = 2
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			piety = 3
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			piety = 4
		}
	}
}

# Many insects about!
character_event = {
	id = meditation.17
	desc = meditation.17.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { #Careful not to step on them!
		name = meditation.17.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			piety = 3
			clr_character_flag = buddhist_retreater_1
			set_character_flag = buddhist_retreater_2
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			piety = 4
			clr_character_flag = buddhist_retreater_2
			set_character_flag = buddhist_retreater_3
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			piety = 5
		}
	}
}

# An itch
character_event = {
	id = meditation.18
	desc = meditation.18.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Try to ignore it
		name = meditation.18.a
		trigger = {
			NOT = { trait = retreat_master }
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # Scratch it
		name = meditation.18.b
		trigger = {
			NOT = { trait = retreat_master }
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			#piety = 1
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_1
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_3
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
	}
	option = { # Scratch it
		name = meditation.18.b
		tooltip_info = retreat_master
		trigger = {
			trait = retreat_master
		}
		piety = 2
	}
}

# Legs are getting numb
character_event = {
	id = meditation.19
	desc = meditation.19.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Ouch
		name = meditation.19.a
	}
	option = { # Adjust legs
		name = meditation.19.b
		if = {
			limit = {
				trait = retreat_master
			}
			piety = 3
		}
	}
}


###################################################################
# Meditation Rare Events - will only fire once in a lifetime!
###################################################################

# What is Buddha?
character_event = {
	id = meditation.20
	desc = meditation.20.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.20.a
		piety = 5
		set_character_flag = retreat_whats_buddha
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # ok
		name = meditation.20.b
		piety = 5
		set_character_flag = retreat_whats_buddha
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # ok
		name = meditation.20.c
		piety = 5
		set_character_flag = retreat_whats_buddha
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # ouch!
		name = meditation.20.d
		piety = 5
		set_character_flag = retreat_whats_buddha
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# An exam
narrative_event = {
	id = meditation.21
	title = meditation.21.name
	desc = meditation.21.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.21.a
		piety = 5
		set_character_flag = retreat_chair_exam
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# There's your emptiness
narrative_event = {
	id = meditation.22
	title = meditation.22.name
	desc = meditation.22.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.22.a
		piety = 5
		set_character_flag = retreat_emptiness_anger
		if = {
			limit = {
				trait = proud
			}
			random_list = {
				50 = { }
				40 = { remove_trait = proud }
				10 = { add_trait = humble }
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Master's wisdom
narrative_event = {
	id = meditation.23
	title = meditation.23.name
	desc = meditation.23.desc
	picture = GFX_evt_death_eastern_group
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.23.a
		piety = 5
		set_character_flag = retreat_master_knows_not
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # ok
		name = meditation.23.b
		piety = 5
		set_character_flag = retreat_master_knows_not
		if = {
			limit = {
				trait = proud
			}
			random_list = {
				60 = { }
				30 = { remove_trait = proud }
				10 = { add_trait = humble }
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Lotus position
narrative_event = {
	id = meditation.24
	title = meditation.24.name
	desc = meditation.24.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.24.a
		piety = 5
		set_character_flag = retreat_lotus_position
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

###################################################################
# Meditation Normal Events for Both Experienced and Novice
###################################################################


# Back to basics
character_event = {
	id = meditation.25
	desc = meditation.25.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.25.a
		piety = 1
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Food!
character_event = {
	id = meditation.26
	desc = meditation.26.desc
	picture = GFX_evt_vegetarian
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.26.a
		piety = -3
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					34 = { }
					66 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_1
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					34 = { }
					66 = {
						clr_character_flag = buddhist_retreater_3
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
	}
	option = { # ok
		name = meditation.26.b
		piety = -1
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_1
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_3
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
	}
	option = { # ok
		name = meditation.26.c
		piety = 1
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # ok
		name = meditation.26.d
		piety = 5
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					34 = { }
					66 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					34 = { }
					66 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Meditate with eyes shut
character_event = {
	id = meditation.27
	desc = meditation.27.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.27.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Amitabha visualization
character_event = {
	id = meditation.28
	desc = meditation.28.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.28.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					60 = { }
					40 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					60 = { }
					40 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Uncomfortable robes!
character_event = {
	id = meditation.29
	desc = meditation.29.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.29.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Numb legs
character_event = {
	id = meditation.30
	desc = meditation.30.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # ok
		name = meditation.30.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					90 = { }
					10 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

###################################################################
# Meditation Events for Novice
###################################################################


# Calmness and self-control
character_event = {
	id = meditation.31
	desc = meditation.31.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Ok
		name = meditation.31.a
		if = {
			limit = {
				NOT = { trait = patient }
			}
			random_list = {
				85 = { }
				15 = { add_trait = patient }
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					50 = { }
					50 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					50 = { }
					50 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # No kay
		name = meditation.31.b
		random_list = {
			85 = { }
			5 = { add_trait = lustful }
			5 = { add_trait = gluttonous }
			5 = { add_trait = wroth }
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			#piety = 1
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					50 = { }
					50 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_1
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					50 = { }
					50 = {
						clr_character_flag = buddhist_retreater_3
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
	}
}

# Distract self or not?
character_event = {
	id = meditation.32
	desc = meditation.32.desc
	picture = GFX_evt_death_eastern_group
	
	is_triggered_only = yes
	
	option = { # Concentrate
		name = meditation.32.a
		piety = 3
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					60 = { }
					40 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					60 = { }
					40 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # Time to distract
		name = meditation.32.b
		prestige = 3
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			#piety = 1
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					50 = { }
					50 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_1
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					50 = { }
					50 = {
						clr_character_flag = buddhist_retreater_3
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
	}
}

# Whack!
character_event = {
	id = meditation.33
	desc = meditation.33.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # Concentrate!!!
		name = meditation.33.a
		custom_tooltip = { text = didnt_get_caught_not_meditating }
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
				NOT = { trait = diligent }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
				NOT = { trait = diligent }
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
				trait = diligent
			}
			hidden_tooltip = {
				random_list = {
					60 = { }
					40 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
				trait = diligent
			}
			hidden_tooltip = {
				random_list = {
					60 = { }
					40 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Energized!
character_event = {
	id = meditation.34
	desc = meditation.34.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # Yes
		name = meditation.34.a
		custom_tooltip = { text = didnt_get_caught_not_meditating }
		random_list = {
			50 = { piety = 3 }
			50 = { prestige = 3 }
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
				NOT = { trait = slothful }
			}
			hidden_tooltip = {
				random_list = {
					75 = { }
					25 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
				NOT = { trait = slothful }
			}
			hidden_tooltip = {
				random_list = {
					75 = { }
					25 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
				trait = slothful
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
				trait = slothful
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Fell asleep meditating
character_event = {
	id = meditation.35
	desc = meditation.35.desc
	picture = GFX_evt_death_eastern_group
	
	is_triggered_only = yes
	
	option = { # Oh noes!
		name = meditation.35.a
		piety = -2
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_1
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_3
			}
			#piety = 1
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_3
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
	}
}

# Le old man
narrative_event = {
	id = meditation.36
	title = meditation.36.name
	desc = meditation.36.desc
	picture = GFX_evt_buddhist_pagoda
	
	is_triggered_only = yes
	
	option = { # I see
		name = meditation.36.a
		piety = 1
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					75 = { }
					25 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					75 = { }
					25 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Le old man 2
character_event = {
	id = meditation.37
	desc = meditation.37.desc
	picture = GFX_evt_vegetarian
	
	is_triggered_only = yes
	
	option = { # I see
		name = meditation.37.a
		piety = 1
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					70 = { }
					30 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					70 = { }
					30 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
		if = {
			limit = {
				NOT = { trait = diligent }
			}
			random_list = {
				75 = { }
				25 = { add_trait = diligent }
			}
		}
	}
}

# Namo Amitofo
character_event = {
	id = meditation.38
	desc = meditation.38.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Namo Amitofo
		name = meditation.38.a
		piety = 3
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}


###################################################################
# Meditation Events for Experienced
###################################################################


# Going outside
character_event = {
	id = meditation.39
	title = meditation.39.name
	desc = meditation.39.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # One with nature stereotypes woohoo
		name = meditation.39.a
		piety = 3
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Lolwut
character_event = {
	id = meditation.40
	desc = meditation.40.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	option = { # No more lolwutting
		name = meditation.40.a
		piety = 4
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					40 = { }
					60 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					40 = { }
					60 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Questions and Answers
character_event = {
	id = meditation.41
	desc = meditation.41.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Questions and Answers
		name = meditation.41.a
		piety = 2
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					67 = { }
					33 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Meditating on Food
character_event = {
	id = meditation.42
	desc = meditation.42.desc
	picture = GFX_evt_vegetarian
	
	is_triggered_only = yes
	
	option = { # Yummy
		name = meditation.42.a
		piety = 1
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					75 = { }
					25 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					75 = { }
					25 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Why
character_event = {
	id = meditation.43
	desc = meditation.43.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Why not
		name = meditation.43.a
		piety = 1
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
	option = { # Mu
		name = meditation.43.b
		custom_tooltip = { text = mu_zen }
		piety = 5
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					50 = { }
					50 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					50 = { }
					50 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}


# An insect
character_event = {
	id = meditation.44
	desc = meditation.44.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Why not
		name = meditation.44.a
		if = {
			limit = {
				NOT = { trait = kind }
			}
			piety = 5
			random_list = {
				60 = { }
				40 = { add_trait = kind }
			}
		}
		if = {
			limit = {
				trait = kind
			}
			piety = 8
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					25 = { }
					75 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					25 = { }
					75 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Heightened Senses
character_event = {
	id = meditation.45
	desc = meditation.45.desc
	picture = GFX_evt_monk_eastern_group
	
	is_triggered_only = yes
	
	option = { # Why not
		name = meditation.45.a
		if = {
			limit = {
				NOT = { trait = diligent }
			}
			piety = 1
			random_list = {
				85 = { }
				15 = { add_trait = diligent }
			}
		}
		if = {
			limit = {
				trait = diligent
			}
			piety = 3
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					80 = { }
					20 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}

# Master asleep
character_event = {
	id = meditation.46
	desc = meditation.46.desc
	picture = GFX_evt_icon_eastern_group
	
	is_triggered_only = yes
	
	option = { # Ok
		name = meditation.46.a
		if = {
			limit = {
				has_character_flag = buddhist_retreater_1
			}
			hidden_tooltip = {
				random_list = {
					75 = { }
					25 = {
						clr_character_flag = buddhist_retreater_1
						set_character_flag = buddhist_retreater_2
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = buddhist_retreater_2
			}
			hidden_tooltip = {
				random_list = {
					75 = { }
					25 = {
						clr_character_flag = buddhist_retreater_2
						set_character_flag = buddhist_retreater_3
					}
				}
			}
		}
	}
}