﻿##########################################
# Do something fun!
###########################################


###############
#	ROWDY
###############

clak_stress_rowdy_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_rowdy.dds"
	}
	desc = clak_stress_rowdy_decision_desc
	selection_tooltip = clak_stress_rowdy_decision_tooltip

	ai_check_interval = 36

	cooldown = { days = 1095 }

	is_shown = {
		has_trait = rowdy
	}

	is_valid_showing_failures_only = {
		is_available = yes
		NOT = { has_trait = incapable }
		NOT = { has_character_modifier = invigorated_modifier }
	}

	effect = {
		
		custom_tooltip = clak_stress_rowdy_decision_effect_tooltip

		show_as_tooltip = { #The effect is actually applied in the event itself
			add_character_modifier = {
				modifier = invigorated_modifier
				years = 1
			}
		}

		trigger_event = {
			on_action = clak_stress_loss_rowdy
		}
	}
	
	ai_potential = {
		has_trait = rowdy
	}

	ai_will_do = {
		base = 0

		modifier = {
			add = 100
			stress >= 100
		}
	}
}

###############
#	PENSIVE
###############

clak_stress_pensive_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_pensive.dds"
	}
	desc = clak_stress_pensive_decision_desc
	selection_tooltip = clak_stress_pensive_decision_tooltip

	ai_check_interval = 36

	cooldown = { days = 1095 }

	is_shown = {
		has_trait = pensive
	}

	is_valid_showing_failures_only = {
		is_available = yes
		NOT = { has_character_modifier = enlightened_mind_modifier }
	}

	effect = {
		
		custom_tooltip = clak_stress_pensive_decision_effect_tooltip

		show_as_tooltip = { #The effect is actually applied in the event itself
			add_character_modifier = {
				modifier = enlightened_mind_modifier
				years = 1
			}
		}

		trigger_event = {
			on_action = clak_stress_loss_pensive
		}
	}
	
	ai_potential = {
		has_trait = pensive
	}

	ai_will_do = {
		base = 0

		modifier = {
			add = 100
			stress >= 100
		}
	}
}

###############
#	CURIOUS
###############

clak_stress_curious_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_curious.dds"
	}
	desc = clak_stress_curious_decision_desc
	selection_tooltip = clak_stress_curious_decision_tooltip

	ai_check_interval = 36

	cooldown = { days = 1095 }

	is_shown = {
		has_trait = curious
	}

	is_valid_showing_failures_only = {
		is_available = yes
		NOT = { has_character_modifier = active_imagination_modifier }
	}

	effect = {
		
		custom_tooltip = clak_stress_curious_decision_effect_tooltip

		show_as_tooltip = { #The effect is actually applied in the event itself
			add_character_modifier = {
				modifier = active_imagination_modifier
				years = 1
			}
		}

		trigger_event = {
			on_action = clak_stress_loss_curious
		}
	}
	
	ai_potential = {
		has_trait = curious
	}

	ai_will_do = {
		base = 0

		modifier = {
			add = 100
			stress >= 100
		}
	}
}

###############
#	CHARMING
###############

clak_stress_charming_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_charming.dds"
	}
	desc = clak_stress_charming_decision_desc
	selection_tooltip = clak_stress_charming_decision_tooltip

	ai_check_interval = 36

	cooldown = { days = 1095 }

	is_shown = {
		has_trait = charming
	}

	is_valid_showing_failures_only = {
		is_available = yes
		NOT = { has_trait = shy }
		NOT = { has_character_modifier = boosted_confidence_modifier }
	}

	effect = {
		
		custom_tooltip = clak_stress_charming_decision_effect_tooltip

		show_as_tooltip = { #The effect is actually applied in the event itself
			add_character_modifier = {
				modifier = boosted_confidence_modifier
				years = 1
			}
		}

		trigger_event = {
			on_action = clak_stress_loss_charming
		}
	}
	
	ai_potential = {
		has_trait = charming
	}

	ai_will_do = {
		base = 0

		modifier = {
			add = 100
			stress >= 100
		}
	}
}

###############
#	BOSSY
###############

clak_stress_bossy_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_bossy.dds"
	}
	desc = clak_stress_bossy_decision_desc
	selection_tooltip = clak_stress_bossy_decision_tooltip

	ai_check_interval = 36

	cooldown = { days = 1095 }

	is_shown = {
		has_trait = bossy
	}

	is_valid_showing_failures_only = {
		is_available = yes
		NOT = { has_trait = shy }
		NOT = { has_trait = craven }
		NOT = { has_character_modifier = large_and_in_charge_modifier }
	}

	effect = {
		
		custom_tooltip = clak_stress_bossy_decision_effect_tooltip

		show_as_tooltip = { #The effect is actually applied in the event itself
			add_character_modifier = {
				modifier = large_and_in_charge_modifier
				years = 1
			}
		}

		trigger_event = {
			on_action = clak_stress_loss_bossy
		}
	}
	
	ai_potential = {
		has_trait = bossy
	}

	ai_will_do = {
		base = 0

		modifier = {
			add = 100
			stress >= 100
		}
	}
}