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_liege_involvement_trigger

petition_liege_war_liege_involvement_trigger = yes

game/common/scripted_triggers/00_activity_triggers.txt, line 155 (25 lines). No parameters.

petition_liege_war_liege_involvement_trigger is a scripted trigger in Crusader Kings III, written at line 155 of its file. It takes no parameters: petition_liege_war_liege_involvement_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.

What it checks

  • Their liege:
    • None of these

      • Any character war:
        • Your liege:
          • is_leader_in_war = prev
        • If

          • Your liege:
            • is_defender_in_war = prev

          Then

          • One of these

            • primary_attacker.primary_title.tier >= root.liege.primary_title.tier
            • or

              Petition liege attacker strength more than petition war aid liege ally advantage value

          Otherwise

          • One of these

            • primary_attacker.primary_title.tier >= root.liege.primary_title.tier
            • or

              Petition liege attacker strength more than petition war aid liege ally advantage value
      • Is in an ongoing Great Holy War

• 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)
petition_liege_war_liege_involvement_trigger = {
	liege = {
		NOR = {
			any_character_war = {
				root.liege = { is_leader_in_war = prev }
				trigger_if = {
					limit = {
						root.liege = { is_defender_in_war = prev }
					}
					OR = {
						primary_attacker.primary_title.tier >= root.liege.primary_title.tier
						petition_liege_attacker_strength_value > petition_war_aid_liege_ally_advantage_value
					}
				}
				trigger_else = {
					OR = {
						primary_attacker.primary_title.tier >= root.liege.primary_title.tier
						petition_liege_attacker_strength_value > petition_war_aid_liege_ally_advantage_value
					}
				}
			}
			is_in_ongoing_great_holy_war = yes
		}
	}
}

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