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

Scripted trigger

rite_growth_in_founder_spread_area_trigger

rite_growth_in_founder_spread_area_trigger = yes

game/common/scripted_triggers/00_religious_triggers.txt, line 2924 (40 lines). No parameters.

rite_growth_in_founder_spread_area_trigger is a scripted trigger in Crusader Kings III, written at line 2924 of its file. It takes no parameters: rite_growth_in_founder_spread_area_trigger = yes (or no). The game's script calls it in 1 place, among them rite_growth.0011 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

The comment above it in the file

Character scope, requires scope:founder

What it checks

  • If

    Then

    • One of these

      • All of these

        • Is landed
        • Their faith: Has a Doctrine or Tenet with Has Clerical Region
        • exists = capital_county.clerical_region_title
        • scope:founder.capital_county.clerical_region_title ?= capital_county.clerical_region_title
      • or

        All of these

        • Is landed
        • exists = scope:founder.capital_county
        • Their capital county:
          • squared_distance = { target = scope:founder.capital_county value <= squared_distance_small }

    Otherwise

    • One of these

      • is_vassal_or_below_of = scope:founder
      • or

        All of these

        • Is landed
        • exists = scope:founder.capital_county
        • Their capital county:
          • squared_distance = { target = scope:founder.capital_county value <= squared_distance_small }

• 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 (40 lines of game script)
rite_growth_in_founder_spread_area_trigger = {
	exists = capital_county
	exists = cp:councillor_court_chaplain
	trigger_if = {
		limit = { rite_growth_founder_is_archbishop_trigger = yes }
		OR = {
			AND = {
				is_landed = yes
				faith = { has_doctrine_parameter = has_clerical_regions }
				exists = capital_county.clerical_region_title
				scope:founder.capital_county.clerical_region_title ?= capital_county.clerical_region_title
			}
			AND = {
				is_landed = yes
				exists = scope:founder.capital_county
				capital_county = {
					squared_distance = {
						target = scope:founder.capital_county
						value <= squared_distance_small
					}
				}
			}
		}
	}
	trigger_else = {
		OR = {
			is_vassal_or_below_of = scope:founder
			AND = {
				is_landed = yes
				exists = scope:founder.capital_county
				capital_county = {
					squared_distance = {
						target = scope:founder.capital_county
						value <= squared_distance_small
					}
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/00_religious_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/00_religious_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?