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

Scripted effect

add_similar_age_same_court_children_to_list

add_similar_age_same_court_children_to_list = yes

game/common/scripted_effects/00_childhood_effects.txt, line 711 (41 lines). No parameters.

add_similar_age_same_court_children_to_list is a scripted effect in Crusader Kings III, written at line 711 of its file. It takes no parameters: add_similar_age_same_court_children_to_list = yes. The game's script calls it in 1 place, among them Rolling (event bp2_yearly.8100). Patch 1.20.1.2, from game/common/scripted_effects/00_childhood_effects.txt.

What it does

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

The script as written (41 lines of game script)
add_similar_age_same_court_children_to_list = {
	location.county.holder = {
		if = {
			limit = {
				is_ai = yes
				save_good_crush_character_trigger_check = yes
			}
			add_to_list = similar_age_same_court_children
		}
		if = {
			limit = {
				any_courtier_or_guest = {
					is_ai = yes
					save_good_crush_character_trigger_check = yes
				}
			}
			every_courtier_or_guest = {
				limit = {
					is_ai = yes
					save_good_crush_character_trigger_check = yes
				}
				add_to_list = similar_age_same_court_children
			}
		}
		if = {
			limit = {
				any_warden_hostage = {
					is_ai = yes
					save_good_crush_character_trigger_check = yes
				}
			}
			every_warden_hostage = {
				limit = {
					is_ai = yes
					save_good_crush_character_trigger_check = yes
				}
				add_to_list = similar_age_same_court_children
			}
		}
	}
}

As written in game/common/scripted_effects/00_childhood_effects.txt.

Where it is used

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

Events (1)

Source: game/common/scripted_effects/00_childhood_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?