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

Scripted effect

create_starting_holy_relic_regular_effect

create_starting_holy_relic_regular_effect = yes

game/common/scripted_effects/02_starting_holy_site_relics_effects.txt, line 249 (36 lines). No parameters.

create_starting_holy_relic_regular_effect is a scripted effect in Crusader Kings III, written at line 249 of its file. It takes no parameters: create_starting_holy_relic_regular_effect = yes. The game's script calls it in 1 place, among them historical_artifacts.0050 (event). Patch 1.20.1.2, from game/common/scripted_effects/02_starting_holy_site_relics_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 (36 lines of game script)
create_starting_holy_relic_regular_effect = {
	# Curated relics at regular sites
	if = {
		limit = {
			scope:relic_faith.religion = religion:christianity_religion
			scope:relic_site = holy_site:kent
		}
		create_starting_relic_kent_christian_effect = yes
	}
	else_if = {
		# Antioch took Aksum's eminent slot on Miaphysitism
		limit = {
			scope:relic_faith.religion = religion:christianity_religion
			scope:relic_site = holy_site:aksum
		}
		create_starting_relic_aksum_christian_effect = yes
	}
	else_if = {
		limit = {
			scope:relic_faith.religion = religion:christianity_religion
			scope:relic_site = holy_site:cologne
		}
		create_starting_relic_cologne_christian_effect = yes
	}
	else_if = {
		limit = {
			scope:relic_faith.religion = religion:islam_religion
			scope:relic_site = holy_site:baghdad
		}
		create_starting_relic_baghdad_islamic_effect = yes
	}
	else = {
		# Generic at common rarity for everything else.
		create_starting_generic_relic_effect = { RARITY = common }
	}
}

As written in game/common/scripted_effects/02_starting_holy_site_relics_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/02_starting_holy_site_relics_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?