Scripted effect
transfer_sex_scene_location_to_character_effect
transfer_sex_scene_location_to_character_effect = { CHARACTER = … }game/common/scripted_effects/00_scheme_scripted_effects.txt, line 14203 (62 lines). Parameters: $CHARACTER$.
transfer_sex_scene_location_to_character_effect is a scripted effect in Crusader Kings III, written at line 14203 of its file. A call passes 1 parameter: CHARACTER. 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 transfer the location used in the sex scene custom loc key from one character to another
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (62 lines of game script)
transfer_sex_scene_location_to_character_effect = {
if = {
limit = {
has_variable = sex_scene_location
}
if = {
limit = {
var:sex_scene_location = flag:garden
}
$CHARACTER$ = {
set_variable = {
name = sex_scene_location
value = flag:garden
}
}
}
else_if = {
limit = {
var:sex_scene_location = flag:private_chamber
}
$CHARACTER$ = {
set_variable = {
name = sex_scene_location
value = flag:private_chamber
}
}
}
else_if = {
limit = {
var:sex_scene_location = flag:stable
}
$CHARACTER$ = {
set_variable = {
name = sex_scene_location
value = flag:stable
}
}
}
else_if = {
limit = {
var:sex_scene_location = flag:copse
}
$CHARACTER$ = {
set_variable = {
name = sex_scene_location
value = flag:copse
}
}
}
else_if = {
limit = {
var:sex_scene_location = flag:kitchen
}
$CHARACTER$ = {
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 transfer_sex_scene_location_to_character_effect.
Events (1)
- Throes of Passion
seduce_outcome.2309
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.