Scripted trigger · Silk and Silver files
is_known_dealbreaker_trigger
is_known_dealbreaker_trigger = { KNOWER = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 1475 (9 lines). Parameters: $KNOWER$.
is_known_dealbreaker_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1475 of its file. A call passes 1 parameter: KNOWER. The game's script calls it in 17 places, among them Demand Repayment (interaction), Evict Merchant (interaction) and Grant Merchant Charter (interaction). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
One of these
- Has the Trait: Dealbreaker
or
Any secret:is_known_by = $KNOWER$
• 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)
is_known_dealbreaker_trigger = {
OR = {
has_trait = dealbreaker
any_secret = {
type = secret_dealbreaker
is_known_by = $KNOWER$
}
}
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_known_dealbreaker_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.