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

Scripted effect · Legends of the Dead files

legend_ending_achievements_effect

legend_ending_achievements_effect = yes

game/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 1353 (51 lines). No parameters.

legend_ending_achievements_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 1353 of its file. It takes no parameters: legend_ending_achievements_effect = yes. The game's script calls it in 3 places, among them Heroic (legend), holy (legend) and legitimizing (legend). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.

The comment above it in the file

Achievements for legends

What it does

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

The script as written (51 lines of game script)
legend_ending_achievements_effect = {
	if = {
		limit = {
			exists = promoted_legend
		}
		if = { # If you have the legend of Scota
			limit = {
				is_ai = no
				promoted_legend ?= {
					has_legend_chronicle = ancient_people
					legend_property:culture ?= culture:ancient_egyptian
					legend_property:title ?= title:k_scotland
					legend_property:original_region ?= geographical_region:ghw_region_egypt_et_al
				}
			}
			add_achievement_global_variable_effect = {
				VARIABLE = ce1_the_pharaoh_islands_achievement_unlocked
				VALUE = yes
			}
		}
		if = {
			limit = { is_ai = no }
			add_achievement_global_variable_effect = {
				VARIABLE = ce1_legendary_achievement_unlocked
				VALUE = yes
			}
		}
		if = { # If you finish your ancestor's legend
			limit = {
				is_ai = no
				has_variable = ce1_neverending_story_achievement_possible
				promoted_legend = { has_variable = ce1_neverending_story_achievement_possible_legend }
			}
			add_achievement_global_variable_effect = {
				VARIABLE = ce1_neverending_story_achievement_unlocked
				VALUE = yes
			}
		}
		if = { # If you finish a mythical legend as a count
			limit = {
				is_ai = no
				highest_held_title_tier = tier_county
				promoted_legend = { legend_quality = mythical }
			}
			add_achievement_global_variable_effect = {
				VARIABLE = ce1_local_legend_achievement_unlocked
				VALUE = yes
			}
		}
	}
}

As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.

Where it is used

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

Legends (3)

  • Heroic
  • holy
  • legitimizing

Source: game/common/scripted_effects/06_dlc_ce1_legend_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?