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

Scripted trigger

valid_for_maa_trigger

valid_for_maa_trigger = { PARAMETER = … }

game/common/scripted_triggers/00_military_triggers.txt, line 17 (10 lines). Parameters: $PARAMETER$.

valid_for_maa_trigger is a scripted trigger in Crusader Kings III, written at line 17 of its file. A call passes 1 parameter: PARAMETER. The game's script calls it in 42 places, among them create_type_appropriate_maa_effect (scripted effect), gok_spawn_subjugated_quality_army_effect (scripted effect) and Abudrar (men at arms types). Patch 1.20.1.2, from game/common/scripted_triggers/00_military_triggers.txt.

What it checks

• 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 (10 lines of game script)
valid_for_maa_trigger = {
	OR = {
		AND = {
			has_government = landless_adventurer_government
			has_perk = planned_cultivation_perk
			location.county.culture ?= { has_cultural_parameter = $PARAMETER$ }
		}
		culture = { has_cultural_parameter = $PARAMETER$ }
	}
}

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

Where it is used

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

Men at arms types (40)

  • Abudrar
  • Akritai
  • Ayrudzi
  • Ayyar
  • Ballistrai
  • Black-Armored Cavalry
34 more
  • Bondí
  • Burenjia Infantry
  • Bush Hunters
  • Cataphract Archers
  • Conrois
  • Druzhina
  • Gakgung Archers
  • Guinean Uplanders
  • Horn Warriors
  • Huscarls
  • Kataphraktoi
  • Khandayat
  • Konni
  • Lenkas
  • Longbowmen
  • Mangudai
  • Maturkan Warriors
  • Metsänvartija
  • Monaspa
  • Mountaineers
  • Mounted Samurai
  • Mubarizun
  • Mulathamūn
  • Nile Archers
  • Palace Guards
  • Pesilat Warriors
  • Samurai
  • Shomer
  • Skoutatoi
  • Varangian Veterans
  • Vigmen
  • Warrior Monks
  • Zbrojnosh
  • Zhanmadao Infantry

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