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

Scripted effect

add_achievement_flag_effect

add_achievement_flag_effect = { FLAG = … }

game/common/scripted_effects/00_achievement_effects.txt, line 2 (8 lines). Parameters: $FLAG$.

add_achievement_flag_effect is a scripted effect in Crusader Kings III, written at line 2 of its file. A call passes 1 parameter: FLAG. The game's script calls it in 41 places, among them Impose Contract Change (interaction), Modify … Administration (interaction) and Modify Vassal Contract (interaction). Patch 1.20.1.2, from game/common/scripted_effects/00_achievement_effects.txt.

The comment above it in the file

Adds $FLAG$ to the character if a player

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (8 lines of game script)
add_achievement_flag_effect = {
	if = {
		limit = {
			is_ai = no
		}
		add_character_flag = $FLAG$
	}
}

As written in game/common/scripted_effects/00_achievement_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls add_achievement_flag_effect.

Source: game/common/scripted_effects/00_achievement_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?