decisions = {
    go_on_hajj_pagan = {
		ai_check_interval = 24
		only_playable = yes
		is_high_prio = yes
		potential = {
			has_dlc = "The Old Gods"
			has_dlc = "The Sword of Islam"
			is_playable = yes
			religion = arab_pagan
			NOT = {
				is_inaccessible_trigger = yes
				trait = hajjaj_pagan
				any_demesne_title = { NOT = { higher_tier_than = count } is_occupied = yes }
				has_character_flag = preparing_hajj
				has_character_flag = planning_nerge
				has_character_flag = planning_tiger_hunt
			}
		}
		allow = {
			age = 16
			prisoner = no
			war = no
			in_command_trigger = no
			is_abroad_trigger = no
			has_regent = no
			scaled_wealth = 1.0
			custom_tooltip = {
				text = health_travel_condition
				hidden_tooltip = {
					is_pregnant = no
					NOT = {	trait = incapable }
					NOT = { trait = infirm }
					NOT = {	trait = blinded }
					is_ill = no
				}
			}
			is_not_busy_trigger = yes
		}
		effect = {
			log = "[Root.GetTitledName] is going on hajj"
			scaled_wealth = -1.0
			clr_character_flag = promise_hajj		
			if = {
				limit = {
					trait = decadent
				}
				remove_trait = decadent
			}
			custom_tooltip = {
				text = PREPARE_FOR_HAJJ
				hidden_tooltip = {
					letter_event = { 
						id = Plus.4500
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				always = yes
			}
			modifier = {
				factor = 3
				trait = zealous
			}
			modifier = {
				factor = 0
				OR = {
					trait = cynical
					trait = slothful
					trait = proud
					trait = deceitful
					trait = decadent
				}
			}
			modifier = {
				factor = 0
				NOT = { scaled_wealth = 10.0 }
			}
			modifier = {
				factor = 0
				NOT = { age = 30 }
			}
		}
	}
}