### Pray to Protective Amulet ###
pray_to_protective_amulet_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
	}
	decision_group_type = nomad_minor
	cooldown = { years = 1 }
	sort_order = 100
	
	is_shown = {
		has_mpo_dlc_trigger = yes
		any_character_artifact = {
			has_variable = magic_amulet_var
		}
		OR = {
			religion = religion:tengrism_religion
			culture = { has_cultural_pillar = heritage_mongolic }
			has_trait = nomadic_philosophy
		}			
	}
	
	is_valid = {
		any_equipped_character_artifact = {
			custom_tooltip = {
				text = pray_to_protective_amulet_decision_valid_tt
				has_variable = magic_amulet_var
			}
		}
	}
	
	is_valid_showing_failures_only = {
		is_available_adult = yes
	}

	cost = {
		piety = minor_piety_value
	}
	
	effect = {
		send_interface_toast = {
			type = event_toast_effect_good
			title = pray_to_protective_amulet_decision_toast
			left_icon = root
			add_stress = massive_stress_loss
		}
	}
	
	ai_check_interval_by_tier = {
		barony = 0
		county = 120
		duchy = 36
		kingdom = 36
		empire = 36
		hegemony = 36
	}
	
	ai_potential = {
		piety >= medium_piety_value
	}

	ai_will_do = {
		base = 100
		modifier = {
			factor = 2
			has_trait = zealous
		}
		modifier = {
			factor = 0
			has_trait = cynical
		}
	}
}

# Desperate Stance Decision
### Desperate Times ###
mpo_desperate_stance_decision = {
	picture = {
		reference = "gfx/interface/illustrations/terrain_types/mpo_season_havsarsan_zud.dds"
	}
	decision_group_type = nomad_major
	cooldown = { years = 50 }
	sort_order = 100
	
	is_shown = {
		has_mpo_dlc_trigger = yes
		government_has_flag = government_is_nomadic
		exists = situation:the_great_steppe
		any_character_situation = {
			any_participant_group = {
				participant_group_type = nomad_rulers_capital
			}
		}
	}
	
	is_valid = {
		custom_tooltip = {
			text = mpo_desperate_stance_decision_tt
			any_character_situation = {
				any_situation_sub_region = {
					has_sub_region_phase_parameter = the_great_steppe_desperate_stance_decision
					any_situation_sub_region_participant_group = {
						participant_group_type = nomad_rulers_capital
						participant_group_has_character = root
					}
				}
			}
		}
	}
	
	is_valid_showing_failures_only = {
		is_available_adult = yes
	}

	cost = {
		prestige = monumental_prestige_value
	}
	
	effect = {
		trigger_event = mpo_decisions_events.0500
		show_as_tooltip = {
			mpo_decisions_events_0500_effect = yes
		}
	}
	
	ai_check_interval_by_tier = {
		barony = 0
		county = 36
		duchy = 36
		kingdom = 36
		empire = 36
		hegemony = 36
	}
	
	ai_potential = {
		prestige > monumental_prestige_value
	}

	ai_will_do = {
		base = 100
	}
}

# Settle as a Nomad for an Adventurer
### Adopt the Nomadic Ways ###
adopt_nomadic_ways_decision = {
	picture = {
		reference = "gfx/interface/illustrations/event_story/mpo_steppe_region.dds"
	}
	decision_group_type = adventurer
	sort_order = 100
	
	is_shown = {
		has_mpo_dlc_trigger = yes
		has_ep3_dlc_trigger = yes
		is_landless_adventurer = yes
	}
	
	is_valid = {
		custom_tooltip = {
			text = adopt_nomadic_ways_decision_herder_tt
			location.county.holder = { has_government = herder_government }
		}
	}
	
	is_valid_showing_failures_only = {
		is_available_adult = yes
	}

	cost = {
		prestige = massive_prestige_value
	}
	
	effect = {
		show_as_tooltip = {
			adopt_nomadic_ways_decision_effect = yes
		}
		trigger_event = mpo_decisions_events.0120
	}
	
	ai_check_interval_by_tier = {
		barony = 0
		county = 0
		duchy = 36
		kingdom = 0
		empire = 0
		hegemony = 0
	}
	
	ai_potential = {
		government_has_flag = government_is_landless_adventurer
	}

	ai_will_do = {
		base = 100
		modifier = {
			factor = 2
			has_trait = zealous
		}
		modifier = {
			factor = 0
			has_trait = cynical
		}
	}
}
