Scripted trigger
hungarian_migration_valid_ai_mogyer_ruler_trigger
hungarian_migration_valid_ai_mogyer_ruler_trigger = yesgame/common/scripted_triggers/00_game_rule_triggers.txt, line 1 (14 lines). No parameters.
hungarian_migration_valid_ai_mogyer_ruler_trigger is a scripted trigger in Crusader Kings III, written at line 1 of its file. It takes no parameters: hungarian_migration_valid_ai_mogyer_ruler_trigger = yes (or no). The game's script calls it in 1 place, among them game_rule.1012 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_game_rule_triggers.txt.
What it checks
- Their culture is Mogyër
- Is played by the AI
One of these
- Government is a Tribal-type Government
or
Government is Nomadic
- Is at not War
- Highest held Title is at most Kingdom Rank
One of these
- Is an Independent Ruler
or
liege.culture != culture:mogyer
• 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 (14 lines of game script)
hungarian_migration_valid_ai_mogyer_ruler_trigger = {
culture = culture:mogyer
is_ai = yes
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
is_at_war = no
highest_held_title_tier <= tier_kingdom
OR = {
top_liege = this
liege.culture != culture:mogyer
}
}As written in game/common/scripted_triggers/00_game_rule_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls hungarian_migration_valid_ai_mogyer_ruler_trigger.
Events (1)
Source: game/common/scripted_triggers/00_game_rule_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.