Scripted trigger · Silk and Silver files
visit_holding_patron_blocked_trigger
visit_holding_patron_blocked_trigger = yesgame/common/scripted_triggers/gdp_visit_holding_triggers.txt, line 33 (12 lines). No parameters.
visit_holding_patron_blocked_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 33 of its file. It takes no parameters: visit_holding_patron_blocked_trigger = yes (or no). The game's script calls it in 5 places, among them Visiting … … (event gdp_visit_holding_decision_event.1000), visit_holding_decision_all_options_exhausted_trigger (scripted trigger) and visit_holding_decision_show_exhausted_areas_tooltip_trigger (scripted trigger). Patch 1.21.0, from game/common/scripted_triggers/gdp_visit_holding_triggers.txt.
What it checks
One of these
- Has “1200 guards summoned” (a variable the game's script sets)
or
has_all_variables = { name = 1200_patron_competitiveness name = 1200_patron_prestige }
- Has “visit holding patron area refresh tracker” (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 (12 lines of game script)
visit_holding_patron_blocked_trigger = {
OR = {
# Either you critically failed
has_variable = 1200_guards_summoned
# Or you exhausted all your options
has_all_variables = {
name = 1200_patron_competitiveness
name = 1200_patron_prestige
}
}
has_variable = visit_holding_patron_area_refresh_tracker
}As written in game/common/scripted_triggers/gdp_visit_holding_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls visit_holding_patron_blocked_trigger.
Events (1)
- Visiting … …
gdp_visit_holding_decision_event.1000
Scripted triggers (2)
Customizable localization (2)
- GetVisitHoldingDecisionAvailableAreasPatron
- GetVisitHoldingDecisionExhaustedAreasPatron
Source: game/common/scripted_triggers/gdp_visit_holding_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.