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

Scripted trigger

sexual_activity_with_partner_is_criminal_in_rite_trigger

sexual_activity_with_partner_is_criminal_in_rite_trigger = { PARTNER = … RITE = … }

game/common/scripted_triggers/00_crime_triggers.txt, line 95 (20 lines). Parameters: $PARTNER$, $RITE$.

sexual_activity_with_partner_is_criminal_in_rite_trigger is a scripted trigger in Crusader Kings III, written at line 95 of its file. A call passes 2 parameters: PARTNER and RITE. The game's script calls it in 6 places, among them … Betrayal (event adultery.4001), A Secret Exposed! (event secrets.0108) and It Takes Two (event bp1_yearly.9015). Patch 1.20.1.2, from game/common/scripted_triggers/00_crime_triggers.txt.

What it checks

• 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 (20 lines of game script)
sexual_activity_with_partner_is_criminal_in_rite_trigger = {
	save_temporary_scope_as = sexual_legality_check
	OR = {
		#Incest (currently never illegal so commented out)
		#AND = {
		#	relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = $PARTNER$ RITE = $RITE$ }
		#	trait_is_criminal_in_rite_trigger = { TRAIT = incestuous RITE = $RITE$ GENDER_CHARACTER = scope:sexual_legality_check } }
		#}
		#Sodomy
		AND = {
			relation_with_character_is_sodomy_in_rite_trigger = { CHARACTER = $PARTNER$ RITE = $RITE$ }
			trait_is_criminal_in_rite_trigger = { TRAIT = trait:sodomite RITE = $RITE$ GENDER_CHARACTER = scope:sexual_legality_check }
		}
		#Adultery/fornication
		AND = {
			NOT = { is_consort_of = $PARTNER$ }
			trait_is_criminal_in_rite_trigger = { TRAIT = trait:fornicator RITE = $RITE$ GENDER_CHARACTER = scope:sexual_legality_check }
		}
	}
}

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

Where it is used

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

Events (4)

Scripted triggers inside an event file (1)

  • adultery_4001_can_be_imprisoned_trigger

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