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_likes_trigger

petition_liege_likes_trigger = { COMPARE = … }

game/common/scripted_triggers/00_activity_triggers.txt, line 353 (14 lines). Parameters: $COMPARE$.

petition_liege_likes_trigger is a scripted trigger in Crusader Kings III, written at line 353 of its file. A call passes 1 parameter: COMPARE. The game's script calls it in 1 place, among them petition_liege_cost_negative_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.

What it checks

  • One of these

    • has_relation_friend = $COMPARE$
    • or

      has_relation_best_friend = $COMPARE$
    • or

      has_relation_soulmate = $COMPARE$
    • or

      has_relation_lover = $COMPARE$
    • or

      is_close_family_of = $COMPARE$
    • or

      Opinion of $COMPARE$ at least 50

• 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_likes_trigger = {
	exists = $COMPARE$
	OR = {
		has_relation_friend = $COMPARE$
		has_relation_best_friend = $COMPARE$
		has_relation_soulmate = $COMPARE$
		has_relation_lover = $COMPARE$
		is_close_family_of = $COMPARE$
		opinion = {
			target = $COMPARE$
			value >= 50
		}
	}
}

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

Scripted modifiers (AI weights) (1)

  • petition_liege_cost_negative_modifier

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?