Scripted trigger · Silk and Silver files
gdp_merchant_is_player_relevant_trigger
gdp_merchant_is_player_relevant_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 2022 (16 lines). No parameters.
gdp_merchant_is_player_relevant_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2022 of its file. It takes no parameters: gdp_merchant_is_player_relevant_trigger = yes (or no). The game's script calls it in 1 place, among them gdp_merchant_company_keep_trigger (scripted trigger). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
- Any player:
One of these
scope:player_relevant_merchant_temp.suzerain ?= thisor
dynasty ?= scope:player_relevant_merchant_temp.dynastyor
is_close_or_extended_family_of = scope:player_relevant_merchant_tempor
is_consort_of = scope:player_relevant_merchant_tempor
has_important_relationship_with_character_trigger = { CHARACTER = scope:player_relevant_merchant_temp }or
is_allied_to = scope:player_relevant_merchant_tempor
Any character task contract:task_contract_target.house ?= scope:player_relevant_merchant_temp.house
• 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 (16 lines of game script)
gdp_merchant_is_player_relevant_trigger = {
save_temporary_scope_as = player_relevant_merchant_temp
any_player = {
OR = {
scope:player_relevant_merchant_temp.suzerain ?= this
dynasty ?= scope:player_relevant_merchant_temp.dynasty
is_close_or_extended_family_of = scope:player_relevant_merchant_temp
is_consort_of = scope:player_relevant_merchant_temp
has_important_relationship_with_character_trigger = { CHARACTER = scope:player_relevant_merchant_temp }
is_allied_to = scope:player_relevant_merchant_temp
any_character_task_contract = {
task_contract_target.house ?= scope:player_relevant_merchant_temp.house
}
}
}
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls gdp_merchant_is_player_relevant_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.