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

Scripted trigger

petition_liege_war_aid_trigger

petition_liege_war_aid_trigger = yes

game/common/scripted_triggers/00_activity_triggers.txt, line 140 (14 lines). No parameters.

petition_liege_war_aid_trigger is a scripted trigger in Crusader Kings III, written at line 140 of its file. It takes no parameters: petition_liege_war_aid_trigger = yes (or no). The game's script calls it in 4 places, among them Petition the … (decision), petition_liege.9000 (event) and Petition: Switching Tactics (event petition_liege.9001). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.

The comment above it in the file

War Aid

What it checks

  • Is at War
  • Any character war:
    • scope:vassal:
      • is_leader_in_war = prev
    • If

      • scope:vassal:
        • is_attacker_in_war = prev

      Then

      • Defender war score at least 25

      Otherwise

      • Attacker war score at least 25

• 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 (14 lines of game script)
petition_liege_war_aid_trigger = {
	is_at_war = yes
	save_temporary_scope_as = vassal
	any_character_war = {
		scope:vassal = { is_leader_in_war = prev }
		trigger_if = {
			limit = {
				scope:vassal = { is_attacker_in_war = prev }
			}
			defender_war_score >= petition_war_aid_score_value
		}
		trigger_else = { attacker_war_score >= petition_war_aid_score_value }
	}
}

As written in game/common/scripted_triggers/00_activity_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls petition_liege_war_aid_trigger.

Decisions (1)

Suggestions (1)

  • Request Military Assistance

Source: game/common/scripted_triggers/00_activity_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?