Scripted trigger · By God Alone files
pam_request_victory_war_with_enemy_trigger
pam_request_victory_war_with_enemy_trigger = { ENEMY = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 5058 (25 lines). Parameters: $ENEMY$.
pam_request_victory_war_with_enemy_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5058 of its file. A call passes 1 parameter: ENEMY. The game's script calls it in 2 places, among them Request Victory (interaction) and request_victory_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- Has a valid Casus Belli
is_white_peace_possible = yesNOT = { using_cb = undirected_great_holy_war }NOT = { using_cb = directed_great_holy_war }One of these
All of these
casus_belli = { primary_attacker = scope:puppet_or_actor primary_defender = $ENEMY$ }- Attacker war score at least 90
or
All of these
casus_belli = { primary_defender = scope:puppet_or_actor primary_attacker = $ENEMY$ }- Defender war score at least 90
• 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 (25 lines of game script)
pam_request_victory_war_with_enemy_trigger = {
has_valid_casus_belli = yes
#A war the design will not let you negotiate to a white peace is not one the clergy may rule won either
is_white_peace_possible = yes
NOR = {
using_cb = undirected_great_holy_war
using_cb = directed_great_holy_war
}
OR = {
AND = {
casus_belli = {
primary_attacker = scope:puppet_or_actor
primary_defender = $ENEMY$
}
attacker_war_score >= 90
}
AND = {
casus_belli = {
primary_defender = scope:puppet_or_actor
primary_attacker = $ENEMY$
}
defender_war_score >= 90
}
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_request_victory_war_with_enemy_trigger.
Character interactions (1)
Scripted effects (1)
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.