Scripted trigger · Friends and Foes files
house_feud_valid_feud_target_trigger
house_feud_valid_feud_target_trigger = yesgame/common/scripted_triggers/03_bp1_scripted_triggers.txt, line 92 (21 lines). No parameters.
house_feud_valid_feud_target_trigger is a scripted trigger in Crusader Kings III, in the Friends and Foes files, written at line 92 of its file. It takes no parameters: house_feud_valid_feud_target_trigger = yes (or no). The game's script calls it in 1 place, among them debug.502 (event). Patch 1.20.1.2, from game/common/scripted_triggers/03_bp1_scripted_triggers.txt.
The comment above it in the file
House Head, and House is valid to be a Feud target
What it checks
is_playable_character = yesNOT = { house = root.house }NOT = { is_close_family_of = root }NOT = { has_any_good_relationship_with_character_trigger = { CHARACTER = root } }- Their house › House member (at least 3):
- Is an Adult
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:house_head_temp }
in_diplomatic_range = root
• 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 (21 lines of game script)
house_feud_valid_feud_target_trigger = {
exists = house
this = this.house.house_head
is_playable_character = yes
NOR = {
house = root.house
is_close_family_of = root
has_any_good_relationship_with_character_trigger = { CHARACTER = root }
}
save_temporary_scope_as = house_head_temp
# House must not be too small (too easy to wipe out)
house = {
any_house_member = {
count >= 3
is_adult = yes
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:house_head_temp }
}
}
# Must be interactable
in_diplomatic_range = root
}As written in game/common/scripted_triggers/03_bp1_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls house_feud_valid_feud_target_trigger.
Events (1)
Source: game/common/scripted_triggers/03_bp1_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.