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

Scripted trigger

building_monastic_schools_holding_level_requirement_trigger

building_monastic_schools_holding_level_requirement_trigger = { LEVEL = … }

game/common/scripted_triggers/00_building_requirement_triggers.txt, line 944 (14 lines). Parameters: $LEVEL$.

building_monastic_schools_holding_level_requirement_trigger is a scripted trigger in Crusader Kings III, written at line 944 of its file. A call passes 1 parameter: LEVEL. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_building_requirement_triggers.txt.

What it checks

  • If

    • scope:holder.rite: The rite has Allows for the construction of the Monasteries line of Buildings in all Holding Types

    Then

    • One of these

      • has_building_or_higher = castle_$LEVEL$
      • or

        has_building_or_higher = city_$LEVEL$
      • or

        has_building_or_higher = temple_$LEVEL$
      • or

        has_building_or_higher = temple_citadel_$LEVEL$

    Otherwise

    • has_building_or_higher = temple_$LEVEL$

• 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 (14 lines of game script)
building_monastic_schools_holding_level_requirement_trigger = {
	trigger_if = {
		limit = { scope:holder.rite = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } }
		OR = {
			has_building_or_higher = castle_$LEVEL$
			has_building_or_higher = city_$LEVEL$
			has_building_or_higher = temple_$LEVEL$
			has_building_or_higher = temple_citadel_$LEVEL$
		}
	}
	trigger_else = {
		has_building_or_higher = temple_$LEVEL$
	}
}

As written in game/common/scripted_triggers/00_building_requirement_triggers.txt.

Where it is used

No file of common/, events/ or history/ calls it.

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?