Scripted trigger · By God Alone files
clergy_interaction_generic_piety_level_or_puppet_req_trigger
clergy_interaction_generic_piety_level_or_puppet_req_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 6004 (19 lines). No parameters.
clergy_interaction_generic_piety_level_or_puppet_req_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 6004 of its file. It takes no parameters: clergy_interaction_generic_piety_level_or_puppet_req_trigger = yes (or no). The game's script calls it in 10 places, among them Ask for Gold (interaction), Beseech a Title (interaction) and Beseech Claim (interaction). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- If their government is not a Theocratic-type Government: … must either: Have a Level of Devotion of Devoted Servant or higher · Have a Realm Priest Puppet · Have a Clerical Ruler Puppet
- Otherwise: Piety level at least 1
• 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 (19 lines of game script)
clergy_interaction_generic_piety_level_or_puppet_req_trigger = {
trigger_if = {
limit = {
NOT = {
government_has_flag = government_is_theocracy
}
}
custom_tooltip = {
text = piety_level_or_puppet_req_tt
OR = {
has_theological_agent_puppet_trigger = yes
piety_level >= 3
}
}
}
trigger_else = {
piety_level >= 1
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls clergy_interaction_generic_piety_level_or_puppet_req_trigger.
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.