Scripted trigger · Silk and Silver files
merchant_trade_opportunity_partner_in_entourage_trigger
merchant_trade_opportunity_partner_in_entourage_trigger = { TAKER = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 266 (7 lines). Parameters: $TAKER$.
merchant_trade_opportunity_partner_in_entourage_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 266 of its file. A call passes 1 parameter: TAKER. The game's script calls it in 3 places, among them Trade Opportunity: … (event gdp_merchant_trade_opportunity.9010), merchant_trade_opportunity_partner_candidate_available_trigger (scripted trigger) and valid_to_accept_trade_opportunity_trigger (scripted trigger). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
The comment above it in the file
Scoped character is a companion in a travel plan owned by $TAKER$.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (7 lines of game script)
merchant_trade_opportunity_partner_in_entourage_trigger = {
save_temporary_scope_as = entourage_candidate_temp
$TAKER$.current_travel_plan ?= {
travel_plan_owner = $TAKER$
any_entourage_character = { this = scope:entourage_candidate_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_trade_opportunity_partner_in_entourage_trigger.
Events (1)
- Trade Opportunity: …
gdp_merchant_trade_opportunity.9010
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.