Scripted trigger · Legends of the Dead files
use_general_legitimacy
use_general_legitimacy = yesgame/common/scripted_triggers/06_ce1_legitimacy_triggers.txt, line 32 (12 lines). No parameters.
use_general_legitimacy is a scripted trigger in Crusader Kings III, in the Legends of the Dead files, written at line 32 of its file. It takes no parameters: use_general_legitimacy = yes (or no). The game's script calls it in 4 places, among them count_legitimacy (legitimacy), duke_legitimacy (legitimacy) and emperor_legitimacy (legitimacy). Patch 1.20.1.2, from game/common/scripted_triggers/06_ce1_legitimacy_triggers.txt.
What it checks
- If they has administrative government mechanic: Is an Independent Ruler
- Their government is not Nomadic
- Their government does not have the government is mandala flag
• 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 (12 lines of game script)
use_general_legitimacy = {
trigger_if = {
limit = {
government_has_mechanic = administrative
}
top_liege = this
}
NOR = {
government_has_flag = government_is_nomadic
government_has_flag = government_is_mandala
}
}As written in game/common/scripted_triggers/06_ce1_legitimacy_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls use_general_legitimacy.
Legitimacy (4)
- count_legitimacy
- duke_legitimacy
- emperor_legitimacy
- king_legitimacy
Source: game/common/scripted_triggers/06_ce1_legitimacy_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.