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

Scripted trigger

secret_lover_is_shunned_trigger

secret_lover_is_shunned_trigger = { OWNER = … TARGET = … }

game/common/scripted_triggers/00_secret_type_triggers.txt, line 199 (55 lines). Parameters: $OWNER$, $TARGET$.

secret_lover_is_shunned_trigger is a scripted trigger in Crusader Kings III, written at line 199 of its file. A call passes 2 parameters: OWNER and TARGET. The game's script calls it in 1 place, among them Lover (secret types). Patch 1.20.1.2, from game/common/scripted_triggers/00_secret_type_triggers.txt.

What it checks

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

The script as written (55 lines of game script)
secret_lover_is_shunned_trigger = {
	$TARGET$ = { save_temporary_scope_as = partner }
	$OWNER$ = {
		save_temporary_scope_as = lover_owner
		OR = {
			#Adultery shunned
			trait_is_shunned_in_rite_trigger = {
				RITE = rite
				TRAIT = trait:adulterer
				GENDER_CHARACTER = scope:lover_owner
			}
			any_liege_or_above = {
				trait_is_shunned_in_rite_trigger = {
					RITE = rite
					TRAIT = trait:adulterer
					GENDER_CHARACTER = scope:lover_owner
				}
			}
			#Sodomy shunned
			AND = {
				is_male = yes
				scope:partner = { is_male = yes }
				OR = {
					trait_is_shunned_in_rite_trigger = {
						RITE = rite
						TRAIT = trait:sodomite
						GENDER_CHARACTER = scope:lover_owner
					}
					any_liege_or_above = {
						trait_is_shunned_in_rite_trigger = {
							RITE = rite
							TRAIT = trait:sodomite
							GENDER_CHARACTER = scope:lover_owner
						}
					}
				}
			}
			#Incest is shunned
			relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = scope:partner RITE = scope:lover_owner.rite }
			any_liege_or_above = {
				save_temporary_scope_as = liege_or_above
				scope:lover_owner = {
					relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = scope:partner RITE = scope:liege_or_above.rite }
				}
			}
		}
		#And it doesn't fulfill the criminal conditions
		NOT = {
			secret_lover_is_criminal_trigger = {
				OWNER = scope:lover_owner
				TARGET = scope:partner
			}
		}
	}
}

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

Where it is used

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

Secret types (1)

  • Lover

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