Scripted trigger
barony_cannot_construct_holding
barony_cannot_construct_holding = yesgame/common/scripted_triggers/00_building_requirement_triggers.txt, line 620 (36 lines). No parameters.
barony_cannot_construct_holding is a scripted trigger in Crusader Kings III, written at line 620 of its file. It takes no parameters: barony_cannot_construct_holding = yes (or no). The game's script calls it in 7 places, among them Settle the Steppe (decision), Motte (building) and Shrine (building). Patch 1.20.1.2, from game/common/scripted_triggers/00_building_requirement_triggers.txt.
What it checks
- Their barony’s province:
One of these
terrain = desertor
terrain = desert_mountains
- If in the the Sahara region:
One of these
this = province:6650or
this = province:6651or
this = province:6652or
this = province:6653or
this = province:6654or
this = province:6655or
this = province:6656or
this = province:6657or
this = province:6658or
this = province:6659or
this = province:6660or
this = province:6661or
this = province:6662or
this = province:6663or
this = province:6664or
this = province:6665or
this = province:6666or
this = province:6667or
this = province:6668
- Otherwise: Never
• 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 (36 lines of game script)
barony_cannot_construct_holding = {
barony.title_province = {
OR = {
terrain = desert
terrain = desert_mountains
}
# the corridors
trigger_if = {
limit = { geographical_region = world_africa_sahara }
OR = {
this = province:6650
this = province:6651
this = province:6652
this = province:6653
this = province:6654
this = province:6655
this = province:6656
this = province:6657
this = province:6658
this = province:6659
this = province:6660
this = province:6661
this = province:6662
this = province:6663
this = province:6664
this = province:6665
this = province:6666
this = province:6667
this = province:6668
}
}
trigger_else = {
always = no
}
}
}As written in game/common/scripted_triggers/00_building_requirement_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls barony_cannot_construct_holding.
Decisions (1)
Buildings (4)
Scripted effects (2)
Source: game/common/scripted_triggers/00_building_requirement_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.