Fixes
This commit is contained in:
parent
240f4d01ae
commit
066ca149c5
22 changed files with 1765 additions and 1758 deletions
|
|
@ -955,408 +955,409 @@ scripted_effect fp3_decision_0015_apply_seditious_intent_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Your name is read in the Friday Prayer
|
||||
fp3_decision.0015 = {
|
||||
type = character_event
|
||||
title = fp3_decision.0015.t
|
||||
desc = {
|
||||
# Who are we switching to?
|
||||
first_valid = {
|
||||
# Supporter: switching to detractor.
|
||||
triggered_desc = {
|
||||
trigger = { has_trait = fp3_struggle_detractor }
|
||||
desc = fp3_decision.0015.desc.switch.supporter_becoming_detractor
|
||||
}
|
||||
# Detractor: switching to supporter.
|
||||
triggered_desc = {
|
||||
trigger = { has_trait = fp3_struggle_supporter }
|
||||
desc = fp3_decision.0015.desc.switch.detractor_becoming_supporter
|
||||
}
|
||||
# Neutral: switching to either.
|
||||
desc = fp3_decision.0015.desc.switch.presently_neutral
|
||||
}
|
||||
# Do we have a liege to consider?
|
||||
first_valid = {
|
||||
# Yes, and we're making our alignment choice in the event.
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
NOR = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
has_trait = fp3_struggle_detractor
|
||||
}
|
||||
liege ?= {
|
||||
this != root
|
||||
OR = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
has_trait = fp3_struggle_detractor
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = fp3_decision.0015.desc.liege.presently_neutral
|
||||
}
|
||||
# Yes, and we'll be aligning with them.
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
NOT = { liege ?= { this = root } }
|
||||
OR = {
|
||||
AND = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
liege ?= { has_trait = fp3_struggle_supporter }
|
||||
}
|
||||
AND = {
|
||||
has_trait = fp3_struggle_detractor
|
||||
liege ?= { has_trait = fp3_struggle_detractor }
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = fp3_decision.0015.desc.liege.aligning
|
||||
}
|
||||
# Yes, and we'll be contradicting them.
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
NOT = { liege ?= { this = root } }
|
||||
OR = {
|
||||
AND = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
liege ?= { has_trait = fp3_struggle_detractor }
|
||||
}
|
||||
AND = {
|
||||
has_trait = fp3_struggle_detractor
|
||||
liege ?= { has_trait = fp3_struggle_supporter }
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = fp3_decision.0015.desc.liege.contradicting
|
||||
}
|
||||
# Yes, and they don't much care.
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
liege ?= {
|
||||
NOR = {
|
||||
this = root
|
||||
has_trait = fp3_struggle_supporter
|
||||
has_trait = fp3_struggle_detractor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Else no, and we need no loc.
|
||||
}
|
||||
}
|
||||
theme = faith
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = personality_bold
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:right_portrait
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
OR = {
|
||||
AND = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
scope:right_portrait = { has_trait = fp3_struggle_supporter }
|
||||
}
|
||||
AND = {
|
||||
has_trait = fp3_struggle_detractor
|
||||
scope:right_portrait = { has_trait = fp3_struggle_detractor }
|
||||
}
|
||||
}
|
||||
}
|
||||
animation = admiration
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
OR = {
|
||||
AND = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
scope:right_portrait = { has_trait = fp3_struggle_detractor}
|
||||
}
|
||||
AND = {
|
||||
has_trait = fp3_struggle_detractor
|
||||
scope:right_portrait = { has_trait = fp3_struggle_supporter }
|
||||
}
|
||||
}
|
||||
}
|
||||
animation = anger
|
||||
}
|
||||
}
|
||||
lower_center_portrait = { character = scope:lower_centre_portrait }
|
||||
|
||||
|
||||
immediate = {
|
||||
# Work out who goes in the righthand portrait slot.
|
||||
## Do we have a suitable liege?
|
||||
if = {
|
||||
limit = {
|
||||
top_liege != this
|
||||
liege = {
|
||||
OR = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
has_trait = fp3_struggle_detractor
|
||||
}
|
||||
NOT = { has_title = title:d_sunni }
|
||||
}
|
||||
}
|
||||
liege = { save_scope_as = right_portrait }
|
||||
# In which case, we try to put the caliph in the bottom slot.
|
||||
title:d_sunni.holder = {
|
||||
if = {
|
||||
limit = {
|
||||
this != root.liege
|
||||
}
|
||||
save_scope_as = lower_centre_portrait
|
||||
}
|
||||
}
|
||||
}
|
||||
## If we don't, it's the caliph.
|
||||
else = {
|
||||
title:d_sunni.holder = { save_scope_as = right_portrait }
|
||||
# If we still have a liege, we put them in the bottom slot as they're mentioned in the copy — even though it's for not much caring.
|
||||
if = {
|
||||
limit = { top_liege != this }
|
||||
liege = { save_scope_as = lower_centre_portrait }
|
||||
}
|
||||
}
|
||||
## If we're flipflopping, apply base logic.
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
has_trait = fp3_struggle_detractor
|
||||
}
|
||||
}
|
||||
read_name_in_friday_prayer_scripted_effect = yes
|
||||
# For ease of reference, we save a scope to avoid rechecking this constantly.
|
||||
save_scope_value_as = {
|
||||
name = change_type
|
||||
value = flag:flipflop
|
||||
}
|
||||
}
|
||||
## If we're neutral, we only flag that — we'll make our actual choice in the options.
|
||||
else = {
|
||||
save_scope_value_as = {
|
||||
name = change_type
|
||||
value = flag:neutral
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Neutral: become a supporter, irritate liege.
|
||||
option = {
|
||||
name = fp3_decision.0015.a
|
||||
flavor = fp3_decision.0015.a.tt
|
||||
trigger = {
|
||||
scope:change_type = flag:neutral
|
||||
liege ?= {
|
||||
NOR = {
|
||||
this = prev
|
||||
this = title:d_sunni.holder
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Switch traits.
|
||||
read_name_in_friday_prayer_guts_become_supporter_effect = yes
|
||||
# Annoy your liege.
|
||||
fp3_decision_0015_apply_seditious_intent_effect = yes
|
||||
# Apply the remainder effects.
|
||||
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
|
||||
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
|
||||
|
||||
fp3_decision_0015_apply_rebellious_stress_effect = yes
|
||||
ai_chance = {
|
||||
base = 1
|
||||
ai_value_modifier = {
|
||||
ai_boldness = 1
|
||||
ai_honor = -0.25
|
||||
}
|
||||
opinion_modifier = {
|
||||
opinion_target = liege
|
||||
multiplier = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Neutral: become a supporter, ignore liege.
|
||||
option = {
|
||||
name = fp3_decision.0015.b
|
||||
trigger = { scope:change_type = flag:neutral }
|
||||
|
||||
# Switch traits.
|
||||
read_name_in_friday_prayer_guts_become_supporter_effect = yes
|
||||
# Apply the remainder effects.
|
||||
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
|
||||
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
|
||||
|
||||
# No extra stress on ignore.
|
||||
ai_chance = {
|
||||
base = 1
|
||||
ai_value_modifier = {
|
||||
ai_honor = 0.5
|
||||
ai_boldness = -0.25
|
||||
}
|
||||
opinion_modifier = {
|
||||
opinion_target = liege
|
||||
multiplier = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Neutral: become a detractor, irritate liege.
|
||||
option = {
|
||||
name = fp3_decision.0015.c
|
||||
flavor = fp3_decision.0015.c.tt
|
||||
trigger = {
|
||||
scope:change_type = flag:neutral
|
||||
liege ?= {
|
||||
NOR = {
|
||||
this = prev
|
||||
this = title:d_sunni.holder
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Switch traits.
|
||||
read_name_in_friday_prayer_guts_become_detractor_effect = yes
|
||||
# Annoy your liege.
|
||||
fp3_decision_0015_apply_seditious_intent_effect = yes
|
||||
# Apply the remainder effects.
|
||||
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
|
||||
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
|
||||
|
||||
fp3_decision_0015_apply_rebellious_stress_effect = yes
|
||||
ai_chance = {
|
||||
base = 1
|
||||
ai_value_modifier = {
|
||||
ai_boldness = 1
|
||||
ai_honor = -0.25
|
||||
}
|
||||
opinion_modifier = {
|
||||
opinion_target = liege
|
||||
multiplier = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Neutral: become a detractor, ignore liege.
|
||||
option = {
|
||||
name = fp3_decision.0015.d
|
||||
trigger = { scope:change_type = flag:neutral }
|
||||
|
||||
# Switch traits.
|
||||
read_name_in_friday_prayer_guts_become_detractor_effect = yes
|
||||
# Apply the remainder effects.
|
||||
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
|
||||
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
|
||||
|
||||
# No extra stress on ignore.
|
||||
ai_chance = {
|
||||
base = 1
|
||||
ai_value_modifier = {
|
||||
ai_honor = 0.5
|
||||
ai_boldness = -0.25
|
||||
}
|
||||
opinion_modifier = {
|
||||
opinion_target = liege
|
||||
multiplier = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Flipflopped + irritate liege.
|
||||
option = {
|
||||
name = fp3_decision.0015.e
|
||||
flavor = fp3_decision.0015.e.tt
|
||||
trigger = {
|
||||
scope:change_type = flag:flipflop
|
||||
liege ?= {
|
||||
NOR = {
|
||||
this = prev
|
||||
this = title:d_sunni.holder
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Annoy your liege.
|
||||
fp3_decision_0015_apply_seditious_intent_effect = yes
|
||||
|
||||
fp3_decision_0015_apply_rebellious_stress_effect = yes
|
||||
ai_chance = {
|
||||
base = 1
|
||||
ai_value_modifier = {
|
||||
ai_boldness = 1
|
||||
ai_honor = -0.25
|
||||
}
|
||||
opinion_modifier = {
|
||||
opinion_target = liege
|
||||
multiplier = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Flipflopped + ignore liege.
|
||||
option = {
|
||||
name = fp3_decision.0015.f
|
||||
trigger = { scope:change_type = flag:flipflop }
|
||||
|
||||
# No further effects.
|
||||
|
||||
# No extra stress on ignore.
|
||||
ai_chance = {
|
||||
base = 1
|
||||
ai_value_modifier = {
|
||||
ai_honor = 0.5
|
||||
ai_boldness = -0.25
|
||||
}
|
||||
opinion_modifier = {
|
||||
opinion_target = liege
|
||||
multiplier = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
after = {
|
||||
# Plus this can be a catalyst.
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
is_important_or_vip_struggle_character = yes
|
||||
OR = {
|
||||
AND = {
|
||||
any_character_struggle = { phase_has_catalyst = catalyst_became_supporter_fp3 }
|
||||
has_trait = fp3_struggle_supporter
|
||||
}
|
||||
AND = {
|
||||
any_character_struggle = { phase_has_catalyst = catalyst_became_detractor_fp3 }
|
||||
has_trait = fp3_struggle_detractor
|
||||
}
|
||||
}
|
||||
}
|
||||
## Is the character now a supporter? Move towards stabilisation.
|
||||
if = {
|
||||
limit = { has_trait = fp3_struggle_supporter }
|
||||
every_character_struggle = {
|
||||
activate_struggle_catalyst = {
|
||||
catalyst = catalyst_became_supporter_fp3
|
||||
character = root
|
||||
}
|
||||
log_debug_variable_for_persian_struggle_effect = { VAR = stabil_catalyst_became_supporter_fp3 }
|
||||
}
|
||||
}
|
||||
## Is the character now a detractor? Move towards unrest.
|
||||
if = {
|
||||
limit = { has_trait = fp3_struggle_detractor }
|
||||
every_character_struggle = {
|
||||
activate_struggle_catalyst = {
|
||||
catalyst = catalyst_became_detractor_fp3
|
||||
character = root
|
||||
}
|
||||
log_debug_variable_for_persian_struggle_effect = { VAR = unrest_catalyst_became_detractor_fp3 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#
|
||||
## Your name is read in the Friday Prayer
|
||||
#fp3_decision.0015 = {
|
||||
# type = character_event
|
||||
# title = fp3_decision.0015.t
|
||||
# desc = {
|
||||
# # Who are we switching to?
|
||||
# first_valid = {
|
||||
# # Supporter: switching to detractor.
|
||||
# triggered_desc = {
|
||||
# trigger = { has_trait = fp3_struggle_detractor }
|
||||
# desc = fp3_decision.0015.desc.switch.supporter_becoming_detractor
|
||||
# }
|
||||
# # Detractor: switching to supporter.
|
||||
# triggered_desc = {
|
||||
# trigger = { has_trait = fp3_struggle_supporter }
|
||||
# desc = fp3_decision.0015.desc.switch.detractor_becoming_supporter
|
||||
# }
|
||||
# # Neutral: switching to either.
|
||||
# desc = fp3_decision.0015.desc.switch.presently_neutral
|
||||
# }
|
||||
# # Do we have a liege to consider?
|
||||
# first_valid = {
|
||||
# # Yes, and we're making our alignment choice in the event.
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# NOR = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# }
|
||||
# liege ?= {
|
||||
# this != root
|
||||
# OR = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# desc = fp3_decision.0015.desc.liege.presently_neutral
|
||||
# }
|
||||
# # Yes, and we'll be aligning with them.
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# NOT = { liege ?= { this = root } }
|
||||
# OR = {
|
||||
# AND = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# liege ?= { has_trait = fp3_struggle_supporter }
|
||||
# }
|
||||
# AND = {
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# liege ?= { has_trait = fp3_struggle_detractor }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# desc = fp3_decision.0015.desc.liege.aligning
|
||||
# }
|
||||
# # Yes, and we'll be contradicting them.
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# NOT = { liege ?= { this = root } }
|
||||
# OR = {
|
||||
# AND = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# liege ?= { has_trait = fp3_struggle_detractor }
|
||||
# }
|
||||
# AND = {
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# liege ?= { has_trait = fp3_struggle_supporter }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# desc = fp3_decision.0015.desc.liege.contradicting
|
||||
# }
|
||||
# # Yes, and they don't much care.
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# liege ?= {
|
||||
# NOR = {
|
||||
# this = root
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# # Else no, and we need no loc.
|
||||
# }
|
||||
# }
|
||||
# theme = faith
|
||||
# left_portrait = {
|
||||
# character = root
|
||||
# animation = personality_bold
|
||||
# }
|
||||
# right_portrait = {
|
||||
# character = scope:right_portrait
|
||||
# triggered_animation = {
|
||||
# trigger = {
|
||||
# OR = {
|
||||
# AND = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# scope:right_portrait = { has_trait = fp3_struggle_supporter }
|
||||
# }
|
||||
# AND = {
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# scope:right_portrait = { has_trait = fp3_struggle_detractor }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# animation = admiration
|
||||
# }
|
||||
# triggered_animation = {
|
||||
# trigger = {
|
||||
# OR = {
|
||||
# AND = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# scope:right_portrait = { has_trait = fp3_struggle_detractor}
|
||||
# }
|
||||
# AND = {
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# scope:right_portrait = { has_trait = fp3_struggle_supporter }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# animation = anger
|
||||
# }
|
||||
# }
|
||||
# lower_center_portrait = { character = scope:lower_centre_portrait }
|
||||
#
|
||||
#
|
||||
# immediate = {
|
||||
# # Work out who goes in the righthand portrait slot.
|
||||
# ## Do we have a suitable liege?
|
||||
# if = {
|
||||
# limit = {
|
||||
# top_liege != this
|
||||
# liege = {
|
||||
# OR = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# }
|
||||
# NOT = { has_title = title:d_sunni }
|
||||
# }
|
||||
# }
|
||||
# liege = { save_scope_as = right_portrait }
|
||||
# # In which case, we try to put the caliph in the bottom slot.
|
||||
# title:d_sunni.holder = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# this != root.liege
|
||||
# }
|
||||
# save_scope_as = lower_centre_portrait
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# ## If we don't, it's the caliph.
|
||||
# else = {
|
||||
# title:d_sunni.holder = { save_scope_as = right_portrait }
|
||||
# # If we still have a liege, we put them in the bottom slot as they're mentioned in the copy — even though it's for not much caring.
|
||||
# if = {
|
||||
# limit = { top_liege != this }
|
||||
# liege = { save_scope_as = lower_centre_portrait }
|
||||
# }
|
||||
# }
|
||||
# ## If we're flipflopping, apply base logic.
|
||||
# if = {
|
||||
# limit = {
|
||||
# OR = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# }
|
||||
# }
|
||||
# read_name_in_friday_prayer_scripted_effect = yes
|
||||
# # For ease of reference, we save a scope to avoid rechecking this constantly.
|
||||
# save_scope_value_as = {
|
||||
# name = change_type
|
||||
# value = flag:flipflop
|
||||
# }
|
||||
# }
|
||||
# ## If we're neutral, we only flag that — we'll make our actual choice in the options.
|
||||
# else = {
|
||||
# save_scope_value_as = {
|
||||
# name = change_type
|
||||
# value = flag:neutral
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Neutral: become a supporter, irritate liege.
|
||||
# option = {
|
||||
# name = fp3_decision.0015.a
|
||||
# flavor = fp3_decision.0015.a.tt
|
||||
# trigger = {
|
||||
# scope:change_type = flag:neutral
|
||||
# liege ?= {
|
||||
# NOR = {
|
||||
# this = prev
|
||||
# this = title:d_sunni.holder
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Switch traits.
|
||||
# read_name_in_friday_prayer_guts_become_supporter_effect = yes
|
||||
# # Annoy your liege.
|
||||
# fp3_decision_0015_apply_seditious_intent_effect = yes
|
||||
# # Apply the remainder effects.
|
||||
# read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
|
||||
# read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
|
||||
#
|
||||
# fp3_decision_0015_apply_rebellious_stress_effect = yes
|
||||
# ai_chance = {
|
||||
# base = 1
|
||||
# ai_value_modifier = {
|
||||
# ai_boldness = 1
|
||||
# ai_honor = -0.25
|
||||
# }
|
||||
# opinion_modifier = {
|
||||
# opinion_target = liege
|
||||
# multiplier = -1
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Neutral: become a supporter, ignore liege.
|
||||
# option = {
|
||||
# name = fp3_decision.0015.b
|
||||
# trigger = { scope:change_type = flag:neutral }
|
||||
#
|
||||
# # Switch traits.
|
||||
# read_name_in_friday_prayer_guts_become_supporter_effect = yes
|
||||
# # Apply the remainder effects.
|
||||
# read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
|
||||
# read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
|
||||
#
|
||||
# # No extra stress on ignore.
|
||||
# ai_chance = {
|
||||
# base = 1
|
||||
# ai_value_modifier = {
|
||||
# ai_honor = 0.5
|
||||
# ai_boldness = -0.25
|
||||
# }
|
||||
# opinion_modifier = {
|
||||
# opinion_target = liege
|
||||
# multiplier = 1
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Neutral: become a detractor, irritate liege.
|
||||
# option = {
|
||||
# name = fp3_decision.0015.c
|
||||
# flavor = fp3_decision.0015.c.tt
|
||||
# trigger = {
|
||||
# scope:change_type = flag:neutral
|
||||
# liege ?= {
|
||||
# NOR = {
|
||||
# this = prev
|
||||
# this = title:d_sunni.holder
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Switch traits.
|
||||
# read_name_in_friday_prayer_guts_become_detractor_effect = yes
|
||||
# # Annoy your liege.
|
||||
# fp3_decision_0015_apply_seditious_intent_effect = yes
|
||||
# # Apply the remainder effects.
|
||||
# read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
|
||||
# read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
|
||||
#
|
||||
# fp3_decision_0015_apply_rebellious_stress_effect = yes
|
||||
# ai_chance = {
|
||||
# base = 1
|
||||
# ai_value_modifier = {
|
||||
# ai_boldness = 1
|
||||
# ai_honor = -0.25
|
||||
# }
|
||||
# opinion_modifier = {
|
||||
# opinion_target = liege
|
||||
# multiplier = -1
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Neutral: become a detractor, ignore liege.
|
||||
# option = {
|
||||
# name = fp3_decision.0015.d
|
||||
# trigger = { scope:change_type = flag:neutral }
|
||||
#
|
||||
# # Switch traits.
|
||||
# read_name_in_friday_prayer_guts_become_detractor_effect = yes
|
||||
# # Apply the remainder effects.
|
||||
# read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
|
||||
# read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
|
||||
#
|
||||
# # No extra stress on ignore.
|
||||
# ai_chance = {
|
||||
# base = 1
|
||||
# ai_value_modifier = {
|
||||
# ai_honor = 0.5
|
||||
# ai_boldness = -0.25
|
||||
# }
|
||||
# opinion_modifier = {
|
||||
# opinion_target = liege
|
||||
# multiplier = 1
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Flipflopped + irritate liege.
|
||||
# option = {
|
||||
# name = fp3_decision.0015.e
|
||||
# flavor = fp3_decision.0015.e.tt
|
||||
# trigger = {
|
||||
# scope:change_type = flag:flipflop
|
||||
# liege ?= {
|
||||
# NOR = {
|
||||
# this = prev
|
||||
# this = title:d_sunni.holder
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Annoy your liege.
|
||||
# fp3_decision_0015_apply_seditious_intent_effect = yes
|
||||
#
|
||||
# fp3_decision_0015_apply_rebellious_stress_effect = yes
|
||||
# ai_chance = {
|
||||
# base = 1
|
||||
# ai_value_modifier = {
|
||||
# ai_boldness = 1
|
||||
# ai_honor = -0.25
|
||||
# }
|
||||
# opinion_modifier = {
|
||||
# opinion_target = liege
|
||||
# multiplier = -1
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# # Flipflopped + ignore liege.
|
||||
# option = {
|
||||
# name = fp3_decision.0015.f
|
||||
# trigger = { scope:change_type = flag:flipflop }
|
||||
#
|
||||
# # No further effects.
|
||||
#
|
||||
# # No extra stress on ignore.
|
||||
# ai_chance = {
|
||||
# base = 1
|
||||
# ai_value_modifier = {
|
||||
# ai_honor = 0.5
|
||||
# ai_boldness = -0.25
|
||||
# }
|
||||
# opinion_modifier = {
|
||||
# opinion_target = liege
|
||||
# multiplier = 1
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# after = {
|
||||
# # Plus this can be a catalyst.
|
||||
# hidden_effect = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# is_important_or_vip_struggle_character = yes
|
||||
# OR = {
|
||||
# AND = {
|
||||
# any_character_struggle = { phase_has_catalyst = catalyst_became_supporter_fp3 }
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# }
|
||||
# AND = {
|
||||
# any_character_struggle = { phase_has_catalyst = catalyst_became_detractor_fp3 }
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# ## Is the character now a supporter? Move towards stabilisation.
|
||||
# if = {
|
||||
# limit = { has_trait = fp3_struggle_supporter }
|
||||
# every_character_struggle = {
|
||||
# activate_struggle_catalyst = {
|
||||
# catalyst = catalyst_became_supporter_fp3
|
||||
# character = root
|
||||
# }
|
||||
# log_debug_variable_for_persian_struggle_effect = { VAR = stabil_catalyst_became_supporter_fp3 }
|
||||
# }
|
||||
# }
|
||||
# ## Is the character now a detractor? Move towards unrest.
|
||||
# if = {
|
||||
# limit = { has_trait = fp3_struggle_detractor }
|
||||
# every_character_struggle = {
|
||||
# activate_struggle_catalyst = {
|
||||
# catalyst = catalyst_became_detractor_fp3
|
||||
# character = root
|
||||
# }
|
||||
# log_debug_variable_for_persian_struggle_effect = { VAR = unrest_catalyst_became_detractor_fp3 }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
#
|
||||
|
|
@ -17,45 +17,45 @@
|
|||
# FP3 Maintenance Events
|
||||
# By Ewan Cowhig Croft
|
||||
###################################
|
||||
|
||||
scripted_trigger fp3_struggle_0001_valid_ai_struggle_char_trigger = {
|
||||
# Basic checks.
|
||||
can_execute_decision = fp3_name_read_in_friday_prayer_decision
|
||||
is_ai = yes
|
||||
# Suitability for switchin' checks.
|
||||
OR = {
|
||||
# If they're gonna become a supporter, it should make sense.
|
||||
AND = {
|
||||
opinion = {
|
||||
target = title:d_sunni.holder
|
||||
value >= low_positive_opinion
|
||||
}
|
||||
OR = {
|
||||
# We check for the opposite, since you're flipflopping.
|
||||
has_trait = fp3_struggle_detractor
|
||||
NOR = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
has_trait = fp3_struggle_detractor
|
||||
}
|
||||
}
|
||||
}
|
||||
# If they're gonna become a detractor, that should make sense too.
|
||||
AND = {
|
||||
opinion = {
|
||||
target = title:d_sunni.holder
|
||||
value <= low_negative_opinion
|
||||
}
|
||||
OR = {
|
||||
# We check for the opposite, since you're flipflopping.
|
||||
has_trait = fp3_struggle_supporter
|
||||
NOR = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
has_trait = fp3_struggle_detractor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#
|
||||
#scripted_trigger fp3_struggle_0001_valid_ai_struggle_char_trigger = {
|
||||
# # Basic checks.
|
||||
# can_execute_decision = fp3_name_read_in_friday_prayer_decision
|
||||
# is_ai = yes
|
||||
# # Suitability for switchin' checks.
|
||||
# OR = {
|
||||
# # If they're gonna become a supporter, it should make sense.
|
||||
# AND = {
|
||||
# opinion = {
|
||||
# target = title:d_sunni.holder
|
||||
# value >= low_positive_opinion
|
||||
# }
|
||||
# OR = {
|
||||
# # We check for the opposite, since you're flipflopping.
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# NOR = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# # If they're gonna become a detractor, that should make sense too.
|
||||
# AND = {
|
||||
# opinion = {
|
||||
# target = title:d_sunni.holder
|
||||
# value <= low_negative_opinion
|
||||
# }
|
||||
# OR = {
|
||||
# # We check for the opposite, since you're flipflopping.
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# NOR = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
#
|
||||
#fp3_struggle.0001 = {
|
||||
# hidden = yes
|
||||
|
|
|
|||
|
|
@ -35,20 +35,20 @@ fp3_h_yearly.0001 = {
|
|||
cp:councillor_court_chaplain = { has_trait = drunkard }
|
||||
factor = 0.4
|
||||
}
|
||||
modifier = {
|
||||
any_character_struggle = {
|
||||
is_struggle_type = persian_struggle
|
||||
}
|
||||
add = 0.5
|
||||
}
|
||||
modifier = {
|
||||
has_trait = fp3_struggle_supporter
|
||||
add = -0.5
|
||||
}
|
||||
modifier = {
|
||||
has_trait = fp3_struggle_detractor
|
||||
add = 0.5
|
||||
}
|
||||
# modifier = {
|
||||
# any_character_struggle = {
|
||||
# is_struggle_type = persian_struggle
|
||||
# }
|
||||
# add = 0.5
|
||||
# }
|
||||
# modifier = {
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# add = -0.5
|
||||
# }
|
||||
# modifier = {
|
||||
# has_trait = fp3_struggle_detractor
|
||||
# add = 0.5
|
||||
# }
|
||||
}
|
||||
|
||||
trigger = {
|
||||
|
|
|
|||
|
|
@ -1269,78 +1269,78 @@ tgp_china_ministry.1000 = {
|
|||
opinion = 50
|
||||
}
|
||||
add_character_modifier = tgp_personal_honors_modifier
|
||||
if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_chancellor
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_chancellor_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_censor
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_censor_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_grand_marshal
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_grand_marshal_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_personnel
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_personnel_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_revenue
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_revenue_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_rites
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_rites_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_war
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_war_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_justice
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_justice_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_works
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_works_modifier
|
||||
}
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_chancellor
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_chancellor_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_censor
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_censor_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_grand_marshal
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_grand_marshal_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_personnel
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_personnel_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_revenue
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_revenue_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_rites
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_rites_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_war
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_war_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_justice
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_justice_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_works
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_works_modifier
|
||||
# }
|
||||
# }
|
||||
dynasty = { add_dynasty_prestige = 2000 }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue