Scripted effect · All Under Heaven files
set_cadet_aspiration_cooldown_effect
set_cadet_aspiration_cooldown_effect = yesgame/common/scripted_effects/10_dlc_tgp_house_bloc_scripted_effects.txt, line 1247 (65 lines). No parameters.
set_cadet_aspiration_cooldown_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1247 of its file. It takes no parameters: set_cadet_aspiration_cooldown_effect = yes. The game's script calls it in 1 place, among them The … Fief (event tgp_japan_decision.9001). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_house_bloc_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (65 lines of game script)
set_cadet_aspiration_cooldown_effect = {
hidden_effect = {
save_temporary_scope_as = house_temp
scope:old_house.house_confederation.leading_house = {
switch = {
trigger = has_house_aspiration_parameter
ceremony_cheaper_feasts = {
scope:house_temp = {
if = {
limit = { NOT = { has_house_aspiration_parameter = ceremony_cheaper_feasts } }
set_house_aspiration = { type = ceremony }
}
}
}
unlocks_japanese_manor_watch_house = {
scope:house_temp = {
if = {
limit = { NOT = { has_house_aspiration_parameter = unlocks_japanese_manor_watch_house } }
set_house_aspiration = { type = determination }
}
}
}
unlocks_japanese_manor_shrine = {
scope:house_temp = {
if = {
limit = { NOT = { has_house_aspiration_parameter = unlocks_japanese_manor_shrine } }
set_house_aspiration = { type = humility }
}
}
}
unlocks_japanese_manor_brewery = {
scope:house_temp = {
if = {
limit = { NOT = { has_house_aspiration_parameter = unlocks_japanese_manor_brewery } }
set_house_aspiration = { type = prosperity }
}
}
}
unlocks_japanese_manor_archive = {
scope:house_temp = {
if = {
limit = { NOT = { has_house_aspiration_parameter = unlocks_japanese_manor_archive } }
set_house_aspiration = { type = service }
}
}
}
unlocks_japanese_manor_armory = {
scope:house_temp = {
if = {
limit = { NOT = { has_house_aspiration_parameter = unlocks_japanese_manor_armory } }
set_house_aspiration = { type = strength }
}
}
}
}
}
if = {
limit = { house_head = { is_ai = yes } }
set_variable = {
name = recently_changed_aspiration
years = 5
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_house_bloc_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls set_cadet_aspiration_cooldown_effect.
Events (1)
- The … Fief
tgp_japan_decision.9001
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.