Scripted trigger · Silk and Silver files
gdp_pool_character_valid_for_merchant_company_trigger
gdp_pool_character_valid_for_merchant_company_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 2085 (29 lines). No parameters.
gdp_pool_character_valid_for_merchant_company_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2085 of its file. It takes no parameters: gdp_pool_character_valid_for_merchant_company_trigger = yes (or no). The game's script calls it in 3 places, among them gdp_merchant.4001 (event), gdp_merchant.4002 (event) and gdp_merchant.4003 (event). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
- Is played by the AI
- Is not a ruler
- Not: Is Lowborn
- Is available (an adult, not incapable, not imprisoned)
- Is under 60 years old
- Health at least 3
- Highest skill at least 12
One of these
- Ai boldness at least -20
or
Ai energy at least -20
- Does not have the Trait: Content
- Does not have the Trait: Craven
- Does not have the Trait: Lazy
None of these
- Any heir title:
- Any held title:
• 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 (29 lines of game script)
gdp_pool_character_valid_for_merchant_company_trigger = {
is_ai = yes
is_ruler = no
is_lowborn = no
exists = location
is_available_quick = {
adult = yes
incapable = no
imprisoned = no
}
age < 60
health >= fine_health
highest_skill_value >= decent_skill_rating
OR = {
ai_boldness >= low_negative_ai_value
ai_energy >= low_negative_ai_value
}
NOR = {
has_trait = content
has_trait = craven
has_trait = lazy
}
NOR = {
any_heir_title = { }
any_held_title = {
gdp_merchant_company_title_trigger = yes
}
}
}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_pool_character_valid_for_merchant_company_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.