Scripted trigger · All Under Heaven files
destruction_won_more_than_lost_trigger
destruction_won_more_than_lost_trigger = yesgame/common/scripted_triggers/tgp_mandala_triggers.txt, line 648 (6 lines). No parameters.
destruction_won_more_than_lost_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 648 of its file. It takes no parameters: destruction_won_more_than_lost_trigger = yes (or no). The game's script calls it in 5 places, among them destruction_fifth_tier_trigger (scripted trigger), destruction_first_tier_trigger (scripted trigger) and destruction_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
DESTRUCTION
What it checks
- You have won more Wars than you have lost (Currently …/…)
• 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 (6 lines of game script)
destruction_won_more_than_lost_trigger = {
custom_tooltip = {
text = rite_of_worthiness_destruction_won_more_than_lost
num_wars_won > num_wars_lost
}
}As written in game/common/scripted_triggers/tgp_mandala_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls destruction_won_more_than_lost_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.