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

Scripted effect

set_random_sex_scene_location_effect

set_random_sex_scene_location_effect = yes

game/common/scripted_effects/00_scheme_scripted_effects.txt, line 14162 (39 lines). No parameters.

set_random_sex_scene_location_effect is a scripted effect in Crusader Kings III, written at line 14162 of its file. It takes no parameters: set_random_sex_scene_location_effect = yes. The game's script calls it in 1 place, among them Throes of Passion (event seduce_outcome.2309). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.

The comment above it in the file

To set up a location to use for the sex scene custom loc key

What it does

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

The script as written (39 lines of game script)
set_random_sex_scene_location_effect = {
	hidden_effect = {
		if = {
			limit = { NOT = { has_variable = sex_scene_location } }
			random_list = {
				20 = {
					set_variable = {
						name = sex_scene_location
						value = flag:garden
					}
				}
				20 = {
					set_variable = {
						name = sex_scene_location
						value = flag:private_chamber
					}
				}
				20 = {
					set_variable = {
						name = sex_scene_location
						value = flag:stable
					}
				}
				20 = {
					set_variable = {
						name = sex_scene_location
						value = flag:copse
					}
				}
				20 = {
					set_variable = {
						name = sex_scene_location
						value = flag:kitchen
					}
				}
			}
		}
	}
}

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

Where it is used

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

Events (1)

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