Scripted effect · All Under Heaven files
japan_set_house_effect
japan_set_house_effect = { NEW_HOUSE = … }game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 161 (15 lines). Parameters: $NEW_HOUSE$.
japan_set_house_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 161 of its file. A call passes 1 parameter: NEW_HOUSE. The game's script calls it in 1 place, among them Request Royal Honsei (event tgp_japan_decision.9201). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
What it does
set_house = scope:new_house- All direct descendants will join your House
• 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 (15 lines of game script)
japan_set_house_effect = {
house = { save_scope_as = old_house }
$NEW_HOUSE$ = { save_scope_as = new_house }
set_house = scope:new_house
custom_tooltip = {
text = tgp_japan_establish_house_fief_direct_descendents_effect
if = {
limit = { exists = $NEW_HOUSE$ }
set_house_of_all_descendants_effect = {
OLD_HOUSE = scope:old_house
NEW_HOUSE = scope:new_house
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls japan_set_house_effect.
Events (1)
- Request Royal Honsei
tgp_japan_decision.9201
Source: game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.