Scripted trigger
holding_is_castle
holding_is_castle = yesgame/common/scripted_triggers/00_building_requirement_triggers.txt, line 78 (6 lines). No parameters.
holding_is_castle is a scripted trigger in Crusader Kings III, written at line 78 of its file. It takes no parameters: holding_is_castle = yes (or no). The game's script calls it in 3 places, among them …: the … (event ep3_laamp_decision_event.1000), …: the … (event ep3_laamp_decision_event.1001) and 1000_time_to_go_home_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_building_requirement_triggers.txt.
What it checks
One of these
has_holding_type = castle_holdingor
has_holding_type = temple_citadel_holding
• 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 (6 lines of game script)
holding_is_castle = {
OR = {
has_holding_type = castle_holding
has_holding_type = temple_citadel_holding
}
}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 holding_is_castle.
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.