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

generate_new_steppe_admin_families_effect

generate_new_steppe_admin_families_effect = yes

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 4374 (42 lines). No parameters.

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

What it does

  • while = { … }
  • Every in list:
    • give_noble_family_title = { … }
  • Every in list:
    • change_liege = { liege = root change = scope:change }
  • scope:new_title: The coat of arms changes

• 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 (42 lines of game script)
generate_new_steppe_admin_families_effect = {
	while = {
		count = 10
		create_character = {
			template = tgp_steppe_admin_family_head_template
			culture = root.capital_county.culture
			faith = root.capital_county.faith
			rite = root.capital_county.rite
			location = root.location
			dynasty = generate
			after_creation = {
				add_to_list = new_steppe_admin_family_heads
				set_employer = root
			}
		}
	}
	every_in_list = {
		list = new_steppe_admin_family_heads
		give_noble_family_title = {
			name = noble_family_name
			tier = county
			article = DEFAULT_TITLE_NAME_ARTICLE
			government = steppe_admin_government
			save_scope_as = new_title
		}
	}
	create_title_and_vassal_change = {
		type = created
		save_scope_as = change
	}
	every_in_list = {
		list = new_steppe_admin_family_heads
		change_liege = {
			liege = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	scope:new_title = {
		set_coa = holder.house
	}
}

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 generate_new_steppe_admin_families_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?