Scripted effect · Friends and Foes files
bp1_increase_good_deeds
bp1_increase_good_deeds = yesgame/common/scripted_effects/03_bp1_haunted_by_ghosts_effects.txt, line 52 (12 lines). No parameters.
bp1_increase_good_deeds is a scripted effect in Crusader Kings III, in the Friends and Foes files, written at line 52 of its file. It takes no parameters: bp1_increase_good_deeds = yes. The game's script calls it in 5 places, among them … Second Visit (event bp1_yearly.9030), Forgive Me (event bp1_yearly.9031) and Making Amends (event bp1_yearly.9032). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/03_bp1_haunted_by_ghosts_effects.txt.
The comment above it in the file
Increase good deeds and give a tooltip for it
What it does
- The spirits will be pleased
• 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 (12 lines of game script)
bp1_increase_good_deeds = {
custom_tooltip = {
text = bp1_increase_good_deeds_tt
random_owned_story = {
type = story_being_visited_by_angry_ghosts
change_variable = {
name = good_deeds
add = 1
}
}
}
}As written in game/common/scripted_effects/03_bp1_haunted_by_ghosts_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls bp1_increase_good_deeds.
Events (5)
- … Second Visit
bp1_yearly.9030 - Forgive Me
bp1_yearly.9031 - Making Amends
bp1_yearly.9032 - Poor Unfortunate Serfs
bp1_yearly.9027 - The Ghost of Quarrels Past
bp1_yearly.9028
Source: game/common/scripted_effects/03_bp1_haunted_by_ghosts_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.