Scripted effect
spawn_mongol_troops_effect
spawn_mongol_troops_effect = yesgame/common/scripted_effects/00_mongol_invasion_effects.txt, line 885 (304 lines). No parameters.
spawn_mongol_troops_effect is a scripted effect in Crusader Kings III, written at line 885 of its file. It takes no parameters: spawn_mongol_troops_effect = yes. The game's script calls it in 3 places, among them Genghis Khan (event central_asia.0002), mongol_invasion.0100 (event) and form_the_mongol_empire_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_mongol_invasion_effects.txt.
The comment above it in the file
Make sure the Empire has troops...
What it does
If a check the game hides passes: the same again (1 line)
spawn_army = { … }
Otherwise
spawn_army = { … }
• 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 (120 lines of game script)
spawn_mongol_troops_effect = {
if = {
limit = {
has_mpo_dlc_trigger = yes
}
spawn_army = {
uses_supply = no
inheritable = yes
name = mongol_event_troops
men_at_arms = {
type = mangudai
stacks = 14
}
men_at_arms = {
type = heavy_horse_archers
stacks = 10
}
men_at_arms = {
type = steppe_raiders
stacks = 10
}
men_at_arms = {
type = nomad_lancers
stacks = 5
}
men_at_arms = {
type = trebuchet
stacks = 5
}
men_at_arms = {
type = trebuchet
stacks = 5
}
location = capital_province
origin = capital_province
}
spawn_army = {
uses_supply = no
inheritable = yes
name = mongol_event_troops
men_at_arms = {
type = mangudai
stacks = 10
}
men_at_arms = {
type = horse_archers
stacks = 10
}
men_at_arms = {
type = steppe_raiders
stacks = 10
}
men_at_arms = {
type = steppe_raiders
stacks = 10
}
men_at_arms = {
type = nomad_lancers
stacks = 3
}
men_at_arms = {
type = trebuchet
stacks = 5
}
location = capital_province
origin = capital_province
}
spawn_army = {
uses_supply = no
inheritable = yes
name = mongol_event_troops
men_at_arms = {
type = mangudai
stacks = 10
}
men_at_arms = {
type = horse_archers
stacks = 10
}
men_at_arms = {
type = steppe_raiders
stacks = 10
}
men_at_arms = {
type = steppe_raiders
stacks = 10
}
men_at_arms = {
type = nomad_lancers
stacks = 3
}
men_at_arms = {
type = trebuchet
stacks = 5
}
location = capital_province
origin = capital_province
}
spawn_army = {
uses_supply = no
inheritable = yes
name = mongol_event_troops
men_at_arms = {
type = mangudai
stacks = 10
}
men_at_arms = {
type = horse_archers
stacks = 10
}
men_at_arms = {
type = heavy_horse_archers
stacks = 10
}
men_at_arms = {
type = steppe_raiders
stacks = 10
}
men_at_arms = {
type = nomad_lancersAs written in game/common/scripted_effects/00_mongol_invasion_effects.txt.
The first 120 of its 304 lines; the rest is in game/common/scripted_effects/00_mongol_invasion_effects.txt from line 885.
Where it is used
Every place in common/, events/ and history/ that calls spawn_mongol_troops_effect.
Events (2)
- Genghis Khan
central_asia.0002 - mongol_invasion.0100
Scripted effects (1)
Source: game/common/scripted_effects/00_mongol_invasion_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.