Scripted trigger · All Under Heaven files
serenity_first_tier_trigger
serenity_first_tier_trigger = { MANDALA = … }game/common/scripted_triggers/tgp_mandala_triggers.txt, line 484 (17 lines). Parameters: $MANDALA$.
serenity_first_tier_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 484 of its file. A call passes 1 parameter: MANDALA. The game's script calls it in 2 places, among them mandala_capital_01 (great project) and story_mandala (story cycle). Its body carries 2 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 = 01 }- If played by a person:
serenity_high_end_alliances_trigger = { MANDALA = $MANDALA$ }
- You have not had any Offensive Wars for at least 1 year
- You have at least … Friendships
• 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 (17 lines of game script)
serenity_first_tier_trigger = {
is_house_head = yes
has_pilgrimage_trait_level_trigger = { TIER = 01 }
trigger_if = {
limit = { is_ai = no }
serenity_high_end_alliances_trigger = { MANDALA = $MANDALA$ }
}
custom_tooltip = {
text = rite_of_worthiness_serenity_years_of_peace_t1
has_variable = serenity_mandala_years_of_non_aggression_war
var:serenity_mandala_years_of_non_aggression_war >= num_serenity_mandala_years_of_peace_t1
}
custom_tooltip = {
text = rite_of_worthiness_serenity_friends_t1
num_of_relation_friend >= num_serenity_mandala_friends_t1
}
}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_first_tier_trigger.
Great projects (1)
- mandala_capital_01
Story cycles (1)
- story_mandala
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.