Scripted effect · All Under Heaven files
tgp_setup_historical_house_bloc_effect
tgp_setup_historical_house_bloc_effect = yesgame/common/scripted_effects/10_dlc_tgp_house_bloc_scripted_effects.txt, line 447 (205 lines). No parameters.
tgp_setup_historical_house_bloc_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 447 of its file. It takes no parameters: tgp_setup_historical_house_bloc_effect = yes. The game's script calls it in 1 place, among them on_game_start (on action). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_house_bloc_scripted_effects.txt.
The comment above it in the file
Create historical blocs and add members at game start root: none
What it does
If
game_start_date = 867.1.1
Then
dynasty:japanese_fujiwara.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = ceremony }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_kyo_ke }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_nan_ke }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_shiki_ke }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_yamakage }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_taira_kanmu.dynasty_founder.house }
dynasty:japanese_sugawara.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = service }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_ninmyo.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_ariwara.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_harusumi.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_ki.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kudara.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_oe.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_shimada.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_yamato.dynasty_founder.house }
dynasty:japanese_minamoto_saga.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = prosperity }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_manatsu }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_uona }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_montoku.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kiyohara.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_tachibana.dynasty_founder.house }
dynasty:japanese_yoshimine.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = strength }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_abe.dynasty_founder.house }
house:house_nakatomi_onakatomi ?= { … }
Else if
game_start_date = 1066.9.15
Then
dynasty:japanese_fujiwara.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = ceremony }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_koichijo }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_manatsu }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_nakamikado }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_nan_ke }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_ononomiya }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_sesonji }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_shiki_ke }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_yamakage }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_yoshikado }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_yoshiyo }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_koremune.dynasty_founder.house }
dynasty:japanese_minamoto_murakami.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = service }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_kajuji }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_daigo.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_sanjo.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_uda.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_ki.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_oe.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_sugawara.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_tachibana.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_takashina.dynasty_founder.house }
house:house_minamoto_kawachi ?= { … }dynasty:japanese_kiyohara.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = prosperity }tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_echigo }
dynasty:japanese_kikuchi.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = determination }tgp_join_historical_house_bloc_effect = { JOINER = house:house_minamoto_watanabe }tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_satsuma }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_abiru.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kimotsuki.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_omiwa.dynasty_founder.house }
Else if
game_start_date = 1178.10.1
Then
house:house_fujiwara_matsudono = { … }dynasty:japanese_taira_kanmu.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = determination }tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_ashikaga }tgp_join_historical_house_bloc_effect = { JOINER = house:house_minamoto_hitachi }tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_echigo }tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_kawagoe }tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_oba }tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_satsuma }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_ito.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_osada.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_saeki_sanyo.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_senoo.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = house:house_tachibana_tokai }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_taguchi.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_yuasa.dynasty_founder.house }
dynasty:japanese_kikuchi.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = prosperity }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kimotsuki.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kono.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kusakabe.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_ouchi.dynasty_founder.house }tgp_join_historical_house_bloc_effect = { JOINER = house:house_omiwa_usuki }
house:house_minamoto_settsu ?= { … }dynasty:japanese_fujiwara_oshu.dynasty_founder.house:tgp_create_historical_house_bloc_effect = { TYPE = prosperity }tgp_join_historical_house_bloc_effect = { JOINER = house:house_minamoto_oshu_ishikawa }
• 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 (120 lines of game script)
tgp_setup_historical_house_bloc_effect = {
### 867
if = {
limit = { game_start_date = 867.1.1 }
# Ceremony
dynasty:japanese_fujiwara.dynasty_founder.house ?= {
tgp_create_historical_house_bloc_effect = { TYPE = ceremony } # Northern Fujiwara
# Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_kyo_ke } # Capital Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_nan_ke } # Southern Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_shiki_ke } # Ceremonial Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_yamakage } # Yamakage Fujiwara
# Taira
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_taira_kanmu.dynasty_founder.house } # Kanmu Taira
}
# Service
dynasty:japanese_sugawara.dynasty_founder.house ?= {
tgp_create_historical_house_bloc_effect = { TYPE = service } # Sugawara
# Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_ninmyo.dynasty_founder.house } # Ninmyo Minamoto
# Other
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_ariwara.dynasty_founder.house } # Ariwara
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_harusumi.dynasty_founder.house } # Harusumi
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_ki.dynasty_founder.house } # Ki
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kudara.dynasty_founder.house } # Kudara
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_oe.dynasty_founder.house } # Oe
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_shimada.dynasty_founder.house } # Shimada
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_yamato.dynasty_founder.house } # Yamato
}
# Prosperity
dynasty:japanese_minamoto_saga.dynasty_founder.house ?= {
tgp_create_historical_house_bloc_effect = { TYPE = prosperity } # Saga Minamoto
# Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_manatsu } # Manatsu Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_uona } # Uona Fujiwara
# Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_montoku.dynasty_founder.house } # Montoku Minamoto
# Other
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kiyohara.dynasty_founder.house } # Kiyohara
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_tachibana.dynasty_founder.house } # Tachibana
}
# Strength
dynasty:japanese_yoshimine.dynasty_founder.house ?= {
tgp_create_historical_house_bloc_effect = { TYPE = strength } # Yoshmine
# Other
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_abe.dynasty_founder.house } # Abe
}
# Humility
house:house_nakatomi_onakatomi ?= {
tgp_create_historical_house_bloc_effect = { TYPE = humility } # Onakatomi
# Other
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_tomo.dynasty_founder.house } # Tomo
}
}
### 1066
else_if = {
limit = { game_start_date = 1066.9.15 }
# Ceremony
dynasty:japanese_fujiwara.dynasty_founder.house ?= {
tgp_create_historical_house_bloc_effect = { TYPE = ceremony } # Northern Fujiwara
# Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_koichijo } # Koichijo Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_manatsu } # Manatsu Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_nakamikado } # Nakamikado Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_nan_ke } # Southern Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_ononomiya } # Ononomiya Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_sesonji } # Sesonji Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_shiki_ke } # Ceremonial Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_yamakage } # Yamakage Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_yoshikado } # Yoshikado Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_yoshiyo } # Yoshiyo Fujiwara
# Other
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_koremune.dynasty_founder.house } # Koremune
}
# Service
dynasty:japanese_minamoto_murakami.dynasty_founder.house ?= { # Murakami Minamoto
tgp_create_historical_house_bloc_effect = { TYPE = service }
# Fujiwara
tgp_join_historical_house_bloc_effect = { JOINER = house:house_fujiwara_kajuji } # Kajuji
# Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_daigo.dynasty_founder.house } # Daigo Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_sanjo.dynasty_founder.house } # Sanjo Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_minamoto_uda.dynasty_founder.house } # Uda Minamoto
# Other
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_ki.dynasty_founder.house } # Ki
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_oe.dynasty_founder.house } # Oe
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_sugawara.dynasty_founder.house } # Sugawara
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_tachibana.dynasty_founder.house } # Tachibana
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_takashina.dynasty_founder.house } # Takashina
}
# Strength
house:house_minamoto_kawachi ?= {
tgp_create_historical_house_bloc_effect = { TYPE = strength } # Kawachi Minamoto
# Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = house:house_minamoto_mino } # Mino Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = house:house_minamoto_settsu } # Settsu Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = house:house_minamoto_shinano } # Shinano Minamoto
# Taira
tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_boso } # Boso Taira
tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_chichibu } # Chichibu Taira
tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_hitachi } # Daijo Taira
tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_miura } # Miura Taira
tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_iwaki } # Iwaki Taira
}
# Prosperity
dynasty:japanese_kiyohara.dynasty_founder.house ?= {
tgp_create_historical_house_bloc_effect = { TYPE = prosperity } # Kiyohara
# Taira
tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_echigo } # Echigo Taira
}
# Determination
dynasty:japanese_kikuchi.dynasty_founder.house ?= {
tgp_create_historical_house_bloc_effect = { TYPE = determination } # Kikuchi
# Minamoto
tgp_join_historical_house_bloc_effect = { JOINER = house:house_minamoto_watanabe } # Watanabe Minamoto
# Taira
tgp_join_historical_house_bloc_effect = { JOINER = house:house_taira_satsuma } # Satsuma Taira
# Other
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_abiru.dynasty_founder.house } # Abiru
tgp_join_historical_house_bloc_effect = { JOINER = dynasty:japanese_kimotsuki.dynasty_founder.house } # KimotsukiAs written in game/common/scripted_effects/10_dlc_tgp_house_bloc_scripted_effects.txt.
The first 120 of its 205 lines; the rest is in game/common/scripted_effects/10_dlc_tgp_house_bloc_scripted_effects.txt from line 447.
Where it is used
Every place in common/, events/ and history/ that calls tgp_setup_historical_house_bloc_effect.
On actions (the game's own hooks) (1)
- on_game_start
Source: game/common/scripted_effects/10_dlc_tgp_house_bloc_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.