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_master_mason_contributor_trigger

is_valid_cathedral_master_mason_contributor_trigger = { STEWARDSHIP_THRESHOLD = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 971 (20 lines). Parameters: $STEWARDSHIP_THRESHOLD$.

is_valid_cathedral_master_mason_contributor_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 971 of its file. A call passes 1 parameter: STEWARDSHIP_THRESHOLD. The game's script calls it in 3 places, among them pam_cathedral_01 (great project), pam_cathedral_02 (great project) and pam_cathedral_03 (great project). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

  • One of these

    • All of these

      • Is played by the AI
      • this = scope:founder
    • or

      Has the Trait: Architect
    • or

      Employs a Royal Architect
    • or

      stewardship >= $STEWARDSHIP_THRESHOLD$
    • or

      Any courtier:
      • One of these

    • or

      cp:councillor_steward:
      • stewardship >= $STEWARDSHIP_THRESHOLD$

• 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_master_mason_contributor_trigger = {
	OR = {
		AND = {
			is_ai = yes
			this = scope:founder
		}
		has_trait = architect
		employs_court_position = royal_architect_court_position
		stewardship >= $STEWARDSHIP_THRESHOLD$
		any_courtier = {
			OR = {
				has_trait = architect
				stewardship >= $STEWARDSHIP_THRESHOLD$
			}
		}
		cp:councillor_steward ?= {
			stewardship >= $STEWARDSHIP_THRESHOLD$
		}
	}
}

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

Great projects (3)

  • pam_cathedral_01
  • pam_cathedral_02
  • 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?