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

Scripted trigger · By God Alone files

has_domicile_building_cathedral_school

has_domicile_building_cathedral_school = { CHARACTER = … LOCATION = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1527 (11 lines). Parameters: $CHARACTER$, $LOCATION$.

has_domicile_building_cathedral_school is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1527 of its file. A call passes 2 parameters: CHARACTER and LOCATION. The game's script calls it in 4 places, among them Educate Child (interaction), Offer Guardianship (interaction) and Offer Ward (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

Does the province have a domicile that whose owner is the same rite as the character in question and also has a cathedral school level 3 (has_domicile_parameter = domicile_building_is_university)

What it checks

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

The script as written (11 lines of game script)
has_domicile_building_cathedral_school = {
	$LOCATION$ = {
		any_province_domicile = {
			has_domicile_parameter = domicile_building_is_university
			owner = {
				rite = $CHARACTER$.rite
				$CHARACTER$.capital_county.clerical_region_title.holder ?= this
			}
		}
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

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

Activities (1)

Source: game/common/scripted_triggers/pam_scripted_triggers.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?