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_create_theocratic_dynasty_extra_effects

pam_create_theocratic_dynasty_extra_effects = yes

game/common/scripted_effects/pam_effects.txt, line 4556 (25 lines). No parameters.

pam_create_theocratic_dynasty_extra_effects is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 4556 of its file. It takes no parameters: pam_create_theocratic_dynasty_extra_effects = yes. The game's script calls it in 2 places, among them Establish a Dynasty (decision) and A New Beginning (event pam_decision_events.0004). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

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 (25 lines of game script)
pam_create_theocratic_dynasty_extra_effects = {
	if = { # HoF doesn't like this
		limit = {
			exists = faith.religious_head
			root != faith.religious_head
			faith = { has_doctrine = doctrine_clerical_marriage_disallowed }
		}
		faith.religious_head = {
			add_opinion = {
				target = root
				modifier = impious_opinion
				opinion = -40
			}
		}
		add_piety = major_piety_loss
		situation:the_christian_church ?= {
			if = {
				limit = {
					situation_top_has_catalyst = catalyst_the_christian_church_established_theocratic_dynasty
				}
				trigger_situation_catalyst = catalyst_the_christian_church_established_theocratic_dynasty
			}
		}
	}
}

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

Where it is used

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

Decisions (1)

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?