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_negotiate_land_piety_effect

pam_negotiate_land_piety_effect = yes

game/common/scripted_effects/pam_effects.txt, line 6400 (22 lines). No parameters.

pam_negotiate_land_piety_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 6400 of its file. It takes no parameters: pam_negotiate_land_piety_effect = yes. The game's script calls it in 4 places, among them …, Acquired (event pam_interactions_events.0035), …, Denied (event pam_interactions_events.0036) and Negotiations for … (event pam_interactions_events.0030). 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 (22 lines of game script)
pam_negotiate_land_piety_effect = {
	if = {
		limit = {
			pam_negotiate_land_forced_piety_level_trigger = yes
		}
		if = {
			limit = {
				scope:recipient.piety_level = 0
			}
			add_piety_experience = major_piety_loss
			scope:recipient = { add_piety_experience = massive_piety_loss }
		}
		else = {
			add_piety_experience = massive_piety_loss
			scope:recipient = { add_piety_level = -1 }
		}
	}
	else = {
		add_piety_level = -1
		scope:recipient = { add_piety_level = -2 }
	}
}

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

Where it is used

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

Events (4)

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?