Alignment

This commit is contained in:
Heidesommer 2026-04-25 03:54:05 -04:00
parent f7a954eb51
commit 15a5108e23
250 changed files with 31104 additions and 25806 deletions

View file

@ -208,7 +208,7 @@ witch.1002 = { #by Mathilda Bjarnehed
modifier = {
exists = liege
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = liege.faith GENDER_CHARACTER = root }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = liege.faith GENDER_CHARACTER = root }
add = 100
}
#Player children of witch covens should always be asked
@ -279,7 +279,7 @@ witch.2001 = { #by Mathilda Bjarnehed
desc = witch.2001.start.desc
first_valid = {
triggered_desc = {
trigger = { trait_is_shunned_or_criminal_in_my_or_lieges_faith_trigger = { TRAIT = witch GENDER_CHARACTER = root } }
trigger = { trait_is_shunned_or_criminal_in_my_or_lieges_faith_trigger = { TRAIT = trait:witch GENDER_CHARACTER = root } }
desc = witch.2001.secrecy.desc
}
desc = witch.2001.no_secrecy.desc
@ -383,20 +383,23 @@ witch.2002 = { #by Mathilda Bjarnehed
limit = { exists = scope:scheme_discovered }
scope:owner = {
save_scope_as = left_portrait
show_as_tooltip = {
random_secret = {
type = secret_witch
limit = {
NOT = { is_known_by = root }
}
reveal_to = root
random_secret = {
type = secret_witch
limit = {
NOT = { is_known_by = root }
}
reveal_to = root
save_scope_as = secret_witch_scope
}
}
}
else = {
save_scope_as = left_portrait
}
random_targeting_scheme = {
save_scope_as = scheme
scheme_owner = { save_scope_as = left_portrait save_scope_as = owner }
}
}
#Yes I want to be a witch
@ -460,8 +463,21 @@ witch.2002 = { #by Mathilda Bjarnehed
modifier = hate_opinion
opinion = -30
}
scope:owner = {
if = {
limit = {
any_secret = {
type = secret_witch
}
}
show_as_tooltip = {
random_secret = {
type = secret_witch
expose_secret = scope:target
}
}
}
trigger_event = witch.2005
}
@ -471,7 +487,7 @@ witch.2002 = { #by Mathilda Bjarnehed
trusting = minor_stress_impact_gain
}
}
}
}
#SUCCESS EVENTS
scripted_trigger witch_2003_can_learn_owner_secret = {
@ -826,11 +842,6 @@ witch.2005 = { #by Mathilda Bjarnehed
animation = anger
}
trigger = {
scope:target = {
exists = liege
is_ruler = no
liege = { this != scope:owner }
}
exists = scope:scheme_discovered
}
@ -856,13 +867,43 @@ witch.2005 = { #by Mathilda Bjarnehed
immediate = {
random_secret = {
type = secret_witch
if = {
limit = { NOT = { is_known_by = scope:target } }
reveal_to = scope:target
save_scope_as = witch_secret_scope
}
}
option = {
name = witch.2005.a
flavor = witch.2005.a.tt
if = {
limit = {
scope:witch_secret_scope = {
NOT = { is_known_by = scope:target }
}
}
if = {
limit = { NOT = { is_known_by = scope:target.liege } }
reveal_to = scope:target.liege
scope:target = {
send_interface_toast = {
title = witch.2005.toast
left_icon = root
scope:witch_secret_scope = {
reveal_to = scope:target
}
}
}
}
if = {
limit = {
scope:witch_secret_scope = {
NOT = { is_known_by = scope:target.liege }
}
}
scope:target.liege = {
send_interface_toast = {
title = witch.2005.toast
left_icon = root
scope:witch_secret_scope = {
reveal_to = scope:target.liege
}
}
}
}
scope:target = {
@ -876,16 +917,16 @@ witch.2005 = { #by Mathilda Bjarnehed
modifier = impious_opinion
opinion = -20
}
}
option = {
name = witch.2005.a
flavor = witch.2005.a.tt
scope:scheme = {
end_scheme = yes
}
}
after = {
scope:witch_secret_scope = {
expose_secret = scope:target
}
}
}