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

Scripted effect · By God Alone files

pam_investiture_cancel_competing_councils_effect

pam_investiture_cancel_competing_councils_effect = yes

game/common/scripted_effects/pam_investiture_council_effects.txt, line 584 (15 lines). No parameters.

pam_investiture_cancel_competing_councils_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 584 of its file. It takes no parameters: pam_investiture_cancel_competing_councils_effect = yes. The game's script calls it in 1 place, among them pam_nudge_investiture_council_host_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_investiture_council_effects.txt.

The comment above it in the file

On the faith we use hosts' involved_activity rather than every_activity
every_activity also enumerates half-torn-down activities whose triggers error

What it does

  • Every faith character:
    • Where:
      • Their activity:
        • has_activity_type = activity_ecumenical_council
      • involved_activity.activity_host ?= this
      • Their activity: Does not have “investiture cancelled” (a variable the game's script sets)
    • Their activity:
      • invalidate_activity = this

• 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 (15 lines of game script)
pam_investiture_cancel_competing_councils_effect = {
	every_faith_character = {
		limit = {
			exists = involved_activity
			involved_activity = { has_activity_type = activity_ecumenical_council }
			involved_activity.activity_host ?= this
			# Skip councils already cancelled by an earlier call this tick.
			involved_activity = { NOT = { has_variable = investiture_cancelled } }
		}
		involved_activity = {
			set_variable = { name = investiture_cancelled value = yes }
			invalidate_activity = this
		}
	}
}

As written in game/common/scripted_effects/pam_investiture_council_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/pam_investiture_council_effects.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?