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

Scripted effect

stress_prison_remove_ordered_personality_trait_effect

stress_prison_remove_ordered_personality_trait_effect = yes

game/common/scripted_effects/00_stress_effects.txt, line 722 (142 lines). No parameters.

stress_prison_remove_ordered_personality_trait_effect is a scripted effect in Crusader Kings III, written at line 722 of its file. It takes no parameters: stress_prison_remove_ordered_personality_trait_effect = yes. The game's script calls it in 1 place, among them stress_replace_personality_trait_with_opposite_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_stress_effects.txt.

The comment above it in the file

Removes one personality trait from a character, ordered based on what makes more sense for a character to lose while in prison.

What it does

• 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)
stress_prison_remove_ordered_personality_trait_effect = {
	if = {
		limit = { has_trait = forgiving }
		remove_trait = forgiving
	}
	else_if = {
		limit = { has_trait = trusting }
		remove_trait = trusting
	}
	else_if = {
		limit = { has_trait = lustful }
		remove_trait = lustful
	}
	else_if = {
		limit = { has_trait = arrogant }
		remove_trait = arrogant
	}
	else_if = {
		limit = { has_trait = gregarious }
		remove_trait = gregarious
	}
	else_if = {
		limit = { has_trait = ambitious }
		remove_trait = ambitious
	}
	else_if = {
		limit = { has_trait = impatient }
		remove_trait = impatient
	}
	else_if = {
		limit = { has_trait = diligent }
		remove_trait = diligent
	}
	else_if = {
		limit = { has_trait = temperate }
		remove_trait = temperate
	}
	else_if = {
		limit = { has_trait = generous }
		remove_trait = generous
	}
	else_if = {
		limit = { has_trait = compassionate }
		remove_trait = compassionate
	}
	else_if = {
		limit = { has_trait = zealous }
		remove_trait = zealous
	}
	else_if = {
		limit = { has_trait = brave }
		remove_trait = brave
	}
	else_if = {
		limit = { has_trait = calm }
		remove_trait = calm
	}
	else_if = {
		limit = { has_trait = just }
		remove_trait = just
	}
	else_if = {
		limit = { has_trait = fickle }
		remove_trait = fickle
	}
	else_if = {
		limit = { has_trait = stubborn }
		remove_trait = stubborn
	}
	else_if = {
		limit = { has_trait = content }
		remove_trait = content
	}
	else_if = {
		limit = { has_trait = honest }
		remove_trait = honest
	}
	else_if = {
		limit = { has_trait = gluttonous }
		remove_trait = gluttonous
	}
	else_if = {
		limit = { has_trait = chaste }
		remove_trait = chaste
	}
	else_if = {
		limit = { has_trait = greedy }
		remove_trait = greedy
	}
	else_if = {
		limit = { has_trait = deceitful }
		remove_trait = deceitful
	}
	else_if = {
		limit = { has_trait = cynical }
		remove_trait = cynical
	}
	else_if = {
		limit = { has_trait = shy }
		remove_trait = shy
	}
	else_if = {
		limit = { has_trait = lazy }
		remove_trait = lazy
	}
	else_if = {
		limit = { has_trait = patient }
		remove_trait = patient
	}
	else_if = {
		limit = { has_trait = arbitrary }
		remove_trait = arbitrary
	}
	else_if = {
		limit = { has_trait = humble }
		remove_trait = humble
	}
	else_if = {
		limit = { has_trait = wrathful }
		remove_trait = wrathful

As written in game/common/scripted_effects/00_stress_effects.txt.

The first 120 of its 142 lines; the rest is in game/common/scripted_effects/00_stress_effects.txt from line 722.

Where it is used

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

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