Scripted trigger
can_use_viking_invasion_cbs_trigger
can_use_viking_invasion_cbs_trigger = yesgame/common/scripted_triggers/00_war_and_peace_triggers.txt, line 983 (27 lines). No parameters.
can_use_viking_invasion_cbs_trigger is a scripted trigger in Crusader Kings III, written at line 983 of its file. It takes no parameters: can_use_viking_invasion_cbs_trigger = yes (or no). The game's script calls it in 6 places, among them County Conquest (casus belli), Duchy Conquest (casus belli) and Invasion (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.
What it checks
Else if
a check the game hides
Then
can_use_viking_invasion_cbs_dlc_trigger = yesOne of these
- Their capital province: Is not in the Northern Europe region
or
Is played by a person
Otherwise
• 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 (27 lines of game script)
can_use_viking_invasion_cbs_trigger = {
trigger_if = { # Conquerors go for neighbors, no need to go overseas
limit = {
has_trait = conqueror
is_ai = yes
}
always = no
}
trigger_else_if = {
limit = {
has_fp1_dlc_trigger = yes
}
can_use_viking_invasion_cbs_dlc_trigger = yes
OR = {
#If the host has fp1, then we want Scandis to beat each other up and export the losers overseas, not form huge overseas empires themselves.
capital_province = {
NOT = { geographical_region = world_europe_north }
}
#Players are under no restrictions.
is_ai = no
}
}
trigger_else = {
has_fp1_dlc_trigger = no
can_use_viking_invasion_cbs_dlc_trigger = yes
}
}As written in game/common/scripted_triggers/00_war_and_peace_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls can_use_viking_invasion_cbs_trigger.
Casus belli (4)
Scripted triggers (1)
Script values (1)
- viking_conquest_ai_score_value
Source: game/common/scripted_triggers/00_war_and_peace_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.