Scripted trigger · Legacy of Persia files
fp3_valid_shia_head
fp3_valid_shia_head = yesgame/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 140 (21 lines). No parameters.
fp3_valid_shia_head is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 140 of its file. It takes no parameters: fp3_valid_shia_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
• 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 (21 lines of game script)
fp3_valid_shia_head = {
calc_true_if = {
amount >= 2
# Sayyids get a free pass.
has_trait = sayyid
# The wise get a free pass.
has_trait = lifestyle_mystic
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
}
}
# Ancient Authority legacy.
dynasty ?= { has_dynasty_perk = fp3_khvarenah_legacy_4 }
}
}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_shia_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.