Scripted trigger · Silk and Silver files
merchant_has_patron_or_below_trigger
merchant_has_patron_or_below_trigger = { PATRON = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 523 (14 lines). Parameters: $PATRON$.
merchant_has_patron_or_below_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 523 of its file. A call passes 1 parameter: PATRON. The game's script calls it in 2 places, among them Leverage Patron's Authority (interaction) and 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.
The comment above it in the file
is a merchant whose patron is PATRON or their vassal or below
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 (14 lines of game script)
merchant_has_patron_or_below_trigger = {
$PATRON$ ?= { save_temporary_scope_as = patron_temp }
custom_tooltip = {
text = merchant_charter_patron_or_liege_or_above
government_has_flag = government_is_merchant
exists = scope:patron_temp
suzerain ?= {
OR = {
this = scope:patron_temp
is_vassal_or_below_of = scope:patron_temp
}
}
}
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls merchant_has_patron_or_below_trigger.
Character interactions (1)
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.