Scripted effect · By God Alone files
pam_tenet_polyamory_new_beloved_effect
pam_tenet_polyamory_new_beloved_effect = yesgame/common/scripted_effects/pam_effects.txt, line 14333 (23 lines). No parameters.
pam_tenet_polyamory_new_beloved_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 14333 of its file. It takes no parameters: pam_tenet_polyamory_new_beloved_effect = yes. The game's script calls it in 2 places, among them on_set_relation_lover (on action) and on_set_relation_soulmate (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
New lover or soulmate; one payout a year
What it does
- If the Personal Tenets unlock tenet polyamory new beloved:
- Spiritual fulfillment +3
- Loses 20 Stress
- Gains the modifier “Radiant with New Love” for 5 years
- Attraction Opinion +10
- Fertility +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 (23 lines of game script)
pam_tenet_polyamory_new_beloved_effect = {
if = {
limit = {
has_personal_tenet_flag = tenet_polyamory_new_beloved
NOT = { has_character_flag = pam_polyamory_new_beloved_cooldown }
}
send_interface_toast = {
type = event_toast_effect_good
title = tenet_polyamory_new_beloved_toast
left_icon = root
change_spiritual_fulfillment = minor_spiritual_fulfillment_value
add_stress = medium_stress_loss
add_character_modifier = {
modifier = tenet_polyamory_new_beloved_modifier
years = 5
}
}
add_character_flag = {
flag = pam_polyamory_new_beloved_cooldown
days = 365
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_tenet_polyamory_new_beloved_effect.
On actions (the game's own hooks) (2)
- on_set_relation_lover
- on_set_relation_soulmate
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.