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

request_unformed_title_effect

request_unformed_title_effect = yes

game/common/scripted_effects/pam_effects.txt, line 12892 (76 lines). No parameters.

request_unformed_title_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12892 of its file. It takes no parameters: request_unformed_title_effect = yes. The game's script calls it in 2 places, among them Beseech a Title (interaction) and pam_interactions_events.0097 (event). Its body carries 4 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

The petition counterpart to bestow_title_effect: the clergy proclaim the unheld title and crown the petitioner. Runs in the petitioner's scope.

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 (76 lines of game script)
request_unformed_title_effect = {
	custom_tooltip = request_unformed_title_gain_tt
	if = {
		limit = {
			scope:donate_faith ?= yes
		}
		pay_short_term_gold = {
			target = scope:recipient
			gold = major_gold_value
		}
	}
	if = {
		limit = {
			scope:use_hook ?= yes
			has_usable_hook = scope:recipient
		}
		use_hook = scope:recipient
	}
	if = {
		limit = {
			scope:offer_hook ?= yes
		}
		scope:recipient = {
			add_hook = {
				type = favor_hook
				target = scope:puppet_or_actor
			}
		}
	}
	pam_offer_pilgrimage_effect = {
		ACTOR = scope:puppet_or_actor
		CLERIC = scope:recipient
	}

	scope:puppet_or_actor = { save_scope_as = bestowed_title_holder }
	scope:recipient = { save_scope_as = bestowing_cleric }
	bestow_title_shared_effect = yes

	#The clergy publicly stand behind the new crown, and their flock is expected to respect it
	if = {
		limit = {
			is_ai = yes
		}
		add_character_modifier = {
			modifier = consecrated_king_modifier
			desc = consecrated_king_ai_behavior_large_tt
			years = 20
		}
		custom_tooltip = consecrated_king_ai_behavior_large_tt
	}
	else = {
		add_character_modifier = {
			modifier = consecrated_king_modifier_small
			years = 20
		}
	}
	if = {
		limit = {
			scope:promise_holy_war ?= yes
		}
		faith = { save_scope_as = promised_holy_war_faith }
		custom_tooltip = {
			text = bonus_holy_war_tt
			add_character_flag = {
				flag = bonus_major_holy_war
				years = 5
			}
		}
		custom_tooltip = request_unformed_title_holy_war_deadline_tt
		#The clergy come looking for results; pam_interactions_events.0098 judges the vow
		trigger_event = {
			id = pam_interactions_events.0098
			years = 5
		}
	}
}

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

Where it is used

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

Character interactions (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?