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

Scripted effect

child_sexuality_distribution_effect

child_sexuality_distribution_effect = yes

game/common/scripted_effects/00_game_rule_effects.txt, line 1101 (42 lines). No parameters.

child_sexuality_distribution_effect is a scripted effect in Crusader Kings III, written at line 1101 of its file. It takes no parameters: child_sexuality_distribution_effect = yes. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/00_game_rule_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 (42 lines of game script)
child_sexuality_distribution_effect = {
	every_ruler = {
		if = {
			limit = {
				is_adult = no
				age >= 10
			}
			game_rule_sexuality_distribution_reroll_effect = yes
		}

		every_courtier_or_guest = {
			if = {
				limit = {
					is_adult = no
					age >= 10
				}
				game_rule_sexuality_distribution_reroll_effect = yes
			}
		}

		every_held_title = {
			title_tier = county
			title_province = { save_scope_as = pool_province }
			every_pool_character = {
				limit = { NOT = { is_in_list = pool_characters } }
				province = scope:pool_province
				add_to_list = pool_characters
			}
		}
	}

	every_in_list = {
		list = pool_characters
		if = {
			limit = {
				is_adult = no
				age >= 10
			}
			game_rule_sexuality_distribution_reroll_effect = yes
		}
	}
}

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

Where it is used

No file of common/, events/ or history/ calls it.

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