CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

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.

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.

Spotted a mistake on this page, or have an idea for the site?