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

Scripted trigger

coastal_or_neighboring_county_trigger

coastal_or_neighboring_county_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_war_and_peace_triggers.txt, line 1032 (10 lines). Parameters: $CHARACTER$.

coastal_or_neighboring_county_trigger is a scripted trigger in Crusader Kings III, written at line 1032 of its file. A call passes 1 parameter: CHARACTER. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.

What it checks

  • One of these

    • Is coastal County
    • or

      Any neighboring county › Their holder:
      • target_is_same_character_or_above = $CHARACTER$

• 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)
coastal_or_neighboring_county_trigger = {
	OR = {
		is_coastal_county = yes
		any_neighboring_county = {
			holder = {
				target_is_same_character_or_above = $CHARACTER$
			}
		}
	}
}

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

Where it is used

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

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