Scripted trigger · Silk and Silver files
patron_request_hunt_available_trigger
patron_request_hunt_available_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 2447 (17 lines). No parameters.
patron_request_hunt_available_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2447 of its file. It takes no parameters: patron_request_hunt_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 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
scope:recipient:scope:actor:NOT = { is_activity_type_on_cooldown = activity_hunt }- You already have this permission from …
• 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 (17 lines of game script)
patron_request_hunt_available_trigger = {
scope:recipient = {
is_landed = yes
highest_held_title_tier > tier_barony
is_available_quick = {
imprisoned = no
incapable = no
}
}
scope:actor = {
NOT = { is_activity_type_on_cooldown = activity_hunt }
custom_tooltip = {
text = patron_request.already_have_permission.tt
NOT = { var:merchant_hunt_permission ?= scope:recipient }
}
}
}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_hunt_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.