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

Scripted effect

debug_spouse_and_pregnancy_real_father_effect

debug_spouse_and_pregnancy_real_father_effect = yes

game/common/scripted_effects/00_adultery_effects.txt, line 642 (12 lines). No parameters.

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

What it does

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

The script as written (12 lines of game script)
debug_spouse_and_pregnancy_real_father_effect = {
	scope:mother.pregnancy_real_father = { save_scope_as = real_father }
	scope:mother.pregnancy_assumed_father = { save_scope_as = assumed_father }
	if = {
		limit = { scope:real_father = scope:assumed_father }
		debug_log = "Real Father and Assumed Father were the same!"
	}
	else = {
		#debug_log = "Adultery discovered from spying on mother!"
		#debug_log_scopes = yes
	}
}

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

Where it is used

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

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