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

Scripted trigger · All Under Heaven files

tpg_character_in_any_situation_sub_region_trigger

tpg_character_in_any_situation_sub_region_trigger = yes

game/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt, line 91 (11 lines). No parameters.

tpg_character_in_any_situation_sub_region_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 91 of its file. It takes no parameters: tpg_character_in_any_situation_sub_region_trigger = yes (or no). The game's script calls it in 6 places, among them …: Swollen Banks (event natural_disaster.7021), …: Torrential Downpours (event natural_disaster.7031) and …: Unholy Tremors (event natural_disaster.7001). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt.

What it checks

  • Any situation sub region › Any situation sub region county:
    • One of these

      • root.capital_province.county ?= this
      • or

        root.location.county ?= this
      • or

        root.involved_activity.activity_location.county ?= this

• 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 (11 lines of game script)
tpg_character_in_any_situation_sub_region_trigger = {
	any_situation_sub_region = {
		any_situation_sub_region_county = {
			OR = {
				root.capital_province.county ?= this
				root.location.county ?= this
				root.involved_activity.activity_location.county ?= this
			}
		}
	}
}

As written in game/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt.

Where it is used

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

Events (4)

Customizable localization (1)

  • GetIsolationReason

Source: game/common/scripted_triggers/10_tgp_natural_disaster_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?