Scripted effect · By God Alone files
ecclesiastical_title_bestowing_clerical_hesitation_effect
ecclesiastical_title_bestowing_clerical_hesitation_effect = yesgame/common/scripted_effects/pam_effects.txt, line 12970 (191 lines). No parameters.
ecclesiastical_title_bestowing_clerical_hesitation_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12970 of its file. It takes no parameters: ecclesiastical_title_bestowing_clerical_hesitation_effect = yes. The game's script calls it in 2 places, among them bestow_title_shared_effect (scripted effect) and consecrate_kingdom_player_cleric_effect (scripted effect). Its body carries 8 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Runs in the scope of the ruler being judged; the cleric weighing the act must be saved as scope:cleric by the caller.
What it does
- If clerical hesitation claim interaction at least 9 › scope:cleric:
If
a check the game hides
Then
change_spiritual_fulfillment = { … }
Otherwise
- Spiritual fulfillment -20
- You lose Spiritual Fulfillment because you consider … to be an immoral Ruler
- Else, if clerical hesitation claim interaction at least 6 › scope:cleric:
If
a check the game hides
Then
change_spiritual_fulfillment = { … }
Otherwise
- Spiritual fulfillment -10
- You lose Spiritual Fulfillment because you consider … to be an immoral Ruler
- Else, if clerical hesitation claim interaction at least 3 › scope:cleric:
If
a check the game hides
Then
change_spiritual_fulfillment = { … }
Otherwise
- Spiritual fulfillment -5
- You lose Spiritual Fulfillment because you consider … to be an immoral Ruler
- Else, if clerical hesitation claim interaction at least 1 › scope:cleric:
If
a check the game hides
Then
change_spiritual_fulfillment = { … }
Otherwise
- Spiritual fulfillment -3
- You lose Spiritual Fulfillment because you consider … to be an immoral Ruler
- Else, if clerical hesitation claim interaction at least -3 › scope:cleric:
If
a check the game hides
Then
change_spiritual_fulfillment = { … }
Otherwise
- Spiritual fulfillment +1
- You gain Spiritual Fulfillment because you consider … a righteous Ruler
- Else, if clerical hesitation claim interaction at least -5 › scope:cleric:
If
a check the game hides
Then
change_spiritual_fulfillment = { … }
Otherwise
- Spiritual fulfillment +3
- You gain Spiritual Fulfillment because you consider … a righteous Ruler
- Else, if clerical hesitation claim interaction at least -8 › scope:cleric:
If
a check the game hides
Then
change_spiritual_fulfillment = { … }
Otherwise
- Spiritual fulfillment +5
- You gain Spiritual Fulfillment because you consider … a righteous Ruler
- Otherwise › scope:cleric:
If
a check the game hides
Then
change_spiritual_fulfillment = { … }
Otherwise
- Spiritual fulfillment +10
- You gain Spiritual Fulfillment because you consider … a righteous Ruler
• 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 (120 lines of game script)
ecclesiastical_title_bestowing_clerical_hesitation_effect = {
save_scope_as = only_consideration
if = {
limit = {
clerical_hesitation_claim_interaction_value >= 9
}
scope:cleric = {
if = {
limit = {
exists = scope:target
}
change_spiritual_fulfillment = {
value = major_spiritual_fulfillment_loss
multiply = {
value = scope:target.tier
subtract = 2
}
}
}
else = {
change_spiritual_fulfillment = massive_spiritual_fulfillment_loss
}
custom_tooltip = clerical_hesitation_high_bestowing_tt
}
}
else_if = {
limit = {
clerical_hesitation_claim_interaction_value >= 6
}
scope:cleric = {
if = {
limit = {
exists = scope:target
}
change_spiritual_fulfillment = {
value = medium_spiritual_fulfillment_loss
multiply = {
value = scope:target.tier
subtract = 2
}
}
}
else = {
change_spiritual_fulfillment = major_spiritual_fulfillment_loss
}
custom_tooltip = clerical_hesitation_high_bestowing_tt
}
}
else_if = {
limit = {
clerical_hesitation_claim_interaction_value >= 3
}
scope:cleric = {
if = {
limit = {
exists = scope:target
}
change_spiritual_fulfillment = {
value = minor_spiritual_fulfillment_loss
multiply = {
value = scope:target.tier
subtract = 2
}
}
}
else = {
change_spiritual_fulfillment = medium_spiritual_fulfillment_loss
}
custom_tooltip = clerical_hesitation_high_bestowing_tt
}
}
else_if = {
limit = {
clerical_hesitation_claim_interaction_value >= 1
}
scope:cleric = {
if = {
limit = {
exists = scope:target
}
change_spiritual_fulfillment = {
value = miniscule_spiritual_fulfillment_loss
multiply = {
value = scope:target.tier
subtract = 2
}
}
}
else = {
change_spiritual_fulfillment = minor_spiritual_fulfillment_loss
}
custom_tooltip = clerical_hesitation_high_bestowing_tt
}
}
else_if = {
limit = {
clerical_hesitation_claim_interaction_value < 1
clerical_hesitation_claim_interaction_value >= -2
}
}
else_if = {
limit = {
clerical_hesitation_claim_interaction_value >= -3
}
scope:cleric = {
if = {
limit = {
exists = scope:target
}
change_spiritual_fulfillment = {
value = miniscule_spiritual_fulfillment_value
divide = 2
multiply = {
value = scope:target.tier
subtract = 2
}
}
}
else = {
change_spiritual_fulfillment = miniscule_spiritual_fulfillment_valueAs written in game/common/scripted_effects/pam_effects.txt.
The first 120 of its 191 lines; the rest is in game/common/scripted_effects/pam_effects.txt from line 12970.
Where it is used
Every place in common/, events/ and history/ that calls ecclesiastical_title_bestowing_clerical_hesitation_effect.
Scripted effects (2)
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.