Scripted effect · By God Alone files
pam_harmonious_society_apply_five_bonds_effect
pam_harmonious_society_apply_five_bonds_effect = yesgame/common/scripted_effects/pam_effects.txt, line 14282 (27 lines). No parameters.
pam_harmonious_society_apply_five_bonds_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 14282 of its file. It takes no parameters: pam_harmonious_society_apply_five_bonds_effect = yes. The game's script calls it in 1 place, among them pam_harmonious_society_five_bonds_effect (scripted effect). Its body carries 5 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
Character scope. One stack for each bond kept, named individually so the toast reads as a tally.
What it does
If
Then
- The bond of ruler and subject is kept
- Gains the modifier “A Bond Kept”
- Piety +0.1/month
- Prestige +0.1/month
If
Then
- The bond of parent and child is kept
- Gains the modifier “A Bond Kept”
- Piety +0.1/month
- Prestige +0.1/month
If
Then
- The bond of husband and wife is kept
- Gains the modifier “A Bond Kept”
- Piety +0.1/month
- Prestige +0.1/month
If
Then
- The bond of elder and younger is kept
- Gains the modifier “A Bond Kept”
- Piety +0.1/month
- Prestige +0.1/month
If
Then
- The bond of friendship is kept
- Gains the modifier “A Bond Kept”
- Piety +0.1/month
- Prestige +0.1/month
• 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 (27 lines of game script)
pam_harmonious_society_apply_five_bonds_effect = {
if = {
limit = { pam_five_bonds_ruler_subject_trigger = yes }
custom_tooltip = pam_five_bonds_ruler_subject_tt
add_character_modifier = tenet_harmonious_society_five_bonds_modifier
}
if = {
limit = { pam_five_bonds_parent_child_trigger = yes }
custom_tooltip = pam_five_bonds_parent_child_tt
add_character_modifier = tenet_harmonious_society_five_bonds_modifier
}
if = {
limit = { pam_five_bonds_spouse_trigger = yes }
custom_tooltip = pam_five_bonds_spouse_tt
add_character_modifier = tenet_harmonious_society_five_bonds_modifier
}
if = {
limit = { pam_five_bonds_sibling_trigger = yes }
custom_tooltip = pam_five_bonds_sibling_tt
add_character_modifier = tenet_harmonious_society_five_bonds_modifier
}
if = {
limit = { pam_five_bonds_friend_trigger = yes }
custom_tooltip = pam_five_bonds_friend_tt
add_character_modifier = tenet_harmonious_society_five_bonds_modifier
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_harmonious_society_apply_five_bonds_effect.
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.