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

Scripted effect

bastardy_pregnancy_announcement_effect

bastardy_pregnancy_announcement_effect = yes

game/common/scripted_effects/00_bastard_effects.txt, line 922 (26 lines). No parameters.

bastardy_pregnancy_announcement_effect is a scripted effect in Crusader Kings III, written at line 922 of its file. It takes no parameters: bastardy_pregnancy_announcement_effect = yes. The game's script calls it in 7 places, among them A Sneaking Suspicion (event adultery.1004), A Swollen Belly (event pregnancy.3003) and By Another (event pregnancy.2050). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_bastard_effects.txt.

The comment above it in the file

Selects the correct bastard pregnancy announcement to fire

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 (26 lines of game script)
bastardy_pregnancy_announcement_effect = {
	custom_tooltip = bastardy_pregnancy_announcement_tooltip
	if = {
		limit = {
			this = scope:mother
		}
		bastard_pregnancy_mother_announcement_effect = yes
	}
	else_if = {
		limit = {
			exists = scope:mother.pregnancy_assumed_father
		}
		bastard_pregnancy_married_mother_announcement_effect = yes
	}
	else = {
		bastard_pregnancy_unmarried_mother_announcement_effect = yes
	}
	if = {
		limit = {
			is_ai = no
		}
		add_character_flag = {
			flag = tutorial_reactive_advice_bastards
		}
	}
}

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

Where it is used

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

Events (7)

1 more

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