Scripted trigger · Silk and Silver files
gdp_put_on_notice_potential_rival_trigger
gdp_put_on_notice_potential_rival_trigger = { MARKET = … ROUTE_OWNER = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 305 (7 lines). Parameters: $MARKET$, $ROUTE_OWNER$.
gdp_put_on_notice_potential_rival_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 305 of its file. A call passes 2 parameters: MARKET and ROUTE_OWNER. The game's script calls it in 4 places, among them create_put_on_notice_challenge_competitor_trade_opportunity_effect (scripted effect), create_put_on_notice_sabotage_competition_trade_opportunity_effect (scripted effect) and put_on_notice_challenge_competitor_target_trigger (scripted trigger). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
The comment above it in the file
As gdp_profit_potential_rival_trigger, but unlanded Patricians also count. Contested market checks must keep using the merchant-only version.
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_put_on_notice_potential_rival_trigger = {
gdp_is_merchant_or_unlanded_patrician_trigger = 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_put_on_notice_potential_rival_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.