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

Scripted trigger

can_seduce_scheme_trigger

can_seduce_scheme_trigger = { OWNER = … TARGET = … }

game/common/scripted_triggers/00_scheme_triggers.txt, line 476 (72 lines). Parameters: $OWNER$, $TARGET$.

can_seduce_scheme_trigger is a scripted trigger in Crusader Kings III, written at line 476 of its file. A call passes 2 parameters: OWNER and TARGET. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_scheme_triggers.txt.

The comment above it in the file

Need to separate travel triggers from rest

What it checks

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

The script as written (72 lines of game script)
can_seduce_scheme_trigger = {
	$OWNER$ = {
		is_adult = yes
		is_imprisoned = no
		OR = {
			is_ai = no	#Players may override their character's sexuality for the purposes of cynical seductions.
			is_attracted_to_gender_of = $TARGET$
		}
		is_below_ai_lover_soft_cap_trigger = yes
		NOR = {
			has_trait = celibate
			has_character_flag = is_party_baron
			has_relation_lover = $TARGET$
			guaranteed_under_20_incest_rejection_trigger = {
				TARGET = $TARGET$
				SEDUCER = $OWNER$
			}
			AND = {
				any_relation = { type = wedding_very_bad_fertility }
				is_spouse_of = $TARGET$
			}
		}
	}
	$TARGET$ = {
		is_adult = yes
		is_imprisoned = no
		is_attracted_to_gender_of = $OWNER$
		NOR = {
			has_character_flag = block_seduce_attempts
			has_trait = intellect_bad_3
			has_trait = incapable
			has_trait = celibate
			has_opinion_modifier = {
				modifier = seduce_permanent_blocker_opinion
				target = $OWNER$
			}
			has_opinion_modifier = {
				modifier = seduce_regular_cooldown_opinion
				target = $OWNER$
			}
		}
		OR = {
			exists = location
			in_diplomatic_range = $OWNER$
		}
		trigger_if = {
			limit = {
				$OWNER$ = { is_ai = yes }
			}
			is_below_ai_lover_soft_cap_trigger = yes
			trigger_if = { # Block AI from seducing lowborn nobodies in the players court
				limit = {
					liege ?= { is_ai = no }
					NOR = {
						is_courtier_of = $OWNER$
						is_foreign_court_or_pool_guest_of = $OWNER$
					}
				}
				OR = {
					is_lowborn = no
					is_playable_character = yes
				}
			}
			trigger_if = { #So players don't get spammed by AI seduction
				limit = { is_ai = no }
				NOT = {
					any_targeting_scheme = { scheme_type = seduce }
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/00_scheme_triggers.txt.

Where it is used

No file of common/, events/ or history/ calls it.

Source: game/common/scripted_triggers/00_scheme_triggers.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?