Scripted trigger · Silk and Silver files
gdp_improve_trade_scheme_valid_trigger
gdp_improve_trade_scheme_valid_trigger = yesgame/common/scripted_triggers/gdp_trade_scheme_triggers.txt, line 14 (10 lines). No parameters.
gdp_improve_trade_scheme_valid_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 14 of its file. It takes no parameters: gdp_improve_trade_scheme_valid_trigger = yes (or no). The game's script calls it in 3 places, among them Improve Trade Capacity (scheme), Improve Trade Competitiveness (scheme) and Improve Trade Expertise (scheme). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_trade_scheme_triggers.txt.
The comment above it in the file
Shared by all three improve schemes, which are gated identically.
What it checks
gdp_is_trade_ruler_trigger = yes- Is an Adult
- Is not imprisoned
- Is not incapable
- You own at least one Trade Route
• 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 (10 lines of game script)
gdp_improve_trade_scheme_valid_trigger = {
gdp_is_trade_ruler_trigger = yes
is_adult = yes
is_imprisoned = no
is_incapable = no
custom_tooltip = {
text = gdp_improve_trade_routes_needs_route_tt
any_trade_route = { count >= 1 }
}
}As written in game/common/scripted_triggers/gdp_trade_scheme_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls gdp_improve_trade_scheme_valid_trigger.
Schemes (3)
- Improve Trade Capacity
- Improve Trade Competitiveness
- Improve Trade Expertise
Source: game/common/scripted_triggers/gdp_trade_scheme_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.