Scripted trigger · All Under Heaven files
tgp_should_join_house_bloc_trigger
tgp_should_join_house_bloc_trigger = { BLOC = … }game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 653 (19 lines). Parameters: $BLOC$.
tgp_should_join_house_bloc_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 653 of its file. A call passes 1 parameter: BLOC. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
The comment above it in the file
Check who can join a House Bloc TODO_TGP_CD: Remove this? Functionality (if any) would do better on house confederation type). root: possibly viable character
What it checks
$BLOC$.leading_house.house_head.liege ?= liegetgp_house_bloc_interaction_valid_trigger = yes- Is landed
• 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 (19 lines of game script)
tgp_should_join_house_bloc_trigger = {
# Not in a Bloc
NOT = { exists = confederation }
# Not vassal - TODO_CD_TGP
#NOT = { liege ?= house.house_head }
# Same liege
$BLOC$.leading_house.house_head.liege ?= liege
# General checks
tgp_house_bloc_interaction_valid_trigger = yes
is_landed = yes # TODO_CD_TGP UNLANDED CANNOT JOIN YET
# Government TODO_CD_TGP disabled for now
#trigger_if = {
# limit = {
# $BLOC$.leading_house.house_head ?= { government_has_flag = government_is_japan_administrative }
# }
# government_has_flag = government_is_japan_administrative
#}
#trigger_else = { government_has_flag = government_is_japan_feudal }
}As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
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.