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_iberia_region_trigger

has_graphical_iberia_region_trigger = yes

game/common/scripted_triggers/00_illustration_triggers.txt, line 533 (39 lines). No parameters.

has_graphical_iberia_region_trigger is a scripted trigger in Crusader Kings III, written at line 533 of its file. It takes no parameters: has_graphical_iberia_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 graphical region Iberia trigger

What it checks

  • If a check the game hides passes: the same again (1 line)
    • Their capital province: Is in the Iberia region

    Else if

    a check the game hides

    Then

    • If a check the game hides passes: the same again (1 line)
      • Their host’s capital province: Is in the Iberia region
      Else if a check the game hides passes: the same again (1 line)
      • Their liege’s capital province: Is in the Iberia region

      Else if

      a check the game hides

      Then

      • location.province_owner.capital_province = { geographical_region = world_europe_west_iberia }

      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 (39 lines of game script)
has_graphical_iberia_region_trigger = {
	trigger_if = {
		limit = {
			exists = capital_province
		}
		capital_province = {
			geographical_region = world_europe_west_iberia
		}
	}
	trigger_else_if = {
		limit = {
			NOT = { exists = capital_province }
		}
		trigger_if = {
			limit = { exists = host.capital_province }
			host.capital_province = {
				geographical_region = world_europe_west_iberia
			}
		}
		trigger_else_if = {
			limit = {
				exists = liege.capital_province
			}
			liege.capital_province = {
				geographical_region = world_europe_west_iberia
			}
		}
		trigger_else_if = {
			limit = {
				exists = location.province_owner.capital_province
			}
			location.province_owner.capital_province = {
				geographical_region = world_europe_west_iberia
			}
		}
		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?