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

mpo_gok_submitting_coward_trigger

mpo_gok_submitting_coward_trigger = yes

game/common/scripted_triggers/09_mpo_greatest_of_khans_triggers.txt, line 129 (69 lines). No parameters.

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

What it checks

  • Is played by the AI
  • Is not a member of a Confederation
  • One of these

    • is_tributary_of = root
    • or

      Is not a Tributary
  • Is landed
  • Highest held Title is less than Duchy Rank
  • NOT = { has_relation_rival = root }
  • One of these

    • is_imprisoned_by = root
    • or

      Government is unplayable
    • or

      has_relation_friend = root
    • or

      All of these

      • exists = root.house
      • house ?= root.house
      • NOT = { is_in_list = anti_gok_coalition_members }
    • or

      Opinion of them at least 100
    • or

      Ai boldness at most -35
    • or

      has_dread_level_towards = { target = root level >= 2 }
    • or

      is_tributary_of = root
    • or

      All of these

      • exists = house
      • exists = root.house
      • Their house:
        • this = root.house
      • Opinion of them at least 0
  • If

    • Current military strength more than 0
    • root.current_military_strength > 0

    Then

    • current_military_strength < root.current_military_strength
  • None of these

    • Any character war:
      • One of these

        • primary_defender = prev
        • or

          All of these

          • primary_attacker = prev
          • primary_defender = { top_liege = root }
        • or

          primary_defender = { is_ai = no }

• 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 (69 lines of game script)
mpo_gok_submitting_coward_trigger = {
	is_ai = yes
	is_confederation_member = no
	OR = {
		is_tributary_of = root
		is_tributary = no
	}
	is_landed = yes
	highest_held_title_tier < tier_duchy
	NOT = {
		has_relation_rival = root
	}
	OR = {
		is_imprisoned_by = root
		government_has_flag = government_is_herder
		has_relation_friend = root
		AND = {
			exists = root.house
			house ?= root.house
			NOT = {
				is_in_list = anti_gok_coalition_members
			}
		}
		opinion = {
			target = root
			value >= 100
		}
		ai_boldness <= medium_negative_ai_value
		has_dread_level_towards = {
			target = root
			level >= 2
		}
		is_tributary_of = root
		AND = {
			exists = house
			exists = root.house
			house = {
				this = root.house
			}
			opinion = {
				target = root
				value >= 0
			}
		}
	}
	trigger_if = {
		limit = {
			current_military_strength > 0
			root.current_military_strength > 0
		}
		current_military_strength < root.current_military_strength
	}
	NOT = {
		any_character_war = {
			OR = {
				primary_defender = prev
				AND = {
					primary_attacker = prev
					primary_defender = {
						top_liege = root
					}
				}
				primary_defender = {
					is_ai = no
				}
			}
		}
	}
}

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