Scripted trigger
negotiate_the_danelaw_valid_danelaw_opponent_trigger
negotiate_the_danelaw_valid_danelaw_opponent_trigger = yesgame/common/scripted_triggers/00_major_decision_triggers.txt, line 117 (31 lines). No parameters.
negotiate_the_danelaw_valid_danelaw_opponent_trigger is a scripted trigger in Crusader Kings III, written at line 117 of its file. It takes no parameters: negotiate_the_danelaw_valid_danelaw_opponent_trigger = yes (or no). The game's script calls it in 2 places, among them Negotiate the Danelaw (decision) and An Unthinkable Bargain (event british_isles.1011). Patch 1.20.1.2, from game/common/scripted_triggers/00_major_decision_triggers.txt.
The comment above it in the file
Valid Opponent Assuming that we have a character who can take the decision (which has stricter requirements), do they have an opponent to negotiate with?
What it checks
negotiate_the_danelaw_standard_filter_trigger = yesIf
Then
If
- You:
Then
- England:
- In de jure hierarchy (at least 10):
- Title tier exactly County
- Their holder:
One of these
this = scope:valid_opponentor
Any liege or above:this = scope:valid_opponent
- In de jure hierarchy (at least 10):
• 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 (31 lines of game script)
negotiate_the_danelaw_valid_danelaw_opponent_trigger = {
# Standard filter checks.
negotiate_the_danelaw_standard_filter_trigger = yes
# Ensure they match the opposing side.
trigger_if = {
limit = {
root = { negotiate_the_danelaw_british_side_trigger = yes }
}
negotiate_the_danelaw_norse_side_trigger = yes
}
trigger_if = {
limit = {
root = { negotiate_the_danelaw_norse_side_trigger = yes }
}
negotiate_the_danelaw_british_side_trigger = yes
}
# Holds a certain amount of de jure counties within k_england.
save_temporary_scope_as = valid_opponent
title:k_england = {
any_in_de_jure_hierarchy = {
count >= 10
tier = tier_county
holder = {
OR = {
this = scope:valid_opponent
any_liege_or_above = { this = scope:valid_opponent }
}
}
}
}
}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_valid_danelaw_opponent_trigger.
Decisions (1)
Events (1)
- An Unthinkable Bargain
british_isles.1011
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.