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_populist_effect

pam_place_first_as_populist_effect = { VALUE = … }

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

pam_place_first_as_populist_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 11687 of its file. A call passes 1 parameter: VALUE. The game's script calls it in 1 place, among them Promulgate Word of Pious Deeds (event pam_decision_events.0015). 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.

What it does

  • The fame of your deeds ranks you first among the cardinals as The Populist
  • You stand openly as The Populist for 20 years, and will not be put forward as The Pious or The Powerful
  • If

    a check the game hides

    Then

• 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 (35 lines of game script)
pam_place_first_as_populist_effect = {
	# Own variable, and the elector vote modifier also reads pam_propagate_word_of_my_piety the same way
	custom_tooltip = {
		text = pam_place_first_as_populist_tt
		if = {
			limit = { exists = var:pam_papabile_populist_score }
			change_variable = {
				name = pam_papabile_populist_score
				add = $VALUE$
			}
		}
		else = {
			set_variable = {
				name = pam_papabile_populist_score
				value = $VALUE$
			}
		}
	}
	custom_tooltip = {
		text = pam_campaign_as_populist_tt
		remove_variable = pam_campaign_as_powerful
		set_variable = {
			name = pam_campaign_as_populist
			years = 20
		}
	}
	# Deliberately the flat nudge rather than the purchased score, matching the Powerful path.
	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_populist_effect.

Events (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?