namespace = NEOW_yearly_flavor_events

# 0021 - Among the Blossoms - Hanami (Cherry Blossoms)
NEOW_yearly_flavor_events.0021 = {
	type = character_event
	title = NEOW_yearly_flavor_events.0021.t
	desc = NEOW_yearly_flavor_events.0021.desc
	theme = love
	override_background = garden
	cooldown = { years = 15 }
	left_portrait = {
		character = root
		animation = toast_goblet
	}
	right_portrait = {
		character = scope:cherry_enjoyer
		animation = storyteller
	}

	trigger = {
		drinks_alcohol_trigger = yes
		any_courtier = {
			NOT = { has_trait = blind }
			is_available_healthy_adult = yes
		}
		location = {
			geographical_region = custom_cherry_blossom_region
		}
		NOT = { has_trait = blind }
		is_available_healthy_adult = yes
		is_at_war = no
		#The trees are in bloom between the end of March until early May
		current_season_spring = yes
	}

	immediate = {
		random_courtier = {
			limit = {
				NOT = { has_trait = blind }
				is_available_healthy_adult = yes
			}
			save_scope_as = cherry_enjoyer
		}
	}
	#Make an offering of sake to appease the gods
	option = {
		name = NEOW_yearly_flavor_events.0021.a
		random_list = {
			#Character modifier
			40 = {
				show_chance = no
				desc = NEOW_yearly_flavor_events.0021.a_char_modifier.tt
				send_interface_toast = {
					right_icon = root
					title = NEOW_yearly_flavor_events.0021.a_char_modifier.tt
					add_character_modifier = {
						modifier = NEOW_cherrymas_character_modifier
						years = 5
					}
				}
			}
			#County modifier
			40 = {
				show_chance = no
				desc = tgp_japan_yearly_events.0021.a_pleased_deities.tt
				send_interface_toast = {
					right_icon = root
					title = tgp_japan_yearly_events.0021.a_county_modifier.tt
					capital_county = {
						add_county_modifier = {
							modifier = NEOW_cherrymas_county_modifier
							years = 5
						}
					}
				}
			}
			#Nothing happens
			20 = {
				show_chance = no
				desc = NEOW_yearly_flavor_events.0021.a_nothing_happens.tt
				send_interface_toast = {
					right_icon = root
					title = NEOW_yearly_flavor_events.0021.a_nothing_happens.tt
				}
			}
		}
		add_piety = minor_piety_gain
		add_stress = minor_stress_loss

		stress_impact = {
			shy = minor_stress_impact_gain
			humble = minor_stress_impact_gain
			drunkard = minor_stress_impact_loss
			generous = miniscule_stress_impact_loss
			gregarious = miniscule_stress_impact_loss
		}

		ai_chance = {
			base = 100
			ai_value_modifier = {
				ai_zeal = 1
				ai_energy = 1
			}
		}
	}
	option = {
		name = tgp_japan_yearly_events.0021.b

		add_prestige = miniscule_prestige_gain

		add_stress = major_stress_loss

		stress_impact = {
			calm = minor_stress_impact_loss
			humble = minor_stress_impact_loss
		}

		ai_chance = {
			base = 100
			ai_value_modifier = {
				ai_zeal = -1
				ai_energy = 1
			}
		}
	}
}