
Decision · Religious Decisions
Shed a Sin
Replace one Sinful Trait with a Virtuous Trait
250Piety
The weight of my failings need not define the life I have yet to live. I will cast one sin from my soul and walk a harder path toward rebirth.
Requirements
The game shows no text of its own for these conditions; the script is below.
Shown to a character when (is_shown) (19 lines of game script)
is_ai = no
has_personal_tenet_flag = tenet_pure_land_repentance_decision
any_trait_in_category = {
category = personality
save_temporary_scope_as = pure_land_candidate_virtue
root = {
NOT = {
has_trait = prev
}
}
root.rite = {
trait_is_virtue_rite = scope:pure_land_candidate_virtue
}
any_opposite_trait = {
root = {
has_trait = prev
}
}
}As written in game/common/decisions/10_religious_decisions.txt.
Can be taken when (is_valid) (2 lines of game script)
is_available_healthy_adult = yes piety_level >= high_piety_level
As written in game/common/decisions/10_religious_decisions.txt.
Effects
- One Sinful Trait will be replaced with a Virtuous Trait
Effect (41 lines of game script)
custom_tooltip = pure_land_shed_sin_decision_effect
hidden_effect = {
random_trait_in_category = {
category = personality
limit = {
save_temporary_scope_as = pure_land_candidate_virtue
root = {
NOT = {
has_trait = prev
}
}
root.rite = {
trait_is_virtue_rite = scope:pure_land_candidate_virtue
}
any_opposite_trait = {
root = {
has_trait = prev
}
}
}
save_scope_as = pure_land_virtue
}
if = {
limit = {
exists = scope:pure_land_virtue
}
scope:pure_land_virtue = {
random_opposite_trait = {
limit = {
root = {
has_trait = prev
}
}
root = {
remove_trait = prev
}
}
}
add_trait_force_tooltip = scope:pure_land_virtue
}
}As written in game/common/decisions/10_religious_decisions.txt.
Source: game/common/decisions/10_religious_decisions.txt and the English localisation, Crusader Kings III 1.20.0.3.