Scripted trigger · Silk and Silver files
gdp_merchant_company_cullable_trigger
gdp_merchant_company_cullable_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 2009 (12 lines). No parameters.
gdp_merchant_company_cullable_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2009 of its file. It takes no parameters: gdp_merchant_company_cullable_trigger = yes (or no). The game's script calls it in 1 place, among them gdp_merchant_population_cull_effect (scripted effect). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
- Does not have “gdp starting merchant company” (a variable the game's script sets)
- Does not have “gdp new merchant company” (a variable the game's script sets)
- Their holder:
- Is played by the AI
is_landless_merchant = yes- Is at not War
gdp_merchant_company_keep_trigger = no
• 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 (12 lines of game script)
gdp_merchant_company_cullable_trigger = {
NOR = {
has_variable = gdp_starting_merchant_company
has_variable = gdp_new_merchant_company
}
holder ?= {
is_ai = yes
is_landless_merchant = yes
is_at_war = no
gdp_merchant_company_keep_trigger = no
}
}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_company_cullable_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.