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_seed_867_suburbicarian_see_effect

pam_seed_867_suburbicarian_see_effect = yes

game/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 624 (33 lines). No parameters.

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

What it does

  • If

    a check the game hides

    Then

    • scope:pam_867_pope:
    • add_clerical_elector = scope:pam_new_cardinal.faith
    • Gains the … Title (pam new cardinal)
    • scope:pam_new_cardinal:

• 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 (33 lines of game script)
pam_seed_867_suburbicarian_see_effect = {
	if = {
		limit = { NOT = { exists = holder } }
		scope:pam_867_pope = {
			pam_create_seed_cardinal_effect = {
				HOF = scope:pam_867_pope
				LOCATION = title:c_roma.title_province
				FAITH = scope:pam_867_pope.faith
			}
		}
		# Registered before the transfer so a clerical elector exists when the new holder is validated
		add_clerical_elector = scope:pam_new_cardinal.faith
		create_title_and_vassal_change = {
			type = granted
			save_scope_as = change
			add_claim_on_loss = no
		}
		change_title_holder = {
			holder = scope:pam_new_cardinal
			change = scope:change
			government_base = scope:pam_867_pope
		}
		resolve_title_and_vassal_change = scope:change
		scope:pam_new_cardinal = {
			set_character_rite = scope:pam_867_pope.rite
			change_government = ecclesiastical_government
			add_character_flag = cardinal_flag
			situation:the_christian_church ?= {
				add_manual_participant = prev
			}
		}
	}
}

As written in game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.

Where it is used

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

Scripted effects (1)

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