Scripted effect
spawn_mongol_troops_condensed_effect
spawn_mongol_troops_condensed_effect = yesgame/common/scripted_effects/00_mongol_invasion_effects.txt, line 1190 (74 lines). No parameters.
spawn_mongol_troops_condensed_effect is a scripted effect in Crusader Kings III, written at line 1190 of its file. It takes no parameters: spawn_mongol_troops_condensed_effect = yes. The game's script calls it in 1 place, among them Become Greatest of Khans (decision). Patch 1.20.1.2, from game/common/scripted_effects/00_mongol_invasion_effects.txt.
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 (74 lines of game script)
spawn_mongol_troops_condensed_effect = {
if = {
limit = {
has_mpo_dlc_trigger = yes
}
spawn_army = {
uses_supply = no
inheritable = no
name = mongol_event_troops
men_at_arms = {
type = horse_archers
stacks = 40
}
men_at_arms = {
type = steppe_raiders
stacks = 100
}
men_at_arms = {
type = heavy_horse_archers
stacks = 20
}
men_at_arms = {
type = mangudai
stacks = 44
}
men_at_arms = {
type = nomad_lancers
stacks = 14
}
men_at_arms = {
type = trebuchet
stacks = 25
}
men_at_arms = {
type = torch_bearers
stacks = 10
}
location = capital_province
origin = capital_province
}
}
else = {
spawn_army = {
uses_supply = no
inheritable = no
name = mongol_event_troops
levies = {
value = 15000
}
men_at_arms = {
type = horse_archers
stacks = 74
}
men_at_arms = {
type = light_horsemen
stacks = 70
}
men_at_arms = {
type = light_horsemen
stacks = 10
}
men_at_arms = {
type = armored_horsemen
stacks = 14
}
men_at_arms = {
type = trebuchet
stacks = 25
}
location = capital_province
origin = capital_province
}
}
}As written in game/common/scripted_effects/00_mongol_invasion_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls spawn_mongol_troops_condensed_effect.
Decisions (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.