Scripted trigger
building_requirement_no_great_barracks_project
building_requirement_no_great_barracks_project = yesgame/common/scripted_triggers/00_building_requirement_triggers.txt, line 508 (14 lines). No parameters.
building_requirement_no_great_barracks_project is a scripted trigger in Crusader Kings III, written at line 508 of its file. It checks, in the game's words: No Construct Great Barracks Great Project is planned or in progress here. It takes no parameters: building_requirement_no_great_barracks_project = yes (or no). The game's script calls it in 9 places, among them Dragon Kiln (building), Examination Hall (building) and Exchequer (building). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/00_building_requirement_triggers.txt.
The comment above it in the file
Keeps the Governance Quarter slot free for the Construct Great Barracks great project
What it checks
- No Construct Great Barracks Great Project is planned or in progress here
• 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_requirement_no_great_barracks_project = {
custom_tooltip = {
text = great_project_type_construct_great_barracks_reserves_slot
NOT = {
any_great_project_in_province = {
great_project_type = construct_great_barracks
OR = {
great_project_construction_phase_is = planned
great_project_construction_phase_is = in_progress
}
}
}
}
}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_requirement_no_great_barracks_project.
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.21.0.