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

Scripted effect

declare_canarias_decision_effects

declare_canarias_decision_effects = yes

game/common/scripted_effects/00_decisions_effects.txt, line 556 (35 lines). No parameters.

declare_canarias_decision_effects is a scripted effect in Crusader Kings III, written at line 556 of its file. It takes no parameters: declare_canarias_decision_effects = yes. The game's script calls it in 2 places, among them Consolidate the Canaries (decision) and The Kingdom of Canarias (event iberia_north_africa.9101). Patch 1.20.1.2, from game/common/scripted_effects/00_decisions_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 (35 lines of game script)
declare_canarias_decision_effects = {
	#Create the title and set proper de jure
	title:d_canarias = {
		save_scope_as = d_canarias
		set_de_jure_liege_title = title:k_canarias
	}
	title:k_canarias = {
		save_scope_as = title_k_canarias
	}

	create_title_and_vassal_change = {
		type = created
		save_scope_as = title_change
		add_claim_on_loss = no
	}
	title:k_canarias = {
		change_title_holder = {
			holder = root
			change = scope:title_change
		}
		save_scope_as = title_k_canarias
	}
	resolve_title_and_vassal_change = scope:title_change

	if = {
		limit = {
			highest_held_title_tier < tier_empire
			primary_title != title:k_canarias
		}
		set_primary_title_to = title:k_canarias
	}

	#Prestige
	add_prestige = massive_prestige_gain
}

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

Where it is used

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

Events (1)

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