Scripted trigger · All Under Heaven files
tgp_has_house_relation_level_trigger
tgp_has_house_relation_level_trigger = { HOUSE_1_MEMBER = … HOUSE_2_MEMBER = … LEVEL = … }game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 635 (11 lines). Parameters: $HOUSE_1_MEMBER$, $HOUSE_2_MEMBER$, $LEVEL$.
tgp_has_house_relation_level_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 635 of its file. A call passes 3 parameters: HOUSE_1_MEMBER, HOUSE_2_MEMBER and LEVEL. The game's script calls it in 2 places, among them Eradicate Rival House (casus belli) and house_relation_ai_accept_modifiers (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (11 lines of game script)
tgp_has_house_relation_level_trigger = {
exists = $HOUSE_1_MEMBER$.house
exists = $HOUSE_2_MEMBER$.house
$HOUSE_1_MEMBER$.house != $HOUSE_2_MEMBER$.house
$HOUSE_1_MEMBER$.house = {
any_house_relation = {
has_house_relation_level = $LEVEL$
any_relation_house = { this = $HOUSE_2_MEMBER$.house }
}
}
}As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_has_house_relation_level_trigger.
Casus belli (1)
Scripted modifiers (AI weights) (1)
- house_relation_ai_accept_modifiers
Source: game/common/scripted_triggers/10_tgp_japan_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.