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

Scripted trigger

has_graphical_western_region_trigger

has_graphical_western_region_trigger = yes

game/common/scripted_triggers/00_illustration_triggers.txt, line 459 (72 lines). No parameters.

has_graphical_western_region_trigger is a scripted trigger in Crusader Kings III, written at line 459 of its file. It takes no parameters: has_graphical_western_region_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_illustration_triggers.txt.

The comment above it in the file

has_western_culture_trigger = {

What it checks

  • If a check the game hides passes: the same again (7 lines)
    • Their capital province:
      • Is not in the graphical india region
      • Is not in the graphical mediterranean region
      • Is not in the graphical mena region
      • Is not in the Tarim Basin region
      • Is not in the Central Steppe region
      • Is not in the Eastern Steppe region
      • Is not in the East Asia region

    Else if

    a check the game hides

    Then

    • If a check the game hides passes: the same again (7 lines)
      • Their host’s capital province:
        • Is not in the graphical india region
        • Is not in the graphical mediterranean region
        • Is not in the graphical mena region
        • Is not in the Tarim Basin region
        • Is not in the Central Steppe region
        • Is not in the Eastern Steppe region
        • Is not in the East Asia region
      Else if a check the game hides passes: the same again (7 lines)
      • Their liege’s capital province:
        • Is not in the graphical india region
        • Is not in the graphical mediterranean region
        • Is not in the graphical mena region
        • Is not in the Tarim Basin region
        • Is not in the Central Steppe region
        • Is not in the Eastern Steppe region
        • Is not in the East Asia region

      Else if

      a check the game hides

      Then

      • location.province_owner.capital_province = { … }

      Otherwise

      • always = yes

    Otherwise

    • always = yes

• 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 (72 lines of game script)
has_graphical_western_region_trigger = {
	trigger_if = {
		limit = {
			exists = capital_province
		}
		capital_province = {
			NOR = {
				geographical_region = graphical_india
				geographical_region = graphical_mediterranean
				geographical_region = graphical_mena
				geographical_region = world_steppe_tarim
				geographical_region = world_steppe_central
				geographical_region = world_steppe_east
				geographical_region = world_asia
			}
		}
	}
	trigger_else_if = {
		limit = {
			NOT = { exists = capital_province }
		}

		trigger_if = {
			limit = { exists = host.capital_province }
			host.capital_province = {
				NOR = {
					geographical_region = graphical_india
					geographical_region = graphical_mediterranean
					geographical_region = graphical_mena
					geographical_region = world_steppe_tarim
					geographical_region = world_steppe_central
					geographical_region = world_steppe_east
					geographical_region = world_asia
				}
			}
		}
		trigger_else_if = {
			limit = {
				exists = liege.capital_province
			}
			liege.capital_province = {
				NOR = {
					geographical_region = graphical_india
					geographical_region = graphical_mediterranean
					geographical_region = graphical_mena
					geographical_region = world_steppe_tarim
					geographical_region = world_steppe_central
					geographical_region = world_steppe_east
					geographical_region = world_asia
				}
			}
		}
		trigger_else_if = {
			limit = {
				exists = location.province_owner.capital_province
			}
			location.province_owner.capital_province = {
				NOR = {
					geographical_region = graphical_india
					geographical_region = graphical_mediterranean
					geographical_region = graphical_mena
					geographical_region = world_steppe_tarim
					geographical_region = world_steppe_central
					geographical_region = world_steppe_east
					geographical_region = world_asia
				}
			}
		}
		trigger_else = { always = yes }
	}
	trigger_else = { always = yes }
}

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

Where it is used

No file of common/, events/ or history/ calls it.

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