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

Scripted trigger

barony_cannot_construct_holding

barony_cannot_construct_holding = yes

game/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 = desert
      • or

        terrain = desert_mountains
    • If in the the Sahara region:
      • One of these

        • this = province:6650
        • or

          this = province:6651
        • or

          this = province:6652
        • or

          this = province:6653
        • or

          this = province:6654
        • or

          this = province:6655
        • or

          this = province:6656
        • or

          this = province:6657
        • or

          this = province:6658
        • or

          this = province:6659
        • or

          this = province:6660
        • or

          this = province:6661
        • or

          this = province:6662
        • or

          this = province:6663
        • or

          this = province:6664
        • or

          this = province:6665
        • or

          this = province:6666
        • or

          this = province:6667
        • or

          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.

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.

Spotted a mistake on this page?