Scripted trigger
negotiate_the_danelaw_basic_filter_trigger
negotiate_the_danelaw_basic_filter_trigger = yesgame/common/scripted_triggers/00_major_decision_triggers.txt, line 87 (15 lines). No parameters.
negotiate_the_danelaw_basic_filter_trigger is a scripted trigger in Crusader Kings III, written at line 87 of its file. It takes no parameters: negotiate_the_danelaw_basic_filter_trigger = yes (or no). The game's script calls it in 3 places, among them Negotiate the Danelaw (decision), An Unthinkable Bargain (event british_isles.1021) and negotiate_the_danelaw_standard_filter_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_major_decision_triggers.txt.
The comment above it in the file
Standard Filters Does this character meet the basic eligibility requirements?
What it checks
is_playable_character = yesOne of these
- Government is a Tribal-type Government
or
Government is Feudalor
Government is Clan
One of these
• 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 (15 lines of game script)
negotiate_the_danelaw_basic_filter_trigger = {
# Standard filter checks.
is_playable_character = yes
exists = dynasty
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
}
# Must be one of the two valid sides.
OR = {
negotiate_the_danelaw_british_side_trigger = yes
negotiate_the_danelaw_norse_side_trigger = yes
}
}As written in game/common/scripted_triggers/00_major_decision_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls negotiate_the_danelaw_basic_filter_trigger.
Source: game/common/scripted_triggers/00_major_decision_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.