Scripted trigger · All Under Heaven files
tgp_house_bloc_inviter_or_leader_trigger
tgp_house_bloc_inviter_or_leader_trigger = { INVITER = … JOINER = … }game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 673 (8 lines). Parameters: $INVITER$, $JOINER$.
tgp_house_bloc_inviter_or_leader_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 673 of its file. A call passes 2 parameters: INVITER and JOINER. The game's script calls it in 1 place, among them house_bloc_desire_to_join_modifiers (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
$JOINER$ = { save_temporary_scope_as = joiner_temp }If
a check the game hides
Then
$INVITER$.confederation.leading_house.house_head = { save_temporary_scope_as = inviter_temp }
Otherwise
$INVITER$ = { save_temporary_scope_as = inviter_temp }
• 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 (8 lines of game script)
tgp_house_bloc_inviter_or_leader_trigger = {
$JOINER$ = { save_temporary_scope_as = joiner_temp }
trigger_if = {
limit = { exists = $INVITER$.confederation.leading_house.house_head }
$INVITER$.confederation.leading_house.house_head = { save_temporary_scope_as = inviter_temp }
}
trigger_else = { $INVITER$ = { save_temporary_scope_as = inviter_temp } }
}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_house_bloc_inviter_or_leader_trigger.
Scripted modifiers (AI weights) (1)
- house_bloc_desire_to_join_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.