Scripted trigger
can_use_viking_invasion_cbs_dlc_trigger
can_use_viking_invasion_cbs_dlc_trigger = yesgame/common/scripted_triggers/00_war_and_peace_triggers.txt, line 1011 (20 lines). No parameters.
can_use_viking_invasion_cbs_dlc_trigger is a scripted trigger in Crusader Kings III, written at line 1011 of its file. It takes no parameters: can_use_viking_invasion_cbs_dlc_trigger = yes (or no). The game's script calls it in 1 place, among them can_use_viking_invasion_cbs_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.
What it checks
- Their culture:
has_innovation = innovation_longboats
- Their rite: The rite has the tenet Warmongering
- Any sub realm county: Is coastal County
- If played by the AI:
- Has 75
One of these
- Is an Independent Ruler
or
primary_title.tier >= tier_kingdom
None of these
- Any liege or above:
None of these
- Their rite: The rite has the tenet Warmongering
- Any liege or above:
• 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 (20 lines of game script)
can_use_viking_invasion_cbs_dlc_trigger = {
culture = { has_innovation = innovation_longboats }
rite = { rite_has_tenet = tenet_warmonger }
any_sub_realm_county = { is_coastal_county = yes }
trigger_if = {
limit = { is_ai = yes }
prestige >= 75
OR = {
top_liege = this
primary_title.tier >= tier_kingdom
}
NOT = {
any_liege_or_above = {
NOT = {
rite = { rite_has_tenet = tenet_warmonger }
}
}
}
}
}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_dlc_trigger.
Scripted triggers (1)
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.