Scripted trigger · Silk and Silver files
exceptional_diplo_range_trigger
exceptional_diplo_range_trigger = { CHARACTER = … TARGET = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 3030 (25 lines). Parameters: $CHARACTER$, $TARGET$.
exceptional_diplo_range_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 3030 of its file. A call passes 2 parameters: CHARACTER and TARGET. The game's script calls it in 17 places, among them Abduct (Scheme) (interaction), Befriend (Scheme) (interaction) and Challenge to Board Game (interaction). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
If
$CHARACTER$ = { has_government = landless_adventurer_government }
Then
ep3_laamp_diplo_range_trigger = { TARGET = $TARGET$ LAAMP = $CHARACTER$ }
If
$CHARACTER$ = { has_government = merchant_government }
Then
gdp_merchant_diplo_range_trigger = { TARGET = $TARGET$ MERCHANT = $CHARACTER$ }
• 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 (25 lines of game script)
exceptional_diplo_range_trigger = {
#limit range for landless adventurers
trigger_if = {
limit = {
$CHARACTER$ = { has_government = landless_adventurer_government }
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = $TARGET$
LAAMP = $CHARACTER$
}
}
# limit range for merchants
trigger_if = {
limit = {
$CHARACTER$ = {
has_government = merchant_government
}
}
gdp_merchant_diplo_range_trigger = {
TARGET = $TARGET$
MERCHANT = $CHARACTER$
}
}
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls exceptional_diplo_range_trigger.
Character interactions (17)
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.