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

Scripted trigger · By God Alone files

pam_request_victory_war_already_won_trigger

pam_request_victory_war_already_won_trigger = { ENEMY = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 5085 (25 lines). Parameters: $ENEMY$.

pam_request_victory_war_already_won_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5085 of its file. A call passes 1 parameter: ENEMY. The game's script calls it in 1 place, among them Request Victory (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

A war that can already be won outright, so there is nothing for the clergy to do

What it checks

  • Has a valid Casus Belli
  • is_white_peace_possible = yes
  • NOT = { 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 100
    • or

      All of these

      • casus_belli = { primary_defender = scope:puppet_or_actor primary_attacker = $ENEMY$ }
      • Defender war score at least 100

• 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_already_won_trigger = {
	has_valid_casus_belli = yes
	#Kept in step with pam_request_victory_war_with_enemy_trigger so an ineligible war cannot block an eligible one
	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 >= 100
		}
		AND = {
			casus_belli = {
				primary_defender = scope:puppet_or_actor
				primary_attacker = $ENEMY$
			}
			defender_war_score >= 100
		}
	}
}

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_already_won_trigger.

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

Spotted a mistake on this page?