Scripted trigger · Legacy of Persia files
fp3_valid_muhakkima_head
fp3_valid_muhakkima_head = yesgame/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 162 (24 lines). No parameters.
fp3_valid_muhakkima_head is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 162 of its file. It takes no parameters: fp3_valid_muhakkima_head = yes (or no). The game's script calls it in 1 place, among them Abbasid Humiliation (decision). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
What it checks
2 of these 5
- Has the Trait: Sayyid
- Piety level at least 4
- Your Realm holds at least 15 … Counties
- Prestige level at least 4
One of these
- Has the Trait: Warrior of the Faith
or
Has the Trait: Theologian
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (24 lines of game script)
fp3_valid_muhakkima_head = {
calc_true_if = {
amount >= 2
# Sayyids get a free pass.
has_trait = sayyid
piety_level >= very_high_piety_level
# Having many faithful counties
custom_description = {
text = claim_the_imamate_decision.need_at_least_fifteen_same_faith_counties
any_sub_realm_county = {
count >= claim_the_imamate_decision_same_faith_greater_county_count
rite = root.rite
}
}
# Famed
prestige_level >= 4
# #Muhakkima cares about justified warfare - and a justified cause.
OR = {
has_trait = faith_warrior #mujahid really
has_trait = theologian
}
}
}As written in game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp3_valid_muhakkima_head.
Decisions (1)
Source: game/common/scripted_triggers/06_fp3_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.