CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · All Under Heaven files

nomad_convert_herds_to_treasury_or_gold_special_troops_effect

nomad_convert_herds_to_treasury_or_gold_special_troops_effect = yes

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3869 (44 lines). No parameters.

nomad_convert_herds_to_treasury_or_gold_special_troops_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3869 of its file. It takes no parameters: nomad_convert_herds_to_treasury_or_gold_special_troops_effect = yes. The game's script calls it in 1 place, among them Become a Meritocratic Khanate (decision). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

What it does

• 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 (44 lines of game script)
nomad_convert_herds_to_treasury_or_gold_special_troops_effect = {
	save_scope_as = former_nomad
	custom_tooltip = treasury_or_gold_army_for_herd_tt
	hidden_effect = {
		if = {
			limit = {
				domicile.herd >= 50
			}
			save_scope_as = army_getter
			save_scope_value_as = {
				name = nomad_convert_herds_to_treasury_or_gold_value
				value = {
					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/10_dlc_tgp_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls nomad_convert_herds_to_treasury_or_gold_special_troops_effect.

Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?