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_rewards_mythical_holy_effect

legend_ending_rewards_mythical_holy_effect = yes

game/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 1088 (37 lines). No parameters.

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

What it does

• 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 (37 lines of game script)
legend_ending_rewards_mythical_holy_effect = {
	add_legitimacy = massive_legitimacy_gain
	# Chance to become a Herald
	if = {
		limit = {
			dynasty ?= {
				ce1_heroic_track_perks >= 3
			}
		}
		add_trait = herald
		if = {
			limit = { NOT = { has_global_variable = num_of_saints_var } }
			set_global_variable = {
				name = num_of_saints_var
				value = 1
			}
		}
		else = {
			change_global_variable = {
				name = num_of_saints_var
				add = 1
			}
		}
		if = {
			limit = { is_ai = no }
			add_achievement_global_variable_effect = {
				VARIABLE = ce1_canonized_achievement_unlocked
				VALUE = yes
			}
		}
	}
	if = {
		limit = { exists = promoted_legend }
		set_variable = finished_mythical_legend_var
		set_variable = finished_holy_legend_var
	}
}

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_rewards_mythical_holy_effect.

Legends (1)

  • holy

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?