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_spread_papabile_leaning_effect

pam_spread_papabile_leaning_effect = { VALUE = … }

game/common/scripted_effects/pam_effects.txt, line 11610 (27 lines). Parameters: $VALUE$.

pam_spread_papabile_leaning_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 11610 of its file. A call passes 1 parameter: VALUE. The game's script calls it in 3 places, among them pam_increase_papabile_score_effect (scripted effect), pam_place_first_as_populist_effect (scripted effect) and pam_place_first_as_powerful_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

What it does

  • Their faith › Every clerical elector title:

• 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 (27 lines of game script)
pam_spread_papabile_leaning_effect = {
	save_scope_as = pam_papabile_candidate
	faith = {
		every_clerical_elector_title = {
			limit = {
				holder ?= {
					this != scope:pam_papabile_candidate
					OR = {
						this = scope:actor
						is_vassal_or_below_of = scope:actor
						top_liege ?= scope:actor.top_liege
						is_close_or_extended_family_of = scope:actor
						scope:actor.puppet:theological_agent_puppet ?= this
						scope:actor.puppet:external_theological_agent_puppet ?= this
						opinion = {
							target = scope:actor
							value >= medium_positive_opinion
						}
					}
				}
			}
			holder ?= {
				pam_apply_papabile_leaning_effect = { VALUE = $VALUE$ }
			}
		}
	}
}

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

Where it is used

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

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?