Scripted trigger · Friends and Foes files
has_weak_hook_on_trigger
has_weak_hook_on_trigger = { TARGET_CHARACTER = … }game/common/scripted_triggers/01_bp1_filippa_scripted_triggers.txt, line 2 (40 lines). Parameters: $TARGET_CHARACTER$.
has_weak_hook_on_trigger is a scripted trigger in Crusader Kings III, in the Friends and Foes files, written at line 2 of its file. A call passes 1 parameter: TARGET_CHARACTER. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/01_bp1_filippa_scripted_triggers.txt.
What it checks
One of these
has_hook_of_type = { target = $TARGET_CHARACTER$ type = weak_blackmail_hook }or
has_hook_of_type = { target = $TARGET_CHARACTER$ type = favor_hook }or
has_hook_of_type = { target = $TARGET_CHARACTER$ type = obligation_hook }or
has_hook_of_type = { target = $TARGET_CHARACTER$ type = indebted_hook }or
has_hook_of_type = { target = $TARGET_CHARACTER$ type = threat_hook }or
has_hook_of_type = { target = $TARGET_CHARACTER$ type = manipulation_hook }or
has_hook_of_type = { target = $TARGET_CHARACTER$ type = house_head_hook }or
has_hook_of_type = { target = $TARGET_CHARACTER$ type = trial_by_combat_hook }or
has_hook_of_type = { target = $TARGET_CHARACTER$ type = sumptuary_crime_hook }
• 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 (40 lines of game script)
has_weak_hook_on_trigger = {
OR = {
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = weak_blackmail_hook
}
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = favor_hook
}
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = obligation_hook
}
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = indebted_hook
}
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = threat_hook
}
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = manipulation_hook
}
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = house_head_hook
}
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = trial_by_combat_hook
}
has_hook_of_type = {
target = $TARGET_CHARACTER$
type = sumptuary_crime_hook
}
}
}As written in game/common/scripted_triggers/01_bp1_filippa_scripted_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/01_bp1_filippa_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.