Bugs
This commit is contained in:
parent
26b04f6db4
commit
c6eb868ef4
116 changed files with 69758 additions and 26333 deletions
|
|
@ -25,26 +25,26 @@ sway_outcome.0001 = {
|
|||
is_alive = yes
|
||||
scope:owner = { is_alive = yes }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
opinion = sway_opinion_increase_per_success
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
# }
|
||||
# }
|
||||
# add_opinion = {
|
||||
# target = scope:owner
|
||||
# modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
# opinion = sway_opinion_increase_per_success
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_opinion
|
||||
opinion = sway_opinion_increase_per_success
|
||||
}
|
||||
}
|
||||
# }
|
||||
scope:owner = {
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -141,26 +141,26 @@ sway_outcome.1001 = {
|
|||
add_prestige = minor_prestige_gain
|
||||
|
||||
scope:target = {
|
||||
if = {
|
||||
limit = {
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
opinion = 50
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
# }
|
||||
# }
|
||||
# add_opinion = {
|
||||
# target = scope:owner
|
||||
# modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
# opinion = 50
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_opinion
|
||||
opinion = 50
|
||||
}
|
||||
}
|
||||
# }
|
||||
scope:owner = {
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -407,26 +407,26 @@ sway_outcome.1003 = {
|
|||
years = 5
|
||||
}
|
||||
scope:target = {
|
||||
if = {
|
||||
limit = {
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
opinion = 30
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
# }
|
||||
# }
|
||||
# add_opinion = {
|
||||
# target = scope:owner
|
||||
# modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
# opinion = 30
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_opinion
|
||||
opinion = 30
|
||||
}
|
||||
}
|
||||
# }
|
||||
scope:owner = {
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -473,26 +473,26 @@ sway_outcome.1003 = {
|
|||
title = sway_outcome.1003.a.success
|
||||
|
||||
scope:target = {
|
||||
if = {
|
||||
limit = {
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
opinion = 20
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
# }
|
||||
# }
|
||||
# add_opinion = {
|
||||
# target = scope:owner
|
||||
# modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
# opinion = 20
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_opinion
|
||||
opinion = 20
|
||||
}
|
||||
}
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -507,26 +507,26 @@ sway_outcome.1003 = {
|
|||
title = sway_outcome.1003.a.failure
|
||||
|
||||
scope:target = {
|
||||
if = {
|
||||
limit = {
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
opinion = -10
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
# }
|
||||
# }
|
||||
# add_opinion = {
|
||||
# target = scope:owner
|
||||
# modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
# opinion = -10
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_opinion
|
||||
opinion = -10
|
||||
}
|
||||
}
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -553,25 +553,25 @@ sway_outcome.1003 = {
|
|||
title = sway_outcome.1003.a.success
|
||||
|
||||
scope:target = {
|
||||
if = {
|
||||
limit = {
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
opinion = 15
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
# }
|
||||
# }
|
||||
# add_opinion = {
|
||||
# target = scope:owner
|
||||
# modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
# opinion = 15
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_opinion
|
||||
opinion = 15
|
||||
}
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -587,26 +587,26 @@ sway_outcome.1003 = {
|
|||
title = sway_outcome.1003.a.failure
|
||||
|
||||
scope:target = {
|
||||
if = {
|
||||
limit = {
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
opinion = -10
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# has_struggle_phase_parameter = fp3_sway_vassals_removes_disloyalty
|
||||
# }
|
||||
# }
|
||||
# add_opinion = {
|
||||
# target = scope:owner
|
||||
# modifier = scheme_sway_and_compelled_to_submit_opinion
|
||||
# opinion = -10
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_opinion
|
||||
opinion = -10
|
||||
}
|
||||
}
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -624,188 +624,188 @@ sway_outcome.1003 = {
|
|||
}
|
||||
}
|
||||
|
||||
#A disloyal vassal can be compelled to reconsider during the Anarchy at Samarra Struggle
|
||||
#by Ola Jentzsch
|
||||
|
||||
sway_outcome.1004 = {
|
||||
type = character_event
|
||||
title = sway_outcome.1004.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:target = {
|
||||
ai_vengefulness >= medium_positive_ai_value
|
||||
}
|
||||
}
|
||||
desc = sway_outcome_grudgingly.1004.desc
|
||||
}
|
||||
random_valid = {
|
||||
desc = sway_outcome_magnanimity.1004.desc
|
||||
desc = sway_outcome_blessed.1004.desc
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:target = {
|
||||
NOR = {
|
||||
has_trait = stubborn
|
||||
has_trait = arrogant
|
||||
has_trait = august
|
||||
has_trait = callous
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = sway_outcome_flattery.1004.desc
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
AND = {
|
||||
scope:target = {
|
||||
AND = {
|
||||
OR = {
|
||||
has_religion = religion:buddhism_religion
|
||||
has_religion = religion:jainism_religion
|
||||
has_religion = religion:hinduism_religion
|
||||
}
|
||||
ai_zeal >= low_positive_ai_value
|
||||
}
|
||||
}
|
||||
scope:owner = {
|
||||
OR = {
|
||||
has_religion = religion:buddhism_religion
|
||||
has_religion = religion:jainism_religion
|
||||
has_religion = religion:hinduism_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = sway_outcome_dharmic.1004.desc
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:target = {
|
||||
has_religion = religion:islam_religion
|
||||
ai_zeal >= low_positive_ai_value
|
||||
exists = faith.religious_head
|
||||
faith.religious_head = { this = root }
|
||||
}
|
||||
}
|
||||
desc = sway_outcome_caliph.1004.desc
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
theme = sway_scheme
|
||||
left_portrait = {
|
||||
character = scope:owner
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
has_trait = callous
|
||||
has_trait = vengeful
|
||||
has_trait = sadistic
|
||||
}
|
||||
animation = personality_callous
|
||||
}
|
||||
animation = personality_bold
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:target
|
||||
animation = throne_room_bow_1
|
||||
}
|
||||
|
||||
trigger = {
|
||||
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
has_struggle_phase_parameter = fp3_sway_scheme_more_powerful
|
||||
}
|
||||
|
||||
scope:target = {
|
||||
AND = {
|
||||
is_vassal_of = scope:owner
|
||||
has_trait = disloyal
|
||||
}
|
||||
NOT = {
|
||||
has_relation_rival = scope:owner
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
weight_multiplier = { #more likely to trigger if the target likes you, or has a flexible personality
|
||||
base = 1
|
||||
modifier = {
|
||||
add = 0.5
|
||||
scope:target = { has_trait = fickle } #They're flexible
|
||||
}
|
||||
modifier = {
|
||||
add = 0.5
|
||||
scope:target = { has_trait = trusting } #They trust you
|
||||
}
|
||||
modifier = {
|
||||
add = -0.7
|
||||
scope:target = { has_trait = stubborn } #They are not prone to change their ways
|
||||
}
|
||||
modifier = {
|
||||
add = -0.3
|
||||
scope:target = { has_trait = vengeful } #They are not soon to forgive slights, real or imagined
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
|
||||
scope:target = {
|
||||
add_opinion = {
|
||||
target = scope:owner
|
||||
modifier = scheme_sway_opinion
|
||||
opinion = 20
|
||||
}
|
||||
remove_trait = disloyal
|
||||
}
|
||||
scope:owner = {
|
||||
if = {
|
||||
limit = {
|
||||
faith = { has_doctrine_parameter = sway_scheme_piety }
|
||||
OR = {
|
||||
liege ?= scope:target
|
||||
target_is_vassal_or_below = scope:target
|
||||
}
|
||||
}
|
||||
add_piety = minor_piety_gain
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = sway_outcome.1004.a
|
||||
|
||||
trigger = {
|
||||
OR = {
|
||||
has_trait = vengeful
|
||||
has_trait = arrogant
|
||||
has_trait = paranoid
|
||||
}
|
||||
}
|
||||
|
||||
scope:scheme = {
|
||||
end_scheme = yes
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = sway_outcome.1004.b
|
||||
|
||||
trigger = {
|
||||
NOR = {
|
||||
has_trait = vengeful
|
||||
has_trait = arrogant
|
||||
has_trait = paranoid
|
||||
}
|
||||
}
|
||||
|
||||
scope:scheme = {
|
||||
end_scheme = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
##A disloyal vassal can be compelled to reconsider during the Anarchy at Samarra Struggle
|
||||
# #by Ola Jentzsch
|
||||
#
|
||||
#sway_outcome.1004 = {
|
||||
# type = character_event
|
||||
# title = sway_outcome.1004.t
|
||||
# desc = {
|
||||
# first_valid = {
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# scope:target = {
|
||||
# ai_vengefulness >= medium_positive_ai_value
|
||||
# }
|
||||
# }
|
||||
# desc = sway_outcome_grudgingly.1004.desc
|
||||
# }
|
||||
# random_valid = {
|
||||
# desc = sway_outcome_magnanimity.1004.desc
|
||||
# desc = sway_outcome_blessed.1004.desc
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# scope:target = {
|
||||
# NOR = {
|
||||
# has_trait = stubborn
|
||||
# has_trait = arrogant
|
||||
# has_trait = august
|
||||
# has_trait = callous
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# desc = sway_outcome_flattery.1004.desc
|
||||
# }
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# AND = {
|
||||
# scope:target = {
|
||||
# AND = {
|
||||
# OR = {
|
||||
# has_religion = religion:buddhism_religion
|
||||
# has_religion = religion:jainism_religion
|
||||
# has_religion = religion:hinduism_religion
|
||||
# }
|
||||
# ai_zeal >= low_positive_ai_value
|
||||
# }
|
||||
# }
|
||||
# scope:owner = {
|
||||
# OR = {
|
||||
# has_religion = religion:buddhism_religion
|
||||
# has_religion = religion:jainism_religion
|
||||
# has_religion = religion:hinduism_religion
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# desc = sway_outcome_dharmic.1004.desc
|
||||
# }
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# scope:target = {
|
||||
# has_religion = religion:islam_religion
|
||||
# ai_zeal >= low_positive_ai_value
|
||||
# exists = faith.religious_head
|
||||
# faith.religious_head = { this = root }
|
||||
# }
|
||||
# }
|
||||
# desc = sway_outcome_caliph.1004.desc
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# theme = sway_scheme
|
||||
# left_portrait = {
|
||||
# character = scope:owner
|
||||
# triggered_animation = {
|
||||
# trigger = {
|
||||
# has_trait = callous
|
||||
# has_trait = vengeful
|
||||
# has_trait = sadistic
|
||||
# }
|
||||
# animation = personality_callous
|
||||
# }
|
||||
# animation = personality_bold
|
||||
# }
|
||||
# right_portrait = {
|
||||
# character = scope:target
|
||||
# animation = throne_room_bow_1
|
||||
# }
|
||||
#
|
||||
# trigger = {
|
||||
#
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# has_struggle_phase_parameter = fp3_sway_scheme_more_powerful
|
||||
# }
|
||||
#
|
||||
# scope:target = {
|
||||
# AND = {
|
||||
# is_vassal_of = scope:owner
|
||||
# has_trait = disloyal
|
||||
# }
|
||||
# NOT = {
|
||||
# has_relation_rival = scope:owner
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# weight_multiplier = { #more likely to trigger if the target likes you, or has a flexible personality
|
||||
# base = 1
|
||||
# modifier = {
|
||||
# add = 0.5
|
||||
# scope:target = { has_trait = fickle } #They're flexible
|
||||
# }
|
||||
# modifier = {
|
||||
# add = 0.5
|
||||
# scope:target = { has_trait = trusting } #They trust you
|
||||
# }
|
||||
# modifier = {
|
||||
# add = -0.7
|
||||
# scope:target = { has_trait = stubborn } #They are not prone to change their ways
|
||||
# }
|
||||
# modifier = {
|
||||
# add = -0.3
|
||||
# scope:target = { has_trait = vengeful } #They are not soon to forgive slights, real or imagined
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# immediate = {
|
||||
#
|
||||
# scope:target = {
|
||||
# add_opinion = {
|
||||
# target = scope:owner
|
||||
# modifier = scheme_sway_opinion
|
||||
# opinion = 20
|
||||
# }
|
||||
# remove_trait = disloyal
|
||||
# }
|
||||
# scope:owner = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# faith = { has_doctrine_parameter = sway_scheme_piety }
|
||||
# OR = {
|
||||
# liege ?= scope:target
|
||||
# target_is_vassal_or_below = scope:target
|
||||
# }
|
||||
# }
|
||||
# add_piety = minor_piety_gain
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# option = {
|
||||
# name = sway_outcome.1004.a
|
||||
#
|
||||
# trigger = {
|
||||
# OR = {
|
||||
# has_trait = vengeful
|
||||
# has_trait = arrogant
|
||||
# has_trait = paranoid
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# scope:scheme = {
|
||||
# end_scheme = yes
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# option = {
|
||||
# name = sway_outcome.1004.b
|
||||
#
|
||||
# trigger = {
|
||||
# NOR = {
|
||||
# has_trait = vengeful
|
||||
# has_trait = arrogant
|
||||
# has_trait = paranoid
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# scope:scheme = {
|
||||
# end_scheme = yes
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
|
||||
|
||||
#################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue