Scripted trigger · Silk and Silver files
gdp_merchant_companies_counted_trigger
gdp_merchant_companies_counted_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 1977 (5 lines). No parameters.
gdp_merchant_companies_counted_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1977 of its file. It takes no parameters: gdp_merchant_companies_counted_trigger = yes (or no). The game's script calls it in 4 places, among them gdp_merchant_companies_below_cap_trigger (scripted trigger), gdp_merchant_companies_below_republic_headroom_trigger (scripted trigger) and gdp_merchant_companies_over_cap_trigger (scripted trigger). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
- Merchant company starting count more than 0
• 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 (5 lines of game script)
gdp_merchant_companies_counted_trigger = {
has_global_variable_list = merchants_tally
exists = global_var:merchant_company_starting_count
global_var:merchant_company_starting_count > 0
}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_merchant_companies_counted_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.