Scripted trigger · Silk and Silver files
patron_is_duke_or_above_trigger
patron_is_duke_or_above_trigger = { PATRON = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 538 (7 lines). Parameters: $PATRON$.
patron_is_duke_or_above_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 538 of its file. A call passes 1 parameter: PATRON. The game's script calls it in 1 place, among them merchant_has_usable_charter_trigger (scripted trigger). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
• 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 (7 lines of game script)
patron_is_duke_or_above_trigger = {
$PATRON$ ?= { save_temporary_scope_as = patron_temp }
custom_tooltip = {
text = merchant_charter_duke_or_higher
scope:patron_temp ?= { highest_held_title_tier >= tier_duchy }
}
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls patron_is_duke_or_above_trigger.
Scripted triggers (1)
Source: game/common/scripted_triggers/gdp_merchant_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.