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_to_global_unavailable_achievements_list_effect

add_to_global_unavailable_achievements_list_effect = { FLAG = … }

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

add_to_global_unavailable_achievements_list_effect is a scripted effect in Crusader Kings III, written at line 47 of its file. A call passes 1 parameter: FLAG. The game's script calls it in 1 place, among them on_game_start_after_lobby (on action). Patch 1.20.1.2, from game/common/scripted_effects/00_achievement_effects.txt.

The comment above it in the file

Adds $FLAG$ to list of unavailable achievements if a player

What it does

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

The script as written (11 lines of game script)
add_to_global_unavailable_achievements_list_effect = {
	if = {
		limit = {
			is_ai = no
		}
		add_to_global_variable_list = {
			name = unavailable_achievements
			target = $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_to_global_unavailable_achievements_list_effect.

On actions (the game's own hooks) (1)

  • on_game_start_after_lobby

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?