Scripted trigger · Legacy of Persia files
fp3_name_read_in_friday_prayer_decision_liege_requirements_trigger
fp3_name_read_in_friday_prayer_decision_liege_requirements_trigger = yesgame/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 348 (19 lines). No parameters.
fp3_name_read_in_friday_prayer_decision_liege_requirements_trigger is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 348 of its file. It takes no parameters: fp3_name_read_in_friday_prayer_decision_liege_requirements_trigger = yes (or no). The game's script calls it in 2 places, among them Declare Stance in the Iranian Intermezzo (decision) and read_name_in_friday_prayer_guts_apply_sundry_changes_effect (scripted effect). 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
One of these
- Is an Independent Ruler
or
Your Liege has the law Autonomous Vassals Crown Authorityor
All of these
- Has the Trait: Detractor of the Caliphate
- Their liege: Holds Sunni Caliphate
or
If an Independent Ruler › Their liege: Government is a Tribal-type Government
• 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 (19 lines of game script)
fp3_name_read_in_friday_prayer_decision_liege_requirements_trigger = {
OR = {
top_liege = this
custom_description = {
text = name_read_in_friday_prayer_crown_authority
top_liege != this
liege ?= { has_realm_law = crown_authority_0 }
}
AND = {
has_trait = fp3_struggle_detractor
liege = { has_title = title:d_sunni }
}
# We have to trigger_if this for tooltip reasons.
trigger_if = {
limit = { top_liege != this }
liege = { government_has_flag = government_is_tribal }
}
}
}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_name_read_in_friday_prayer_decision_liege_requirements_trigger.
Decisions (1)
Scripted effects (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.