Scripted effect · By God Alone files
request_unformed_title_effect
request_unformed_title_effect = yesgame/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
- … is proclaimed and granted to …
If
scope:donate_faith ?= yes
Then
pay_short_term_gold = { target = scope:recipient gold = major_gold_value }
If
scope:use_hook ?= yeshas_usable_hook = scope:recipient
Then
use_hook = scope:recipient
If
scope:offer_hook ?= yes
Then
scope:recipient:add_hook = { type = favor_hook target = scope:puppet_or_actor }
pam_offer_pilgrimage_effect = { ACTOR = scope:puppet_or_actor CLERIC = scope:recipient }bestow_title_shared_effect = yes- If played by the AI:
- Gains the modifier “First of Consecrated Monarchs” for 20 years
- Will behave more zealously and justly
- Otherwise:
- Gains the modifier “First of Consecrated Monarchs” for 20 years
If
scope:promise_holy_war ?= yes
Then
- Gain access to one additional Kingdom-tier Holy War Casus Belli
- You have 5 years to drive Rulers hostile to your Faith below a quarter of …, or you will lose Legitimacy (Prestige if you have none) and a Level of Devotion
- Event pam_interactions_events.0098 (after 5 years)
• 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)
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.