Scripted effect · By God Alone files
pam_study_rite_tenet_popularity_effect
pam_study_rite_tenet_popularity_effect = yesgame/common/scripted_effects/pam_effects.txt, line 8775 (14 lines). No parameters.
pam_study_rite_tenet_popularity_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 8775 of its file. It takes no parameters: pam_study_rite_tenet_popularity_effect = yes. The game's script calls it in 2 places, among them Study Rite: A Tenet Comes Into Focus (event study_faith_outcome.1200) and study_faith_gain_random_progress_effect (local effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Study Rite: scope:discovered_tenet learned by root (a character).
What it does
• 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 (14 lines of game script)
pam_study_rite_tenet_popularity_effect = {
if = {
limit = {
exists = scope:discovered_tenet
faith = { has_tenet_popularity_trigger = yes }
}
faith = {
change_tenet_popularity = {
target = scope:discovered_tenet
change = minor_tenet_popularity_gain
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_study_rite_tenet_popularity_effect.
Events (1)
- Study Rite: A Tenet Comes Into Focus
study_faith_outcome.1200
Scripted effects inside an event file (1)
- study_faith_gain_random_progress_effect
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.