Scripted effect · By God Alone files
pam_the_christian_church_clergy_gained_landed_title_catalyst_effect
pam_the_christian_church_clergy_gained_landed_title_catalyst_effect = yesgame/common/scripted_effects/pam_effects.txt, line 4970 (23 lines). No parameters.
pam_the_christian_church_clergy_gained_landed_title_catalyst_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 4970 of its file. It takes no parameters: pam_the_christian_church_clergy_gained_landed_title_catalyst_effect = yes. The game's script calls it in 1 place, among them on_title_gain (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
If
- Has “game has started” (a variable the game's script sets)
- Is a member of the Clergy
- Their religion is Christianity
scope:title:- Title tier at least County
- Is not a Clerical Title
- The Christian Church: The current phase counts “A member of the Clergy gains a landed Title”
Then
- The Christian Church: Counts toward the situation's next phase: “A member of the Clergy gains a landed Title”
• 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 (23 lines of game script)
pam_the_christian_church_clergy_gained_landed_title_catalyst_effect = {
if = {
limit = {
has_global_variable = game_has_started # Don't fire for the clerical title holders placed during setup
has_pam_dlc_trigger = yes
is_clergy = yes
religion = religion:christianity_religion
scope:title = {
tier >= tier_county
has_clerical_region = no
}
situation:the_christian_church ?= {
situation_top_has_catalyst = catalyst_clergy_gained_landed_title
}
}
situation:the_christian_church = {
trigger_situation_catalyst = {
catalyst = catalyst_clergy_gained_landed_title
character = root
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_the_christian_church_clergy_gained_landed_title_catalyst_effect.
On actions (the game's own hooks) (1)
- on_title_gain
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.