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

Scripted effect · Khans of the Steppe files

migration_settle_down_obedient_vassal_effect

migration_settle_down_obedient_vassal_effect = yes

game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 226 (39 lines). No parameters.

migration_settle_down_obedient_vassal_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 226 of its file. It takes no parameters: migration_settle_down_obedient_vassal_effect = yes. The game's script calls it in 2 places, among them migration_fitting_vassal_lands_effect (scripted effect) and migration_title_and_vassal_change_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.

What it does

  • Gains the … Title (current vassal)
  • set_county_culture = scope:current_vassal.domicile.domicile_culture
  • set_county_rite = scope:current_vassal.domicile.domicile_rite
  • scope:current_vassal:
    • change_liege = { liege = scope:actor change = scope:change4 }

• 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 (39 lines of game script)
migration_settle_down_obedient_vassal_effect = {
	scope:actor = {
		ordered_in_list = {
			variable = obedient_vassals
			order_by = {
				value = 1
				domicile ?= {
					add = herd
				}
			}
			limit = {
				is_landed = no
			}
			save_scope_as = current_vassal
			add_to_list = settled_vassal
		}
		remove_list_variable = {
			name = obedient_vassals
			target = scope:current_vassal
		}
	}
	change_title_holder = {
		holder = scope:current_vassal
		change = scope:change4
	}
	set_variable = {
		name = migration_previous_culture
		years = 5
		value = culture
	}
	set_county_culture = scope:current_vassal.domicile.domicile_culture
	set_county_rite = scope:current_vassal.domicile.domicile_rite
	scope:current_vassal = {
		change_liege = {
			liege = scope:actor
			change = scope:change4
		}
	}
}

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 migration_settle_down_obedient_vassal_effect.

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.

Spotted a mistake on this page?