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_humiliation_war_church_standing_loss_effect

pam_humiliation_war_church_standing_loss_effect = { TT = … }

game/common/scripted_effects/pam_effects.txt, line 11724 (34 lines). Parameters: $TT$.

pam_humiliation_war_church_standing_loss_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 11724 of its file. A call passes 1 parameter: TT. The game's script calls it in 1 place, among them Humiliation War (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

$TT$ localizes the papabile loss for the losing side (defender on victory, attacker on defeat)

What it does

  • If their government has the government uses church authority flag: Gains the modifier “Clerical Disgrace” for 20 years

• 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 (34 lines of game script)
pam_humiliation_war_church_standing_loss_effect = {
	if = {
		limit = {
			OR = {
				exists = clerical_elector_title
				exists = var:pam_papabile_score
			}
		}
		custom_tooltip = {
			text = $TT$
			if = {
				limit = { exists = var:pam_papabile_score }
				change_variable = {
					name = pam_papabile_score
					subtract = 25
				}
			}
			else = {
				set_variable = {
					name = pam_papabile_score
					value = -25
				}
			}
		}
	}
	# Only clerical rulers carry standing the disgrace can bite into; it feeds clerical appointment scoring
	if = {
		limit = { government_has_flag = government_uses_church_authority }
		add_character_modifier = {
			modifier = pam_clerical_disgrace_modifier
			years = 20
		}
	}
}

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

Where it is used

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

Casus belli (1)

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