on_startup = {
	events = {
		CHI.908 #Set title religious overhaul
	}
}

#character
on_five_year_pulse = {
	events = {
		SUFI.10030 # Have AI characters join sufi societies
	}
	
	random_events = {
	}
}

# ROOT = Builder, FROM = Title
on_settlement_construction_completed = {
	events = {
		SUFI.4024 #sufi built temple
	}
}

on_focus_selected = {
	events = {
		SUFI.4016
	}
}

# Fires every two years for characters who are members of any society
on_society_bi_yearly_pulse = {
	events = {
		SUFI.4000 # Sufi order quest tombola
	}
	
	random_events = {
		100 = SUFI.3260 # Sufi Orders: Advising a Poet
		100 = SUFI.4200 # Sufi Orders: Learning about Roses
		100 = SUFI.4210 # Sufi Orders: Fellow member drowsing off
		100 = SUFI.4435 # Sufi Orders: Friendship & Love
		100 = SUFI.4217 # Sufi Order: Burn heretical books
		50 = SUFI.4610 # Sufi Orders: Monastery has Artifact
	}
}

on_character_ask_to_join_society = {
	events = {
		SUFI.4450 #ask to join sufi
	}
}

#childhood - pulse fires at ages 6 years plus six months, 8 years plus six months and 10 years plus six months
on_childhood_pulse = {
	events = {
		SUFI.4300 # Monastic Order childhood education event
	}

	random_events = {
		###
	}
}

# character
on_adulthood = {
	events = {
		SUFI.4302 # Monastic Order education bonus purity effect
	}
}

on_startup = {
	events = {
		SUFI.108 #Set title religious overhaul
	}
}