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

minister_courtier_recruitment_effect

minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = … }

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 2357 (38 lines). Parameters: $COURTIER_TEMPLATE$.

minister_courtier_recruitment_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2357 of its file. A call passes 1 parameter: COURTIER_TEMPLATE. The game's script calls it in 1 place, among them Summon Courtiers for the Celestial Bureau (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.

The comment above it in the file

Minister courtier recruitment effect

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (38 lines of game script)
minister_courtier_recruitment_effect = {
	while = {
		count = minister_recruit_courtier_value

		save_scope_as = minister
		create_character = {
			employer = scope:minister
			template = $COURTIER_TEMPLATE$
			faith = scope:minister.top_liege.capital_county.faith
			rite = scope:minister.top_liege.capital_county.rite
			culture = scope:minister.top_liege.capital_county.culture
			save_scope_as = new_courtier
		}
		if = {
			limit = { exists = scope:new_courtier }
			scope:new_courtier = {
				assign_completed_exams_based_on_merit_effect = yes
				add_character_flag = {
					flag = blocked_from_leaving
					years = 25
				}
			}
			if = {
				limit = {
					scope:new_courtier = {
						NOT = { is_courtier_of = scope:minister }
					}
				}
				add_courtier = scope:new_courtier
			}
			send_interface_message = {
				title = minister_courtier_recruited_t
				left_icon = scope:new_courtier
				custom_tooltip = minister_courtier_recruited_desc
			}
		}
	}
}

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