Scripted effect · By God Alone files
pam_childbirth_spiritual_fulfillment_reward_effect
pam_childbirth_spiritual_fulfillment_reward_effect = yesgame/common/scripted_effects/pam_effects.txt, line 12374 (44 lines). No parameters.
pam_childbirth_spiritual_fulfillment_reward_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12374 of its file. It takes no parameters: pam_childbirth_spiritual_fulfillment_reward_effect = yes. The game's script calls it in 2 places, among them Bastard Born (event birth.1006) and pam_childbirth_piety_reward_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
PAM - Sacred Childbirth: scaled spiritual fulfillment + stress loss (personal tenet) for a live birth; called on its own for children conceived in secret. shown in birth events
What it does
- If the Personal Tenets unlock spiritual fulfillment from childbirth personal active:
Otherwise
change_spiritual_fulfillment = { … }
- If the Personal Tenets unlock stress loss from childbirth personal active:
Otherwise
add_stress = { … }
• 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 (44 lines of game script)
pam_childbirth_spiritual_fulfillment_reward_effect = {
if = {
limit = {
has_personal_tenet_flag = spiritual_fulfillment_from_childbirth_personal_active
has_pam_dlc_trigger = yes
}
if = {
limit = { scope:child = { has_any_negative_bastard_trait_trigger = no } }
change_spiritual_fulfillment = {
value = medium_spiritual_fulfillment_value
if = { limit = { any_child = { is_twin_of = scope:child } } add = medium_spiritual_fulfillment_value }
if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = medium_spiritual_fulfillment_value }
}
}
else = {
change_spiritual_fulfillment = {
value = minor_spiritual_fulfillment_value
if = { limit = { any_child = { is_twin_of = scope:child } } add = minor_spiritual_fulfillment_value }
if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = minor_spiritual_fulfillment_value }
}
}
}
if = {
limit = {
has_personal_tenet_flag = stress_loss_from_childbirth_personal_active
has_pam_dlc_trigger = yes
}
if = {
limit = { scope:child = { has_any_negative_bastard_trait_trigger = no } }
add_stress = {
value = medium_stress_loss
if = { limit = { any_child = { is_twin_of = scope:child } } add = medium_stress_loss }
if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = medium_stress_loss }
}
}
else = {
add_stress = {
value = minor_stress_loss
if = { limit = { any_child = { is_twin_of = scope:child } } add = minor_stress_loss }
if = { limit = { any_child = { count >= 3 is_twin_of = scope:child } } add = minor_stress_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_reward_effect.
Events (1)
- Bastard Born
birth.1006
Scripted effects (1)
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.