Scripted trigger · Roads to Power files
ep3_adventurer_might_attack_target_trigger
ep3_adventurer_might_attack_target_trigger = { TARGET = … }game/common/scripted_triggers/07_ep3_triggers.txt, line 1490 (23 lines). Parameters: $TARGET$.
ep3_adventurer_might_attack_target_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 1490 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 1 place, among them Negotiate Settlement (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.
What it checks
- Has a Adventurer Government
- Current strength with allies more than $TARGET$.current strength with allies fifty percent value
NOT = { is_allied_to = $TARGET$ }One of these
- Any claim › Their holder:
One of these
this = $TARGET$or
target_is_liege_or_above = $TARGET$
or
Opinion of $TARGET$ less than -25
- Any claim › Their holder:
• 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 (23 lines of game script)
ep3_adventurer_might_attack_target_trigger = {
has_government = landless_adventurer_government
# Army at least half the size
current_strength_with_allies_value > $TARGET$.current_strength_with_allies_fifty_percent_value
# Not allies
NOT = { is_allied_to = $TARGET$ }
OR = {
# Has a claim on a title in subrealm
any_claim = {
holder ?= {
OR = {
this = $TARGET$
target_is_liege_or_above = $TARGET$
}
}
}
# Opinion
opinion = {
target = $TARGET$
value < -25
}
}
}As written in game/common/scripted_triggers/07_ep3_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep3_adventurer_might_attack_target_trigger.
Character interactions (1)
Source: game/common/scripted_triggers/07_ep3_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.