Scripted effect · By God Alone files
pam_create_theocratic_dynasty_extra_effects
pam_create_theocratic_dynasty_extra_effects = yesgame/common/scripted_effects/pam_effects.txt, line 4556 (25 lines). No parameters.
pam_create_theocratic_dynasty_extra_effects is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 4556 of its file. It takes no parameters: pam_create_theocratic_dynasty_extra_effects = yes. The game's script calls it in 2 places, among them Establish a Dynasty (decision) and A New Beginning (event pam_decision_events.0004). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
If
root != faith.religious_head- Their faith: Has the Disallowed Doctrine
Then
- Their faith’s head of faith: Opinion: Impious (-40)
- Gain -250 Piety
- The Christian Church › If the current phase counts “Ecclesiastical Government Ruler establishes their own Dynasty”: Counts toward the situation's next phase: “Ecclesiastical Government Ruler establishes their own Dynasty”
• 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 (25 lines of game script)
pam_create_theocratic_dynasty_extra_effects = {
if = { # HoF doesn't like this
limit = {
exists = faith.religious_head
root != faith.religious_head
faith = { has_doctrine = doctrine_clerical_marriage_disallowed }
}
faith.religious_head = {
add_opinion = {
target = root
modifier = impious_opinion
opinion = -40
}
}
add_piety = major_piety_loss
situation:the_christian_church ?= {
if = {
limit = {
situation_top_has_catalyst = catalyst_the_christian_church_established_theocratic_dynasty
}
trigger_situation_catalyst = catalyst_the_christian_church_established_theocratic_dynasty
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_create_theocratic_dynasty_extra_effects.
Decisions (1)
Events (1)
- A New Beginning
pam_decision_events.0004
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.