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

Scripted trigger

has_a_personality_trait_in_common_with_root_trigger

has_a_personality_trait_in_common_with_root_trigger = yes

game/common/scripted_triggers/00_general_trait_triggers.txt, line 445 (148 lines). No parameters.

has_a_personality_trait_in_common_with_root_trigger is a scripted trigger in Crusader Kings III, written at line 445 of its file. It takes no parameters: has_a_personality_trait_in_common_with_root_trigger = yes (or no). The game's script calls it in 2 places, among them The Comfort of a Friend (event friendship.3007) and The Things We Share (event spouse.0001). Patch 1.20.1.2, from game/common/scripted_triggers/00_general_trait_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 (120 lines of game script)
has_a_personality_trait_in_common_with_root_trigger = {
	OR = {
		AND = {
			has_trait = chaste
			root = { has_trait = chaste }
		}
		AND = {
			has_trait = lustful
			root = { has_trait = lustful }
		}
		AND = {
			has_trait = temperate
			root = { has_trait = temperate }
		}
		AND = {
			has_trait = gluttonous
			root = { has_trait = gluttonous }
		}
		AND = {
			has_trait = generous
			root = { has_trait = generous }
		}
		AND = {
			has_trait = greedy
			root = { has_trait = greedy }
		}
		AND = {
			has_trait = diligent
			root = { has_trait = diligent }
		}
		AND = {
			has_trait = lazy
			root = { has_trait = lazy }
		}
		AND = {
			has_trait = wrathful
			root = { has_trait = wrathful }
		}
		AND = {
			has_trait = calm
			root = { has_trait = calm }
		}
		AND = {
			has_trait = impatient
			root = { has_trait = impatient }
		}
		AND = {
			has_trait = patient
			root = { has_trait = patient }
		}
		AND = {
			has_trait = stubborn
			root = { has_trait = stubborn }
		}
		AND = {
			has_trait = fickle
			root = { has_trait = fickle }
		}
		AND = {
			has_trait = humble
			root = { has_trait = humble }
		}
		AND = {
			has_trait = arrogant
			root = { has_trait = arrogant }
		}
		AND = {
			has_trait = deceitful
			root = { has_trait = deceitful }
		}
		AND = {
			has_trait = honest
			root = { has_trait = honest }
		}
		AND = {
			has_trait = craven
			root = { has_trait = craven }
		}
		AND = {
			has_trait = brave
			root = { has_trait = brave }
		}
		AND = {
			has_trait = shy
			root = { has_trait = shy }
		}
		AND = {
			has_trait = gregarious
			root = { has_trait = gregarious }
		}
		AND = {
			has_trait = ambitious
			root = { has_trait = ambitious }
		}
		AND = {
			has_trait = content
			root = { has_trait = content }
		}
		AND = {
			has_trait = arbitrary
			root = { has_trait = arbitrary }
		}
		AND = {
			has_trait = just
			root = { has_trait = just }
		}
		AND = {
			has_trait = cynical
			root = { has_trait = cynical }
		}
		AND = {
			has_trait = zealous
			root = { has_trait = zealous }
		}
		AND = {
			has_trait = paranoid
			root = { has_trait = paranoid }
		}
		AND = {
			has_trait = trusting

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

The first 120 of its 148 lines; the rest is in game/common/scripted_triggers/00_general_trait_triggers.txt from line 445.

Where it is used

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

Events (2)

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