Scripted trigger · All Under Heaven files
serenity_third_tier_trigger
serenity_third_tier_trigger = { MANDALA = … }game/common/scripted_triggers/tgp_mandala_triggers.txt, line 528 (36 lines). Parameters: $MANDALA$.
serenity_third_tier_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 528 of its file. A call passes 1 parameter: MANDALA. The game's script calls it in 4 places, among them mandala_capital_03 (great project), Upgrade Mandala Aspect (important action) and story_mandala (story cycle). Its body carries 4 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/tgp_mandala_triggers.txt.
What it checks
is_house_head = yeshas_pilgrimage_trait_level_trigger = { TIER = 03 }- If played by a person:
serenity_high_end_alliances_trigger = { MANDALA = $MANDALA$ }
- You have not had any Offensive Wars for at least 10 years (Currently …/10)
- You have at least … Friendships
- If played by a person: You have hosted at least 5 Feasts with Exorbitant and Culinary Artpieces Activity Options (Currently …/5)
- Your Capital Holding has at least a …
• 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 (36 lines of game script)
serenity_third_tier_trigger = {
is_house_head = yes
has_pilgrimage_trait_level_trigger = { TIER = 03 }
trigger_if = {
limit = { is_ai = no }
serenity_high_end_alliances_trigger = { MANDALA = $MANDALA$ }
}
custom_tooltip = {
text = rite_of_worthiness_serenity_years_of_peace_t3
has_variable = serenity_mandala_years_of_non_aggression_war
var:serenity_mandala_years_of_non_aggression_war >= num_serenity_mandala_years_of_peace_t3
}
custom_tooltip = {
text = rite_of_worthiness_serenity_friends_t3
num_of_relation_friend >= num_serenity_mandala_friends_t3
}
trigger_if = {
limit = { is_ai = no }
custom_tooltip = {
text = rite_of_worthiness_serenity_feasts_hosted_t3
has_variable = num_exorbitant_feasts_hosted
var:num_exorbitant_feasts_hosted >= num_serenity_mandala_feasts_hosted_t3
}
}
custom_tooltip = {
text = rite_of_worthiness_serenity_capital_development_t3
capital_province = {
OR = {
has_building_or_higher = castle_02
has_building_or_higher = temple_02
has_building_or_higher = city_02
has_building_or_higher = temple_citadel_02
}
}
}
}As written in game/common/scripted_triggers/tgp_mandala_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls serenity_third_tier_trigger.
Great projects (1)
- mandala_capital_03
Important actions (1)
- Upgrade Mandala Aspect
Story cycles (1)
- story_mandala
House aspirations (1)
- aspect_of_serenity
Source: game/common/scripted_triggers/tgp_mandala_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.