event fixes pt IV
This commit is contained in:
parent
e660a1513e
commit
4ee8abdc61
22 changed files with 2057 additions and 8852 deletions
|
|
@ -21,7 +21,7 @@
|
|||
# hidden = yes
|
||||
|
||||
# trigger = {
|
||||
# scope:old_faith = { has_doctrine_parameter = sanctioned_false_conversion }
|
||||
# scope:old_faith = { main_rite = { rite_has_parameter = sanctioned_false_conversion } }
|
||||
# NOR = {
|
||||
# any_secret = { type = secret_crypto_religionist }
|
||||
# has_variable = forbid_crypto_reconversion
|
||||
|
|
@ -43,7 +43,7 @@ false_conversion.0002 = {
|
|||
scope = landed_title
|
||||
|
||||
trigger = {
|
||||
scope:old_faith = { has_doctrine_parameter = sanctioned_false_conversion }
|
||||
scope:old_faith = { main_rite = { rite_has_parameter = sanctioned_false_conversion } }
|
||||
NOR = {
|
||||
has_variable = false_convert
|
||||
has_variable = forbid_crypto_reconversion
|
||||
|
|
@ -147,8 +147,8 @@ false_conversion.0020 = {
|
|||
# Deduct piety, but only if faith doesn't sanction false conversions
|
||||
if = {
|
||||
limit = {
|
||||
faith = {
|
||||
NOT = { has_doctrine_parameter = sanctioned_false_conversion }
|
||||
rite = {
|
||||
NOT = { rite_has_parameter = sanctioned_false_conversion }
|
||||
}
|
||||
}
|
||||
add_piety = major_piety_loss
|
||||
|
|
@ -214,10 +214,11 @@ false_conversion.0020 = {
|
|||
# }
|
||||
# }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = medium_stress_impact_gain #Damn it, I was passionate about my openly-practiced faith!
|
||||
cynical = medium_stress_impact_gain #Damn it, they're all basically the same! Probably!
|
||||
}
|
||||
change_spiritual_fulfillment = major_spiritual_fulfillment_value #Openly living your true faith again.
|
||||
ai_chance = {
|
||||
base = 60
|
||||
ai_value_modifier = {
|
||||
|
|
@ -243,16 +244,17 @@ false_conversion.0020 = {
|
|||
# Deduct piety, but only if faith doesn't sanction false conversions
|
||||
if = {
|
||||
limit = {
|
||||
faith = {
|
||||
NOT = { has_doctrine_parameter = sanctioned_false_conversion }
|
||||
rite = {
|
||||
NOT = { rite_has_parameter = sanctioned_false_conversion }
|
||||
}
|
||||
}
|
||||
add_piety = major_piety_loss
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = medium_stress_impact_gain #Damn it, I was passionate about my openly-practiced faith!
|
||||
cynical = medium_stress_impact_gain #Damn it, they're all basically the same! Probably!
|
||||
}
|
||||
change_spiritual_fulfillment = major_spiritual_fulfillment_value #Openly living your true faith again.
|
||||
ai_chance = {
|
||||
base = 60
|
||||
ai_value_modifier = {
|
||||
|
|
@ -314,8 +316,8 @@ false_conversion.0030 = {
|
|||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
faith = {
|
||||
has_doctrine = doctrine_pluralism_pluralistic
|
||||
rite = {
|
||||
rite_has_doctrine = doctrine_pluralism_pluralistic
|
||||
}
|
||||
}
|
||||
desc = false_conversion.0030.desc_no_secret_faith
|
||||
|
|
@ -353,7 +355,7 @@ false_conversion.0030 = {
|
|||
}
|
||||
if = { #If pluralistic, look at any hidden faiths.
|
||||
limit = {
|
||||
faith = { has_doctrine = doctrine_pluralism_pluralistic }
|
||||
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
|
||||
}
|
||||
every_vassal = {
|
||||
limit = { #Providing they are equal-to-or-less in hostility.
|
||||
|
|
@ -393,7 +395,7 @@ false_conversion.0030 = {
|
|||
save_temporary_scope_as = current_character
|
||||
root.faith = {
|
||||
faith_hostility_level_comparison = {
|
||||
secret_faith <= scope:current_character.faith
|
||||
scope:current_character.secret_faith <= scope:current_character.faith
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
|
|
@ -575,7 +577,7 @@ false_conversion.0030 = {
|
|||
}
|
||||
if = { #Under pluralist lieges, tell suitable players that their liege is offering amnesty.
|
||||
limit = {
|
||||
faith = { has_doctrine = doctrine_pluralism_pluralistic }
|
||||
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
|
||||
}
|
||||
every_vassal = {
|
||||
limit = {
|
||||
|
|
@ -598,13 +600,13 @@ false_conversion.0030 = {
|
|||
# Piety loss, but not if has false conversion sanction tenet
|
||||
if = {
|
||||
limit = {
|
||||
faith = {
|
||||
NOT = { has_doctrine = tenet_false_conversion_sanction }
|
||||
rite = {
|
||||
NOT = { rite_has_tenet = tenet_false_conversion_sanction }
|
||||
}
|
||||
}
|
||||
add_piety = major_piety_loss
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
honest = minor_stress_impact_loss
|
||||
trusting = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -695,7 +697,7 @@ false_conversion.0031 = {
|
|||
modifier = religious_freedom_opinion
|
||||
target = root
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = medium_stress_impact_gain
|
||||
cynical = medium_stress_impact_gain
|
||||
deceitful = medium_stress_impact_gain
|
||||
|
|
@ -709,7 +711,7 @@ false_conversion.0031 = {
|
|||
}
|
||||
option = { #I know how this goes: I'll keep my private faith private.
|
||||
name = false_conversion.0031.b
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
honest = medium_stress_impact_gain
|
||||
trusting = medium_stress_impact_gain
|
||||
deceitful = medium_stress_impact_loss
|
||||
|
|
@ -821,7 +823,7 @@ false_conversion.1000 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
faith = { has_doctrine_parameter = sanctioned_false_conversion }
|
||||
rite = { rite_has_parameter = sanctioned_false_conversion }
|
||||
any_in_list = {
|
||||
list = spouses_and_family_to_convert
|
||||
count > 1
|
||||
|
|
@ -831,7 +833,7 @@ false_conversion.1000 = {
|
|||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
faith = { has_doctrine_parameter = sanctioned_false_conversion }
|
||||
rite = { rite_has_parameter = sanctioned_false_conversion }
|
||||
}
|
||||
desc = false_conversion.1000.b_sanctioned_single
|
||||
}
|
||||
|
|
@ -850,7 +852,7 @@ false_conversion.1000 = {
|
|||
}
|
||||
}
|
||||
trigger = {
|
||||
#faith = { has_doctrine_parameter = sanctioned_false_conversion }
|
||||
#rite = { rite_has_parameter = sanctioned_false_conversion }
|
||||
# Don't override old secret faiths
|
||||
NOR = {
|
||||
any_secret = { type = secret_crypto_religionist }
|
||||
|
|
@ -866,7 +868,7 @@ false_conversion.1000 = {
|
|||
religion_adopt_secret_faith_modifier = {
|
||||
TARGET = root
|
||||
FORCED = yes
|
||||
FAITH = root.faith
|
||||
RITE = root.rite
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -947,11 +949,11 @@ false_conversion.1010 = {
|
|||
value = yes
|
||||
}
|
||||
}
|
||||
0 = {
|
||||
10 = {
|
||||
religion_adopt_secret_faith_modifier = {
|
||||
TARGET = root
|
||||
TARGET = scope:spouse
|
||||
FORCED = yes
|
||||
FAITH = root.faith
|
||||
RITE = root.rite
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = spouse_wants_secret_faith
|
||||
|
|
@ -993,7 +995,7 @@ false_conversion.1010 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
faith = { has_doctrine_parameter = sanctioned_false_conversion }
|
||||
rite = { rite_has_parameter = sanctioned_false_conversion }
|
||||
}
|
||||
desc = false_conversion.1000.b_sanctioned_plural
|
||||
}
|
||||
|
|
@ -1025,14 +1027,14 @@ false_conversion.1010 = {
|
|||
religion_adopt_secret_faith_modifier = {
|
||||
TARGET = root
|
||||
FORCED = yes
|
||||
FAITH = root.faith
|
||||
RITE = root.rite
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Secret-Faith Yearlies
|
||||
# =====================
|
||||
# #####################
|
||||
## A Moment of Weakness
|
||||
## Someone close to you is in pain, attempt to convert them to your crypto-religion as a coping method?
|
||||
scripted_trigger false_conversion_2000_is_vulnerable_trigger = {
|
||||
|
|
@ -1056,7 +1058,7 @@ scripted_trigger false_conversion_2000_is_vulnerable_trigger = {
|
|||
}
|
||||
}
|
||||
}
|
||||
has_trait = depressed_1
|
||||
has_trait = depressed
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1220,14 +1222,16 @@ false_conversion.2000 = {
|
|||
scope:vulnerable_relation = {
|
||||
AND = {
|
||||
has_character_modifier = stress_frozen_grief
|
||||
OR = {
|
||||
has_memory_type = friend_died
|
||||
has_memory_type = best_friend_died
|
||||
has_memory_type = lover_died
|
||||
has_memory_type = soulmate_died
|
||||
has_memory_type = relative_died
|
||||
has_memory_type = spouse_died
|
||||
has_memory_type = dog_died
|
||||
any_memory = {
|
||||
OR = {
|
||||
has_memory_type = friend_died
|
||||
has_memory_type = best_friend_died
|
||||
has_memory_type = lover_died
|
||||
has_memory_type = soulmate_died
|
||||
has_memory_type = relative_died
|
||||
has_memory_type = spouse_died
|
||||
has_memory_type = dog_died
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1256,7 +1260,7 @@ false_conversion.2000 = {
|
|||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { scope:vulnerable_relation = { has_trait = depressed_1 } }
|
||||
limit = { scope:vulnerable_relation = { has_trait = depressed } }
|
||||
add_character_flag = {
|
||||
flag = false_conversion_2000_depression
|
||||
days = 1
|
||||
|
|
@ -1318,7 +1322,7 @@ false_conversion.2000 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
honest = minor_stress_impact_gain
|
||||
}
|
||||
|
||||
|
|
@ -1341,7 +1345,7 @@ false_conversion.2000 = {
|
|||
target = scope:vulnerable_relation
|
||||
modifier = comforted_opinion
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
|
|
@ -1388,7 +1392,7 @@ false_conversion.2001 = {
|
|||
option = { # Convert
|
||||
name = false_conversion.2001.a
|
||||
false_conversion_2000_convert = yes
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
honest = major_stress_impact_gain
|
||||
craven = medium_stress_impact_gain
|
||||
paranoid = medium_stress_impact_gain
|
||||
|
|
@ -1402,9 +1406,6 @@ false_conversion.2001 = {
|
|||
}
|
||||
}
|
||||
|
||||
# Bonus event: Avoid a holy war by converting to the aggressor's religion
|
||||
# TO-DO
|
||||
|
||||
# Your secret religion has been exposed, do you openly convert to it or abandon it?
|
||||
false_conversion.8000 = {
|
||||
type = character_event
|
||||
|
|
@ -1459,7 +1460,7 @@ false_conversion.8000 = {
|
|||
add_piety = medium_piety_loss
|
||||
add_piety_level = -1
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = major_stress_impact_gain
|
||||
content = minor_stress_impact_loss
|
||||
arbitrary = minor_stress_impact_loss
|
||||
|
|
@ -1474,7 +1475,7 @@ false_conversion.8000 = {
|
|||
set_character_faith_with_conversion = secret_faith
|
||||
remove_character_secret_faith = yes
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
cynical = minor_stress_impact_gain
|
||||
zealous = medium_stress_impact_loss
|
||||
honest = minor_stress_impact_loss
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue