Scripted trigger
building_caravanserai_requirement_terrain
building_caravanserai_requirement_terrain = yesgame/common/scripted_triggers/00_building_requirement_triggers.txt, line 545 (18 lines). No parameters.
building_caravanserai_requirement_terrain is a scripted trigger in Crusader Kings III, written at line 545 of its file. It takes no parameters: building_caravanserai_requirement_terrain = yes (or no). The game's script calls it in 10 places, among them Artisan Workshops (building), Bathhouses (building) and Customs Office (building). Patch 1.20.1.2, from game/common/scripted_triggers/00_building_requirement_triggers.txt.
What it checks
- Their county › Any county province:
One of these
terrain = drylandsor
terrain = desertor
terrain = oasisor
terrain = floodplainsor
terrain = steppeor
terrain = desert_mountainsor
All of these
- Is in the Iberia region
- Has “struggle conciliation ending” (a variable the game's script sets)
• 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 (18 lines of game script)
building_caravanserai_requirement_terrain = {
county ?= {
any_county_province = {
OR = {
terrain = drylands
terrain = desert
terrain = oasis
terrain = floodplains
terrain = steppe
terrain = desert_mountains
AND = {
geographical_region = world_europe_west_iberia
has_global_variable = fp2_struggle_conciliation_ending
}
}
}
}
}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 building_caravanserai_requirement_terrain.
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.