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

Scripted effect

save_extra_bastard_list_targets_for_secret_exposure_events_effect

save_extra_bastard_list_targets_for_secret_exposure_events_effect = yes

game/common/scripted_effects/00_secret_effects.txt, line 761 (43 lines). No parameters.

save_extra_bastard_list_targets_for_secret_exposure_events_effect is a scripted effect in Crusader Kings III, written at line 761 of its file. It takes no parameters: save_extra_bastard_list_targets_for_secret_exposure_events_effect = yes. The game's script calls it in 1 place, among them secret_exposed_notification_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_secret_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 (43 lines of game script)
save_extra_bastard_list_targets_for_secret_exposure_events_effect = {
	#Those who care about child
	if = {
		limit = {
			exists = scope:child
			scope:owner != scope:child #Child hasn't inherited the secret
		}
		scope:target = {
			save_temporary_scope_as = secret_character
			save_list_targets_for_secret_exposure_events_effect = { SECRET = scope:secret CHARACTER = scope:secret_character }
		}
	}
	#Those who care about real father
	if = {
		limit = {
			exists = scope:real_father
			scope:owner != scope:real_father #Real_father hasn't inherited the secret
		}
		scope:real_father = {
			save_temporary_scope_as = secret_character
			save_list_targets_for_secret_exposure_events_effect = { SECRET = scope:secret CHARACTER = scope:secret_character }
		}
	}
	#Those who care about mother
	if = {
		limit = {
			exists = scope:mother
			scope:owner != scope:mother #Mother doesn't have secret anymore (dead)
		}
		scope:mother = {
			save_temporary_scope_as = secret_character
			save_list_targets_for_secret_exposure_events_effect = { SECRET = scope:secret CHARACTER = scope:secret_character }
		}
	}
	#Make sure father is in there
	if = {
		limit = {
			exists = scope:father
			scope:father = { show_me_exposed_secret_event_trigger = { SECRET = scope:secret CHARACTER = scope:secret_character } }
		}
		scope:father = { add_to_list = send_exposed_secret_event_list }
	}
}

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

Where it is used

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

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