Scripted trigger · Silk and Silver files
disrupt_charter_trade_opportunity_target_trigger
disrupt_charter_trade_opportunity_target_trigger = { SCHEME_OWNER = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 1938 (14 lines). Parameters: $SCHEME_OWNER$.
disrupt_charter_trade_opportunity_target_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1938 of its file. A call passes 1 parameter: SCHEME_OWNER. The game's script calls it in 1 place, among them gdp_disrupt_charter (on action). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (14 lines of game script)
disrupt_charter_trade_opportunity_target_trigger = {
NOT = { this = $SCHEME_OWNER$ }
is_landless_merchant = yes
save_temporary_scope_as = disruptee_temp
$SCHEME_OWNER$ = {
any_trade_route = {
has_trader = yes
any_trade_market_on_route = {
any_character_in_market = { this = scope:disruptee_temp }
}
}
}
disrupt_charter_trade_opportunity_target_valid_trigger = { SCHEME_OWNER = $SCHEME_OWNER$ }
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls disrupt_charter_trade_opportunity_target_trigger.
On actions (the game's own hooks) (1)
- gdp_disrupt_charter
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.