Scripted trigger · All Under Heaven files
serenity_high_end_alliances_trigger
serenity_high_end_alliances_trigger = { MANDALA = … }game/common/scripted_triggers/tgp_mandala_triggers.txt, line 470 (13 lines). Parameters: $MANDALA$.
serenity_high_end_alliances_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 470 of its file. A call passes 1 parameter: MANDALA. The game's script calls it in 5 places, among them serenity_fifth_tier_trigger (scripted trigger), serenity_first_tier_trigger (scripted trigger) and serenity_fourth_tier_trigger (scripted trigger). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/tgp_mandala_triggers.txt.
The comment above it in the file
SERENITY
What it checks
• 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)
serenity_high_end_alliances_trigger = {
custom_tooltip = {
text = rite_of_worthiness_serenity
any_ally = {
primary_title.tier >= $MANDALA$.primary_title.tier
NOR = {
is_tributary_of = $MANDALA$
is_vassal_of = $MANDALA$
}
count >= num_serenity_mandala_highend_alliances_had
}
}
}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_high_end_alliances_trigger.
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.