CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · Friends and Foes files

bp1_decrease_good_deeds

bp1_decrease_good_deeds = yes

game/common/scripted_effects/03_bp1_haunted_by_ghosts_effects.txt, line 66 (12 lines). No parameters.

bp1_decrease_good_deeds is a scripted effect in Crusader Kings III, in the Friends and Foes files, written at line 66 of its file. It takes no parameters: bp1_decrease_good_deeds = yes. The game's script calls it in 6 places, among them … Second Visit (event bp1_yearly.9030), …! (event bp1_yearly.9029) and Forgive Me (event bp1_yearly.9031). 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 very angry

• 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_decrease_good_deeds = {
	custom_tooltip = {
		text = bp1_decrease_good_deeds_tt
		random_owned_story = {
			type = story_being_visited_by_angry_ghosts
			change_variable = {
				name = good_deeds
				subtract = 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_decrease_good_deeds.

Events (6)

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.

Spotted a mistake on this page?