Scripted trigger · Silk and Silver files
patron_request_competitiveness_available_trigger
patron_request_competitiveness_available_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 2372 (29 lines). No parameters.
patron_request_competitiveness_available_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2372 of its file. It takes no parameters: patron_request_competitiveness_available_trigger = yes (or no). The game's script calls it in 3 places, among them Make a Request (interaction), Make a Request of your Patron (important action) and patron_request_any_option_available_trigger (scripted trigger). Its body carries 2 texts 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
Make a Request options, minus the mutual-exclusion all_false checks. Evaluated with interaction scopes: actor = merchant, recipient = patron.
What it checks
scope:recipient:scope:actor:- Their domicile:
domicile_location.county.holder = scope:holder_check
- You recently asked … for a boon
- You already have this permission from …
- Num trade routes at least 1
- Their domicile:
• 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 (29 lines of game script)
patron_request_competitiveness_available_trigger = {
scope:recipient = {
highest_held_title_tier > tier_barony
is_available_quick = {
imprisoned = no
incapable = no
}
save_temporary_scope_as = holder_check
}
scope:actor = {
domicile ?= { domicile_location.county.holder = scope:holder_check }
custom_tooltip = {
text = patron_request.cooldown.tt
NOT = { has_variable = 1200_patron_competitiveness }
}
custom_tooltip = {
text = patron_request.already_have_permission.tt
NOT = {
domicile.domicile_location.barony.trade_market ?= {
has_competitiveness_modifier_for_character = {
character = scope:actor
modifier = gdp_trade_privileges_modifier
}
}
}
}
num_trade_routes >= 1
}
}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_request_competitiveness_available_trigger.
Character interactions (1)
Important actions (1)
- Make a Request of your Patron
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.