Scripted effect · Khans of the Steppe files
nomad_convert_herds_to_gold_special_troops_effect
nomad_convert_herds_to_gold_special_troops_effect = yesgame/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 3882 (41 lines). No parameters.
nomad_convert_herds_to_gold_special_troops_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 3882 of its file. It takes no parameters: nomad_convert_herds_to_gold_special_troops_effect = yes. The game's script calls it in 7 places, among them Forsake Nomadism (decision), Move into Conquered Lands (decision) and Reform the Great Khaganate (decision). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
What it does
- … Herd and Nomadic Horde are exchanged for Gold and Special Soldiers
• 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 (41 lines of game script)
nomad_convert_herds_to_gold_special_troops_effect = {
save_scope_as = former_nomad
custom_tooltip = gold_army_for_herd_tt
hidden_effect = {
if = {
limit = {
domicile.herd >= 50
}
save_scope_as = army_getter
add_gold = {
value = domicile.herd
multiply = 0.3
min = 100
max = 10000
}
spawn_army = {
levies = 200
men_at_arms = {
type = horse_archers
men = { value = domicile.herd multiply = 0.02 min = 100 max = 10000 }
}
men_at_arms = {
type = steppe_raiders
men = { value = domicile.herd multiply = 0.01 min = 100 max = 10000 }
}
men_at_arms = {
type = nomad_lancers
men = { value = domicile.herd multiply = 0.01 min = 100 max = 10000 }
}
men_at_arms = {
type = nomadic_riders
men = { value = domicile.herd multiply = 0.1 min = 100 max = 10000 }
}
location = capital_province
inheritable = yes
uses_supply = yes
name = former_nomad_army_name
}
}
}
}As written in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls nomad_convert_herds_to_gold_special_troops_effect.
Events (1)
- The Eternal …
mpo_greatest_of_khans.0030
Scripted effects (2)
Source: game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.