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

View file

@ -1,552 +0,0 @@
namespace = fp2_struggle
######################################
# EL CID'S BIZARRE ADVENTURE SYSTEM
# By Hugo Cortell
######################################
fp2_struggle.2045 = {
hidden = yes
trigger = {
is_landless_adventurer = no
}
immediate = {
if = { # Startup changes (give the cid his full nickname when he starts adventuring)
limit = { NOT = { has_character_flag = has_already_begun_travelling } }
remove_nickname = yes
give_nickname = nick_the_cid_campeador
add_character_flag = has_already_begun_travelling # Prevents yearly pulse from stacking up requests
add_character_flag = blocked_from_leaving # Prevents el cid from vacationing in far away lands
}
if = {
limit = { NOT = { has_character_flag = finished_el_cids_travels } } # In case several requests for the event are stacked up
if = { # Being a guest is used as a boolean to check if the character is in an "evaluation" phase or already in a court. DO NOT USE THE GUEST SYSTEM FOR THIS.
limit = {
OR = {
is_pool_guest = yes
is_pool_character = yes
is_foreign_court_guest = yes
}
}
random_county_in_region = { # Naturally biased in favor of larger states
limit = { exists = holder.liege }
weight = {
base = 1
modifier = {
add = 10
holder.liege = { has_relation_friend = root }
}
modifier = {
add = 30
holder.liege = { has_relation_best_friend = root }
}
compare_modifier = {
value = holder.prestige_level
multiplier = 1.5
}
}
region = world_europe_west_iberia # Locks el cid's forced travels to iberia
holder.liege = { trigger_event = fp2_struggle.2051 }
}
}
else = {
if = {
limit = { exists = liege }
liege = { trigger_event = fp2_struggle.2050 } # This is you, you get the event, while el cid gets the "system event"
}
else = {
employer = { trigger_event = fp2_struggle.2050 } # ditto
}
}
}
}
}
#############################################################
# Unease About El Sidi
# By The Content Design Team (And scripted by Hugo Cortell)
#############################################################
scripted_trigger el_cid_too_important_trigger = {
OR = {
any_extended_family_member = { this = scope:fp2_2050_el_cid }
scope:fp2_2050_el_cid = { is_vassal_of = ROOT }
has_relation_best_friend = scope:fp2_2050_el_cid
is_spouse_of = scope:fp2_2050_el_cid
}
}
fp2_struggle.2050 = {
type = character_event
title = {
random_valid = {
triggered_desc = { # Muslim Titles
trigger = { religion = religion:islam_religion }
desc = {
random_valid = {
desc = fp2_struggle.2050.t_muslim_one
desc = fp2_struggle.2050.t_muslim_two
desc = fp2_struggle.2050.t_muslim_three
desc = fp2_struggle.2050.t_muslim_four
}
}
}
triggered_desc = { # Generic (Christian, nickname-like) Titles
trigger = { NOT = { religion = religion:islam_religion } }
desc = {
random_valid = {
desc = fp2_struggle.2050.t_generic_one
desc = fp2_struggle.2050.t_generic_two
desc = fp2_struggle.2050.t_generic_three
desc = fp2_struggle.2050.t_generic_four
}
}
}
}
}
desc = { # See immediate for flags
first_valid = {
triggered_desc = {
trigger = { scope:fp2_2050_reason_for_kicking_out_el_cid = flag:generic_court }
desc = fp2_struggle.2050.desc_court
}
triggered_desc = {
trigger = { scope:fp2_2050_reason_for_kicking_out_el_cid = flag:jelly_knights }
desc = fp2_struggle.2050.desc_knights
}
triggered_desc = {
trigger = { scope:fp2_2050_reason_for_kicking_out_el_cid = flag:upset_nobles }
desc = fp2_struggle.2050.desc_nobles
}
triggered_desc = {
trigger = { scope:fp2_2050_reason_for_kicking_out_el_cid = flag:faith_discomfort }
desc = fp2_struggle.2050.desc_faith
}
desc = board_games.0001.desc.i_am_winning.trait.rowdy # Theoretically impossible to trigger, but if something breaks, players will see this and report it for sure
}
}
theme = corruption
override_background = { reference = throne_room }
left_portrait = {
character = root
animation = personality_rational
}
right_portrait = {
character = scope:fp2_2050_el_cid
animation = throne_room_two_handed_passive_1
}
immediate = {
character:107590 = { save_scope_as = fp2_2050_el_cid }
random_list = { # Spin the wheel to decide who and why wishes ill on el cid
10 = { # Generic "the court thinks he is bad"
save_scope_value_as = {
name = fp2_2050_reason_for_kicking_out_el_cid
value = flag:generic_court
}
}
10 = { # Your knights are all sore losers
modifier = {
add = 30
any_knight = {
OR = {
has_relation_rival = scope:fp2_2050_el_cid
has_relation_nemesis = scope:fp2_2050_el_cid
}
}
}
save_scope_value_as = {
name = fp2_2050_reason_for_kicking_out_el_cid
value = flag:jelly_knights
}
}
10 = { # Nobles dislike upstart poor people
modifier = {
add = 30
any_vassal = {
OR = {
has_relation_rival = scope:fp2_2050_el_cid
has_relation_nemesis = scope:fp2_2050_el_cid
}
}
}
save_scope_value_as = {
name = fp2_2050_reason_for_kicking_out_el_cid
value = flag:upset_nobles
}
}
10 = { # Generic faith concerns from your bishop
save_scope_value_as = {
name = fp2_2050_reason_for_kicking_out_el_cid
value = flag:faith_discomfort
}
}
}
}
option = { # Family, Friend or Vassal
name = fp2_struggle.2050.a
trigger = { el_cid_too_important_trigger = yes }
hidden_effect = {
scope:fp2_2050_el_cid = { add_character_flag = finished_el_cids_travels } # At this point we can imagine that this character has settled, this stops the cycle to prevent spam
}
custom_tooltip = fp2_struggle.2050.a.serve_tooltip
send_interface_toast = {
type = event_toast_effect_good
title = fp2_struggle.2050.a.notif.t
right_icon = scope:fp2_2050_el_cid
reverse_add_opinion = {
target = scope:fp2_2050_el_cid
modifier = stood_by_me_opinion
opinion = 10
years = 20
}
}
stress_impact = {
fickle = minor_stress_impact_gain
}
ai_chance = { base = 1000 }
}
option = { # No, I stand by my knight and he can stay!
name = fp2_struggle.2050.b
trigger = {
is_ai = no
NOT = { scope:fp2_2050_el_cid = { is_vassal_of = ROOT } }
}
custom_tooltip = fp2_struggle.2050.a.serve_tooltip
send_interface_toast = {
type = event_toast_effect_good
title = fp2_struggle.2050.a.notif.t
right_icon = scope:fp2_2050_el_cid
if = {
limit = { scope:fp2_2050_reason_for_kicking_out_el_cid = flag:generic_court }
add_character_modifier = {
modifier = fp2_kept_accused_traitor_in_court_modifier
years = 10
}
}
else_if = {
limit = { scope:fp2_2050_reason_for_kicking_out_el_cid = flag:jelly_knights }
add_character_modifier = {
modifier = fp2_kept_op_knight_in_court_modifier
years = 10
}
}
else_if = {
limit = { scope:fp2_2050_reason_for_kicking_out_el_cid = flag:upset_nobles }
add_character_modifier = {
modifier = fp2_kept_upstart_knight_in_court_modifier
years = 10
}
}
else_if = {
limit = { scope:fp2_2050_reason_for_kicking_out_el_cid = flag:faith_discomfort }
add_character_modifier = {
modifier = fp2_kept_godless_mercenary_in_court_modifier
years = 10
}
}
reverse_add_opinion = {
target = scope:fp2_2050_el_cid
modifier = stood_by_me_opinion
opinion = 10
years = 20
}
scope:fp2_2050_el_cid = {
trigger_event = {
id = fp2_struggle.2045
years = { 4 12 }
}
}
}
stress_impact = {
fickle = minor_stress_impact_gain
}
}
option = { # Okay, please do not give me malus
name = fp2_struggle.2050.c
trigger = {
NOT = { scope:fp2_2050_el_cid = { is_vassal_of = ROOT } }
}
send_interface_toast = {
type = event_toast_effect_bad
title = fp2_struggle.2051.t
right_icon = scope:fp2_2050_el_cid
scope:fp2_2050_el_cid = {
move_to_pool = yes
trigger_event = {
id = fp2_struggle.2045
days = { 1 4 }
}
}
}
stress_impact = {
generous = minor_stress_impact_gain
}
ai_chance = { base = 1 }
}
option = { # Vanish el cid, even though he is your vassal (suggested by Max)
name = fp2_struggle.2050.c
trigger = {
is_ai = no
scope:fp2_2050_el_cid = { is_vassal_of = ROOT }
}
# The only reason to ever select this option is to gain those "repossessed" lands, but it is very mean.
# It will give you tyranny, but it won't directly anger your vassals as they are *narratively* the reason why this is happening.
# The primary reason this exists is to prevent ludonarrative dissonance with the event's description. It is less resource intensive than making new loc.
# We set the tyranny and opinion loss based on how much was lost (Placed outside the toast to prevent clutter)
add_tyranny = {
value = medium_tyranny_gain
multiply = scope:fp2_2050_el_cid.primary_title.tier
}
if = {
limit = { can_set_relation_rival_trigger = { CHARACTER = scope:fp2_2050_el_cid } }
set_relation_rival = scope:fp2_2050_el_cid
}
if = { # This is not out of order, it is WAD. If can_set_relation_rival_trigger fails, you just lose a friend but not gain a rival.
limit = { has_relation_friend = scope:fp2_2050_el_cid }
remove_relation_friend = scope:fp2_2050_el_cid
}
if = {
limit = { scope:fp2_2050_el_cid.primary_title.tier < tier_kingdom }
scope:fp2_2050_el_cid = {
add_opinion = {
modifier = betrayed_me_opinion
target = root
opinion = -100
}
}
}
else = {
scope:fp2_2050_el_cid = {
add_opinion = {
modifier = betrayed_me_opinion
target = root
opinion = -200
}
}
}
create_title_and_vassal_change = { # This tells the engine to start paying closer attention to title changes (and not butt in)
type = revoked
save_scope_as = change
}
scope:fp2_2050_el_cid = {
every_held_title = {
change_title_holder = {
holder = root
change = scope:change
}
}
}
resolve_title_and_vassal_change = scope:change # Tells the engine that it is safe to go about its buisness with titles
show_as_tooltip = { scope:fp2_2050_el_cid = { move_to_pool = yes } } # Just jomini things~
hidden_effect = { # Prevents rendering of toast on option highlight
send_interface_toast = {
type = event_toast_effect_bad
title = fp2_struggle.2051.t
right_icon = scope:fp2_2050_el_cid
show_as_tooltip = { # Condensed version to fit into the toast
if = {
limit = { scope:fp2_2050_el_cid.primary_title.tier > tier_duchy }
scope:fp2_2050_el_cid = {
if = {
limit = { has_relation_nemesis = ROOT }
set_relation_nemesis = ROOT
}
add_opinion = {
modifier = betrayed_me_opinion
target = root
opinion = -200
}
}
}
else = {
if = {
limit = { has_relation_rival = ROOT }
set_relation_rival = ROOT
}
add_opinion = {
modifier = betrayed_me_opinion
target = root
opinion = -100
}
}
}
# Standard stuff
scope:fp2_2050_el_cid = {
move_to_pool = yes
trigger_event = {
id = fp2_struggle.2045
days = { 1 4 }
}
}
}
}
stress_impact = { # This kind of action comes with quite a bit of stress
generous = minor_stress_impact_gain
brave = medium_stress_impact_gain
forgiving = major_stress_impact_gain
gregarious = medium_stress_impact_gain
honest = minor_stress_impact_gain
humble = medium_stress_impact_gain
just = major_stress_impact_gain
trusting = medium_stress_impact_gain
compassionate = major_stress_impact_gain
august = minor_stress_impact_gain
gallant = medium_stress_impact_gain
}
}
}
############################################################
# El Cid Arrives At Your Court
# By The Content Design Team (And scripted by Hugo Cortell)
############################################################
fp2_struggle.2051 = {
type = character_event
title = fp2_struggle.2051.t
desc = fp2_struggle.2051.desc
theme = vassal
override_background = { reference = throne_room }
left_portrait = {
character = root
animation = personality_rational
}
right_portrait = {
character = scope:fp2_2050_el_cid
animation = throne_room_one_handed_passive_1
}
immediate = {
character:107590 = { save_scope_as = fp2_2050_el_cid }
add_visiting_courtier = scope:fp2_2050_el_cid
}
option = { # You will enjoy a high position at my court!
name = fp2_struggle.2051.a
send_interface_toast = {
type = event_toast_effect_good
title = fp2_struggle.2050.a.notif.t
right_icon = scope:fp2_2050_el_cid
pay_treasury_or_gold = {
target = scope:fp2_2050_el_cid
value = medium_treasury_or_gold_value
}
add_courtier = scope:fp2_2050_el_cid
}
if = {
limit = { exists = cp:councillor_marshal }
fire_councillor = cp:councillor_marshal
}
assign_councillor_type = {
type = councillor_marshal
target = scope:fp2_2050_el_cid
}
scope:fp2_2050_el_cid = {
add_opinion = {
target = root
modifier = hired_me_opinion
opinion = 20
}
add_opinion = {
target = root
modifier = given_luxuries_opinion
opinion = 10
}
trigger_event = {
id = fp2_struggle.2045
years = { 4 12 }
}
}
trigger = { is_ai = no }
}
option = { # Welcome or whatever
name = fp2_struggle.2051.b
send_interface_toast = {
type = event_toast_effect_good
title = fp2_struggle.2050.a.notif.t
right_icon = scope:fp2_2050_el_cid
pay_treasury_or_gold = {
target = scope:fp2_2050_el_cid
value = minor_treasury_or_gold_value
}
add_courtier = scope:fp2_2050_el_cid
}
scope:fp2_2050_el_cid = {
trigger_event = {
id = fp2_struggle.2045
years = { 4 10 }
}
}
ai_chance = { base = 65 }
}
option = { # Away with you vile beggar!
name = fp2_struggle.2051.c
send_interface_toast = {
type = event_toast_effect_bad
title = fp2_struggle.2051.t
right_icon = scope:fp2_2050_el_cid
custom_tooltip = fp2_struggle.2050.c.notif
scope:fp2_2050_el_cid = {
move_to_pool = yes
trigger_event = {
id = fp2_struggle.2045
days = { 1 4 }
}
}
}
ai_chance = { base = 45 }
}
}

View file

@ -320,8 +320,8 @@ fp2_other_decisions.0001 = {
100 = {
trigger = {
# can replace the court chaplain
faith = {
has_doctrine_parameter = clerical_appointment_fixed
rite = {
rite_has_parameter = clerical_appointment_fixed
}
}

View file

@ -58,7 +58,7 @@ fp2_yearly.1001 = {
trigger = {
#Strategy Games Culture Tradition
has_fp2_dlc_trigger = yes
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
capital_province = {
geographical_region = world_europe_west_iberia
}
@ -150,7 +150,7 @@ fp2_yearly.1002 = {
trigger = {
has_fp2_dlc_trigger = yes
is_adult = yes
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
any_courtier = { is_available_healthy_ai_adult = yes }
NOT = {
@ -223,7 +223,7 @@ fp2_yearly.1002 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
deviant = medium_stress_gain
}
@ -231,7 +231,7 @@ fp2_yearly.1002 = {
option = {
name = fp2_yearly.1002.c
stress_impact = {
stress_and_fulfillment_impact = {
deviant = medium_stress_loss
}
@ -265,7 +265,7 @@ fp2_yearly.1002 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
deviant = medium_stress_gain
}
@ -629,7 +629,7 @@ fp2_yearly.1006 = {
name = fp2_yearly.1006.a
remove_short_term_gold = minor_gold_value
#Cheese based bonus
stress_impact = {
stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss
gluttonous = minor_stress_impact_loss
comfort_eater = minor_stress_impact_loss
@ -668,7 +668,7 @@ fp2_yearly.1006 = {
option = { #Nothing happens you hate cheese and having fun
name = fp2_yearly.1006.c
stress_impact = {
stress_and_fulfillment_impact = {
gluttonous = miniscule_stress_impact_gain
comfort_eater = miniscule_stress_impact_gain
eccentric = miniscule_stress_impact_gain
@ -741,7 +741,7 @@ fp2_yearly.1007 = {
option = {
name = fp2_yearly.1007.b
stress_impact = {
stress_and_fulfillment_impact = {
gluttonous = major_stress_loss
}
@ -884,6 +884,7 @@ fp2_yearly.2020 = {
random_traits = no
culture = scope:fp2_2020_valencia.culture
faith = scope:fp2_2020_valencia.faith
rite = scope:fp2_2020_valencia.rite
dynasty = none
save_scope_as = fp2_2020_laxatador
}
@ -951,7 +952,7 @@ fp2_yearly.2020 = {
name = fp2_struggle.2020.c
flavor = fp2_struggle.2020.c.desc
stress_impact = { gluttonous = minor_stress_impact_gain } # As you need to be glut to trigger the event, the stress is reduced to compensate
stress_and_fulfillment_impact = { gluttonous = minor_stress_impact_gain } # As you need to be glut to trigger the event, the stress is reduced to compensate
if = {
limit = { has_trait = gluttonous }
add_prestige = medium_prestige_gain # Resisting is very difficult
@ -1267,7 +1268,7 @@ fp2_yearly.3000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = massive_stress_impact_gain
zealous = major_stress_impact_gain
deceitful = medium_stress_impact_gain
@ -1350,7 +1351,7 @@ fp2_yearly.3000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = massive_stress_impact_gain
impatient = major_stress_impact_gain
shy = major_stress_impact_gain
@ -1429,7 +1430,7 @@ fp2_yearly.3000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = massive_stress_impact_gain
generous = major_stress_impact_gain
craven = medium_stress_impact_gain
@ -1455,7 +1456,7 @@ fp2_yearly.3000 = {
option = {
name = fp2_flavor.0001.d
stress_impact = {
stress_and_fulfillment_impact = {
diligent = major_stress_impact_gain
ambitious = major_stress_impact_gain
generous = medium_stress_impact_gain
@ -1582,7 +1583,7 @@ fp2_yearly.3001 = {
option = { #your language + vulgar (Latin + Castillian / Hebrew + Sephardí / Arabic + Mozarabic )
name = fp2_flavor.3001.c
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_loss
zealous = medium_stress_gain
}
@ -1606,7 +1607,7 @@ fp2_yearly.3001 = {
years = 5
}
add_piety = minor_piety_loss
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
zealous = minor_stress_impact_gain
}
@ -1664,7 +1665,7 @@ fp2_yearly.3002 = {
NOT = { is_consort_of = root }
might_cheat_on_every_partner_trigger = yes
trigger_if = {
limit = { relation_with_character_is_incestuous_in_my_faith_trigger = { CHARACTER = root } }
limit = { relation_with_character_is_incestuous_in_my_rite_trigger = { CHARACTER = root } }
OR = {
has_perk = subtle_desire_perk
accepts_incest_with_trigger = { CHARACTER = root }
@ -1690,7 +1691,7 @@ fp2_yearly.3002 = {
NOT = { is_consort_of = root }
might_cheat_on_every_partner_trigger = yes
trigger_if = {
limit = { relation_with_character_is_incestuous_in_my_faith_trigger = { CHARACTER = root } }
limit = { relation_with_character_is_incestuous_in_my_rite_trigger = { CHARACTER = root } }
OR = {
has_perk = subtle_desire_perk
accepts_incest_with_trigger = { CHARACTER = root }
@ -1706,12 +1707,13 @@ fp2_yearly.3002 = {
trigger = {
NOT = { has_trait = celibate }
might_cheat_on_every_partner_trigger = yes
OR = {
has_perk = unshackled_lust_perk
is_attracted_to_gender_of = root
}
trigger_if = {
limit = { relation_with_character_is_incestuous_in_my_faith_trigger = { CHARACTER = scope:fp2_flavor_3011_best_friend } }
limit = { relation_with_character_is_incestuous_in_my_rite_trigger = { CHARACTER = scope:fp2_flavor_3011_best_friend } }
OR = {
has_perk = subtle_desire_perk
accepts_incest_with_trigger = { CHARACTER = scope:fp2_flavor_3011_best_friend }
@ -1728,18 +1730,18 @@ fp2_yearly.3002 = {
scope:fp2_flavor_3011_best_friend = {
is_female = yes
}
NOT = { faith = { has_doctrine = doctrine_homosexuality_accepted } }
NOT = { rite = { rite_has_doctrine = doctrine_homosexuality_accepted } }
}
AND = {
is_male = yes
scope:fp2_flavor_3011_best_friend = {
is_male = yes
}
NOT = { faith = { has_doctrine = doctrine_homosexuality_accepted } }
NOT = { rite = { rite_has_doctrine = doctrine_homosexuality_accepted } }
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
zealous = medium_stress_impact_gain #some extra stress
}
@ -1779,7 +1781,7 @@ fp2_yearly.3002 = {
option = { #allowe them to move in but stay as friends
name = fp2_flavor.3011.b
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_loss
lustful = medium_stress_impact_gain
}
@ -1833,7 +1835,7 @@ fp2_yearly.3002 = {
}
text = fp2_flavor.3011.c
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain #you get stressed at losing your bff
lustful = minor_stress_impact_gain
callous = minor_stress_loss
@ -1929,7 +1931,7 @@ fp2_yearly.3003 = {
option = { #pretend nothing's wrong
name = fp2_flavor.3021.a
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
compassionate = minor_stress_impact_gain
honest = minor_stress_impact_gain
@ -1994,7 +1996,7 @@ fp2_yearly.3003 = {
send_interface_toast = {
title = fp2_flavor.3021.b.success
left_icon = ROOT
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
compassionate = minor_stress_impact_gain
honest = minor_stress_impact_gain
@ -2013,7 +2015,7 @@ fp2_yearly.3003 = {
opinion = -20
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
compassionate = minor_stress_impact_gain
honest = minor_stress_impact_gain
@ -2068,7 +2070,7 @@ fp2_yearly.3003 = {
opinion = -30
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
}
}
@ -2101,7 +2103,7 @@ fp2_yearly.3003 = {
opinion = -50
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_loss
brave = minor_stress_impact_gain
honest = minor_stress_impact_gain
@ -2169,7 +2171,7 @@ fp2_yearly.4001 = {
add_prestige = minor_prestige_gain
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
lazy = medium_stress_impact_gain
diligent = major_stress_impact_loss
@ -2187,7 +2189,7 @@ fp2_yearly.4001 = {
option = { #a little nap can't hurt anyone
name = fp2_yearly.4001.b
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
diligent = massive_stress_impact_gain
}
@ -2275,7 +2277,7 @@ fp2_yearly.4002 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = major_stress_gain
cynical = minor_stress_loss
arrogant = medium_stress_gain
@ -2317,7 +2319,7 @@ fp2_yearly.4002 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_loss
cynical = medium_stress_gain
forgiving = major_stress_gain
@ -2452,7 +2454,7 @@ fp2_yearly.4003 = {
}
}
option = { #Call upon a local Holy Order
option = { #Call upon a local Military Order
name = fp2_yearly.4003.a
trigger = {
@ -2494,7 +2496,7 @@ fp2_yearly.4003 = {
remove_treasury_or_gold = major_treasury_or_gold_value
stress_impact = {
stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain
arbitrary = medium_stress_impact_gain
cynical = medium_stress_impact_gain
@ -2518,7 +2520,7 @@ fp2_yearly.4003 = {
add_piety = medium_piety_loss
stress_impact = {
stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain
zealous = major_stress_impact_gain
humble = medium_stress_impact_gain
@ -3250,7 +3252,7 @@ fp2_yearly.4007 = {
type = character_event
title = fp2_yearly.4007.t
desc = fp2_yearly.4007.desc
theme = faith
theme = christian
left_portrait = {
character = root
animation = admiration
@ -3331,7 +3333,7 @@ fp2_yearly.4007 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = massive_stress_impact_gain
honest = massive_stress_impact_gain
just = major_stress_impact_gain
@ -3361,7 +3363,7 @@ fp2_yearly.4007 = {
add_piety = miniscule_piety_value
stress_impact = {
stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss
cynical = massive_stress_impact_gain
deceitful = massive_stress_impact_gain
@ -3397,7 +3399,7 @@ fp2_yearly.4007 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain
zealous = massive_stress_impact_gain
honest = massive_stress_impact_gain
@ -3576,7 +3578,7 @@ fp2_yearly.4008 = {
has_fp2_dlc_trigger = yes
#Standard check
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
is_available_at_peace_adult = yes
#You are Iberian
@ -3621,6 +3623,7 @@ fp2_yearly.4008 = {
culture = root.culture
faith = root.faith
rite = root.rite
dynasty = none
@ -3644,7 +3647,7 @@ fp2_yearly.4008 = {
add_prestige = minor_prestige_value
stress_impact = {
stress_and_fulfillment_impact = {
cynical = miniscule_stress_impact_loss
arrogant = miniscule_stress_impact_loss
stubborn = miniscule_stress_impact_loss
@ -3770,7 +3773,7 @@ fp2_yearly.4009 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
calm = medium_stress_impact_gain
craven = medium_stress_impact_gain
content = major_stress_impact_gain
@ -3820,7 +3823,7 @@ fp2_yearly.4009 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_loss
calm = medium_stress_impact_gain
craven = medium_stress_impact_gain
@ -3978,7 +3981,7 @@ fp2_yearly.4010 = {
title = fp2_yearly.4010.a.fail
type = event_toast_effect_bad
left_icon = root
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_gain
ambitious = major_stress_impact_gain
zealous = medium_stress_impact_gain
@ -4015,7 +4018,7 @@ fp2_yearly.4010 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = miniscule_stress_impact_loss
calm = medium_stress_impact_gain
content = medium_stress_impact_gain
@ -4054,7 +4057,7 @@ fp2_yearly.4010 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
cynical = medium_stress_impact_gain
lazy = medium_stress_impact_gain
@ -4136,11 +4139,11 @@ fp2_yearly.8000 = {
has_religion = religion:judaism_religion
}
root.faith = {
root.rite = {
OR = {
has_doctrine = tenet_religious_legal_pronouncements
has_doctrine = tenet_literalism
has_doctrine = tenet_adaptive
rite_has_tenet = tenet_religious_legal_pronouncements
rite_has_tenet = tenet_literalism
rite_has_tenet = tenet_adaptive
}
}
@ -4257,7 +4260,7 @@ fp2_yearly.8000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain
temperate = medium_stress_impact_gain
trusting = minor_stress_impact_gain
@ -4293,7 +4296,7 @@ fp2_yearly.8000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain
cynical = minor_stress_impact_gain
gluttonous = medium_stress_impact_gain
@ -4343,7 +4346,7 @@ fp2_yearly.8000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain
temperate = minor_stress_impact_gain
trusting = minor_stress_impact_gain
@ -4467,7 +4470,7 @@ fp2_yearly.8001 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# Characters who are set in their ways or have no respect for common folk find this a very unappealing option.
arrogant = medium_stress_impact_gain
august = minor_stress_impact_gain
@ -4515,7 +4518,7 @@ fp2_yearly.8001 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# Characters who are careful or hate the masses find this a very unappealing option.
eccentric = minor_stress_impact_loss
craven = minor_stress_impact_gain
@ -4551,7 +4554,7 @@ fp2_yearly.8001 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# Characters who likes efficiency and democracy dislikes this option
ambitious = medium_stress_impact_gain
compassionate = minor_stress_impact_gain
@ -4590,11 +4593,11 @@ fp2_yearly.8002 = {
has_religion = religion:judaism_religion
}
faith = {
rite = {
OR = {
has_doctrine = tenet_religious_legal_pronouncements
has_doctrine = tenet_literalism
has_doctrine = tenet_adaptive
rite_has_tenet = tenet_religious_legal_pronouncements
rite_has_tenet = tenet_literalism
rite_has_tenet = tenet_adaptive
}
}
@ -4651,7 +4654,7 @@ fp2_yearly.8002 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# Craven character's don't wanna take the risk, and humble and trusting doesn't want to undermine the ulama
craven = minor_stress_impact_gain
humble = minor_stress_impact_gain
@ -4705,7 +4708,7 @@ fp2_yearly.8002 = {
}
}
stress_impact = { #temperate or cautious characters don't wanna eat strange blobs washed up from the Atlantic
stress_and_fulfillment_impact = { #temperate or cautious characters don't wanna eat strange blobs washed up from the Atlantic
inappetetic = medium_stress_impact_gain
temperate = minor_stress_impact_gain
paranoid = minor_stress_impact_gain
@ -4736,7 +4739,7 @@ fp2_yearly.8002 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# Ambitious or Impatient characters don't wanna wait for the ulama
ambitious = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain
@ -4779,7 +4782,7 @@ fp2_yearly.8002 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# Rational characters find this to be total overkill
cynical = minor_stress_impact_gain
@ -4880,7 +4883,8 @@ fp2_yearly.8003 = {
}
culture = culture:baranis
dynasty = none
faith = faith:muwalladi
faith = faith:sunni
rite = rite:maliki
save_scope_as = flying_polymath
}
set_global_variable = ibnfirnas_created
@ -4905,6 +4909,7 @@ fp2_yearly.8003 = {
}
culture = root.capital_province.culture
faith = root.faith
rite = root.rite
save_scope_as = flying_polymath
}
}
@ -5026,7 +5031,7 @@ fp2_yearly.8003 = {
}
}
stress_impact = { #Compassionate people worry about bystanders getting hurt
stress_and_fulfillment_impact = { #Compassionate people worry about bystanders getting hurt
compassionate = minor_stress_impact_gain
craven = minor_stress_impact_gain
}
@ -5093,7 +5098,7 @@ fp2_yearly.8003 = {
}
}
stress_impact = { #cravens, contents and the bedridden don't wanna take the risk
stress_and_fulfillment_impact = { #cravens, contents and the bedridden don't wanna take the risk
craven = medium_stress_impact_gain
content = minor_stress_impact_gain
ill = minor_stress_impact_gain
@ -5113,7 +5118,7 @@ fp2_yearly.8003 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_gain
brave = minor_stress_impact_gain
curious = minor_stress_impact_gain
@ -5203,7 +5208,7 @@ fp2_yearly.8004 = {
name = "Gherardo da Cremona" #Gerard of Cremona
gender = male
template = scholar_character
trait = scholar
trait = erudite
trait = education_learning_4
random_traits_list = { #his personality
count = 3
@ -5250,6 +5255,7 @@ fp2_yearly.8004 = {
}
culture = root.culture
faith = root.faith
rite = root.rite
save_scope_as = translation_enthusiast
}
}
@ -5281,7 +5287,7 @@ fp2_yearly.8004 = {
}
modifier = {
add = 40
has_trait = scholar
has_trait = erudite
}
modifier = {
add = 40
@ -5356,7 +5362,7 @@ fp2_yearly.8004 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# Content or lazy characters don't want to make the effort
content = minor_stress_impact_gain
lazy = minor_stress_impact_gain
@ -5404,7 +5410,7 @@ fp2_yearly.8004 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# self-absorbed cheapskates still don't want to pay for this
arrogant = minor_stress_impact_gain
greedy = minor_stress_impact_gain
@ -5451,12 +5457,12 @@ fp2_yearly.8004 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
# ambitious or learned characters cry from this
ambitious = minor_stress_impact_gain
diligent = minor_stress_impact_gain
generous = minor_stress_impact_gain
scholar = major_stress_impact_gain
erudite = major_stress_impact_gain
}
}
}
@ -5504,7 +5510,7 @@ fp2_yearly.8005 = {
trigger = {
has_fp2_dlc_trigger = yes
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
OR = {
capital_province = { geographical_region = world_europe_west_iberia }
culture = { has_cultural_pillar = heritage_iberian }
@ -5549,7 +5555,7 @@ fp2_yearly.8005 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
chaste = major_stress_impact_gain
content = minor_stress_impact_gain
arrogant = major_stress_impact_gain
@ -5569,7 +5575,7 @@ fp2_yearly.8005 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain
impatient = minor_stress_impact_gain
paranoid = minor_stress_impact_gain
@ -5603,7 +5609,7 @@ fp2_yearly.8005 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
content = minor_stress_impact_gain
greedy = minor_stress_impact_gain
lazy = minor_stress_impact_gain
@ -5635,7 +5641,7 @@ fp2_yearly.8005 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
calm = medium_stress_impact_gain
compassionate = medium_stress_impact_gain
@ -5742,6 +5748,7 @@ fp2_yearly.8006 = {
}
culture = culture:russian
faith = scope:former_master.faith
rite = scope:former_master.rite
dynasty = none
save_scope_as = saqaliba_leader
@ -5821,7 +5828,7 @@ fp2_yearly.8006 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
content = minor_stress_impact_gain
craven = minor_stress_impact_gain
paranoid = minor_stress_impact_gain
@ -5854,7 +5861,7 @@ fp2_yearly.8006 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_gain
compassionate = minor_stress_impact_gain
generous = major_stress_impact_gain
@ -5896,7 +5903,7 @@ fp2_yearly.8006 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_gain
compassionate = massive_stress_impact_gain
generous = massive_stress_impact_gain
@ -5984,7 +5991,7 @@ fp2_yearly.9000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = minor_stress_impact_loss
greedy = minor_stress_impact_gain
compassionate = medium_stress_impact_gain
@ -6043,7 +6050,7 @@ fp2_yearly.9000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss
greedy = minor_stress_impact_loss
}
@ -6073,7 +6080,7 @@ fp2_yearly.9000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss
greedy = minor_stress_impact_loss
}
@ -6590,7 +6597,7 @@ fp2_yearly.9002 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain
greedy = minor_stress_impact_gain
compassionate = medium_stress_impact_loss
@ -6610,7 +6617,7 @@ fp2_yearly.9002 = {
name = fp2_james.0003.b
scope:fp2_james_003_jewish_refugee_leader = { silent_disappearance_effect = yes }
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss
zealous = minor_stress_impact_loss
}
@ -6712,14 +6719,17 @@ fp2_yearly.9005 = {
limit = {
faith = scope:fp2_james_0004_place_of_murder.faith
}
add_county_modifier = fp2_toledo_nights_fallout_modifier
add_county_modifier = {
modifier = fp2_toledo_nights_fallout_modifier
years = 10
}
}
add_hook = {
type = favor_hook
target = scope:fp2_james_0004_murder_baron
}
stress_impact = {
stress_and_fulfillment_impact = {
just = massive_stress_impact_gain
compassionate = major_stress_impact_gain
forgiving = major_stress_impact_gain
@ -6852,7 +6862,7 @@ fp2_yearly.9006 = {
opinion = 20
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
zealous = minor_stress_impact_loss
}
@ -6874,7 +6884,7 @@ fp2_yearly.9006 = {
opinion = -25
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
}
ai_chance = {