Scripted trigger · All Under Heaven files
can_upgrade_house_aspiration_trigger
can_upgrade_house_aspiration_trigger = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 788 (13 lines). No parameters.
can_upgrade_house_aspiration_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 788 of its file. It takes no parameters: can_upgrade_house_aspiration_trigger = yes (or no). The game's script calls it in 6 places, among them ceremony (house aspirations), determination (house aspirations) and humility (house aspirations). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
is_house_head = yesIf
house.house_confederation.leading_house != house
Then
- If in a Bloc, Aspiration must match the Leading House To upgrade, leave your Bloc, join a Bloc with a shared Aspiration, or take Bloc Leadership
• 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 (13 lines of game script)
can_upgrade_house_aspiration_trigger = {
is_house_head = yes
trigger_if = {
limit = {
exists = house.house_confederation.leading_house
house.house_confederation.leading_house != house
}
custom_tooltip = {
text = cannot_upgrade_mismatched_bloc_aspiration_tt
house.house_confederation.leading_house = { has_same_house_aspiration_as = root.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 can_upgrade_house_aspiration_trigger.
House aspirations (6)
- ceremony
- determination
- humility
- prosperity
- service
- strength
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.