Scripted trigger · Silk and Silver files
gdp_merchant_companies_below_republic_headroom_trigger
gdp_merchant_companies_below_republic_headroom_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 1999 (9 lines). No parameters.
gdp_merchant_companies_below_republic_headroom_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1999 of its file. It takes no parameters: gdp_merchant_companies_below_republic_headroom_trigger = yes (or no). The game's script calls it in 1 place, among them gdp_destroyed_republic_patrician_effect (scripted effect). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
If
Then
global_variable_list_size = { name = merchants_tally value < merchant_company_republic_headroom_value }
• 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 (9 lines of game script)
gdp_merchant_companies_below_republic_headroom_trigger = {
trigger_if = {
limit = { gdp_merchant_companies_counted_trigger = yes }
global_variable_list_size = {
name = merchants_tally
value < merchant_company_republic_headroom_value
}
}
}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_below_republic_headroom_trigger.
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.