CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · Coronations files

coronation_ceremony_piety_effect

coronation_ceremony_piety_effect = yes

game/common/scripted_effects/10_ach_effects.txt, line 1206 (222 lines). No parameters.

coronation_ceremony_piety_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 1206 of its file. It takes no parameters: coronation_ceremony_piety_effect = yes. The game's script calls it in 2 places, among them The Pledge to the … (event coronation_events.6120) and The Three Assents (event coronation_events.6123). Its body carries 6 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.

The comment above it in the file

For flavor and adjusting piety in coronation ceremony the clergy's approval event

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 (120 lines of game script)
coronation_ceremony_piety_effect = {
	if = {
		limit = {
			coronation_clergy_approval_value >= 3
		}
		add_piety = {
			value = massive_piety_gain
			if = {
				limit = {
					scope:activity = {
						has_activity_option = {
							category = special_type
							option = coronation_type_anointment
						}
					}
				}
				multiply = 1.5
			}
		}
	}
	else_if = {
		limit = {
			coronation_clergy_approval_value >= 2
		}
		add_piety = {
			value = major_piety_gain
			if = {
				limit = {
					scope:activity = {
						has_activity_option = {
							category = special_type
							option = coronation_type_anointment
						}
					}
				}
				multiply = 1.5
			}
		}
	}
	else_if = {
		limit = {
			coronation_clergy_approval_value >= 1
		}
		add_piety = {
			value = medium_piety_gain
			if = {
				limit = {
					scope:activity = {
						has_activity_option = {
							category = special_type
							option = coronation_type_anointment
						}
					}
				}
				multiply = 1.5
			}
		}
	}
	else_if = {
		limit = {
			coronation_clergy_approval_value >= 0
		}
		add_piety = {
			value = minor_piety_gain
			if = {
				limit = {
					scope:activity = {
						has_activity_option = {
							category = special_type
							option = coronation_type_anointment
						}
					}
				}
				multiply = 1.5
			}
		}
	}
	else_if = {
		limit = {
			coronation_clergy_approval_value >= -1
		}
		add_piety = {
			value = miniscule_piety_gain
			if = {
				limit = {
					scope:activity = {
						has_activity_option = {
							category = special_type
							option = coronation_type_anointment
						}
					}
				}
				multiply = 1.5
			}
		}
	}
	else_if = {
		limit = {
			coronation_clergy_approval_value >= -2
		}
		add_piety = minor_piety_loss
	}
	else_if = {
		limit = {
			coronation_clergy_approval_value >= -3
		}
		add_piety = major_piety_loss
	}
	else_if = {
		limit = {
			coronation_clergy_approval_value >= -4
		}
		add_piety = major_piety_loss
	}
	else = {
		add_piety = massive_piety_loss
	}
	#Custom tooltip triggers need to match coronation_clergy_approval_value
	if = {
		limit = {

As written in game/common/scripted_effects/10_ach_effects.txt.

The first 120 of its 222 lines; the rest is in game/common/scripted_effects/10_ach_effects.txt from line 1206.

Where it is used

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

Events (2)

Source: game/common/scripted_effects/10_ach_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?