Scripted trigger · Silk and Silver files
gdp_merchant_can_reclaim_house_company_title_trigger
gdp_merchant_can_reclaim_house_company_title_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 1089 (13 lines). No parameters.
gdp_merchant_can_reclaim_house_company_title_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1089 of its file. It takes no parameters: gdp_merchant_can_reclaim_house_company_title_trigger = yes (or no). The game's script calls it in 1 place, among them create_merchant_title_effect (scripted effect). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
None of these
- Any held title:
- Their house:
- Has “gdp merchant company reclaim pending” (a variable the game's script sets)
var:gdp_merchant_house_company_title:gdp_merchant_company_title_trigger = yesNOT = { holder = root }
• 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 (13 lines of game script)
gdp_merchant_can_reclaim_house_company_title_trigger = {
NOT = {
any_held_title = { gdp_merchant_company_title_trigger = yes }
}
house ?= {
has_variable = gdp_merchant_company_reclaim_pending
exists = var:gdp_merchant_house_company_title
var:gdp_merchant_house_company_title = {
gdp_merchant_company_title_trigger = yes
NOT = { holder = root }
}
}
}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_can_reclaim_house_company_title_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.