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_place_first_as_powerful_effect

pam_place_first_as_powerful_effect = { VALUE = … }

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

pam_place_first_as_powerful_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 11652 of its file. A call passes 1 parameter: VALUE. The game's script calls it in 1 place, among them Increase Papabile Score (interaction). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

We declare the cardinal for that seat, otherwise a holy candidate is listed as The Pious

What it does

• 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_place_first_as_powerful_effect = {
	custom_tooltip = {
		text = pam_place_first_as_powerful_tt
		if = {
			limit = { exists = var:pam_papabile_score }
			change_variable = {
				name = pam_papabile_score
				add = $VALUE$
			}
		}
		else = {
			set_variable = {
				name = pam_papabile_score
				value = $VALUE$
			}
		}
	}
	custom_tooltip = {
		text = pam_campaign_as_powerful_tt
		remove_variable = pam_campaign_as_populist
		set_variable = {
			name = pam_campaign_as_powerful
			years = 20
		}
	}
	# Deliberately the flat nudge rather than the purchased score: buying the seat should not also buy the vote.
	if = {
		limit = { exists = scope:actor }
		custom_tooltip = {
			text = pam_papabile_leaning_tt
			pam_spread_papabile_leaning_effect = { VALUE = 10 }
		}
	}
}

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

Where it is used

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

Character interactions (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?