Scripted trigger · All Under Heaven files
tgp_natural_disaster_character_is_valid_vassal_participant
tgp_natural_disaster_character_is_valid_vassal_participant = yesgame/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt, line 111 (17 lines). No parameters.
tgp_natural_disaster_character_is_valid_vassal_participant is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 111 of its file. It takes no parameters: tgp_natural_disaster_character_is_valid_vassal_participant = yes (or no). The game's script calls it in 2 places, among them … Earthquake (situation) and … Flood (situation). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_natural_disaster_triggers.txt.
What it checks
One of these
- Is not an Independent Ruler
or
Is not landed
- Highest held Title is at least County Rank
- If an Independent Ruler:
domicile.domicile_location.county ?= { … }
• 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 (17 lines of game script)
tgp_natural_disaster_character_is_valid_vassal_participant = {
OR = { # permits vassals and landless adventurers to contribute, but doesn't give them their own project
is_independent_ruler = no
is_landed = no
}
highest_held_title_tier >= tier_county
# Remove adventurers who leave the area
trigger_if = {
limit = {
exists = domicile
is_independent_ruler = yes
}
domicile.domicile_location.county ?= {
any_county_situation = { this = scope:situation }
}
}
}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 tgp_natural_disaster_character_is_valid_vassal_participant.
Situations (2)
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.