Scripted trigger · Silk and Silver files
gdp_can_leverage_trade_posts_in_market_trigger
gdp_can_leverage_trade_posts_in_market_trigger = { CHARACTER = … }game/common/scripted_triggers/gdp_republic_triggers.txt, line 1161 (11 lines). Parameters: $CHARACTER$.
gdp_can_leverage_trade_posts_in_market_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1161 of its file. It checks, in the game's words: You are already leveraging the Trade Market. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Leverage Trade Posts in Market (decision). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_republic_triggers.txt.
The comment above it in the file
Can the target character leverage the scoped trade market?
What it checks
- You are already leveraging the Trade Market
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (11 lines of game script)
gdp_can_leverage_trade_posts_in_market_trigger = {
custom_tooltip = {
text = gdp_improve_trade_post_market_decision_already_active_desc
NOT = {
has_competitiveness_modifier_for_character = {
character = $CHARACTER$
modifier = gdp_dominate_market_trade_post_modifier
}
}
}
}As written in game/common/scripted_triggers/gdp_republic_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls gdp_can_leverage_trade_posts_in_market_trigger.
Decisions (1)
Source: game/common/scripted_triggers/gdp_republic_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.