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

Scripted trigger · Khans of the Steppe files

gok_desirable_vassal_trigger

gok_desirable_vassal_trigger = yes

game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt, line 242 (39 lines). No parameters.

gok_desirable_vassal_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 242 of its file. It takes no parameters: gok_desirable_vassal_trigger = yes (or no). The game's script calls it in 1 place, among them Greatest of Khans' Onslaught (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt.

What it checks

  • One of these

    • Ai boldness at most -20
    • or

      Has the Trait: Loyal
    • or

      is_obedient_to = scope:gok
    • or

      has_any_good_relationship_with_character_trigger = { CHARACTER = scope:gok }
    • or

      All of these

      • exists = scope:gok.dynasty
      • dynasty ?= scope:gok.dynasty
    • or

      is_allied_to = scope:gok
    • or

      Opinion of gok more than 20
    • or

      All of these

    • or

      If their faith is the same as that of gok: Opinion of gok at least -20

• 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 (39 lines of game script)
gok_desirable_vassal_trigger = {
	OR = {
		ai_boldness <= low_negative_ai_value
		has_trait = loyal
		is_obedient_to = scope:gok
		has_any_good_relationship_with_character_trigger = { CHARACTER = scope:gok }
		AND = {
			exists = scope:gok.dynasty
			dynasty ?= scope:gok.dynasty
		}
		is_allied_to = scope:gok
		opinion = {
			target = scope:gok
			value > 20
		}
		#Dukes from pliant cultures are cool
		AND = {
			highest_held_title_tier < tier_kingdom
			culture = {
				OR = {
					has_cultural_tradition = tradition_loyal_soldiers
					has_cultural_tradition = tradition_pacifism
					has_cultural_tradition = tradition_xenophilic
					has_cultural_tradition = tradition_modest
					has_cultural_tradition = tradition_fp2_malleable_subjects
				}
			}
		}
		trigger_if = {
			limit = {
				faith = scope:gok.faith
			}
			opinion = {
				target = scope:gok
				value >= -20
			}
		}
	}
}

As written in game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/09_mpo_greatest_of_khans_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?