Scripted effect · By God Alone files
pam_childbirth_spiritual_fulfillment_penalty_effect
pam_childbirth_spiritual_fulfillment_penalty_effect = yesgame/common/scripted_effects/pam_effects.txt, line 12420 (9 lines). No parameters.
pam_childbirth_spiritual_fulfillment_penalty_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12420 of its file. It takes no parameters: pam_childbirth_spiritual_fulfillment_penalty_effect = yes. The game's script calls it in 4 places, among them Cradled by Death (event birth.3001), Cradled by Death (event birth.3002) and Cradled by Death (event birth.3021). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
PAM - Sacred Childbirth: spiritual fulfillment loss for a child-death birth, shown in birth events
What it does
- If the Personal Tenets unlock spiritual fulfillment from childbirth personal active:
If
a check the game hides
Then
- Spiritual fulfillment -10
• 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 (9 lines of game script)
pam_childbirth_spiritual_fulfillment_penalty_effect = {
if = {
limit = { has_personal_tenet_flag = spiritual_fulfillment_from_childbirth_personal_active }
if = {
limit = { has_pam_dlc_trigger = yes }
change_spiritual_fulfillment = major_spiritual_fulfillment_loss
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_childbirth_spiritual_fulfillment_penalty_effect.
Events (4)
- Cradled by Death
birth.3001 - Cradled by Death
birth.3002 - Cradled by Death
birth.3021 - Cradled by Death
birth.3022
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.