Scripted effect · By God Alone files
pam_mortify_flesh_scourge_effect
pam_mortify_flesh_scourge_effect = yesgame/common/scripted_effects/pam_effects.txt, line 1714 (31 lines). No parameters.
pam_mortify_flesh_scourge_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1714 of its file. It takes no parameters: pam_mortify_flesh_scourge_effect = yes. The game's script calls it in 1 place, among them What the Flesh Owes (event pam_tenet_events.0010). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Revel in Pain belongs to Exaltation of Pain
What it does
- If the Personal Tenets unlock tenet mortification revel bonus:
- If does not have the Trait: Flagellant: Gains the Trait Flagellant
- Spiritual fulfillment +5
- If the Personal Tenets unlock tenet mortification holy scars:
• 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 (31 lines of game script)
pam_mortify_flesh_scourge_effect = {
if = {
limit = { has_personal_tenet_flag = tenet_mortification_revel_bonus }
send_interface_toast = {
type = event_generic_good
title = pam_mortification_revel_toast
left_icon = root
if = { # If you don't have the trait, it's guaranteed
limit = {
NOT = { has_trait = flagellant }
}
add_trait = flagellant
}
change_spiritual_fulfillment = medium_spiritual_fulfillment_value
}
}
if = {
limit = { has_personal_tenet_flag = tenet_mortification_holy_scars }
send_interface_toast = {
type = event_generic_good
title = pam_mortification_holy_scars_toast
left_icon = root
add_trait = scarred
add_trait_xp = {
trait = scarred
value = { integer_range = { min = 10 max = 25 } }
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_mortify_flesh_scourge_effect.
Events (1)
- What the Flesh Owes
pam_tenet_events.0010
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.