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

is_valid_cathedral_tier_3_upgrade_spot_in_province_trigger

is_valid_cathedral_tier_3_upgrade_spot_in_province_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 894 (20 lines). No parameters.

is_valid_cathedral_tier_3_upgrade_spot_in_province_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 894 of its file. It takes no parameters: is_valid_cathedral_tier_3_upgrade_spot_in_province_trigger = yes (or no). The game's script calls it in 2 places, among them pam_cathedral_03 (great project) and has_accessible_cathedral_tier_3_upgrade_site_trigger (scripted trigger). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

• 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 (20 lines of game script)
is_valid_cathedral_tier_3_upgrade_spot_in_province_trigger = {
	custom_tooltip = {
		text = great_project_cathedral_02_required_for_tier_3_upgrade_tt
		has_building = great_project_cathedral_02
		NOT = { has_building = great_project_cathedral_03 }
	}
	custom_tooltip = {
		text = no_cathedral_upgrade_in_progress_tt
		NOR = {
			has_building = great_project_cathedral_under_construction
			any_great_project_in_province = {
				OR = {
					great_project_type = pam_cathedral_01
					great_project_type = pam_cathedral_02
					great_project_type = pam_cathedral_03
				}
			}
		}
	}
}

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

Where it is used

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

Great projects (1)

  • pam_cathedral_03

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?