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

pam_church_event_background_is_developed_trigger

pam_church_event_background_is_developed_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 3254 (32 lines). No parameters.

pam_church_event_background_is_developed_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 3254 of its file. It takes no parameters: pam_church_event_background_is_developed_trigger = yes (or no). The game's script calls it in 13 places, among them Ecumenical Council (activity), Pilgrimage (activity) and The Investiture Council (activity). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

This grandeur check does not care about religion, so the call site checks religion

What it checks

  • One of these

    • Their domicile:
      • has_domicile_building_or_higher = ecclesiastical_domicile_main_02
    • or

      Their capital county:
      • One of these

        • this = title:c_ile_de_france
        • or

          this = title:c_antiocheia
        • or

          Any county province:
          • One of these

            • has_building_or_higher = temple_02
            • or

              has_building_with_flag = holy_building
            • or

              Is in the Middle East region
            • or

              Is in the Africa region
            • or

              Is in the Tarim Basin region
            • or

              Is in the Central Steppe region
    • or

      All of these

    • or

      holy_order ?= { … }

• 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 (32 lines of game script)
pam_church_event_background_is_developed_trigger = {
	OR = {
		domicile ?= { has_domicile_building_or_higher = ecclesiastical_domicile_main_02 }
		capital_county ?= {
			OR = {
				this = title:c_ile_de_france
				this = title:c_antiocheia
				any_county_province = {
					OR = {
						has_building_or_higher = temple_02
						has_building_with_flag = holy_building
						#A wooden church looks wrong here
						geographical_region = world_middle_east
						geographical_region = world_africa
						geographical_region = world_steppe_tarim
						geographical_region = world_steppe_central
					}
				}
			}
		}
		AND = {
			highest_held_title_tier >= tier_duchy
			this = rite.head_of_rite
		}
		holy_order ?= {
			OR = {
				num_leased_titles >= 5
				holy_order_patron.highest_held_title_tier >= tier_empire
			}
		}
	}
}

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

Where it is used

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

Event backgrounds (10)

  • council_chamber
  • courtyard
  • courtyard_scope
  • pam_ecumenical_council_activity_background
  • Pilgrimage
  • temple
4 more
  • temple_scope
  • throne_room
  • throne_room_scope
  • Western Courtyard

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?