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

Scripted trigger

portrait_religious_devoted_trigger

portrait_religious_devoted_trigger = yes

game/common/scripted_triggers/00_clothing_triggers.txt, line 2866 (41 lines). No parameters.

portrait_religious_devoted_trigger is a scripted trigger in Crusader Kings III, written at line 2866 of its file. It takes no parameters: portrait_religious_devoted_trigger = yes (or no). The game's script calls it in 4 places, among them portrait_armored_priest_trigger (scripted trigger), portrait_pam_monastic_order_member_trigger (scripted trigger) and portrait_western_christian_clean_shaven_clergy_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.

What it checks

  • One of these

• 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 (41 lines of game script)
portrait_religious_devoted_trigger = {
	exists = this
	OR = {
		AND = {
			has_character_flag = need_priest_outfit
			rite = {
				rite_has_parameter = vows_of_poverty_active
			}
		}
		portrait_has_trait_trigger = { TRAIT = devoted }
		# Clerics with a poverty rite take the habit, because portrait_religious_high bars the priestly look
		AND = {
			portrait_has_trait_trigger = { TRAIT = cleric }
			rite = {
				rite_has_parameter = vows_of_poverty_active
			}
			OR = {
				is_ruler = no
				pam_is_clergy_ruler_trigger = yes
			}
		}
		AND = {
			rite = {
				rite_has_parameter = vows_of_poverty_active
			}
			OR = {
				AND = {
					has_council_position = councillor_court_chaplain
					rite = {
						rite_has_doctrine = doctrine_theocracy_lay_clergy
					}
				}
				is_theocratic_lessee = yes
				AND = {
					is_ruler = yes
					government_has_flag = government_is_theocracy
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/00_clothing_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/00_clothing_triggers.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?