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

Scripted effect

extramarital_sex_exposure_consequences_with_had_recent_sex_var_effect

extramarital_sex_exposure_consequences_with_had_recent_sex_var_effect = { SPOUSE_EVENT = … }

game/common/scripted_effects/00_adultery_effects.txt, line 142 (15 lines). Parameters: $SPOUSE_EVENT$.

extramarital_sex_exposure_consequences_with_had_recent_sex_var_effect is a scripted effect in Crusader Kings III, written at line 142 of its file. A call passes 1 parameter: SPOUSE_EVENT. The game's script calls it in 4 places, among them Discovered (event adultery.0008), Someone Else (event adultery.0006) and Someone Else (event adultery.0007). Patch 1.20.1.2, from game/common/scripted_effects/00_adultery_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 (15 lines of game script)
extramarital_sex_exposure_consequences_with_had_recent_sex_var_effect = {
	if = {
		limit = { exists = var:had_recent_sex }

		if = {
			limit = { var:had_recent_sex = flag:male }
			dummy_male = { save_scope_as = unknown_sex_partner }
		}
		else = {
			dummy_female = { save_scope_as = unknown_sex_partner }
		}

		extramarital_sex_exposure_consequences_effect = { SPOUSE_EVENT = $SPOUSE_EVENT$ }
	}
}

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

Where it is used

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

Events (3)

Scripted effects inside an event file (1)

  • ep1_flavour_0001_reveal_secret_child_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?