event fixing pt III

This commit is contained in:
trashmasteruni 2026-10-11 00:22:25 +02:00
parent 0555f85c12
commit e660a1513e
112 changed files with 4671 additions and 148791 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,196 +0,0 @@
namespace = fp3_clan
### EVENT LIST ####################################################################
## 3000 - 3000 Ravaged Tulips by Hugo Cortell
###################################################################################
###################################
# Ravaged Tulips
# By Hugo Cortell
###################################
scripted_trigger is_bad_tulip_stealing_child = {
age > 4 # Baby no steal flower
is_adult = no
is_available = yes
any_close_or_extended_family_member = {
is_available_ai_adult = yes
house = root.house
this != root
}
}
fp3_clan.3000 = {
type = character_event
title = fp3_clan.3000.t
desc = fp3_clan.3000.desc
theme = mental_break
override_background = { reference = garden }
left_portrait = {
character = root
animation = shock
}
right_portrait = {
character = scope:fp3_clan_3000_bad_child
animation = war_over_win
}
cooldown = { years = 5 }
weight_multiplier = { # Greatly lower chances if you have no garden
base = 0.4
modifier = {
add = 0.6
capital_province = { has_building_or_higher = royal_garden_01 }
}
}
trigger = {
has_fp3_dlc_trigger = yes
is_landed_or_landless_administrative = yes
culture = { has_cultural_parameter = can_appoint_court_gardener }
house = { any_house_member = { is_bad_tulip_stealing_child = yes } }
}
immediate = {
capital_province = { save_scope_as = fp3_clan_3000_loc_loc } # the loc-ation for loc-alization usage
house = {
random_house_member = {
limit = { is_bad_tulip_stealing_child = yes }
save_scope_as = fp3_clan_3000_bad_child
random_close_or_extended_family_member = {
limit = { this != root }
save_scope_as = fp3_clan_3000_random_family_member
}
}
}
}
option = { # You can keep them, and I'll pay to plant new ones
name = fp3_clan.3000.a
stress_impact = {
wrathful = minor_stress_impact_gain
vengeful = minor_stress_impact_gain
arrogant = minor_stress_impact_gain
}
scope:fp3_clan_3000_random_family_member = {
add_opinion = {
target = root
modifier = kindness_opinion
opinion = 20
}
}
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:fp3_clan_3000_random_family_member
VALUE = minor_unity_gain
DESC = clan_unity_generic_increased_fallback.desc
REVERSE_NON_HOUSE_TARGET = no
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_compassion = 1
ai_sociability = 1
}
}
}
option = { # GIVE THEM BACK YOU BUGGER
name = fp3_clan.3000.b
stress_impact = {
compassionate = minor_stress_impact_gain
patient = minor_stress_impact_gain
content = minor_stress_impact_gain
}
scope:fp3_clan_3000_random_family_member = {
add_opinion = {
target = root
modifier = scolded_my_child_opinion # Not exact, but close
}
}
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:fp3_clan_3000_random_family_member
VALUE = minor_unity_loss
DESC = clan_unity_generic_decreased_fallback.desc
REVERSE_NON_HOUSE_TARGET = no
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_boldness = 1
ai_greed = 1
}
}
}
option = { # Alright, time to work the fields, kid
name = fp3_clan.3000.c
flavor = fp3_clan.3000.c.flavor
trigger = { has_trait = lifestyle_gardener }
stress_impact = { lazy = minor_stress_impact_loss }
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:fp3_clan_3000_random_family_member
VALUE = minor_unity_gain
DESC = clan_unity_generic_increased_fallback.desc
REVERSE_NON_HOUSE_TARGET = no
}
scope:fp3_clan_3000_random_family_member = {
add_opinion = {
target = root
modifier = kindness_opinion
opinion = 10
}
}
if = { # In the very rare case that the child already knows about plants and stuff
limit = { scope:fp3_clan_3000_bad_child = { has_trait = lifestyle_gardener } }
add_opinion = {
target = root
modifier = fp3_taught_me_gardening_opinion
}
}
else = {
random = {
chance = {
value = 25
add = {
value = learning
multiply = 2
}
}
send_interface_toast = {
type = event_toast_effect_good
title = vassal.2001.t
left_icon = ROOT
right_icon = scope:fp3_clan_3000_bad_child
scope:fp3_clan_3000_bad_child = { add_trait = lifestyle_gardener }
}
scope:fp3_clan_3000_bad_child = {
add_opinion = {
target = root
modifier = fp3_taught_me_gardening_opinion
}
}
}
}
ai_chance = { base = 1000 }
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,727 +0,0 @@
namespace = fp3_clan
########EVENT INDEX############
#fp3_clan.8015 - Scandalous Scion
#fp3_clan.8016 - Hammam Havoc
#fp3_clan_8017 - A Questionable Position
####################
###################################
# Scandalous Scion
# By Ola Jentzsch
###################################
scripted_trigger fp3_scandalous_scion_trigger = {
NOT = { liege ?= root }
is_available_ai_adult = yes
is_landed = no
age < 45
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
ai_sociability > low_negative_ai_value
ai_compassion < low_positive_ai_value
NOR = {
is_child_of = root
this = root
}
any_parent = {
is_available_ai_adult = yes
NOT = { is_close_family_of = root }
}
}
fp3_clan.8015 = {
type = character_event
title = fp3_clan.8015.t
desc = fp3_clan.8015.desc
theme = martial
left_portrait = {
character = scope:scandalous_scion
animation = dismissal
triggered_animation = {
trigger = {
OR = {
has_trait = craven
has_trait = shy
ai_boldness <= low_positive_ai_value
}
}
animation = shame
}
outfit_tags = {
military_outfit
}
}
right_portrait = {
character = scope:concerned_parent
animation = stress
}
lower_left_portrait = root
override_background = { reference = throne_room }
trigger = {
has_fp3_dlc_trigger = yes
is_landed = yes
government_has_flag = government_is_clan
is_available_adult = yes
is_house_head = yes
#culture = { has_cultural_tradition = tradition_futuwaa }
house = {
any_house_member = {
fp3_scandalous_scion_trigger = yes
}
}
}
cooldown = { years = 10 }
immediate = {
house = {
random_house_member = {
limit = {
fp3_scandalous_scion_trigger = yes
}
save_scope_as = scandalous_scion
random_parent = {
limit = {
is_available_ai_adult = yes
NOT = { is_close_family_of = root }
}
save_scope_as = concerned_parent
}
}
}
}
option = {
name = fp3_clan.8015.a
add_courtier = scope:scandalous_scion
scope:scandalous_scion = {
add_character_modifier = {
modifier = fp3_better_company_modifier
years = 10
}
}
scope:concerned_parent = {
add_opinion = {
target = root
opinion = 25
modifier = fp3_grateful_for_discretion_opinion
}
}
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:scandalous_scion
VALUE = minor_unity_gain
DESC = clan_unity_scandalous_scion_desc
REVERSE_NON_HOUSE_TARGET = no
}
stress_impact = {
paranoid = minor_stress_impact_gain
shy = minor_stress_impact_gain
}
ai_chance = {
base = 50
ai_value_modifier = {
ai_compassion = 0.5
ai_greed = -0.5
ai_sociability = 1
}
}
}
option = {
name = fp3_clan.8015.b
scope:concerned_parent = {
add_opinion = {
target = root
opinion = -20
modifier = disappointed_opinion
}
}
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:scandalous_scion
VALUE = minor_unity_loss
DESC = clan_unity_scandalous_scion_ignored_problem_desc
REVERSE_NON_HOUSE_TARGET = no
}
stress_impact = {
generous = minor_stress_impact_gain
trusting = minor_stress_impact_gain
}
ai_chance = {
base = 50
ai_value_modifier = {
ai_compassion = -0.5
ai_greed = -0.5
ai_sociability = -1
}
}
}
}
###################################
# Hammam Havoc
# By Ola Jentzsch
###################################
scripted_trigger fp3_scandalous_traits_trigger = {
OR = {
has_trait = deviant
has_trait = drunkard
has_trait = rakish
has_trait = hashishiyah
}
}
scripted_trigger fp3_suitable_for_islamic_bathhouse_events_trigger = {
OR = { #checking for adherence to Islamic / Zoroastrian gender norms
AND = {
root = { is_male = yes }
is_male = yes
}
AND = {
root = { is_female = yes }
is_female = yes
}
}
}
fp3_clan.8016 = {
type = character_event
title = fp3_clan.8016.t
desc = {
desc = fp3_clan.8016.opening_desc
first_valid = {
triggered_desc = {
trigger = {
scope:scandalous_clan_member = {
has_trait = deviant
}
}
desc = fp3_clan.8016.deviant_desc
}
triggered_desc = {
trigger = {
scope:scandalous_clan_member = {
has_trait = drunkard
}
}
desc = fp3_clan.8016.drunkard_desc
}
triggered_desc = {
trigger = {
scope:scandalous_clan_member = {
has_trait = rakish
}
}
desc = fp3_clan.8016.rakish_desc
}
triggered_desc = {
trigger = {
scope:scandalous_clan_member = {
has_trait = hashishiyah
}
}
desc = fp3_clan.8016.hashishiyah_desc
}
}
desc = fp3_clan.8016.ending_desc
}
theme = faith
left_portrait = {
character = root
animation = disbelief
triggered_animation = {
trigger = {
OR = {
has_trait = craven
has_trait = shy
has_trait = paranoid
stress > medium_stress
}
}
animation = worry
}
}
right_portrait = {
character = scope:chaplain
animation = eyeroll
}
lower_left_portrait = scope:scandalous_clan_member
override_background = { reference = bath_house }
override_effect_2d = {
reference = smoke
}
trigger = {
has_fp3_dlc_trigger = yes
is_available_adult = yes
is_dynast = yes
government_has_flag = government_is_clan
faith = {
OR = {
has_doctrine_parameter = deviancy_illegal
has_doctrine_parameter = deviancy_shunned
}
}
house = {
any_house_unity_member = {
this != root
is_available_ai_adult = yes
fp3_scandalous_traits_trigger = yes
fp3_suitable_for_islamic_bathhouse_events_trigger = yes
}
}
exists = cp:councillor_court_chaplain
cp:councillor_court_chaplain = {
is_available_healthy_ai_adult = yes
fp3_scandalous_traits_trigger = no
fp3_suitable_for_islamic_bathhouse_events_trigger = yes
}
}
cooldown = { years = 10 }
immediate = {
house = {
random_house_unity_member = {
limit = {
this != root
is_available_ai_adult = yes
fp3_scandalous_traits_trigger = yes
fp3_suitable_for_islamic_bathhouse_events_trigger = yes
}
save_scope_as = scandalous_clan_member
}
}
cp:councillor_court_chaplain = { save_scope_as = chaplain }
hidden_effect = {
scope:scandalous_clan_member = {
set_location = { location = root.location }
}
}
add_character_flag = is_naked
scope:chaplain = {
add_character_flag = is_naked
}
}
option = {
name = fp3_clan.8016.a
add_piety = medium_piety_gain
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:scandalous_clan_member
VALUE = minor_unity_loss
DESC = clan_unity_denouncement.desc
REVERSE_NON_HOUSE_TARGET = no
}
scope:scandalous_clan_member = {
denounce_effect = { ACTOR = root RECIPIENT = scope:scandalous_clan_member }
}
scope:chaplain = {
add_opinion = {
target = root
opinion = 20
modifier = pleased_opinion
}
}
stress_impact = {
forgiving = minor_stress_impact_gain
compassionate = minor_stress_impact_gain
paranoid = medium_stress_impact_gain
}
ai_chance = {
base = 50
ai_value_modifier = {
ai_compassion = -0.9
ai_vengefulness = 0.5
ai_zeal = 1
}
}
}
option = {
name = fp3_clan.8016.b
scope:chaplain = {
add_opinion = {
target = root
opinion = -20
modifier = disappointed_opinion
}
}
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:scandalous_clan_member
VALUE = minor_unity_gain
DESC = clan_unity_denouncement_refusal.desc
REVERSE_NON_HOUSE_TARGET = no
}
stress_impact = {
zealous = medium_stress_impact_gain
trusting = medium_stress_impact_gain
}
ai_chance = {
base = 50
ai_value_modifier = {
ai_zeal = -0.5
ai_rationality = 0.8
ai_sociability = 0.5
}
}
}
after = {
remove_character_flag = is_naked
scope:chaplain = {
remove_character_flag = is_naked
}
}
}
###################################
# A Questionable Position
# By Ola Jentzsch
###################################
#Tax collector acting as muhtasib
fp3_clan.8017 = {
type = character_event
title = fp3_clan.8017.t
desc = {
desc = fp3_clan.8017.opening_desc
first_valid = {
triggered_desc = {
trigger = {
scope:tax_collector = {
OR = {
has_trait = diligent
has_trait = zealous
has_trait = chaste
has_trait = just
has_trait = ambitious
ai_zeal >= medium_positive_ai_value
}
}
}
desc = fp3_clan.8017.overly_eager.desc
}
triggered_desc = {
trigger = {
scope:tax_collector = {
OR = {
has_trait = drunkard
has_trait = greedy
has_trait = deceitful
has_trait = arbitrary
AND = {
ai_greed >= medium_positive_ai_value
ai_honor < low_positive_ai_value
}
}
}
}
desc = fp3_clan.8017.corrupt.desc
}
triggered_desc = {
trigger = {
scope:tax_collector = {
NOT = { ai_compassion >= low_positive_ai_value }
OR = {
has_trait = sadistic
has_trait = wrathful
has_trait = callous
ai_vengefulness >= medium_positive_ai_value
}
}
}
desc = fp3_clan.8017.cruel.desc
}
desc = fp3_clan.8017.generic.desc
}
desc = fp3_clan.8017.ending.desc
}
theme = realm
left_portrait = {
character = root
animation = disapproval
triggered_animation = {
trigger = {
OR = {
has_trait = generous
has_trait = compassionate
stress > low_stress
}
}
animation = worry
}
}
right_portrait = {
character = scope:unclan_taxpayer
animation = stress
}
lower_left_portrait = scope:tax_collector
trigger = {
has_fp3_dlc_trigger = yes
is_available_adult = yes
government_has_flag = government_is_clan
has_religion = religion:islam_religion
any_tax_collector = {
is_in_same_clan_as_trigger = { CHARACTER = root }
has_religion = religion:islam_religion
any_tax_collector_vassal = {
NOT = {
is_in_same_clan_as_trigger = { CHARACTER = root }
}
is_landed = yes
}
}
}
immediate = {
random_tax_collector = {
limit = {
is_in_same_clan_as_trigger = { CHARACTER = root }
has_religion = religion:islam_religion
any_tax_collector_vassal = {
NOT = {
is_in_same_clan_as_trigger = { CHARACTER = root }
}
}
}
random_tax_collector_vassal = {
limit = {
NOT = {
is_in_same_clan_as_trigger = { CHARACTER = root }
}
is_landed = yes
}
save_scope_as = unclan_taxpayer
}
save_scope_as = tax_collector
}
}
option = {
name = fp3_clan.8017.a
flavor = fp3_clan_protect_kinsman_flavor
if = {
limit = {
root != house.house_head
}
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:tax_collector
VALUE = minor_unity_gain
DESC = clan_unity_protected_muhtasib_position.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
else = {
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:tax_collector
VALUE = medium_unity_gain
DESC = clan_unity_protected_muhtasib_position.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
scope:unclan_taxpayer = {
add_opinion = {
target = root
opinion = -20
modifier = frustrated_opinion
}
}
stress_impact = {
compassionate = medium_stress_impact_gain
just = medium_stress_impact_gain
zealous = medium_stress_impact_loss
}
ai_chance = {
base = 50
modifier = {
factor = 2
has_trait = zealous
}
modifier = {
factor = 0
OR = {
has_trait = just
has_trait = compassionate
}
}
}
}
option = {
name = fp3_clan.8017.b
flavor = fp3_clan_accuse_accuser_flavor
trigger = {
scope:unclan_taxpayer = { num_sinful_traits = { value > 0 target = root.faith } }
}
add_dread = minor_dread_gain
scope:unclan_taxpayer = {
add_opinion = {
target = root
opinion = -30
modifier = shamed_me_opinion
}
}
stress_impact = {
wrathful = medium_stress_impact_loss
compassionate = medium_stress_impact_gain
}
ai_chance = {
base = 50
modifier = {
factor = 2
has_trait = zealous
}
modifier = {
factor = 0
OR = {
has_trait = trusting
has_trait = compassionate
}
}
}
}
option = {
name = fp3_clan.8017.c
if = {
limit = {
root != house.house_head
}
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:tax_collector
VALUE = minor_unity_loss
DESC = clan_unity_fired_from_muhtasib_position.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
else = {
add_clan_unity_interaction_effect = {
CHARACTER = root
TARGET = scope:tax_collector
VALUE = medium_unity_loss
DESC = clan_unity_fired_from_muhtasib_position.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
if = {
limit = {
NOT = {
has_hook_of_type = {
target = scope:unclan_taxpayer
type = favor_hook
}
}
}
add_hook = {
target = scope:unclan_taxpayer
type = favor_hook
}
}
stress_impact = {
trusting = medium_stress_impact_loss
arrogant = minor_stress_impact_gain
callous = minor_stress_impact_gain
}
ai_chance = {
base = 50
ai_value_modifier = {
ai_vengefulness = -0.9
ai_rationality = 0.9
ai_sociability = 0.5
}
}
}
option = {
name = fp3_clan.8017.d
#Low effect opt out that is only needed if the taxpayer is not intimidated because of their sins
trigger = {
scope:unclan_taxpayer = { num_sinful_traits = { value = 0 target = root.faith } }
}
scope:unclan_taxpayer = {
add_opinion = {
target = root
opinion = -10
modifier = disappointed_opinion
}
}
stress_impact = {
trusting = major_stress_impact_gain
compassionate = medium_stress_impact_gain
just = medium_stress_impact_gain
}
ai_chance = {
base = 50
ai_value_modifier = {
ai_vengefulness = 0.4
ai_greed = 0.6
ai_compassion = -0.5
}
}
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -29,7 +29,7 @@ scripted_trigger fp3_hateful_ruler_trigger = {
NOR = {
target_is_liege_or_above = root
faith = { has_doctrine = special_doctrine_is_gnostic_faith }
faith = { has_doctrine = doctrine_pluralism_pluralistic }
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
has_trait = compassionate
has_trait = forgiving
}
@ -40,7 +40,7 @@ scripted_trigger fp3_hateful_ruler_trigger = {
has_trait = zealous
has_trait = sadistic
has_trait = paranoid
faith = { has_doctrine = doctrine_pluralism_fundamentalist }
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
}
}
@ -145,13 +145,13 @@ fp3_yearly.8019 = {
factor = 70
any_county_province = {
barony = {
is_holy_site_of = faith:manichean #This will typically be Samarkand
is_holy_site_of = faith:manichaean_faith #This will typically be Samarkand
}
}
}
modifier = {
factor = 50
faith = faith:manichean
faith = faith:manichaean_faith
}
modifier = {
factor = 50
@ -176,13 +176,13 @@ fp3_yearly.8019 = {
gender_female_chance = {
if = {
limit = {
faith:manichean = { has_doctrine = doctrine_gender_male_dominated }
faith:manichaean_faith = { main_rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
}
add = 0
}
else_if = {
limit = {
faith:manichean = { has_doctrine = doctrine_gender_female_dominated }
faith:manichaean_faith = { main_rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
}
add = 100
}
@ -238,7 +238,7 @@ fp3_yearly.8019 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain
callous = medium_stress_impact_gain
sadistic = medium_stress_impact_gain
@ -249,14 +249,12 @@ fp3_yearly.8019 = {
name = fp3_yearly.8019.b
trigger = {
faith = {
AND = {
OR = {
has_doctrine = tenet_tax_nonbelievers
has_doctrine = special_doctrine_jizya
}
NOT = { has_doctrine = special_doctrine_is_gnostic_faith }
AND = {
OR = {
rite = { rite_has_tenet = tenet_tax_nonbelievers }
faith = { has_doctrine = special_doctrine_jizya }
}
faith = { NOT = { has_doctrine = special_doctrine_is_gnostic_faith } }
}
}
@ -291,7 +289,7 @@ fp3_yearly.8019 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = medium_stress_impact_gain
callous = medium_stress_impact_gain
sadistic = medium_stress_impact_gain
@ -320,7 +318,7 @@ fp3_yearly.8019 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_gain
compassionate = minor_stress_impact_gain
generous = major_stress_impact_gain
@ -345,7 +343,7 @@ scripted_trigger fp3_zealous_caliph_trigger = {
is_ai = yes
NOR = {
is_vassal_of = root
faith = { has_doctrine = doctrine_pluralism_pluralistic }
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
has_trait = compassionate
has_trait = forgiving
}
@ -357,7 +355,7 @@ scripted_trigger fp3_zealous_caliph_trigger = {
has_trait = zealous
has_trait = sadistic
has_trait = paranoid
faith = { has_doctrine = doctrine_pluralism_fundamentalist }
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
}
}
@ -432,7 +430,7 @@ fp3_yearly.8020 = {
has_game_rule = default_gender_equality #this triggers an error. Suspected code issue.
NOT = {
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
#checking for approppriate county
@ -453,9 +451,9 @@ fp3_yearly.8020 = {
root.faith.religious_head = {
fp3_zealous_caliph_trigger = yes
#checking that his Islam hasn't been reformed into something that'd make the event's premise weird
faith = {
rite = {
NOT = {
has_doctrine = doctrine_gender_female_dominated
rite_has_doctrine = doctrine_gender_female_dominated
}
}
}
@ -493,9 +491,9 @@ fp3_yearly.8020 = {
if = {
limit = {
fp3_zealous_caliph_trigger = yes
faith = {
rite = {
NOT = {
has_doctrine = doctrine_gender_female_dominated
rite_has_doctrine = doctrine_gender_female_dominated
}
}
}
@ -604,7 +602,11 @@ fp3_yearly.8020 = {
opinion = 20
}
}
else = {
else_if = {
limit = {
matching_gender_and_sexuality_with_trigger = { CHARACTER = root }
likely_to_commit_incest_with_trigger = { CHARACTER_1 = root CHARACTER_2 = scope:pious_woman }
}
root = {
progress_towards_lover_effect = {
CHARACTER = scope:pious_woman
@ -623,7 +625,7 @@ fp3_yearly.8020 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = major_stress_impact_gain
shy = medium_stress_impact_gain
zealous = major_stress_impact_gain
@ -669,7 +671,7 @@ fp3_yearly.8020 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss
cynical = medium_stress_impact_gain
zealous = major_stress_impact_gain
@ -734,7 +736,7 @@ fp3_yearly.8020 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
compassionate = medium_stress_impact_gain
content = medium_stress_impact_gain
@ -772,12 +774,11 @@ scripted_trigger fp3_not_super_relevant_yet_suitable_person_trigger = {
}
NAND = {
is_female = yes
root.faith = { #this is basically checking for Islam, but in a more emergent way. In medieval Islam, it wouldn't generally make sense for a noble woman to work together with a man in the way this event presupposes.
AND = {
has_doctrine = doctrine_gender_male_dominated
has_doctrine = doctrine_polygamy
}
}
#this is basically checking for Islam, but in a more emergent way. In medieval Islam, it wouldn't generally make sense for a noble woman to work together with a man in the way this event presupposes.
root.rite = {
rite_has_doctrine = doctrine_gender_male_dominated
rite_has_doctrine = doctrine_polygamy
}
}
}
@ -918,6 +919,7 @@ fp3_yearly.8021 = {
}
culture = scope:alchemy_enthusiast.culture
faith = root.faith
rite = root.rite
save_scope_as = enthusiastic_alchemist
after_creation = {
@ -990,7 +992,7 @@ fp3_yearly.8021 = {
trigger_event = fp3_yearly.8022
stress_impact = {
stress_and_fulfillment_impact = {
fickle = minor_stress_impact_loss
vengeful = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
@ -1063,7 +1065,7 @@ fp3_yearly.8021 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_loss
sadistic = medium_stress_impact_loss
just = major_stress_impact_gain
@ -1108,7 +1110,7 @@ fp3_yearly.8021 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_loss
compassionate = medium_stress_impact_gain
just = medium_stress_impact_gain
@ -1146,7 +1148,7 @@ fp3_yearly.8021 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_gain
craven = minor_stress_impact_gain
forgiving = medium_stress_impact_loss
@ -1225,10 +1227,10 @@ fp3_yearly.8022 = {
if = {
limit = {
faith = {
rite = {
OR = {
has_doctrine = tenet_dharmic_pacifism
has_doctrine = tenet_pacifism
rite_has_tenet = tenet_dharmic_pacifism
rite_has_tenet = tenet_pacifism
}
}
}
@ -1240,7 +1242,7 @@ fp3_yearly.8022 = {
years = 25
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain
}
}
@ -1271,7 +1273,7 @@ fp3_yearly.8022 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
ambitious = medium_stress_impact_gain
}
@ -1367,7 +1369,7 @@ fp3_yearly.8023 = {
years = 25
}
stress_impact = {
stress_and_fulfillment_impact = {
#no stress for this event
}
}
@ -1398,7 +1400,7 @@ fp3_yearly.8023 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
#no stress for this event
}
}
@ -1411,14 +1413,14 @@ fp3_yearly.8023 = {
scripted_trigger non_zoroastrian_faith_trigger = {
NOT = {
faith = { has_doctrine_parameter = sky_burials_active }
rite = { rite_has_parameter = sky_burials_active }
}
}
scripted_trigger dakhma_nostalgic_trigger = {
culture = { has_cultural_pillar = heritage_iranian }
OR = {
faith = { has_doctrine_parameter = sky_burials_active }
rite = { rite_has_parameter = sky_burials_active }
has_trait = stubborn
learning > 14
has_character_modifier = hallucinogenic_visions_uplifting_modifier
@ -1432,7 +1434,7 @@ scripted_trigger dakhma_nostalgic_trigger = {
scripted_trigger loyal_discreet_courtier_trigger = {
OR = {
faith = { has_doctrine_parameter = sky_burials_active }
rite = { rite_has_parameter = sky_burials_active }
has_trait = trusting
has_trait = compassionate
reverse_opinion = {
@ -1485,7 +1487,7 @@ fp3_yearly.8024 = {
root.capital_province = { geographical_region = world_persian_empire }
NOT = {
faith = { has_doctrine_parameter = sky_burials_active }
rite = { rite_has_parameter = sky_burials_active }
}
any_consort = { #we need a dying consort
@ -1582,7 +1584,7 @@ fp3_yearly.8024 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
honest = medium_stress_impact_loss
callous = medium_stress_impact_gain
@ -1666,7 +1668,7 @@ fp3_yearly.8024 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
brave = medium_stress_impact_gain
honest = medium_stress_impact_gain
}
@ -1691,7 +1693,7 @@ fp3_yearly.8024 = {
death = natural
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss
compassionate = medium_stress_impact_gain
loyal = medium_stress_impact_gain
@ -1792,7 +1794,7 @@ fp3_yearly.8026 = {
target = scope:helpful_courtier
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
paranoid = medium_stress_impact_loss
compassionate = massive_stress_impact_gain
@ -1904,11 +1906,12 @@ fp3_yearly.8027 = {
location = root.capital_province
template = writer_character
gender_female_chance = root_faith_dominant_gender_female_chance
faith = faith:maturidi
faith = faith:sunni
rite = rite:hanafi
culture = culture:persian
trait = lifestyle_poet
trait = shrewd
save_scope_as = snubbed_poet
save_scope_as = snubbed_poet
}
}
}
@ -1942,7 +1945,7 @@ fp3_yearly.8027 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = medium_stress_impact_loss
content = medium_stress_impact_gain
greedy = medium_stress_impact_gain
@ -2035,7 +2038,7 @@ fp3_yearly.8027 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
just = medium_stress_impact_loss
arrogant = medium_stress_impact_gain
cynical = medium_stress_impact_gain
@ -2059,7 +2062,7 @@ fp3_yearly.8027 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_loss
ambitious = medium_stress_impact_gain
generous = medium_stress_impact_gain
@ -2394,7 +2397,7 @@ fp3_yearly.8032 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
compassionate = medium_stress_impact_gain
humble = minor_stress_impact_gain
@ -2446,7 +2449,7 @@ fp3_yearly.8032 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_loss
shy = major_stress_impact_gain
}
@ -2457,7 +2460,7 @@ fp3_yearly.8032 = {
dynasty ?= { add_dynasty_prestige = minor_dynasty_prestige_value }
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss
humble = medium_stress_impact_gain
}
@ -2475,7 +2478,7 @@ fp3_yearly.8032 = {
years = 15
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
craven = miniscule_stress_impact_gain
}
@ -2498,7 +2501,7 @@ scripted_trigger fp3_loves_faloodeh_trigger = {
has_trait = temperate
has_trait = inappetetic
AND = {
faith = { has_doctrine = tenet_asceticism }
rite = { rite_has_tenet = tenet_asceticism }
ai_zeal >= medium_positive_ai_value
}
}
@ -2662,7 +2665,7 @@ fp3_yearly.8033 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arbitrary = minor_stress_impact_loss
just = medium_stress_impact_gain
temperate = medium_stress_impact_gain
@ -2702,7 +2705,7 @@ fp3_yearly.8033 = {
years = 25
}
stress_impact = {
stress_and_fulfillment_impact = {
temperate = minor_stress_impact_loss
gluttonous = major_stress_impact_gain
gregarious = medium_stress_impact_gain
@ -2734,7 +2737,7 @@ fp3_yearly.8033 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss
greedy = medium_stress_impact_gain
}
@ -2758,7 +2761,7 @@ fp3_yearly.8033 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = medium_stress_impact_loss
diligent = medium_stress_impact_gain
gregarious = medium_stress_impact_gain
@ -2919,7 +2922,7 @@ fp3_yearly.8034 = {
add_tyranny = medium_tyranny_value
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss
just = massive_stress_impact_gain
craven = medium_stress_impact_gain
@ -2961,7 +2964,7 @@ fp3_yearly.8034 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arbitrary = minor_stress_impact_loss
just = medium_stress_impact_gain
}
@ -2984,11 +2987,11 @@ fp3_yearly.8034 = {
if = {
limit = {
faith = {
rite = {
OR = {
trait_is_virtue = compassionate
trait_is_virtue = generous
trait_is_virtue = peasant_leader
trait_is_virtue_rite = compassionate
trait_is_virtue_rite = generous
trait_is_virtue_rite = peasant_leader
}
}
}
@ -3013,7 +3016,7 @@ fp3_yearly.8034 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
just = minor_stress_impact_loss
arrogant = medium_stress_impact_gain
greedy = medium_stress_impact_gain
@ -3053,7 +3056,7 @@ fp3_yearly.8034 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss
craven = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
@ -3134,7 +3137,7 @@ fp3_yearly.8035 = {
add = 1.6
}
modifier = { #Sufis don't get along with legalists, so legalist faiths are less likely to have sufi events
faith = { has_doctrine = tenet_legalism }
rite = { rite_has_tenet = tenet_legalism }
add = -0.2
}
}
@ -3234,7 +3237,7 @@ fp3_yearly.8035 = {
}
}
stress_impact = { #while the stress mods here are low, note that they stack with the base modifier
stress_and_fulfillment_impact = { #while the stress mods here are low, note that they stack with the base modifier
base = medium_stress_impact_gain
zealous = minor_stress_impact_loss
patient = minor_stress_impact_loss
@ -3270,7 +3273,7 @@ fp3_yearly.8035 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
stubborn = minor_stress_impact_loss
zealous = minor_stress_impact_loss
ambitious = medium_stress_impact_gain
@ -3298,7 +3301,7 @@ fp3_yearly.8035 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
zealous = medium_stress_impact_gain
ambitious = medium_stress_impact_gain
@ -3405,7 +3408,7 @@ fp3_yearly.8036 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
impatient = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
@ -3437,7 +3440,7 @@ fp3_yearly.8036 = {
years = 5
}
stress_impact = {
stress_and_fulfillment_impact = {
brave = medium_stress_impact_gain
cynical = medium_stress_impact_gain
}
@ -3467,7 +3470,7 @@ fp3_yearly.8036 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
callous = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
@ -3488,7 +3491,7 @@ fp3_yearly.8036 = {
add_piety = minor_piety_value
stress_impact = {
stress_and_fulfillment_impact = {
cynical = medium_stress_impact_gain
brave = medium_stress_impact_gain
}

View file

@ -447,7 +447,7 @@ fp3_misc_decisions.0020 = { # Actor Duel Outcome(s)
}
}
trigger_event = fp3_misc_decisions.0041
stress_impact = {
stress_and_fulfillment_impact = {
content = major_stress_impact_gain
just = medium_stress_impact_gain
forgiving = medium_stress_impact_gain
@ -509,7 +509,7 @@ fp3_misc_decisions.0020 = { # Actor Duel Outcome(s)
REVERSE_NON_HOUSE_TARGET = yes
}
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain
ambitious = medium_stress_impact_gain
}
@ -1617,7 +1617,7 @@ fp3_misc_decisions.0029 = { # Actor response
}
save_scope_as = negotiate_bargain_accept
scope:recipient = { trigger_event = fp3_misc_decisions.0030 }
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain
arrogant = minor_stress_impact_gain
content = minor_stress_impact_gain
@ -1636,7 +1636,7 @@ fp3_misc_decisions.0029 = { # Actor response
}
save_scope_as = negotiate_bargain_reject
scope:recipient = { trigger_event = fp3_misc_decisions.0030 }
stress_impact = {
stress_and_fulfillment_impact = {
generous = minor_stress_impact_gain
humble = minor_stress_impact_gain
ambitious = minor_stress_impact_gain
@ -1654,7 +1654,7 @@ fp3_misc_decisions.0029 = { # Actor response
exists = scope:negotiate_accept
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain
ambitious = minor_stress_impact_gain
wrathful = minor_stress_impact_gain
@ -2047,6 +2047,7 @@ scripted_effect fp3_misc_decisions_0031_create_char_no_dynasty_effect = {
dynasty = none
culture = scope:batch_$BATCH$_county.culture
faith = scope:batch_$BATCH$_county.faith
rite = scope:batch_$BATCH$_county.rite
after_creation = {
add_to_list = batch_$BATCH$_characters_list
# Set an employer if there's a valid one available.
@ -2110,6 +2111,7 @@ scripted_effect fp3_misc_decisions_0031_create_char_with_dynasty_effect = {
location = scope:batch_$BATCH$_county.title_province
culture = scope:batch_$BATCH$_county.culture
faith = scope:batch_$BATCH$_county.faith
rite = scope:batch_$BATCH$_county.rite
after_creation = {
add_to_list = batch_$BATCH$_characters_list
# Set an employer if there's a valid one available.

View file

@ -45,12 +45,8 @@ fp3_decision.0001 = {
OR = {
has_faith = faith:mazdakism
has_faith = faith:zurvanism #Behafaridism
faith = {
OR = {
has_doctrine_parameter = vows_of_poverty_active
has_doctrine = tenet_gnosticism
}
}
rite = { rite_has_parameter = vows_of_poverty_active }
rite = { rite_has_tenet = tenet_gnosticism }
}
}
@ -64,7 +60,7 @@ fp3_decision.0001 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = major_stress_loss
ambitious = minor_stress_loss
}
@ -100,8 +96,8 @@ fp3_decision.0001 = {
has_religion = religion:zoroastrianism_religion
}
OR = {
faith = { has_doctrine = doctrine_pluralism_fundamentalist }
faith = { has_doctrine = doctrine_pluralism_righteous }
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
rite = { rite_has_doctrine = doctrine_pluralism_righteous }
}
}
add_opinion = {
@ -125,8 +121,8 @@ fp3_decision.0001 = {
has_religion = religion:zoroastrianism_religion
}
OR = {
faith = { has_doctrine = doctrine_pluralism_fundamentalist }
faith = { has_doctrine = doctrine_pluralism_righteous }
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
rite = { rite_has_doctrine = doctrine_pluralism_righteous }
}
}
add_opinion = {
@ -153,7 +149,7 @@ fp3_decision.0001 = {
}
}
stress_impact = { #Ambitious rulers of course like this, but paranoid ones are worried about offending people.
stress_and_fulfillment_impact = { #Ambitious rulers of course like this, but paranoid ones are worried about offending people.
ambitious = medium_stress_impact_loss
arrogant = medium_stress_impact_loss
zealous = medium_stress_impact_loss
@ -186,8 +182,8 @@ fp3_decision.0001 = {
has_religion = religion:zoroastrianism_religion
}
OR = {
faith = { has_doctrine = doctrine_pluralism_fundamentalist }
faith = { has_doctrine = doctrine_pluralism_righteous }
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
rite = { rite_has_doctrine = doctrine_pluralism_righteous }
}
}
add_opinion = {
@ -211,8 +207,8 @@ fp3_decision.0001 = {
has_religion = religion:zoroastrianism_religion
}
OR = {
faith = { has_doctrine = doctrine_pluralism_fundamentalist }
faith = { has_doctrine = doctrine_pluralism_righteous }
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
rite = { rite_has_doctrine = doctrine_pluralism_righteous }
}
}
add_opinion = {
@ -239,7 +235,7 @@ fp3_decision.0001 = {
}
}
stress_impact = { #Wasteful or ambitious rulers loathe this more moderate option, but temperate and content rulers love it.
stress_and_fulfillment_impact = { #Wasteful or ambitious rulers loathe this more moderate option, but temperate and content rulers love it.
ambitious = minor_stress_impact_gain
zealous = miniscule_stress_impact_gain
august = minor_stress_impact_gain
@ -420,7 +416,7 @@ fp3_decision.0003 = { #This is triggered from the restore_badd_fortress_decision
}
triggered_desc = {
trigger = {
faith = { has_doctrine = doctrine_heretic_branch_zandik }
rite = { rite_has_doctrine = doctrine_heretic_branch_zandik }
}
desc = fp3_decision.0003.desc_zandik
}
@ -456,7 +452,7 @@ fp3_decision.0003 = { #This is triggered from the restore_badd_fortress_decision
# Add a unique nickname.
give_nickname = nick_the_fortress_builder
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = minor_stress_loss
diligent = minor_stress_loss
greedy = minor_stress_loss
@ -556,7 +552,7 @@ fp3_decision.0004 = { #This is triggered from the destroy_the_magi_decision, and
give_nickname = nick_the_reformer
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = minor_stress_loss
arrogant = minor_stress_loss
vengeful = minor_stress_loss
@ -610,12 +606,14 @@ fp3_decision.0011 = {
first_valid = {
triggered_desc = {
trigger = {
faith = {
OR = {
has_doctrine = tenet_fp3_fedayeen
has_doctrine = tenet_warmonger
has_doctrine_parameter = pluralism_fundamentalist_proselytization_bonus
OR = {
rite = {
OR = {
rite_has_tenet = tenet_fp3_fedayeen
rite_has_tenet = tenet_warmonger
}
}
rite = { rite_has_parameter = pluralism_fundamentalist_proselytization_bonus }
}
}
desc = fp3_decision.0011_fanatic_murderer.desc
@ -645,7 +643,7 @@ fp3_decision.0011 = {
avenge_the_battle_of_nahrawan_scripted_effect = yes
stress_impact = {
stress_and_fulfillment_impact = {
zealous = major_stress_impact_loss
vengeful = major_stress_impact_loss
ambitious = medium_stress_impact_loss
@ -735,6 +733,7 @@ fp3_decision.0013 = {
age = { 25 75 }
location = root.capital_province
faith = root.faith.religious_head.faith
rite = root.faith.religious_head.rite
gender_female_chance = root_faith_dominant_gender_female_chance #could be female, if given the right context.
trait = diplomat
template = priest_character_template
@ -765,7 +764,7 @@ fp3_decision.0013 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
arrogant = minor_stress_impact_loss
craven = medium_stress_impact_gain
@ -804,7 +803,7 @@ fp3_decision.0013 = {
target = flag:promote_persian_scripture_decision
}
stress_impact = {
stress_and_fulfillment_impact = {
trusting = medium_stress_impact_loss
craven = medium_stress_impact_loss
arrogant = medium_stress_impact_gain
@ -865,6 +864,7 @@ fp3_decision.0014 = {
age = { 40 75 }
location = root.capital_province
faith = root.faith
rite = root.rite
gender_female_chance = root_faith_dominant_gender_female_chance #could be female, if given the right context.
trait = shrewd
trait = theologian
@ -922,7 +922,7 @@ fp3_decision.0014 = {
##################################################
scripted_effect fp3_decision_0015_apply_rebellious_stress_effect = {
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = miniscule_stress_impact_loss
ambitious = minor_stress_impact_loss
disloyal = minor_stress_impact_loss

File diff suppressed because it is too large Load diff

View file

@ -1,153 +0,0 @@
namespace = fp3_story_cycle_seljuks_invasion_events
### RISE OF THE SELJUKS #############################################
## 0001 Leader and Story Cycle Creation by Maxence Voleau
## 0002 The First Settlers by Hugo Cortell
#####################################################################
###################################
# Setup: we create the leader and start the story cycle
# By Maxence Voleau
###################################
fp3_story_cycle_seljuks_invasion_events.0001 = {
scope = none
hidden = yes
immediate = {
spawn_seljuk_character_effect = yes
scope:lead_seljuk = {
create_story = story_seljuk_invasion
}
}
}
###################################
# The First Settlers
# By Hugo Cortell
###################################
fp3_story_cycle_seljuks_invasion_events.0002 = {
type = character_event
title = fp3_story_cycle_seljuks_invasion_events.0001.t
desc = {
desc = fp3_story_cycle_seljuks_invasion_events.0001.desc
first_valid = {
triggered_desc = {
trigger = { highest_held_title_tier > tier_duchy }
desc = fp3_story_cycle_seljuks_invasion_events.0001.desc_vassal
}
desc = fp3_story_cycle_seljuks_invasion_events.0001.desc_independent
}
}
theme = realm
left_portrait = {
character = root
animation = thinking
}
right_portrait = {
character = scope:lead_seljuk
animation = personality_honorable
}
immediate = {
save_scope_as = seljuk_victim
random_sub_realm_county = {
limit = {
any_neighboring_county = {
exists = holder
holder.top_liege != scope:seljuk_victim
}
de_jure_liege = scope:fp3_seljuk_settle_target
}
alternative_limit = {
any_neighboring_county = {
exists = holder
holder.top_liege != scope:seljuk_victim
}
any_neighboring_county = { de_jure_liege = scope:fp3_seljuk_settle_target }
}
alternative_limit = {
any_neighboring_county = {
exists = holder
holder.top_liege != scope:seljuk_victim
}
}
random_county_province = {
limit = {
this != scope:fp3_seljuk_settle_target.title_capital_county.title_province
}
save_scope_as = spawn_location
}
}
save_scope_value_as = {
name = victim_strength_modifier
value = {
value = current_military_strength
divide = 10000
add = 1.25
}
}
scope:lead_seljuk = {
#move to the army spawn location, so it's less confusing when you want to see where they are
set_location = scope:spawn_location
var:seljuk_birthplace = { save_scope_as = seljuk_birthplace }
}
}
option = { # Yes - Serve me well!
name = fp3_story_cycle_seljuks_invasion_events.0001.a_liege
fp3_story_cycle_seljuks_invasion_events_grant_seljuks_land_effect = yes
scope:lead_seljuk = {
add_trait = loyal
culture = {
change_cultural_acceptance = {
target = scope:seljuk_victim.culture
value = 30
desc = STEWARD_PROMOTE_CULTURE_ALLOWED_NOMAD_SETTLEMENT
}
}
}
create_seljuk_army_at_peace_effect = yes
debug_log = "Seljuk got the land and were vassalized"
ai_chance = {
base = 50
ai_value_modifier = {
ai_boldness = -0.5
ai_compassion = 0.2
ai_greed = -0.5
ai_energy = -0.5
ai_rationality = 0.3
ai_sociability = 0.3
}
}
}
option = { # No - To war with you!
name = fp3_story_cycle_seljuks_invasion_events.0001.b
# Start war
scope:lead_seljuk = {
start_war = {
casus_belli = fp3_seljuk_invasion_cb
target = root
target_title = scope:fp3_seljuk_settle_target
}
random_character_war = { save_scope_as = war }
}
create_seljuk_army_effect = yes
debug_log = "Seljuk have to win a war"
ai_chance = {
base = 50
ai_value_modifier = {
ai_boldness = 0.5
ai_greed = 0.5
ai_energy = 0.5
ai_vengefulness = 0.5
}
}
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -61,7 +61,7 @@ fp3_h_yearly.0001 = {
}
cp:councillor_court_chaplain = {
is_ai = yes
faith = { trait_is_sin = drunkard }
rite = { trait_is_sin_rite = drunkard }
trigger_if = {
limit = { exists = house }
house != root.house
@ -91,7 +91,7 @@ fp3_h_yearly.0001 = {
#No duel, this deflection always succeeds.
stress_impact = {
stress_and_fulfillment_impact = {
craven = minor_stress_gain
deceitful = minor_stress_loss
callous = minor_stress_loss
@ -107,12 +107,12 @@ fp3_h_yearly.0001 = {
name = fp3_h_yearly.0001.b
trigger = {
OR = {
has_trait = scholar
has_trait = erudite
has_trait = theologian
has_trait = whole_of_body
has_trait = lifestyle_physician
has_trait = lifestyle_poet
faith = { trait_is_virtue = drunkard }
rite = { trait_is_virtue_rite = drunkard }
}
}
@ -160,7 +160,7 @@ fp3_h_yearly.0001 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_gain
humble = minor_stress_gain
callous = minor_stress_loss
@ -178,7 +178,7 @@ fp3_h_yearly.0001 = {
IMPRISONER = scope:actor
}
stress_impact = {
stress_and_fulfillment_impact = {
just = medium_stress_gain
zealous = medium_stress_gain
deceitful = minor_stress_loss
@ -258,7 +258,7 @@ fp3_h_yearly.0001 = {
}
stress_impact = {
stress_and_fulfillment_impact = {
just = medium_stress_gain
greedy = minor_stress_gain
honest = minor_stress_gain
@ -275,7 +275,7 @@ fp3_h_yearly.0001 = {
modifier = ulema_displeased_drinking
years = 5
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_gain
deceitful = minor_stress_gain
drunkard = minor_stress_gain

View file

@ -166,7 +166,7 @@ fp3_yearly.8000 = { #Ghazi Gone Bad
scope:raging_ghazi = { silent_disappearance_effect = yes }
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss
trusting = minor_stress_impact_loss
forgiving = minor_stress_impact_loss
@ -201,7 +201,7 @@ fp3_yearly.8000 = { #Ghazi Gone Bad
remove_county_modifier = fp3_brutal_predations_county_modifier
}
stress_impact = {
stress_and_fulfillment_impact = {
just = medium_stress_impact_loss
vengeful = minor_stress_impact_loss
zealous = medium_stress_impact_gain
@ -245,7 +245,7 @@ fp3_yearly.8000 = { #Ghazi Gone Bad
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
greedy = minor_stress_impact_loss
just = major_stress_impact_gain
@ -383,7 +383,7 @@ fp3_yearly.8001 = { #Frontier Fortress Benefactor
remove_treasury_or_gold = minor_treasury_or_gold_value #gotta pay for travel expenses!
stress_impact = {
stress_and_fulfillment_impact = {
diligent = medium_stress_impact_loss
brave = minor_stress_impact_loss
humble = minor_stress_impact_loss
@ -417,7 +417,7 @@ fp3_yearly.8001 = { #Frontier Fortress Benefactor
}
scope:concerned_councillor = { #checking that they can be a misogynist/misandrist in this matter
NOR = {
faith = { has_doctrine = doctrine_gender_equal }
rite = { rite_has_doctrine = doctrine_gender_equal }
culture = { has_cultural_parameter = has_access_to_shieldmaidens }
}
}
@ -514,7 +514,7 @@ fp3_yearly.8001 = { #Frontier Fortress Benefactor
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = minor_stress_impact_loss
craven = minor_stress_impact_loss
cynical = minor_stress_impact_loss
@ -616,7 +616,7 @@ fp3_yearly.8001 = { #Frontier Fortress Benefactor
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = minor_stress_impact_loss
craven = major_stress_impact_loss
content = minor_stress_impact_loss
@ -650,7 +650,7 @@ fp3_yearly.8001 = { #Frontier Fortress Benefactor
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = major_stress_impact_loss
craven = medium_stress_impact_loss
content = minor_stress_impact_loss
@ -710,12 +710,9 @@ fp3_yearly.8002 = { #Faith at the Frontier
root.capital_province = { geographical_region = world_persian_empire } #so that this inside-to-outside worldview makes sense
faith = { #so that the plot makes sense
NOR = {
has_doctrine_parameter = unreformed # Unreformed Pagans don't need frontier fortresses, generally speaking
has_doctrine = doctrine_pluralism_pluralistic
}
}
#so that the plot makes sense
faith = { NOT = { has_doctrine_parameter = unreformed } } # Unreformed Pagans don't need frontier fortresses, generally speaking
rite = { NOT = { rite_has_doctrine = doctrine_pluralism_pluralistic } }
OR = { #Either could make sense, may as well make it as flexible as possible
any_spouse = {
@ -765,14 +762,12 @@ fp3_yearly.8002 = { #Faith at the Frontier
this != root.faith
fervor > medium_fervor_value
OR = {
this = faith:nizari
this = faith:zayidi
this = faith:qarmatian
this = faith:shia
this = faith:zurvanism
this = faith:khurramism
this = faith:nestorian
this = faith:manichean
this = faith:mahayana
this = faith:manichaean_faith
this = faith:mahayana_faith
}
}
alternative_limit = { #just a failsafe to avoid errors
@ -789,17 +784,16 @@ fp3_yearly.8002 = { #Faith at the Frontier
this != root.faith
fervor > medium_fervor_value
OR = {
this = faith:azariqa
this = faith:mutazila
this = faith:ghulat
this = faith:zayidi
this = faith:kharijite
this = faith:sunni
this = faith:shia
this = faith:zurvanism
this = faith:khurramism
this = faith:mazdakism
this = faith:nestorian
this = faith:manichean #the "Arch-Heresy" according to Cambridge History of Iran ^_^
this = faith:manichaean_faith #the "Arch-Heresy" according to Cambridge History of Iran ^_^
this = faith:zun_pagan
this = faith:mahayana
this = faith:mahayana_faith
}
}
alternative_limit = { #just a failsafe to avoid errors
@ -904,7 +898,7 @@ fp3_yearly.8002 = { #Faith at the Frontier
}
}
stress_impact = {
stress_and_fulfillment_impact = {
sadistic = major_stress_impact_loss
callous = medium_stress_impact_loss
wrathful = minor_stress_impact_loss
@ -971,7 +965,7 @@ fp3_yearly.8002 = { #Faith at the Frontier
}
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = major_stress_impact_loss
humble = medium_stress_impact_loss
brave = minor_stress_impact_loss
@ -1080,7 +1074,7 @@ fp3_yearly.8002 = { #Faith at the Frontier
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = major_stress_impact_loss
shy = minor_stress_impact_loss
trusting = minor_stress_impact_loss
@ -1137,7 +1131,7 @@ fp3_yearly.8002 = { #Faith at the Frontier
}
}
stress_impact = {
stress_and_fulfillment_impact = {
patient = medium_stress_impact_loss
calm = minor_stress_impact_loss
cynical = minor_stress_impact_loss
@ -1306,10 +1300,10 @@ fp3_yearly.8003 = { #Exotic Espand
name = fp3_yearly.8003.a
trigger = {
faith = {
rite = {
OR = {
has_doctrine_parameter = witchcraft_illegal
has_doctrine_parameter = witchcraft_shunned
rite_has_parameter = witchcraft_illegal
rite_has_parameter = witchcraft_shunned
}
}
}
@ -1348,7 +1342,7 @@ fp3_yearly.8003 = { #Exotic Espand
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss
callous = minor_stress_impact_loss
zealous = minor_stress_impact_loss
@ -1423,7 +1417,7 @@ fp3_yearly.8003 = { #Exotic Espand
}
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = major_stress_impact_loss
compassionate = minor_stress_impact_loss
diligent = minor_stress_impact_loss
@ -1544,7 +1538,7 @@ fp3_yearly.8003 = { #Exotic Espand
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = medium_stress_impact_loss
greedy = minor_stress_impact_loss
trusting = minor_stress_impact_loss
@ -1601,7 +1595,7 @@ fp3_yearly.8003 = { #Exotic Espand
}
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = minor_stress_impact_loss
callous = minor_stress_impact_loss
temperate = minor_stress_impact_loss
@ -1839,7 +1833,7 @@ fp3_yearly.8004 = { #The Frontier Beckons
INVALIDATION_EVENT = fp3_yearly.8006
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = major_stress_impact_gain
forgiving = medium_stress_impact_gain
compassionate = medium_stress_impact_gain
@ -1874,7 +1868,7 @@ fp3_yearly.8004 = { #The Frontier Beckons
option = { # Appeal to their better nature
name = fp3_yearly.8004.b
stress_impact = {
stress_and_fulfillment_impact = {
impatient = major_stress_impact_gain
wrathful = major_stress_impact_gain
arrogant = medium_stress_impact_gain
@ -1968,7 +1962,7 @@ fp3_yearly.8004 = { #The Frontier Beckons
name = fp3_yearly.8004.c
flavor = fp3_yearly.8004.c.flavor
stress_impact = {
stress_and_fulfillment_impact = {
impatient = major_stress_impact_gain
wrathful = major_stress_impact_gain
arrogant = medium_stress_impact_gain
@ -2092,7 +2086,7 @@ fp3_yearly.8004 = { #The Frontier Beckons
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss
patient = medium_stress_impact_loss
calm = minor_stress_impact_loss
@ -2422,14 +2416,10 @@ fp3_yearly.8009 = {
root.faith.religious_head = {
is_ai = yes
fp3_yearly.8009_root_and_hof_faith_comparison_trigger = yes
faith = {
NOR = {
has_doctrine_parameter = unreformed
has_doctrine_parameter = witchcraft_accepted
has_doctrine = doctrine_pluralism_pluralistic
has_doctrine = tenet_carnal_exaltation
}
}
NOT = { rite = { rite_has_parameter = witchcraft_accepted } }
faith = { NOT = { has_doctrine_parameter = unreformed } }
NOT = { rite = { rite_has_tenet = tenet_carnal_exaltation } }
rite = { NOT = { rite_has_doctrine = doctrine_pluralism_pluralistic } }
}
any_held_county = {
@ -2475,6 +2465,7 @@ fp3_yearly.8009 = {
age = { 25 75 }
location = root.capital_province
faith = root.faith.religious_head.faith
rite = root.faith.religious_head.rite
gender_female_chance = root_faith_dominant_gender_female_chance #could be female, if given the right context.
trait = diplomat
template = priest_character_template
@ -2551,7 +2542,7 @@ fp3_yearly.8009 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
sadistic = major_stress_impact_loss
callous = medium_stress_impact_loss
wrathful = minor_stress_impact_loss
@ -2623,7 +2614,7 @@ fp3_yearly.8009 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
humble = minor_stress_impact_loss
zealous = minor_stress_impact_loss
arrogant = minor_stress_impact_gain
@ -2721,7 +2712,7 @@ fp3_yearly.8009 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
diligent = medium_stress_impact_gain
}
@ -2752,7 +2743,7 @@ fp3_yearly.8009 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
content = medium_stress_impact_loss
cynical = minor_stress_impact_loss
lazy = minor_stress_impact_loss
@ -2831,13 +2822,13 @@ fp3_yearly.8010 = {
has_trait = compassionate
has_trait = just
}
faith = {
faith = {
NOR = {
has_doctrine_parameter = unreformed
has_doctrine = doctrine_pluralism_pluralistic
has_doctrine_parameter = holy_wars_forbidden # Pacifists cannot Holy War
}
}
has_doctrine_parameter = holy_wars_forbidden # Pacifists cannot Holy War
}
}
rite = { NOT = { rite_has_doctrine = doctrine_pluralism_pluralistic } }
}
root.capital_province = { geographical_region = world_persian_empire } # so that this inside-to-outside worldview makes sense
@ -2916,7 +2907,7 @@ fp3_yearly.8010 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
brave = medium_stress_impact_loss
wrathful = minor_stress_impact_loss
zealous = minor_stress_impact_loss
@ -2977,7 +2968,7 @@ fp3_yearly.8010 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
brave = minor_stress_impact_loss
greedy = minor_stress_impact_loss
content = minor_stress_impact_gain
@ -3060,7 +3051,7 @@ fp3_yearly.8010 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = major_stress_impact_loss
craven = minor_stress_impact_loss
patient = minor_stress_impact_loss
@ -3104,7 +3095,7 @@ fp3_yearly.8010 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
content = minor_stress_impact_loss
compassionate = minor_stress_impact_loss
cynical = minor_stress_impact_loss
@ -3241,7 +3232,7 @@ fp3_yearly.8013 = { # Caliphal Dissapointment (follow-up-event)
###################################
scripted_trigger fp3_opportunistic_drunkard_trigger = {
faith = { trait_is_sin = drunkard }
rite = { trait_is_sin_rite = drunkard }
has_trait = deceitful
OR = {
has_trait = drunkard
@ -3272,7 +3263,7 @@ fp3_yearly.8014 = {
root.capital_province = { geographical_region = world_persian_empire }
faith = { trait_is_sin = drunkard }
rite = { trait_is_sin_rite = drunkard }
OR = {
has_trait = drunkard
@ -3365,7 +3356,7 @@ fp3_yearly.8014 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_loss
drunkard = medium_stress_impact_loss
gregarious = minor_stress_impact_loss
@ -3399,7 +3390,7 @@ fp3_yearly.8014 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
just = minor_stress_impact_loss
honest = minor_stress_impact_loss
temperate = minor_stress_impact_loss
@ -3437,7 +3428,7 @@ fp3_yearly.8014 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss
just = minor_stress_impact_loss
honest = minor_stress_impact_loss
@ -3601,7 +3592,7 @@ fp3_yearly.8016 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
irritable = minor_stress_impact_loss
wrathful = minor_stress_impact_loss
zealous = minor_stress_impact_loss
@ -3621,9 +3612,9 @@ fp3_yearly.8016 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = minor_stress_impact_loss
scholar = minor_stress_impact_loss
erudite = minor_stress_impact_loss
craven = minor_stress_impact_loss
paranoid = minor_stress_impact_loss
trusting = minor_stress_impact_gain
@ -3714,7 +3705,7 @@ fp3_yearly.8016 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_loss
diligent = minor_stress_impact_loss
trusting = minor_stress_impact_gain
@ -3813,7 +3804,7 @@ fp3_yearly.8017 = {
opinion = 20
}
}
stress_impact = { greedy = medium_stress_impact_gain }
stress_and_fulfillment_impact = { greedy = medium_stress_impact_gain }
}
#This is a bad open...maybe I'd better return those stones...
@ -3837,7 +3828,7 @@ fp3_yearly.8017 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_loss
paranoid = medium_stress_impact_loss
zealous = minor_stress_impact_loss
@ -3952,7 +3943,7 @@ fp3_yearly.8018 = {
add_gold = massive_gold_value
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain
arrogant = minor_stress_impact_gain
compassionate = minor_stress_impact_gain
@ -3973,7 +3964,7 @@ fp3_yearly.8018 = {
option = {
name = fp3_yearly.8018.b
stress_impact = {
stress_and_fulfillment_impact = {
stubborn = minor_stress_impact_loss
content = minor_stress_impact_loss
}
@ -4004,7 +3995,7 @@ fp3_yearly.8018 = {
years = 20
}
stress_impact = {
stress_and_fulfillment_impact = {
calm = medium_stress_impact_gain
shy = minor_stress_impact_gain
compassionate = minor_stress_impact_gain

View file

@ -1,824 +0,0 @@
namespace = fp3_yearly
scripted_trigger not_steppe_nomad_trigger = {
culture = {
NOR = {
has_cultural_pillar = heritage_mongolic
has_cultural_pillar = heritage_turkic
has_cultural_tradition = tradition_horse_lords
}
}
}
scripted_trigger suitable_nomad_settling_province_trigger = {
has_holding_type = castle_holding
barony = {
is_under_holy_order_lease = no
#is_capital_barony = no
}
}
fp3_yearly.8888 = { #Nomads story cycle
type = character_event
title = fp3_yearly.8888.t
desc = fp3_yearly.8888.desc
theme = vassal
left_portrait = {
character = scope:upset_vassal
animation = anger
}
right_portrait = {
character = root
animation = personality_rational
triggered_animation = {
trigger = {
diplomacy >= decent_skill_rating
}
animation = personality_honorable
}
}
lower_left_portrait = {
character = scope:possibly_capable_marshal
}
lower_right_portrait = {
character = scope:turkic_leader
}
trigger = {
#standard checks
has_fp3_dlc_trigger = yes
root.capital_province = { geographical_region = world_persian_empire }
is_available_at_peace_adult = yes
#event fluff triggers
not_steppe_nomad_trigger = yes
NOT = { has_character_flag = had_turkic_tribe_story } #since this event starts the story
exists = cp:councillor_marshal
cp:councillor_marshal = {
NOT = { has_trait = craven }
is_ai = yes
}
any_vassal = {
not_steppe_nomad_trigger = yes
is_ai = yes
NOT = {
this = root.cp:councillor_marshal
}
any_held_county = {
any_county_province = {
geographical_region = dlc_fp3_eastern_persian_frontier_regions
NOT = { terrain = steppe }
}
}
}
any_held_county = { any_county_province = { suitable_nomad_settling_province_trigger = yes } }
}
cooldown = { years = 50 }
immediate = {
random_vassal = {
limit = {
not_steppe_nomad_trigger = yes
is_ai = yes
NOT = {
this = root.cp:councillor_marshal
}
any_held_county = {
any_county_province = {
geographical_region = dlc_fp3_eastern_persian_frontier_regions
NOT = { terrain = steppe }
}
}
}
save_scope_as = upset_vassal
random_held_county = {
limit = {
any_county_province = {
geographical_region = dlc_fp3_eastern_persian_frontier_regions
NOT = { terrain = steppe }
}
}
save_scope_as = nomads_county
}
}
random_held_county = {
limit = {
any_county_province = { suitable_nomad_settling_province_trigger = yes }
}
save_scope_as = nomads_new_county #for use in the claim the former_master might get
}
scope:nomads_new_county = {
random_county_province = {
limit = { suitable_nomad_settling_province_trigger = yes }
barony = { save_scope_as = nomads_barony }
}
}
cp:councillor_marshal = { save_scope_as = possibly_capable_marshal }
scope:nomads_county = {
add_county_modifier = {
modifier = fp3_nomad_friction_county_modifier
years = 50
}
}
create_character = {
location = root.capital_province
template = fp3_turko-mongol_leader
save_scope_as = turkic_leader
}
}
option = {
name = fp3_yearly.8888.a
duel = {
skill = diplomacy
value = average_skill_rating
20 = {
compare_modifier = {
value = scope:duel_value
multiplier = 2
}
root = {
custom_tooltip = fp3_treating_with_turks.success.tt
trigger_event = {
id = fp3_yearly.8889
days = { 2 3 }
}
}
}
20 = {
compare_modifier = {
value = scope:duel_value
multiplier = -1
}
custom_tooltip = fp3_treating_with_turks.failure.tt
send_interface_toast = {
title = fp3_treating_with_turks_toast.failure
left_icon = root
}
}
}
scope:upset_vassal = {
if = {
limit = {
OR = { #if he's diplomatically minded, he'll appreciate this
has_trait = forgiving
has_trait = trusting
has_trait = compassionate
has_diplomacy_lifestyle_trait_trigger = yes
}
}
add_opinion = {
target = root
opinion = 20
modifier = respect_opinion
}
}
else = {
add_opinion = { #but otherwise, they're not on board
target = root
opinion = -10
modifier = fp3_treats_with_barbarians_opinion
}
}
}
scope:possibly_capable_marshal = {
add_opinion = {
target = root
opinion = -10
modifier = disappointed_opinion
}
}
stress_impact = {
craven = medium_stress_impact_gain
lazy = medium_stress_impact_gain
shy = medium_stress_impact_gain
gregarious = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_sociability = 0.5
ai_boldness = 1
ai_compassion = 0.5
}
}
}
option = {
name = fp3_yearly.8888.b
scope:upset_vassal = {
add_opinion = {
target = root
opinion = 20
modifier = grateful_opinion
}
}
scope:possibly_capable_marshal = {
add_opinion = {
target = root
opinion = 10
modifier = trusted_me_opinion
}
}
scope:possibly_capable_marshal = {
duel = {
skill = martial
value = average_skill_rating
20 = {
compare_modifier = {
value = scope:duel_value
multiplier = 2
}
root = {
custom_tooltip = fp3_fighting_turks.success.tt
trigger_event = {
id = fp3_yearly.8890
days = { 2 3 }
}
}
}
20 = {
compare_modifier = {
value = scope:duel_value
multiplier = -1
}
root = {
custom_tooltip = fp3_fighting_turks.failure.tt
send_interface_toast = {
title = fp3_fighting_turks_toast.failure
left_icon = scope:possibly_capable_marshal
}
}
}
}
}
stress_impact = {
compassionate = medium_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_boldness = 1
ai_vengefulness = 0.5
}
}
}
option = { #Ignore the issue
name = fp3_yearly.8888.c
scope:upset_vassal = {
add_opinion = {
target = root
opinion = -20
modifier = angry_opinion
}
}
scope:possibly_capable_marshal = {
add_opinion = {
target = root
opinion = -10
modifier = disappointed_opinion
}
}
stress_impact = {
ambitious = minor_stress_impact_gain
diligent = minor_stress_impact_gain
just = minor_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_energy = -1
}
}
}
}
fp3_yearly.8889 = { #Nomads story cycle
type = character_event
title = fp3_yearly.8889.t
desc = fp3_yearly.8889.desc
theme = vassal
left_portrait = {
character = scope:turkic_leader
animation = disapproval
}
right_portrait = {
character = root
animation = drink_goblet
triggered_animation = {
trigger = {
diplomacy >= decent_skill_rating
NOR = {
has_trait = callous
has_trait = wrathful
has_trait = vengeful
}
}
animation = personality_compassionate
}
}
lower_left_portrait = {
character = scope:upset_vassal
}
override_background = { reference = wilderness }
trigger = {
#standard checks
is_available_adult = yes
#event not breaking sanity triggers
exists = scope:upset_vassal
scope:upset_vassal = { is_alive = yes }
exists = scope:turkic_leader
scope:turkic_leader = { is_alive = yes }
exists = scope:nomads_county
exists = scope:nomads_new_county
}
option = {
name = fp3_yearly.8889.a
if = {
limit = {
scope:upset_vassal = {
NOT = {
has_relation_rival = root
has_relation_nemesis = root
}
}
}
root = {
progress_towards_rival_effect = {
CHARACTER = scope:upset_vassal
REASON = rival_let_hostile_nomads_roam_free
OPINION = -20
}
}
}
else = {
scope:upset_vassal = {
add_opinion = {
target = root
opinion = -40
modifier = hate_opinion
}
}
}
add_courtier = scope:turkic_leader
spawn_army = {
men_at_arms = {
type = horse_archers
stacks = 1
}
location = root.capital_province
war_keep_on_attacker_victory = yes
uses_supply = yes
inheritable = no
save_scope_as = horsemen_army
name = turkic_tribal_event_troops
}
#This is needed to make the story cycle able to pick up the scopes
set_variable = {
name = turkic_leader
value = scope:turkic_leader
}
set_variable = {
name = upset_vassal
value = scope:upset_vassal
}
set_variable = {
name = nomads_county
value = scope:nomads_county
}
set_variable = {
name = nomads_new_county
value = scope:nomads_new_county
}
create_story = turkic_tribe_story
stress_impact = {
paranoid = medium_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_sociability = 0.4
ai_boldness = 0.7
ai_vengefulness = 0.3
}
}
}
option = {
name = fp3_yearly.8889.b
scope:upset_vassal = {
add_opinion = {
target = root
opinion = -10
modifier = disappointed_opinion
}
}
add_courtier = scope:turkic_leader
spawn_army = {
men_at_arms = {
type = horse_archers
stacks = 1
}
location = root.capital_province
war_keep_on_attacker_victory = yes
uses_supply = yes
inheritable = no
save_scope_as = horsemen_army
name = turkic_tribal_event_troops
}
#This is needed to make the story cycle able to pick up the scopes
set_variable = {
name = turkic_leader
value = scope:turkic_leader
}
set_variable = {
name = upset_vassal
value = scope:upset_vassal
}
set_variable = {
name = nomads_county
value = scope:nomads_county
}
set_variable = {
name = nomads_new_county
value = scope:nomads_new_county
}
create_story = turkic_tribe_story
scope:nomads_county = {
remove_county_modifier = fp3_nomad_friction_county_modifier
}
scope:nomads_new_county = {
add_county_modifier = {
modifier = fp3_nomad_friction_county_modifier
years = 30
}
}
stress_impact = {
generous = medium_stress_impact_loss
content = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_sociability = 0.6
ai_boldness = 1
ai_compassion = 0.2
}
}
}
option = { #no deal
name = fp3_yearly.8889.c
scope:upset_vassal = {
add_opinion = {
target = root
opinion = 20
modifier = pleased_opinion
}
}
stress_impact = {
ambitious = medium_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_greed = -0.5
ai_vengefulness = 0.5
}
}
}
}
fp3_yearly.8890 = { #Nomads story cycle
type = character_event
title = fp3_yearly.8890.t
desc = {
desc = fp3_yearly.8890.desc_beginning
first_valid = {
triggered_desc = {
trigger = {
scope:upset_vassal = {
AND = {
ai_compassion < medium_positive_ai_value
ai_vengefulness > medium_positive_ai_value
}
}
}
desc = fp3_yearly.8890_brutal_demands
}
desc = fp3_yearly.8890_nonbrutal_demands
}
desc = fp3_yearly.8890.desc_ending
}
theme = vassal
left_portrait = {
character = scope:turkic_leader
animation = prisonhouse
}
right_portrait = {
character = root
animation = personality_rational
triggered_animation = {
trigger = {
diplomacy < high_skill_rating
NOR = {
has_trait = compassionate
has_trait = forgiving
has_trait = just
}
}
animation = personality_callous
}
}
lower_left_portrait = {
character = scope:upset_vassal
}
lower_right_portrait = {
character = scope:possibly_capable_marshal
}
trigger = {
#standard checks
is_available_adult = yes
#event not breaking sanity triggers
exists = scope:upset_vassal
scope:upset_vassal = { is_alive = yes }
exists = scope:turkic_leader
scope:turkic_leader = { is_alive = yes }
exists = scope:nomads_county
exists = scope:nomads_new_county
}
option = {
name = fp3_yearly.8890.a
scope:upset_vassal = {
add_opinion = {
target = root
opinion = -15
modifier = fp3_suspicious_motives_opinion
}
}
add_courtier = scope:turkic_leader
add_hook = {
type = indebted_hook
target = scope:turkic_leader
}
spawn_army = {
men_at_arms = {
type = horse_archers
stacks = 1
}
location = root.capital_province
war_keep_on_attacker_victory = yes
uses_supply = yes
inheritable = no
save_scope_as = horsemen_army
name = turkic_tribal_event_troops
}
#This is needed to make the story cycle able to pick up the scopes
set_variable = {
name = turkic_leader
value = scope:turkic_leader
}
set_variable = {
name = upset_vassal
value = scope:upset_vassal
}
set_variable = {
name = nomads_county
value = scope:nomads_county
}
set_variable = {
name = nomads_new_county
value = scope:nomads_new_county
}
create_story = turkic_tribe_story
scope:nomads_county = {
remove_county_modifier = fp3_nomad_friction_county_modifier
}
scope:nomads_new_county = {
add_county_modifier = {
modifier = fp3_nomad_friction_county_modifier
years = 30
}
}
stress_impact = {
content = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_boldness = 0.5
ai_rationality = 0.5
}
}
}
option = { #execute the nomad leader
name = fp3_yearly.8890.b
add_dread = medium_dread_gain
scope:upset_vassal = {
if = {
limit = {
AND = { #if they're cruel, he'll enjoy this
ai_compassion < 0
ai_vengefulness > medium_positive_ai_value
}
}
add_opinion = {
target = root
opinion = 30
modifier = fp3_very_very_pleased_opinion
}
}
else = {
add_opinion = { #but otherwise, they're not on board
target = root
opinion = -10
modifier = fp3_went_too_far_opinion
}
}
}
scope:turkic_leader = {
death = {
death_reason = death_execution
killer = root
}
}
random_list = {
50 = {
send_interface_toast = {
title = nomad_friction_gone.tt
left_icon = root
scope:nomads_county = { remove_county_modifier = fp3_nomad_friction_county_modifier }
}
}
50 = {
send_interface_toast = {
title = nomad_friction_active.tt
left_icon = root
scope:nomads_county = {
add_county_modifier = {
modifier = fp3_vengeful_nomads_county_modifier
years = 10
}
}
}
}
}
stress_impact = {
compassionate = medium_stress_impact_gain
just = medium_stress_impact_gain
arbitrary = medium_stress_impact_loss
sadistic = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_vengefulness = 0.5
ai_compassion = -1
}
}
}
option = {
name = fp3_yearly.8890.c
add_dread = minor_dread_gain
scope:turkic_leader = {
hard_imprison_character_effect = {
TARGET = this
IMPRISONER = root
}
}
scope:upset_vassal = {
add_opinion = {
target = root
opinion = 20
modifier = pleased_opinion
}
}
random = {
chance = 75
send_interface_toast = {
title = nomad_friction_gone.tt
left_icon = root
scope:nomads_county = { remove_county_modifier = fp3_nomad_friction_county_modifier }
}
}
stress_impact = {
compassionate = minor_stress_impact_gain
just = minor_stress_impact_gain
arbitrary = minor_stress_impact_loss
cynical = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_vengefulness = 0.5
ai_rationality = 1
ai_compassion = -0.5
}
}
}
}