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_white_peace_war_with_enemy_trigger

pam_request_white_peace_war_with_enemy_trigger = { ENEMY = … }

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

pam_request_white_peace_war_with_enemy_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5035 of its file. A call passes 1 parameter: ENEMY. The game's script calls it in 2 places, among them Request White Peace (interaction) and request_white_peace_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 = yes
  • War days at least 730
  • NOT = { using_cb = undirected_great_holy_war }
  • NOT = { using_cb = directed_great_holy_war }
  • One of these

    • casus_belli = { primary_attacker = scope:puppet_or_actor primary_defender = $ENEMY$ }
    • or

      casus_belli = { primary_defender = scope:puppet_or_actor primary_attacker = $ENEMY$ }

• 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 (23 lines of game script)
pam_request_white_peace_war_with_enemy_trigger = {
	has_valid_casus_belli = yes
	is_white_peace_possible = yes
	war_days >= 730
	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$
			}
		}
		AND = {
			casus_belli = {
				primary_defender = scope:puppet_or_actor
				primary_attacker = $ENEMY$
			}
		}
	}
}

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_white_peace_war_with_enemy_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?