Scripted trigger
metropolitan_type_district_trigger
metropolitan_type_district_trigger = yesgame/common/scripted_triggers/district_triggers.txt, line 53 (9 lines). No parameters.
metropolitan_type_district_trigger is a scripted trigger in Crusader Kings III, written at line 53 of its file. It takes no parameters: metropolitan_type_district_trigger = yes (or no). The game's script calls it in 4 places, among them AI Remove Capital Villages (decision), Entertainment District (districts) and Housing District (districts). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/district_triggers.txt.
What it checks
One of these
- This is the County Capital
or
This is a City Holding
• 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 (9 lines of game script)
metropolitan_type_district_trigger = {
OR = {
is_county_capital = yes
custom_tooltip = {
text = metropolitan_district_city_trigger
holding_is_city = yes
}
}
}As written in game/common/scripted_triggers/district_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls metropolitan_type_district_trigger.
Decisions (1)
Districts (3)
- Entertainment District
- Housing District
- Patrician District
Source: game/common/scripted_triggers/district_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.