Scripted trigger · Silk and Silver files
gdp_profit_potential_rival_trigger
gdp_profit_potential_rival_trigger = { MARKET = … ROUTE_OWNER = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 296 (7 lines). Parameters: $MARKET$, $ROUTE_OWNER$.
gdp_profit_potential_rival_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 296 of its file. A call passes 2 parameters: MARKET and ROUTE_OWNER. The game's script calls it in 6 places, among them gdp_merchant_trade_opportunity_1011_other_merchant_trigger (local trigger), gdp_challenge_competitor (on action) and gdp_sabotage_competition (on action). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
The comment above it in the file
Merchant in $MARKET$ who shares tradable goods with $ROUTE_OWNER$
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)
gdp_profit_potential_rival_trigger = {
is_landless_merchant = yes
market_potential_rival_trigger = {
ROUTE_OWNER = $ROUTE_OWNER$
MARKET = $MARKET$
}
}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_profit_potential_rival_trigger.
Scripted triggers inside an event file (1)
- gdp_merchant_trade_opportunity_1011_other_merchant_trigger
On actions (the game's own hooks) (2)
- gdp_challenge_competitor
- gdp_sabotage_competition
Scripted effects (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.