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,696 +0,0 @@
namespace = ep3_admin_events
# Event to notify you that your liege has changed government and is no longer admin
ep3_admin_events.0001 = {
type = character_event
title = ep3_admin_events.0001.t
desc = {
desc = ep3_admin_events.0001.intro # Fallback
first_valid = {
triggered_desc = {
trigger = { exists = scope:tribal_gov }
desc = ep3_admin_events.0001.tribal
}
triggered_desc = {
trigger = { exists = scope:feudal_gov }
desc = ep3_admin_events.0001.feudal
}
triggered_desc = {
trigger = { exists = scope:clan_gov }
desc = ep3_admin_events.0001.clan
}
desc = ep3_admin_events.0001.fallback
}
}
theme = administrative
left_portrait = {
character = root
triggered_animation = {
trigger = {
OR = {
has_trait = stubborn
has_trait = paranoid
}
}
animation = worry
}
animation = thinking
}
right_portrait = {
character = scope:scribe
animation = chancellor
}
lower_right_portrait = scope:liege
trigger = {
is_landed = yes
}
immediate = {
liege = {
save_scope_as = liege
switch = {
trigger = government_has_flag
government_is_tribal = {
save_scope_as = tribal_gov
}
government_is_feudal = {
save_scope_as = feudal_gov
}
government_is_clan = {
save_scope_as = clan_gov
}
}
if = {
limit = {
NOR = {
exists = scope:tribal_gov
exists = scope:feudal_gov
exists = scope:clan_gov
}
}
save_scope_as = feudal_gov
}
if = {
limit = {
exists = cp:councillor_chancellor
cp:councillor_chancellor = { is_available_healthy_ai_adult = yes }
}
cp:councillor_chancellor = { save_scope_as = scribe }
}
else_if = {
limit = {
any_courtier = { is_available_healthy_ai_adult = yes }
}
ordered_courtier = {
limit = {
is_available_healthy_ai_adult = yes
}
order_by = diplomacy
save_scope_as = scribe
}
}
else = {
create_character = {
location = root.capital_province
template = diplomacy_foreign_affairs_focus_friend_template
faith = scope:liege.capital_county.faith
culture = scope:liege.capital_county.culture
save_scope_as = scribe
}
}
}
scope:scribe = {
assign_quirk_effect = yes
}
admin_change_government_effect = yes
}
option = { # I love change
name = ep3_admin_events.0001.a
add_character_modifier = {
modifier = ep3_admin_change_love
years = 15
}
stress_impact = {
lazy = medium_stress_impact_loss
craven = medium_stress_impact_gain
stubborn = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
diligent = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
factor = 0
OR = {
has_trait = craven
has_trait = stubborn
has_trait = paranoid
has_trait = diligent
}
}
modifier = {
factor = 2
has_trait = lazy
}
}
}
option = { # I hate this
name = ep3_admin_events.0001.b
add_character_modifier = {
modifier = ep3_admin_change_hate
years = 15
}
stress_impact = {
diligent = medium_stress_impact_loss
brave = medium_stress_impact_gain
lazy = medium_stress_impact_gain
trusting = medium_stress_impact_gain
fickle = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
factor = 0
OR = {
has_trait = brave
has_trait = lazy
has_trait = trusting
has_trait = fickle
}
}
modifier = {
factor = 2
has_trait = diligent
}
}
}
option = { # I don't care
name = ep3_admin_events.0001.c
ai_chance = {
base = 200
}
}
}
ep3_admin_events.0002 = {
type = character_event
title = ep3_admin_events.0002.t
desc = {
first_valid = {
triggered_desc = { # Liege
trigger = { scope:previous_governor ?= root.liege }
desc = ep3_admin_events.0002.liege
}
triggered_desc = { # Same house died
trigger = {
scope:previous_governor ?= {
is_alive = no
house = root.house
}
}
desc = ep3_admin_events.0002.house_dead
}
triggered_desc = { # Same house fired
trigger = {
scope:previous_governor ?= {
is_alive = yes
house = root.house
}
}
desc = ep3_admin_events.0002.house_alive
}
triggered_desc = { # Diff house died
trigger = {
scope:previous_governor ?= { is_alive = no }
}
desc = ep3_admin_events.0002.dead
}
triggered_desc = { # Diff house fired
trigger = {
scope:previous_governor ?= { is_alive = yes }
}
desc = ep3_admin_events.0002.alive
}
desc = ep3_admin_events.0002.new
}
first_valid = {
triggered_desc = { # Same house
trigger = { scope:previous_governor.house ?= root.house }
desc = ep3_admin_events.0002.house
}
}
#desc = double_line_break
first_valid = {
triggered_desc = {
trigger = { exists = scope:appointment_succession }
desc = ep3_admin_events.0002.appointment_succession
}
triggered_desc = {
trigger = { exists = scope:appointment }
desc = ep3_admin_events.0002.appointment
}
triggered_desc = {
trigger = { exists = scope:conquest }
desc = ep3_admin_events.0002.conquest
}
}
desc = ep3_admin_events.0002.desc
}
theme = administrative
left_portrait = {
character = root
animation = chancellor
}
lower_center_portrait = scope:previous_governor
lower_right_portrait = {
character = root.liege
trigger = {
root.liege != scope:previous_governor
}
}
cooldown = { days = 1 }
trigger = {
this != top_liege
any_held_title = {
tier = root.highest_held_title_tier
is_landless_type_title = no
is_noble_family_title = no
}
NOT = { has_character_flag = successful_governorship_elevation }
}
immediate = {
play_sound_effect = "event:/DLC/EP3/SFX/Stingers/Byzantine_Flavor/ep3_mx_sting_byzantineflavor_become_governor"
ordered_held_title = {
limit = {
tier = root.highest_held_title_tier
is_landless_type_title = no
is_noble_family_title = no
}
save_scope_as = governor_title
previous_holder ?= { save_scope_as = previous_governor }
if = {
limit = {
recent_history = { type = appointment_succession days = 1 }
}
save_scope_as = appointment_succession
}
else_if = {
limit = {
recent_history = { type = appointment days = 1 }
}
save_scope_as = appointment
}
else_if = {
limit = {
recent_history = { type = conquest days = 1 }
}
save_scope_as = conquest
}
}
}
option = {
name = ep3_admin_events.0002.prosperity
trigger = {
is_landed = yes
government_has_flag = government_has_merit
}
flavor = building_buildings_give_merit_tt
custom_tooltip = ep3_admin_events.0002.tt
add_character_modifier = {
modifier = tgp_diligent_governor_modifier
years = 3
}
stress_impact = {
lazy = medium_stress_impact_gain
diligent = miniscule_stress_impact_loss
}
ai_chance = {
base = 0
}
}
option = {
name = ep3_admin_events.0002.inspection
trigger = {
is_landed = yes
government_has_flag = government_has_merit
any_held_title = {
tier = tier_county
is_landless_type_title = no
count >= 1
}
}
flavor = inspections_give_merit_tt
custom_tooltip = ep3_admin_events.0002.tt
custom_tooltip = ep3_admin_events.0002.tt_inspection
add_character_flag = free_inspection
stress_impact = {
lazy = medium_stress_impact_gain
diligent = miniscule_stress_impact_loss
}
ai_chance = {
base = 0
}
}
option = {
name = ep3_admin_events.0002.a
custom_tooltip = ep3_admin_events.0002.tt
stress_impact = {
base = miniscule_stress_impact_loss
}
}
after = {
if = {
limit = {
is_ai = yes
}
domicile ?= {
move_domicile = root.capital_province
}
}
}
}
# Your admin liege changed government, and you have to do so as well
ep3_admin_events.0003 = {
hidden = yes
trigger = {
government_allows = administrative
}
immediate = {
# Let's evaluate and see which event you should get
if = { # If you are still landed and remain a vassal
limit = {
is_landed = yes
liege != root
}
trigger_event = ep3_admin_events.0001
}
else_if = { # You are still landed and become independent
limit = {
is_landed = yes
liege = root
}
trigger_event = ep3_admin_events.0005
}
else_if = { # You became unlanded - Let's go on an adventure!
limit = { # Assuming you are a player
is_landed = no
}
trigger_event = ep3_admin_events.0004
}
}
}
# Event to make admin into adventurers
ep3_admin_events.0004 = {
type = character_event
title = ep3_admin_events.0004.t
desc = {
desc = ep3_admin_events.0004.desc
first_valid = {
triggered_desc = {
trigger = {
exists = scope:reacting_spouse
scope:reacting_spouse = {
OR = {
has_trait = gluttonous
has_trait = greedy
}
}
}
desc = ep3_admin_events.0004.desc_spouse_very_upset
}
triggered_desc = {
trigger = { exists = scope:reacting_spouse }
desc = ep3_admin_events.0004.desc_spouse_upset
}
}
}
theme = landless_adventurer
override_background = { reference = estate }
left_portrait = {
character = root
triggered_animation = {
trigger = {
OR = {
has_trait = eccentric
has_trait = brave
}
}
#animation = delirium
animation = disappointed
}
animation = disbelief
}
right_portrait = {
character = scope:reacting_spouse
triggered_animation = {
trigger = {
OR = {
has_trait = gluttonous
has_trait = greedy
}
}
animation = crying
}
animation = worry
}
immediate = {
if = { # Destroy your noble family title if you have one
limit = {
any_held_title = {
is_noble_family_title = yes
}
}
every_held_title = {
limit = {
is_noble_family_title = yes
}
save_temporary_scope_as = family_title
prev = { destroy_title = scope:family_title }
}
}
if = { # Become an adventurer
limit = { is_ai = no }
create_landless_adventurer_title_effect = {
REASON = flag:runaway_allowed
FLAVOR_CHAR = root
}
hidden_effect = {
contract_passive_spawn_effect = {
SPAWN_CONTRACTS = 5
}
}
}
if = { # If you are married, let's save your spouse as a scope for some added flavor
limit = {
is_married = yes
any_spouse = {
employer = root
}
}
random_spouse = {
limit = { employer = root }
save_scope_as = reacting_spouse
}
}
}
option = {
name = {
trigger = {
exists = scope:reacting_spouse
scope:reacting_spouse = {
OR = {
has_trait = gluttonous
has_trait = greedy
}
}
}
text = ep3_admin_events.0004.a
}
name = {
trigger = {
exists = scope:reacting_spouse
scope:reacting_spouse = {
NOR = {
has_trait = gluttonous
has_trait = greedy
}
}
}
text = ep3_admin_events.0004.b
}
name = {
trigger = {
NOT = { exists = scope:reacting_spouse }
}
text = ep3_admin_events.0004.c
}
}
}
# Notification event that you became independent
ep3_admin_events.0005 = {
type = character_event
title = ep3_admin_events.0005.t
desc = {
desc = ep3_admin_events.0005.intro
first_valid = {
triggered_desc = {
trigger = { exists = scope:still_admin }
desc = ep3_admin_events.0005.desc_still_admin
}
desc = ep3_admin_events.0005.desc_lost_admin
}
}
theme = administrative
left_portrait = {
character = root
triggered_animation = {
trigger = {
OR = {
has_trait = fickle
has_trait = lazy
has_trait = paranoid
}
}
animation = stress
}
animation = interested
}
right_portrait = {
character = scope:messenger
animation = chancellor
}
lower_right_portrait = scope:gov_liege
immediate = {
# Let's find a character to bring us these news
if = {
limit = {
exists = cp:councillor_chancellor
cp:councillor_chancellor = { is_available_healthy_ai_adult = yes }
}
cp:councillor_chancellor = { save_scope_as = messenger }
}
else_if = {
limit = {
any_courtier = { is_available_healthy_ai_adult = yes }
}
ordered_courtier = {
limit = {
is_available_healthy_ai_adult = yes
}
order_by = diplomacy
save_scope_as = messenger
}
}
else = {
create_character = {
location = root.capital_province
template = diplomacy_foreign_affairs_focus_friend_template
faith = root.capital_county.faith
culture = root.capital_county.culture
save_scope_as = messenger
}
}
# Show this to make it clear to the player that you became independent
show_as_tooltip = {
create_title_and_vassal_change = {
type = independency
save_scope_as = change
add_claim_on_loss = no
}
becomes_independent = { change = scope:change }
resolve_title_and_vassal_change = scope:change
}
if = { # You are allowed to keep admin as your government
limit = {
highest_held_title_tier >= tier_kingdom
culture ?= { has_cultural_parameter = can_adopt_administrative_government_as_kingdom_tier }
}
save_scope_as = still_admin
}
else = { # You change your government
admin_change_government_effect = yes
}
}
option = {
name = ep3_admin_events.0005.a
# We handle everything in the immediate
}
}
# Reception Hall domicile upgrade provides legitimacy
# We put it in a delayed event to make sure that we can notify the player of the effect, so they can see it
ep3_admin_events.0010 = {
hidden = yes
immediate = {
save_scope_as = legitimacy_gainer
# We first send the notification of the legitimacy being granted
house = {
every_house_member = {
limit = { is_ai = no }
send_interface_message = {
type = event_toast_effect_good
title = ep3_dynasty_legacy_gain_legitimacy_effect_title
left_icon = root
right_icon = root.primary_title
show_as_tooltip = {
scope:legitimacy_gainer = { add_legitimacy = house.var:ep3_legacy_legitimacy_counter }
}
}
}
}
# Then we add the actual legitimacy
add_legitimacy = house.var:ep3_legacy_legitimacy_counter
# Finally, let's reset the counter according to building level
house = {
if = {
limit = {
house_head.domicile ?= { has_domicile_parameter = reception_hall_legitimacy_loss_04 }
}
change_variable = {
name = ep3_legacy_legitimacy_counter
multiply = 0.75
}
}
else_if = {
limit = {
house_head.domicile ?= { has_domicile_parameter = reception_hall_legitimacy_loss_03 }
}
change_variable = {
name = ep3_legacy_legitimacy_counter
multiply = 0.5
}
}
else_if = {
limit = {
house_head.domicile ?= { has_domicile_parameter = reception_hall_legitimacy_loss_02 }
}
change_variable = {
name = ep3_legacy_legitimacy_counter
multiply = 0.25
}
}
else_if = {
limit = {
house_head.domicile ?= { has_domicile_parameter = reception_hall_legitimacy_loss_01 }
}
change_variable = {
name = ep3_legacy_legitimacy_counter
multiply = 0
}
}
}
}
}

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

@ -1,173 +0,0 @@
########################
# EP3 Councillors Events
########################
namespace = ep3_councillor_event
# Spouse increases your Influence
ep3_councillor_event.0001 = {
hidden = yes
cooldown = { years = 10 }
trigger = {
valid_spouse_councillor_trigger = yes
government_allows = administrative
}
weight_multiplier = {
base = 1
councillor_spouse_limited_skill_rating_modifier = {
SKILL = intrigue
SCALE = 1
SKILL_RATING = spouse_skill_rating_1
}
}
immediate = {
cp:councillor_spouse = {
save_scope_as = councillor
}
send_interface_message = {
type = msg_spouse_task_good
title = ep3_councillor_event.0001.t
desc = {
triggered_desc = {
trigger = {
scope:councillor = { diplomacy < average_skill_level }
}
desc = spouse_task_diplomacy_good_unskilled_notification_tooltip
}
triggered_desc = {
trigger = {
scope:councillor = { diplomacy >= average_skill_level }
}
desc = spouse_task_diplomacy_good_skilled_notification_tooltip
}
}
right_icon = scope:councillor
change_influence = {
if = {
limit = {
scope:councillor = {
culture = { has_cultural_tradition = tradition_ep3_palace_politics }
}
}
add = medium_influence_gain
}
else = {
add = minor_influence_gain
}
}
}
}
}
# Spouse increases your candidate score for a title if you are in to inherit
ep3_councillor_event.0002 = {
hidden = yes
cooldown = { years = 10 }
trigger = {
valid_spouse_councillor_trigger = yes
government_allows = administrative
top_liege = {
any_sub_realm_title = {
tier >= tier_duchy
is_noble_family_title = no
holder = { government_allows = administrative }
any_title_heir = {
prev = { # For getting the correct title
place_in_line_of_succession = {
target = prev # And again for going back and getting the correct character
value <= 3
}
}
this = root
}
}
}
}
weight_multiplier = {
base = 1
councillor_spouse_limited_skill_rating_modifier = {
SKILL = diplomacy
SCALE = 1
SKILL_RATING = spouse_skill_rating_1
}
}
immediate = {
cp:councillor_spouse = {
save_scope_as = councillor
}
top_liege = {
random_sub_realm_title = {
limit = {
tier >= tier_duchy
is_noble_family_title = no
holder = { government_allows = administrative }
any_title_heir = {
prev = {
place_in_line_of_succession = {
target = prev
value <= 3
}
}
this = root
}
}
save_scope_as = target_title
}
}
save_scope_value_as = {
name = improved_candidate_score
value = {
if = {
limit = {
scope:councillor = {
culture = { has_cultural_tradition = tradition_ep3_palace_politics }
}
}
add = 15
}
else = {
add = 10
}
}
}
send_interface_message = {
type = msg_spouse_task_good
title = ep3_councillor_event.0002.t
desc = {
triggered_desc = {
trigger = {
scope:councillor = { diplomacy < average_skill_level }
}
desc = spouse_task_diplomacy_good_unskilled_notification_tooltip
}
triggered_desc = {
trigger = {
scope:councillor = { diplomacy >= average_skill_level }
}
desc = spouse_task_diplomacy_good_skilled_notification_tooltip
}
}
right_icon = scope:councillor
left_icon = scope:target_title
custom_tooltip = ep3_councillor_event.0002.desc
scope:target_title = {
change_appointment_investment = {
target = root
value = scope:improved_candidate_score
}
}
}
}
}

View file

@ -30,9 +30,7 @@ scripted_trigger ep3_decisions_event_valid_prisoner_trigger = {
exists = scope:triumph_enemy_defeated exists = scope:triumph_enemy_defeated
OR = { OR = {
# they are vassals or knights of the defeated # they are vassals or knights of the defeated
liege = scope:triumph_enemy_defeated any_liege_or_above = { this = scope:triumph_enemy_defeated }
liege.liege = scope:triumph_enemy_defeated
liege.liege.liege = scope:triumph_enemy_defeated
# they are the defeated (e.g. pretender or previous liege) # they are the defeated (e.g. pretender or previous liege)
this = scope:triumph_enemy_defeated this = scope:triumph_enemy_defeated
# they participated recently in a rebellion war vs you # they participated recently in a rebellion war vs you
@ -86,6 +84,7 @@ scripted_trigger ep3_decisions_event_valid_hostage_trigger = {
ep3_decisions_event.0001 = { ep3_decisions_event.0001 = {
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/splash_icons/splash_byzantine.dds"
title = ep3_decisions_event.0001.t title = ep3_decisions_event.0001.t
desc = { desc = {
desc = ep3_decisions_event.0001.intro desc = ep3_decisions_event.0001.intro
@ -366,7 +365,7 @@ ep3_decisions_event.0002 = {
change_influence = major_influence_gain change_influence = major_influence_gain
add_legitimacy = minor_legitimacy_gain add_legitimacy = minor_legitimacy_gain
trigger_event = ep3_decisions_event.0007 trigger_event = ep3_decisions_event.0007
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
generous = medium_stress_impact_loss generous = medium_stress_impact_loss
} }
@ -420,7 +419,7 @@ ep3_decisions_event.0002 = {
} }
} }
trigger_event = ep3_decisions_event.0007 trigger_event = ep3_decisions_event.0007
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
generous = medium_stress_impact_loss generous = medium_stress_impact_loss
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
@ -448,7 +447,7 @@ ep3_decisions_event.0002 = {
change_influence = major_influence_gain change_influence = major_influence_gain
add_legitimacy = minor_legitimacy_gain add_legitimacy = minor_legitimacy_gain
trigger_event = ep3_decisions_event.0007 trigger_event = ep3_decisions_event.0007
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
generous = medium_stress_impact_loss generous = medium_stress_impact_loss
gregarious = medium_stress_impact_loss gregarious = medium_stress_impact_loss
@ -635,7 +634,7 @@ ep3_decisions_event.0003 = {
} }
faith = { faith = {
change_fervor = { change_fervor = {
value = 1 value = trivial_fervor_gain
desc = fervor_gain_triumph_of_god desc = fervor_gain_triumph_of_god
} }
} }
@ -864,7 +863,7 @@ ep3_decisions_event.0004 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain
vengeful = major_stress_impact_gain vengeful = major_stress_impact_gain
@ -1001,7 +1000,6 @@ ep3_decisions_event.0005 = {
ai_value_modifier = { ai_value_modifier = {
ai_boldness = 0.5 ai_boldness = 0.5
ai_energy = 0.5 ai_energy = 0.5
ai_boldness = 0.5
} }
} }
} }
@ -1174,10 +1172,10 @@ ep3_decisions_event.0006 = {
} }
trigger = { trigger = {
OR = { has_variable = {
has_character_flag = triumph_promised_prosperity name = triumph_promised_prosperity
has_character_flag = triumph_promised_victories name = triumph_promised_victories
has_character_flag = triumph_promised_stability name = triumph_promised_stability
} }
} }
@ -1282,6 +1280,7 @@ ep3_decisions_event.0006 = {
ep3_decisions_event.0007 = { ep3_decisions_event.0007 = {
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/splash_icons/splash_byzantine.dds"
title = ep3_decisions_event.0007.t title = ep3_decisions_event.0007.t
desc = { desc = {
desc = ep3_decisions_event.0007.desc desc = ep3_decisions_event.0007.desc
@ -1380,6 +1379,7 @@ ep3_decisions_event.1000 = {
age = { 16 30 } age = { 16 30 }
culture = root.location.culture culture = root.location.culture
faith = root.location.faith faith = root.location.faith
rite = root.location.rite
random_traits_list = { random_traits_list = {
count = 1 count = 1
education_martial_1 = {} education_martial_1 = {}
@ -1428,6 +1428,7 @@ ep3_decisions_event.1000 = {
age = { 16 30 } age = { 16 30 }
culture = root.location.culture culture = root.location.culture
faith = root.location.faith faith = root.location.faith
rite = root.location.rite
random_traits_list = { random_traits_list = {
count = 1 count = 1
education_martial_1 = {} education_martial_1 = {}
@ -1685,6 +1686,7 @@ ep3_decisions_event.1010 = {
age = { 16 30 } age = { 16 30 }
culture = root.location.culture culture = root.location.culture
faith = root.location.faith faith = root.location.faith
rite = root.location.rite
random_traits_list = { random_traits_list = {
count = 1 count = 1
education_stewardship_1 = {} education_stewardship_1 = {}
@ -1721,6 +1723,7 @@ ep3_decisions_event.1010 = {
age = { 16 30 } age = { 16 30 }
culture = root.location.culture culture = root.location.culture
faith = root.location.faith faith = root.location.faith
rite = root.location.rite
random_traits_list = { random_traits_list = {
count = 1 count = 1
education_stewardship_1 = {} education_stewardship_1 = {}
@ -1872,13 +1875,13 @@ ep3_decisions_event.2001 = {
limit = { limit = {
NOT = { has_relation_rival = scope:confirmation_vassal } NOT = { has_relation_rival = scope:confirmation_vassal }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
} }
} }
else = { else = {
stress_impact = { base = medium_stress_impact_loss } stress_and_fulfillment_impact = { base = medium_stress_impact_loss }
} }
ai_chance = { ai_chance = {
base = -4 base = -4
@ -2056,9 +2059,9 @@ ep3_decisions_event.2010 = {
#State faith, but not emperor's faith #State faith, but not emperor's faith
triggered_desc = { triggered_desc = {
trigger = { trigger = {
faith != scope:confirmation_vassal.capital_county.faith rite != scope:confirmation_vassal.capital_county.rite
primary_title.state_faith = { primary_title.state_rite = {
this = scope:confirmation_vassal.capital_county.faith this = scope:confirmation_vassal.capital_county.rite
} }
} }
desc = ep3_decisions_event.2010.desc_state_faith desc = ep3_decisions_event.2010.desc_state_faith
@ -2241,10 +2244,10 @@ ep3_decisions_event.2011 = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:confirmation_liege = { scope:confirmation_liege = {
faith = { rite = {
NOR = { NOR = {
this = scope:confirmation_liege.primary_title.state_faith this = scope:confirmation_liege.primary_title.state_rite
this = scope:confirmation_liege.capital_county.faith this = scope:confirmation_liege.capital_county.rite
} }
} }
} }
@ -2506,7 +2509,7 @@ ep3_decisions_event.2080 = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
OR = { OR = {
NOT = { government_allows = administrative } NOT = { government_has_mechanic = administrative }
primary_title.tier = scope:confirmation_liege.primary_title.tier primary_title.tier = scope:confirmation_liege.primary_title.tier
} }
} }
@ -2555,8 +2558,8 @@ ep3_decisions_event.2080 = {
liege = scope:confirmation_liege liege = scope:confirmation_liege
} }
AND = { # Of the Emperor AND = { # Of the Emperor
top_liege ?= { highest_held_title_tier = tier_empire } top_liege ?= { highest_held_title_tier >= tier_empire }
government_allows = administrative government_has_mechanic = administrative
liege ?= top_liege liege ?= top_liege
} }
} }
@ -3928,7 +3931,7 @@ scripted_effect ask_help_crusade_setup_effect = {
#If no Claimant or Title Holder is available to be the Papal choice and the Crusade has not proceeded far enough to have a favoritebeneficiary, select a fallback Recipient so that the CB's tooltip does not appear incomplete. #If no Claimant or Title Holder is available to be the Papal choice and the Crusade has not proceeded far enough to have a favoritebeneficiary, select a fallback Recipient so that the CB's tooltip does not appear incomplete.
if = { #Random Courtier in the Pope's court. if = { #Random Courtier in the Pope's court.
limit = { limit = {
NOT = { exists = faith.great_holy_war.ghw_title_recipient } NOT = { exists = scope:the_faith.great_holy_war.ghw_title_recipient }
exists = scope:ghw_sponsor exists = scope:ghw_sponsor
exists = scope:the_faith.great_holy_war exists = scope:the_faith.great_holy_war
scope:ghw_sponsor = { scope:ghw_sponsor = {
@ -3947,7 +3950,7 @@ scripted_effect ask_help_crusade_setup_effect = {
scope:ghw_sponsor = { scope:ghw_sponsor = {
random_courtier = { random_courtier = {
alternative_limit = { alternative_limit = {
scope:the_faith = { has_doctrine = doctrine_gender_male_dominated } scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
is_male = yes is_male = yes
is_adult = yes is_adult = yes
is_ai = yes is_ai = yes
@ -3959,7 +3962,7 @@ scripted_effect ask_help_crusade_setup_effect = {
faith = scope:the_faith faith = scope:the_faith
} }
alternative_limit = { alternative_limit = {
scope:the_faith = { has_doctrine = doctrine_gender_female_dominated } scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
is_female = yes is_female = yes
is_adult = yes is_adult = yes
is_ai = yes is_ai = yes
@ -3987,7 +3990,7 @@ scripted_effect ask_help_crusade_setup_effect = {
} }
else_if = { #Else Generate a fallback recipient. else_if = { #Else Generate a fallback recipient.
limit = { limit = {
NOT = { exists = faith.great_holy_war.ghw_title_recipient } NOT = { exists = scope:the_faith.great_holy_war.ghw_title_recipient }
} }
create_character = { create_character = {
location = scope:ghw_sponsor.capital_province location = scope:ghw_sponsor.capital_province
@ -3998,13 +4001,13 @@ scripted_effect ask_help_crusade_setup_effect = {
gender_female_chance = { gender_female_chance = {
if = { if = {
limit = { limit = {
scope:the_faith = { has_doctrine = doctrine_gender_male_dominated } scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
} }
add = 0 add = 0
} }
else_if = { else_if = {
limit = { limit = {
scope:the_faith = { has_doctrine = doctrine_gender_female_dominated } scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
} }
add = 100 add = 100
} }
@ -4064,7 +4067,7 @@ scripted_effect ask_help_crusade_setup_effect = {
} }
every_faith_holy_order = { every_faith_holy_order = {
trigger_event = { trigger_event = {
#Holy orders always join #Military Orders always join
id = great_holy_war.0090 id = great_holy_war.0090
days = { 30 60 } days = { 30 60 }
} }
@ -4093,7 +4096,7 @@ scripted_effect ask_help_crusade_setup_effect = {
faith = { faith = {
every_faith_holy_order = { every_faith_holy_order = {
trigger_event = { trigger_event = {
# Holy orders always join # Military Orders always join
id = great_holy_war.0091 id = great_holy_war.0091
days = { 30 60 } days = { 30 60 }
} }
@ -4304,7 +4307,7 @@ ep3_decisions_event.4020 = {
} }
random_list = { random_list = {
25 = { 25 = {
trigger = { NOT = { root.faith = { has_doctrine_parameter = clergy_must_be_female } } } trigger = { NOT = { root.rite = { rite_has_parameter = clergy_must_be_female } } }
create_character = { create_character = {
location = root.location location = root.location
name = "Kyrillos" name = "Kyrillos"
@ -4314,7 +4317,7 @@ ep3_decisions_event.4020 = {
} }
} }
25 = { 25 = {
trigger = { NOT = { root.faith = { has_doctrine_parameter = clergy_must_be_female } } } trigger = { NOT = { root.rite = { rite_has_parameter = clergy_must_be_female } } }
create_character = { create_character = {
location = root.location location = root.location
name = "Methodios" name = "Methodios"
@ -4324,7 +4327,7 @@ ep3_decisions_event.4020 = {
} }
} }
25 = { 25 = {
trigger = { NOT = { root.faith = { has_doctrine_parameter = clergy_must_be_female } } } trigger = { NOT = { root.rite = { rite_has_parameter = clergy_must_be_female } } }
create_character = { create_character = {
location = root.location location = root.location
name = "Konstantinos" name = "Konstantinos"
@ -4334,7 +4337,7 @@ ep3_decisions_event.4020 = {
} }
} }
25 = { 25 = {
trigger = { NOT = { root.faith = { has_doctrine_parameter = clergy_must_be_female } } } trigger = { NOT = { root.rite = { rite_has_parameter = clergy_must_be_female } } }
create_character = { create_character = {
location = root.location location = root.location
name = "Michael" name = "Michael"
@ -4344,7 +4347,7 @@ ep3_decisions_event.4020 = {
} }
} }
25 = { 25 = {
trigger = { NOT = { root.faith = { has_doctrine_parameter = clergy_must_be_male } } } trigger = { NOT = { root.rite = { rite_has_parameter = clergy_must_be_male } } }
create_character = { create_character = {
location = root.location location = root.location
template = ep3_evangelizer_template template = ep3_evangelizer_template
@ -4473,7 +4476,7 @@ ep3_decisions_event.4022 = {
participants = { missionary = scope:evangelizer pagan = scope:pagan } participants = { missionary = scope:evangelizer pagan = scope:pagan }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = major_stress_impact_gain zealous = major_stress_impact_gain
content = major_stress_impact_gain content = major_stress_impact_gain
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -4504,7 +4507,7 @@ ep3_decisions_event.4022 = {
scope:title_to_convert = { scope:title_to_convert = {
set_variable = do_not_disturb_preachers set_variable = do_not_disturb_preachers
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = major_stress_impact_gain calm = major_stress_impact_gain
gregarious = medium_stress_impact_gain gregarious = medium_stress_impact_gain
@ -5176,14 +5179,7 @@ ep3_decisions_event.4060 = {
immediate = { immediate = {
show_as_tooltip = { show_as_tooltip = {
switch = { change_government = government_type
trigger = has_government
japan_administrative_government = { change_government = japan_administrative_government }
celestial_government = { change_government = celestial_government }
meritocratic_government = { change_government = meritocratic_government }
steppe_admin_government = { change_government = steppe_admin_government }
fallback = { change_government = administrative_government }
}
if = { if = {
limit = { limit = {
NOT = { has_character_flag = latin_emp_force_admin_flag } NOT = { has_character_flag = latin_emp_force_admin_flag }
@ -5199,14 +5195,7 @@ ep3_decisions_event.4060 = {
# Adopting vassal tooltip # Adopting vassal tooltip
every_powerful_vassal = { every_powerful_vassal = {
limit = { has_same_government = root } limit = { has_same_government = root }
switch = { change_government = government_type
trigger = has_government
japan_administrative_government = { change_government = japan_administrative_government }
celestial_government = { change_government = celestial_government }
meritocratic_government = { change_government = meritocratic_government }
steppe_admin_government = { change_government = steppe_admin_government }
fallback = { change_government = administrative_government }
}
} }
} }
hidden_effect = { hidden_effect = {
@ -5217,7 +5206,7 @@ ep3_decisions_event.4060 = {
government_has_flag = government_is_republic government_has_flag = government_is_republic
government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_tribal government_has_flag = government_is_tribal
government_has_flag = government_is_administrative government_has_mechanic = administrative
} }
primary_title = { primary_title = {
target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals
@ -5233,12 +5222,12 @@ ep3_decisions_event.4060 = {
government_has_flag = government_is_republic government_has_flag = government_is_republic
government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_tribal government_has_flag = government_is_tribal
government_has_flag = government_is_administrative government_has_mechanic = administrative
primary_title = { primary_title = {
target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals
} }
} }
faith = scope:administrative_liege.faith #The future state faith rite = scope:administrative_liege.rite #The future state rite
} }
order_by = sub_realm_size order_by = sub_realm_size
position = 0 position = 0
@ -5251,11 +5240,11 @@ ep3_decisions_event.4060 = {
government_has_flag = government_is_republic government_has_flag = government_is_republic
government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_tribal government_has_flag = government_is_tribal
government_has_flag = government_is_administrative government_has_mechanic = administrative
primary_title = { primary_title = {
target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals
} }
faith = scope:administrative_liege.faith #The future state faith rite = scope:administrative_liege.rite #The future state rite
} }
} }
order_by = sub_realm_size order_by = sub_realm_size
@ -5423,11 +5412,7 @@ ep3_decisions_event.4070 = {
} }
immediate = { immediate = {
show_as_tooltip = { show_as_tooltip = {
if = { assign_feudal_governments_effect = yes
limit = { ep3_is_clan_inclined_trigger = yes }
change_government = clan_government
}
else = { change_government = feudal_government }
} }
} }
option = { option = {
@ -5446,11 +5431,7 @@ ep3_decisions_event.4075 = {
} }
immediate = { immediate = {
show_as_tooltip = { show_as_tooltip = {
if = { assign_feudal_governments_effect = yes
limit = { ep3_is_clan_inclined_trigger = yes }
change_government = clan_government
}
else = { change_government = feudal_government }
} }
} }
#You are now a king! ... or duke. Or count? #You are now a king! ... or duke. Or count?
@ -6320,6 +6301,7 @@ ep3_decisions_event.5001 = {
template = ep3_common_fan_character template = ep3_common_fan_character
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
faith = root.capital_county.faith faith = root.capital_county.faith
rite = root.capital_county.rite
culture = root.capital_county.culture culture = root.capital_county.culture
save_scope_as = adoring_fan save_scope_as = adoring_fan
} }
@ -6332,7 +6314,7 @@ ep3_decisions_event.5001 = {
modifier = ep3_valiant_knight_modifier modifier = ep3_valiant_knight_modifier
} }
stress_impact = { stress_and_fulfillment_impact = {
seducer = major_stress_impact_gain seducer = major_stress_impact_gain
rakish = major_stress_impact_gain rakish = major_stress_impact_gain
lustful = medium_stress_impact_gain lustful = medium_stress_impact_gain
@ -6359,7 +6341,7 @@ ep3_decisions_event.5001 = {
modifier = ep3_courteous_knight_modifier modifier = ep3_courteous_knight_modifier
} }
stress_impact = { stress_and_fulfillment_impact = {
celibate = major_stress_impact_gain celibate = major_stress_impact_gain
chaste = medium_stress_impact_gain chaste = medium_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
@ -6487,7 +6469,7 @@ ep3_decisions_event.5002 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_gain arrogant = major_stress_impact_gain
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
} }
@ -6517,7 +6499,7 @@ ep3_decisions_event.5002 = {
modifier = ep3_black_sheep modifier = ep3_black_sheep
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_loss arrogant = major_stress_impact_loss
wrathful = major_stress_impact_loss wrathful = major_stress_impact_loss
calm = medium_stress_impact_gain calm = medium_stress_impact_gain
@ -6651,6 +6633,7 @@ ep3_decisions_event.5010 = {
age = { 16 65 } age = { 16 65 }
culture = root.location.culture culture = root.location.culture
faith = root.location.faith faith = root.location.faith
rite = root.location.rite
random_traits_list = { random_traits_list = {
count = 1 count = 1
education_diplomacy_1 = {} education_diplomacy_1 = {}
@ -6697,6 +6680,7 @@ ep3_decisions_event.5010 = {
age = { 16 65 } age = { 16 65 }
culture = root.culture culture = root.culture
faith = root.faith faith = root.faith
rite = root.rite
random_traits_list = { random_traits_list = {
count = 1 count = 1
education_diplomacy_3 = {} education_diplomacy_3 = {}
@ -6773,15 +6757,15 @@ ep3_decisions_event.5020 = {
every_realm_county = { every_realm_county = {
limit = { limit = {
OR = { OR = {
faith = { rite = {
faith_is_interesting_heresy_to_state_faith_trigger = yes rite_is_interesting_heresy_to_state_rite_trigger = yes
} }
any_neighboring_county = { any_neighboring_county = {
holder.top_liege ?= { holder.top_liege ?= {
this != root.top_liege this != root.top_liege
} }
faith = { rite = {
faith_is_interesting_heresy_to_state_faith_trigger = yes rite_is_interesting_heresy_to_state_rite_trigger = yes
} }
} }
} }
@ -6791,21 +6775,21 @@ ep3_decisions_event.5020 = {
holder.top_liege ?= { holder.top_liege ?= {
this != root.top_liege this != root.top_liege
} }
faith = { rite = {
faith_is_interesting_heresy_to_state_faith_trigger = yes rite_is_interesting_heresy_to_state_rite_trigger = yes
} }
} }
faith = { rite = {
add_to_list = available_heresies add_to_list = available_heresies
} }
} }
if = { if = {
limit = { limit = {
faith = { rite = {
faith_is_interesting_heresy_to_state_faith_trigger = yes rite_is_interesting_heresy_to_state_rite_trigger = yes
} }
} }
faith = { rite = {
add_to_list = available_heresies add_to_list = available_heresies
} }
} }
@ -6813,14 +6797,14 @@ ep3_decisions_event.5020 = {
} }
ordered_in_list = { ordered_in_list = {
list = available_heresies list = available_heresies
order_by = num_county_followers order_by = num_rite_county_followers
position = 0 position = 0
save_scope_as = heresy_1 save_scope_as = heresy_1
} }
ordered_in_list = { ordered_in_list = {
list = available_heresies list = available_heresies
limit = { this != scope:heresy_1 } limit = { this != scope:heresy_1 }
order_by = num_county_followers order_by = num_rite_county_followers
position = 0 position = 0
save_scope_as = heresy_2 save_scope_as = heresy_2
} }
@ -6830,7 +6814,7 @@ ep3_decisions_event.5020 = {
this != scope:heresy_1 this != scope:heresy_1
this != scope:heresy_2 this != scope:heresy_2
} }
order_by = num_county_followers order_by = num_rite_county_followers
position = 0 position = 0
save_scope_as = heresy_3 save_scope_as = heresy_3
} }
@ -6838,22 +6822,32 @@ ep3_decisions_event.5020 = {
option = { option = {
name = ep3_decisions_event.5020.a name = ep3_decisions_event.5020.a
set_character_faith_with_conversion = scope:heresy_1 set_character_rite_with_conversion = scope:heresy_1
if = { if = {
limit = { limit = {
scope:heresy_1 = { has_doctrine = doctrine_monotheist } scope:heresy_1 = { rite_has_doctrine = doctrine_monotheist }
} }
custom_description_no_bullet = { text = mandala_monotheist_warning_tt } custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
} }
add_heresiarch_trait_effect = yes add_heresiarch_trait_effect = yes
# Otherwise the conversion event will remove the trait # Otherwise the conversion event will remove the trait
add_character_flag = converted_by_heresy_decision add_character_flag = {
flag = converted_by_heresy_decision
years = 10
}
# TIT-56457: block the Adopt State Faith decision for a while so embracing cannot be undone for free
hidden_effect = {
add_character_flag = {
flag = embraced_heresy_recently
years = 10
}
}
scope:heresy_1 = { save_scope_as = heresy } scope:heresy_1 = { save_scope_as = heresy }
custom_tooltip = unlocks_demand_state_faith_decision custom_tooltip = unlocks_demand_state_faith_decision
top_liege ?= { top_liege ?= {
every_vassal = { every_vassal = {
limit = { limit = {
faith = scope:heresy_1 rite = scope:heresy_1
} }
root = { root = {
if = { if = {
@ -6883,22 +6877,32 @@ ep3_decisions_event.5020 = {
trigger = { trigger = {
exists = scope:heresy_2 exists = scope:heresy_2
} }
set_character_faith_with_conversion = scope:heresy_2 set_character_rite_with_conversion = scope:heresy_2
if = { if = {
limit = { limit = {
scope:heresy_2 = { has_doctrine = doctrine_monotheist } scope:heresy_2 = { rite_has_doctrine = doctrine_monotheist }
} }
custom_description_no_bullet = { text = mandala_monotheist_warning_tt } custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
} }
add_heresiarch_trait_effect = yes add_heresiarch_trait_effect = yes
# Otherwise the conversion event will remove the trait # Otherwise the conversion event will remove the trait
add_character_flag = converted_by_heresy_decision add_character_flag = {
flag = converted_by_heresy_decision
years = 10
}
# TIT-56457: block the Adopt State Faith decision for a while so embracing cannot be undone for free
hidden_effect = {
add_character_flag = {
flag = embraced_heresy_recently
years = 10
}
}
scope:heresy_2 = { save_scope_as = heresy } scope:heresy_2 = { save_scope_as = heresy }
custom_tooltip = unlocks_demand_state_faith_decision custom_tooltip = unlocks_demand_state_faith_decision
top_liege ?= { top_liege ?= {
every_vassal = { every_vassal = {
limit = { limit = {
faith = scope:heresy_2 rite = scope:heresy_2
} }
root = { root = {
if = { if = {
@ -6928,22 +6932,32 @@ ep3_decisions_event.5020 = {
trigger = { trigger = {
exists = scope:heresy_3 exists = scope:heresy_3
} }
set_character_faith_with_conversion = scope:heresy_3 set_character_rite_with_conversion = scope:heresy_3
if = { if = {
limit = { limit = {
scope:heresy_3 = { has_doctrine = doctrine_monotheist } scope:heresy_3 = { rite_has_doctrine = doctrine_monotheist }
} }
custom_description_no_bullet = { text = mandala_monotheist_warning_tt } custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
} }
add_heresiarch_trait_effect = yes add_heresiarch_trait_effect = yes
# Otherwise the conversion event will remove the trait # Otherwise the conversion event will remove the trait
add_character_flag = converted_by_heresy_decision add_character_flag = {
flag = converted_by_heresy_decision
years = 10
}
# TIT-56457: block the Adopt State Faith decision for a while so embracing cannot be undone for free
hidden_effect = {
add_character_flag = {
flag = embraced_heresy_recently
years = 10
}
}
scope:heresy_3 = { save_scope_as = heresy } scope:heresy_3 = { save_scope_as = heresy }
custom_tooltip = unlocks_demand_state_faith_decision custom_tooltip = unlocks_demand_state_faith_decision
top_liege ?= { top_liege ?= {
every_vassal = { every_vassal = {
limit = { limit = {
faith = scope:heresy_3 rite = scope:heresy_3
} }
root = { root = {
if = { if = {
@ -7010,7 +7024,10 @@ ep3_decisions_event.5021 = {
title = ep3_decisions_event.5021.a.tt title = ep3_decisions_event.5021.a.tt
left_icon = root left_icon = root
root = { root = {
primary_title = { set_state_faith = scope:heresy } primary_title = {
set_state_rite = scope:heresy
pam_tenet_popularity_boost_rite_effect = { RITE = state_rite }
}
add_opinion = { add_opinion = {
target = scope:heretic target = scope:heretic
modifier = forced_state_heresy_opinion modifier = forced_state_heresy_opinion
@ -7042,7 +7059,7 @@ ep3_decisions_event.5021 = {
scope:heretic = { scope:heretic = {
domicile ?= { domicile ?= {
has_domicile_parameter = more_successful_heresies has_domicile_parameter = more_successful_heresies
location.county.faith = scope:heretic.faith domicile_location.county.rite = scope:heretic.rite
} }
} }
add = 25 add = 25
@ -7059,11 +7076,14 @@ ep3_decisions_event.5021 = {
title = ep3_decisions_event.5021.a.tt title = ep3_decisions_event.5021.a.tt
left_icon = root left_icon = root
root = { root = {
primary_title = { set_state_faith = scope:heresy } primary_title = {
set_character_faith_with_conversion = scope:heresy set_state_rite = scope:heresy
pam_tenet_popularity_boost_rite_effect = { RITE = state_rite }
}
set_character_rite_with_conversion = scope:heresy
if = { if = {
limit = { limit = {
scope:heresy = { has_doctrine = doctrine_monotheist } scope:heresy = { rite_has_doctrine = doctrine_monotheist }
} }
custom_description_no_bullet = { text = mandala_monotheist_warning_tt } custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
} }
@ -7102,7 +7122,7 @@ ep3_decisions_event.5021 = {
scope:heretic = { scope:heretic = {
domicile ?= { domicile ?= {
has_domicile_parameter = more_successful_heresies has_domicile_parameter = more_successful_heresies
location.county.faith = scope:heretic.faith domicile_location.county.rite = scope:heretic.rite
} }
} }
add = 15 add = 15
@ -7337,7 +7357,7 @@ ep3_decisions_event.6001 = {
claimant = root claimant = root
target_title = location.duchy target_title = location.duchy
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = major_stress_impact_gain calm = major_stress_impact_gain
craven = major_stress_impact_gain craven = major_stress_impact_gain
} }
@ -7375,7 +7395,7 @@ ep3_decisions_event.6001 = {
add_gold = major_gold_value add_gold = major_gold_value
add_pressed_claim = location.duchy add_pressed_claim = location.duchy
stress_impact = { stress_and_fulfillment_impact = {
celibate = major_stress_impact_gain celibate = major_stress_impact_gain
chaste = medium_stress_impact_gain chaste = medium_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
@ -7588,7 +7608,10 @@ ep3_decisions_event.6001 = {
add_trait = adventurer_follower add_trait = adventurer_follower
} }
} }
add_pressed_claim = scope:kingdom_title if = {
limit = { exists = scope:kingdom_title }
add_pressed_claim = scope:kingdom_title
}
# Messages for nearby players # Messages for nearby players
create_landed_ruler_message_effect = { create_landed_ruler_message_effect = {
LANDED = root LANDED = root
@ -7596,7 +7619,7 @@ ep3_decisions_event.6001 = {
FLAVOR_TITLE = scope:new_primary_title FLAVOR_TITLE = scope:new_primary_title
REASON = flag:culture_champion REASON = flag:culture_champion
} }
stress_impact = { stress_and_fulfillment_impact = {
celibate = major_stress_impact_gain celibate = major_stress_impact_gain
chaste = medium_stress_impact_gain chaste = medium_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
@ -7674,7 +7697,7 @@ ep3_decisions_event.6002 = {
limit = { has_character_modifier = ep3_master_todor_modifier } limit = { has_character_modifier = ep3_master_todor_modifier }
remove_character_modifier = ep3_master_todor_modifier remove_character_modifier = ep3_master_todor_modifier
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = medium_stress_impact_loss brave = medium_stress_impact_loss
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
} }
@ -7754,7 +7777,7 @@ ep3_decisions_event.9001 = {
option = { # Fish alone option = { # Fish alone
name = ep3_decisions_event.9001.a name = ep3_decisions_event.9001.a
stress_impact = { stress_and_fulfillment_impact = {
reclusive = minor_stress_impact_loss reclusive = minor_stress_impact_loss
} }
@ -7875,7 +7898,7 @@ ep3_decisions_event.9010 = { # Fish Alone
type = event_toast_effect_good type = event_toast_effect_good
title = ep3_decisions_event.9030.a.fish title = ep3_decisions_event.9030.a.fish
left_icon = root left_icon = root
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
} }
@ -7904,7 +7927,7 @@ ep3_decisions_event.9010 = { # Fish Alone
type = event_toast_effect_neutral type = event_toast_effect_neutral
title = ep3_decisions_event.9010.b.nothing title = ep3_decisions_event.9010.b.nothing
left_icon = root left_icon = root
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
calm = medium_stress_impact_loss calm = medium_stress_impact_loss
} }
@ -7916,7 +7939,7 @@ ep3_decisions_event.9010 = { # Fish Alone
title = ep3_decisions_event.9010.b.trait title = ep3_decisions_event.9010.b.trait
left_icon = root left_icon = root
add_trait = calm add_trait = calm
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
calm = medium_stress_impact_loss calm = medium_stress_impact_loss
} }
@ -7961,7 +7984,7 @@ ep3_decisions_event.9020 = { # Fish With Your potential_friend
progress_towards_friend_effect = { progress_towards_friend_effect = {
CHARACTER = scope:potential_friend CHARACTER = scope:potential_friend
OPINION = yes OPINION = default_friend_opinion
REASON = friend_fishing_trip REASON = friend_fishing_trip
} }
@ -7981,7 +8004,7 @@ ep3_decisions_event.9020 = { # Fish With Your potential_friend
title = ep3_decisions_event.9030.a.fish title = ep3_decisions_event.9030.a.fish
left_icon = root left_icon = root
right_icon = scope:potential_friend right_icon = scope:potential_friend
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
ambitious = major_stress_impact_loss ambitious = major_stress_impact_loss
} }
@ -8028,7 +8051,7 @@ ep3_decisions_event.9020 = { # Fish With Your potential_friend
title = ep3_decisions_event.9030.a.fish title = ep3_decisions_event.9030.a.fish
left_icon = root left_icon = root
right_icon = scope:potential_friend right_icon = scope:potential_friend
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
ambitious = major_stress_impact_loss ambitious = major_stress_impact_loss
} }
@ -8111,7 +8134,7 @@ ep3_decisions_event.9030 = { # Fish On A Boat, your potential friend will join y
title = ep3_decisions_event.9030.a.fish title = ep3_decisions_event.9030.a.fish
left_icon = root left_icon = root
right_icon = scope:potential_friend right_icon = scope:potential_friend
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
ambitious = major_stress_impact_loss ambitious = major_stress_impact_loss
} }
@ -8135,7 +8158,7 @@ ep3_decisions_event.9030 = { # Fish On A Boat, your potential friend will join y
progress_towards_friend_effect = { progress_towards_friend_effect = {
CHARACTER = scope:potential_friend CHARACTER = scope:potential_friend
OPINION = yes OPINION = default_friend_opinion
REASON = friend_fishing_trip REASON = friend_fishing_trip
} }

File diff suppressed because it is too large Load diff

View file

@ -98,7 +98,7 @@ ep3_emperor_yearly.8000 = {
# Ensure you are l'empereur # Ensure you are l'empereur
highest_held_title_tier >= tier_empire highest_held_title_tier >= tier_empire
is_independent_ruler = yes is_independent_ruler = yes
government_allows = administrative government_has_mechanic = administrative
# Ensure there are people to annoy # Ensure there are people to annoy
any_vassal = { any_vassal = {
count >= 3 count >= 3
@ -345,7 +345,7 @@ ep3_emperor_yearly.8010 = {
opening = { opening = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { has_title = title:e_byzantium } trigger = { is_roman_emperor_trigger = yes }
desc = ep3_emperor_yearly.8010.opening_byz desc = ep3_emperor_yearly.8010.opening_byz
} }
desc = ep3_emperor_yearly.8010.opening desc = ep3_emperor_yearly.8010.opening
@ -363,7 +363,7 @@ ep3_emperor_yearly.8010 = {
# Ensure you are l'empereur # Ensure you are l'empereur
highest_held_title_tier >= tier_empire highest_held_title_tier >= tier_empire
is_independent_ruler = yes is_independent_ruler = yes
government_allows = administrative government_has_mechanic = administrative
# Ensure there is a governor to be duped # Ensure there is a governor to be duped
any_vassal = { emperor_yearly_8010_valid_governor_trigger = yes } any_vassal = { emperor_yearly_8010_valid_governor_trigger = yes }
} }
@ -419,7 +419,7 @@ ep3_emperor_yearly.8010 = {
modifier = grateful_opinion modifier = grateful_opinion
opinion = 15 opinion = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
} }
@ -451,7 +451,7 @@ ep3_emperor_yearly.8010 = {
target = scope:liar target = scope:liar
type = loyalty_hook type = loyalty_hook
} }
stress_impact = { stress_and_fulfillment_impact = {
just = minor_stress_impact_gain just = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
} }
@ -480,7 +480,7 @@ ep3_emperor_yearly.8010 = {
hidden_effect = { hidden_effect = {
scope:liar = { change_prison_type = dungeon } scope:liar = { change_prison_type = dungeon }
} }
stress_impact = { stress_and_fulfillment_impact = {
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
} }
@ -502,7 +502,7 @@ ep3_emperor_yearly.8010 = {
killer = scope:governor killer = scope:governor
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
} }
@ -844,7 +844,7 @@ ep3_emperor_yearly.8020 = {
} }
highlight_portrait = scope:purpler_1 highlight_portrait = scope:purpler_1
scope:purpler_1 = { emperor_yearly_8020_valid_purpler_effect = yes } scope:purpler_1 = { emperor_yearly_8020_valid_purpler_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -886,7 +886,7 @@ ep3_emperor_yearly.8020 = {
} }
highlight_portrait = scope:purpler_2 highlight_portrait = scope:purpler_2
scope:purpler_2 = { emperor_yearly_8020_valid_purpler_effect = yes } scope:purpler_2 = { emperor_yearly_8020_valid_purpler_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -928,7 +928,7 @@ ep3_emperor_yearly.8020 = {
} }
highlight_portrait = scope:purpler_3 highlight_portrait = scope:purpler_3
scope:purpler_3 = { emperor_yearly_8020_valid_purpler_effect = yes } scope:purpler_3 = { emperor_yearly_8020_valid_purpler_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -947,7 +947,7 @@ ep3_emperor_yearly.8020 = {
option = { # PURPLE MINE option = { # PURPLE MINE
name = ep3_emperor_yearly.8020.d name = ep3_emperor_yearly.8020.d
add_prestige = medium_prestige_value add_prestige = medium_prestige_value
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -1173,7 +1173,7 @@ ep3_emperor_yearly.8030 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
@ -1192,7 +1192,7 @@ ep3_emperor_yearly.8030 = {
remove_treasury_or_gold = minor_treasury_or_gold_value remove_treasury_or_gold = minor_treasury_or_gold_value
ep3_emperor_yearly_8030_coast_modifier_effect = { MODIFIER = mandate } ep3_emperor_yearly_8030_coast_modifier_effect = { MODIFIER = mandate }
ep3_emperor_yearly_8030_sea_modifier_effect = { MODIFIER = mandate } ep3_emperor_yearly_8030_sea_modifier_effect = { MODIFIER = mandate }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
@ -1212,7 +1212,7 @@ ep3_emperor_yearly.8030 = {
add_piety = major_piety_gain add_piety = major_piety_gain
ep3_emperor_yearly_8030_coast_modifier_effect = { MODIFIER = loose } ep3_emperor_yearly_8030_coast_modifier_effect = { MODIFIER = loose }
ep3_emperor_yearly_8030_sea_modifier_effect = { MODIFIER = loose } ep3_emperor_yearly_8030_sea_modifier_effect = { MODIFIER = loose }
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
@ -1579,7 +1579,7 @@ ep3_emperor_yearly.8050 = {
trigger = { trigger = {
has_ep3_dlc_trigger = yes has_ep3_dlc_trigger = yes
# Ensure you are l'empereur # Ensure you are l'empereur
government_allows = administrative government_has_mechanic = administrative
highest_held_title_tier >= tier_empire highest_held_title_tier >= tier_empire
is_independent_ruler = yes is_independent_ruler = yes
# Have a marshal # Have a marshal
@ -1702,18 +1702,18 @@ ep3_emperor_yearly.8050 = {
option = { # Recruit option = { # Recruit
name = { name = {
text = ep3_emperor_yearly.8050.b.byz text = ep3_emperor_yearly.8050.b.byz
trigger = { primary_title = title:e_byzantium } trigger = { is_eastern_roman_emperor_primary_title_trigger = yes }
} }
name = { name = {
text = ep3_emperor_yearly.8050.b text = ep3_emperor_yearly.8050.b
trigger = { primary_title != title:e_byzantium } trigger = { is_eastern_roman_emperor_primary_title_trigger = no }
} }
pay_short_term_gold = { pay_short_term_gold = {
gold = minor_gold_value gold = minor_gold_value
target = scope:raider target = scope:raider
} }
if = { if = {
limit = { has_title = title:e_byzantium } limit = { is_roman_emperor_trigger = yes }
scope:raider = { add_trait = varangian } scope:raider = { add_trait = varangian }
} }
add_courtier = scope:raider add_courtier = scope:raider
@ -1722,7 +1722,7 @@ ep3_emperor_yearly.8050 = {
modifier = loyalty_opinion modifier = loyalty_opinion
opinion = 20 opinion = 20
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
} }
@ -1784,7 +1784,7 @@ ep3_emperor_yearly.8050 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
} }
@ -1803,7 +1803,7 @@ ep3_emperor_yearly.8050 = {
gold = tiny_gold_value gold = tiny_gold_value
target = scope:raider target = scope:raider
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
} }
@ -1940,33 +1940,21 @@ scripted_effect ep3_emperor_yearly_8060_defect_effect = {
if = { if = {
limit = { limit = {
scope:sponsor = { scope:sponsor = {
NOT = { government_allows = administrative } NOT = { government_has_mechanic = administrative }
} }
} }
if = { assign_feudal_governments_effect = yes
limit = {
faith = { religion_tag = islam_religion }
}
change_government = clan_government
}
else = { change_government = feudal_government }
} }
hidden_effect = { hidden_effect = {
every_vassal = { every_vassal = {
limit = { government_allows = administrative } limit = { government_has_mechanic = administrative }
if = { if = {
limit = { limit = {
scope:sponsor = { scope:sponsor = {
NOT = { government_allows = administrative } NOT = { government_has_mechanic = administrative }
} }
} }
if = { assign_feudal_governments_effect = yes
limit = {
faith = { religion_tag = islam_religion }
}
change_government = clan_government
}
else = { change_government = feudal_government }
} }
} }
} }
@ -2048,7 +2036,7 @@ ep3_emperor_yearly.8060 = {
# Ensure you are l'empereur # Ensure you are l'empereur
highest_held_title_tier >= tier_empire highest_held_title_tier >= tier_empire
is_independent_ruler = yes is_independent_ruler = yes
government_allows = administrative government_has_mechanic = administrative
# To avoid edge cases # To avoid edge cases
is_at_war = no is_at_war = no
# Valid defector exists # Valid defector exists
@ -2136,7 +2124,7 @@ ep3_emperor_yearly.8060 = {
} }
} }
add_tyranny = medium_tyranny_gain add_tyranny = medium_tyranny_gain
stress_impact = { stress_and_fulfillment_impact = {
just = medium_stress_impact_gain just = medium_stress_impact_gain
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
} }
@ -2160,7 +2148,7 @@ ep3_emperor_yearly.8060 = {
opinion = 25 opinion = 25
target = scope:defector target = scope:defector
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
} }
@ -2197,7 +2185,7 @@ ep3_emperor_yearly.8060 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
just = medium_stress_impact_gain just = medium_stress_impact_gain
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
} }

View file

@ -108,7 +108,7 @@ ep3_eparch_event.0001 = {
# Follow up event for the liege # Follow up event for the liege
scope:emperor = { trigger_event = ep3_eparch_event.0002 } scope:emperor = { trigger_event = ep3_eparch_event.0002 }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_loss greedy = medium_stress_impact_loss
} }
@ -149,7 +149,7 @@ ep3_eparch_event.0001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
# None # None
} }
@ -174,7 +174,7 @@ ep3_eparch_event.0001 = {
option = { # Surely the capital is not in any danger? option = { # Surely the capital is not in any danger?
name = ep3_eparch_event.0001.c name = ep3_eparch_event.0001.c
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_loss craven = medium_stress_impact_loss
} }
@ -301,7 +301,7 @@ ep3_eparch_event.0002 = {
OPINION = default_friend_opinion OPINION = default_friend_opinion
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_loss greedy = medium_stress_impact_loss
} }
@ -334,7 +334,7 @@ ep3_eparch_event.0002 = {
option = { # They are only doing their job. option = { # They are only doing their job.
name = ep3_eparch_event.0002.b name = ep3_eparch_event.0002.b
stress_impact = { stress_and_fulfillment_impact = {
# None # None
} }
@ -441,7 +441,7 @@ ep3_eparch_event.0005 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
} }
@ -531,7 +531,7 @@ ep3_eparch_event.0005 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
} }
@ -607,7 +607,7 @@ ep3_eparch_event.0005 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -638,7 +638,7 @@ ep3_eparch_event.0005 = {
eparch_neglecting_duty_effect = yes eparch_neglecting_duty_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
} }
@ -756,7 +756,7 @@ ep3_eparch_event.0010 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
fickle = medium_stress_impact_gain fickle = medium_stress_impact_gain
} }
@ -793,7 +793,7 @@ ep3_eparch_event.0010 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
} }
ai_chance = { ai_chance = {
@ -865,7 +865,7 @@ ep3_eparch_event.0010 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
} }
@ -892,7 +892,7 @@ ep3_eparch_event.0010 = {
eparch_neglecting_duty_effect = yes eparch_neglecting_duty_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
} }
@ -1018,9 +1018,9 @@ ep3_eparch_event.0015 = {
any_pool_character = { any_pool_character = {
province = scope:capital province = scope:capital
is_available_adult_education_teacher = yes is_available_adult_education_teacher = yes
NOR = { has_none_of_variables = {
has_character_flag = teacher_1 name = teacher_1
has_character_flag = teacher_2 name = teacher_2
} }
} }
} }
@ -1028,9 +1028,9 @@ ep3_eparch_event.0015 = {
province = scope:capital province = scope:capital
limit = { limit = {
is_available_adult_education_teacher = yes is_available_adult_education_teacher = yes
NOR = { has_none_of_variables = {
has_character_flag = teacher_1 name = teacher_1
has_character_flag = teacher_2 name = teacher_2
} }
} }
save_scope_as = teacher_local_scholar save_scope_as = teacher_local_scholar
@ -1076,14 +1076,15 @@ ep3_eparch_event.0015 = {
random_traits = yes random_traits = yes
dynasty = none dynasty = none
faith = scope:capital.faith faith = scope:capital.faith
rite = scope:capital.rite
culture = scope:capital.culture culture = scope:capital.culture
gender_female_chance = { gender_female_chance = {
if = { if = {
limit = { scope:capital.faith = { has_doctrine = doctrine_gender_male_dominated } } limit = { scope:capital.rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
add = 0 add = 0
} }
else_if = { else_if = {
limit = { scope:capital.faith = { has_doctrine = doctrine_gender_female_dominated } } limit = { scope:capital.rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
add = 100 add = 100
} }
else = { else = {
@ -1119,7 +1120,7 @@ ep3_eparch_event.0015 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
} }
@ -1205,7 +1206,7 @@ ep3_eparch_event.0015 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
} }
@ -1604,7 +1605,7 @@ ep3_eparch_event.9000 = {
trigger_event = ep3_eparch_event.9001 trigger_event = ep3_eparch_event.9001
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
wrathful = minor_stress_impact_loss wrathful = minor_stress_impact_loss
@ -1670,7 +1671,7 @@ ep3_eparch_event.9000 = {
trigger_event = ep3_eparch_event.9001 trigger_event = ep3_eparch_event.9001
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
} }
@ -1704,7 +1705,7 @@ ep3_eparch_event.9000 = {
trigger_event = ep3_eparch_event.9001 trigger_event = ep3_eparch_event.9001
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
} }

View file

@ -109,30 +109,30 @@ ep3_governor_yearly.3001 = {
theme = administrative theme = administrative
override_background = { override_background = {
trigger = { trigger = {
OR = { has_variable = {
has_character_flag = domicile_new_built_garden name = domicile_new_built_garden
has_character_flag = domicile_new_built_garden_leisure name = domicile_new_built_garden_leisure
has_character_flag = domicile_new_built_garden_fruit name = domicile_new_built_garden_fruit
} }
} }
reference = garden reference = garden
} }
override_background = { override_background = {
trigger = { trigger = {
OR = { has_variable = {
has_character_flag = domicile_new_built_garden name = domicile_new_built_garden
has_character_flag = domicile_new_built_garden_leisure name = domicile_new_built_garden_leisure
has_character_flag = domicile_new_built_garden_fruit name = domicile_new_built_garden_fruit
} }
} }
reference = garden reference = garden
} }
override_background = { override_background = {
trigger = { trigger = {
OR = { has_variable = {
has_character_flag = domicile_new_built_grazing_land name = domicile_new_built_grazing_land
has_character_flag = domicile_new_built_horse_pasture name = domicile_new_built_horse_pasture
has_character_flag = domicile_new_built_camel_pasture name = domicile_new_built_camel_pasture
} }
scope:root_domicile_province = { scope:root_domicile_province = {
OR = { OR = {
@ -148,10 +148,10 @@ ep3_governor_yearly.3001 = {
} }
override_background = { override_background = {
trigger = { trigger = {
OR = { has_variable = {
has_character_flag = domicile_new_built_grazing_land name = domicile_new_built_grazing_land
has_character_flag = domicile_new_built_horse_pasture name = domicile_new_built_horse_pasture
has_character_flag = domicile_new_built_camel_pasture name = domicile_new_built_camel_pasture
} }
scope:root_domicile_province = { scope:root_domicile_province = {
OR = { OR = {
@ -166,10 +166,10 @@ ep3_governor_yearly.3001 = {
} }
override_background = { override_background = {
trigger = { trigger = {
OR = { has_variable = {
has_character_flag = domicile_new_built_grazing_land name = domicile_new_built_grazing_land
has_character_flag = domicile_new_built_horse_pasture name = domicile_new_built_horse_pasture
has_character_flag = domicile_new_built_camel_pasture name = domicile_new_built_camel_pasture
} }
scope:root_domicile_province = { scope:root_domicile_province = {
OR = { OR = {
@ -185,13 +185,13 @@ ep3_governor_yearly.3001 = {
#Farm/orchard type ones #Farm/orchard type ones
override_background = { override_background = {
trigger = { trigger = {
NOR = { has_none_of_variables = {
has_character_flag = domicile_new_built_grazing_land name = domicile_new_built_grazing_land
has_character_flag = domicile_new_built_horse_pasture name = domicile_new_built_horse_pasture
has_character_flag = domicile_new_built_camel_pasture name = domicile_new_built_camel_pasture
has_character_flag = domicile_new_built_garden name = domicile_new_built_garden
has_character_flag = domicile_new_built_garden_leisure name = domicile_new_built_garden_leisure
has_character_flag = domicile_new_built_garden_fruit name = domicile_new_built_garden_fruit
} }
scope:root_domicile_province = { scope:root_domicile_province = {
OR = { OR = {
@ -207,13 +207,13 @@ ep3_governor_yearly.3001 = {
} }
override_background = { override_background = {
trigger = { trigger = {
NOR = { has_none_of_variables = {
has_character_flag = domicile_new_built_grazing_land name = domicile_new_built_grazing_land
has_character_flag = domicile_new_built_horse_pasture name = domicile_new_built_horse_pasture
has_character_flag = domicile_new_built_camel_pasture name = domicile_new_built_camel_pasture
has_character_flag = domicile_new_built_garden name = domicile_new_built_garden
has_character_flag = domicile_new_built_garden_leisure name = domicile_new_built_garden_leisure
has_character_flag = domicile_new_built_garden_fruit name = domicile_new_built_garden_fruit
} }
scope:root_domicile_province = { scope:root_domicile_province = {
NOR = { NOR = {
@ -242,12 +242,12 @@ ep3_governor_yearly.3001 = {
trigger = { trigger = {
has_ep3_dlc_trigger = yes has_ep3_dlc_trigger = yes
government_has_flag = government_is_administrative government_has_mechanic = administrative
any_held_title = { any_held_title = {
is_noble_family_title = yes is_noble_family_title = yes
} }
domicile.domicile_location.county.holder = { domicile.domicile_location.county.holder = {
government_has_flag = government_is_administrative government_has_mechanic = administrative
governor_efficiency <= 0.75 governor_efficiency <= 0.75
NOR = { NOR = {
this = root this = root
@ -371,7 +371,7 @@ ep3_governor_yearly.3001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
content = major_stress_impact_gain content = major_stress_impact_gain
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
@ -482,7 +482,7 @@ ep3_governor_yearly.3001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
content = medium_stress_impact_gain content = medium_stress_impact_gain
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
@ -523,7 +523,7 @@ ep3_governor_yearly.3001 = {
opinion = 20 opinion = 20
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
@ -828,7 +828,7 @@ ep3_governor_yearly.3002 = {
add_character_flag = governor_accuses_crime add_character_flag = governor_accuses_crime
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_loss vengeful = minor_stress_impact_loss
just = medium_stress_impact_gain just = medium_stress_impact_gain
honest = medium_stress_impact_gain honest = medium_stress_impact_gain
@ -909,7 +909,7 @@ ep3_governor_yearly.3002 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
content = minor_stress_impact_gain content = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
@ -990,7 +990,7 @@ ep3_governor_yearly.3002 = {
} }
add_character_flag = governor_scandalizes add_character_flag = governor_scandalizes
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
generous = miniscule_stress_impact_gain generous = miniscule_stress_impact_gain
arbitrary = miniscule_stress_impact_gain arbitrary = miniscule_stress_impact_gain
@ -1064,7 +1064,7 @@ ep3_governor_yearly.3002 = {
} }
add_character_flag = governor_backs_down add_character_flag = governor_backs_down
stress_impact = { stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
greedy = miniscule_stress_impact_gain greedy = miniscule_stress_impact_gain
@ -1152,11 +1152,11 @@ ep3_governor_yearly.3003 = {
trigger = { trigger = {
scope:governor = { scope:governor = {
OR = { has_variable = {
has_character_flag = governor_accuses_crime name = governor_accuses_crime
has_character_flag = governor_uses_force name = governor_uses_force
has_character_flag = governor_scandalizes name = governor_scandalizes
has_character_flag = governor_backs_down name = governor_backs_down
} }
is_alive = yes is_alive = yes
} }
@ -1724,7 +1724,7 @@ ep3_governor_yearly.3010 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = miniscule_stress_impact_loss brave = miniscule_stress_impact_loss
diligent = minor_stress_impact_loss diligent = minor_stress_impact_loss
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -1907,7 +1907,7 @@ ep3_governor_yearly.3010 = {
opinion = -25 opinion = -25
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
ambitious = miniscule_stress_impact_loss ambitious = miniscule_stress_impact_loss
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
content = major_stress_impact_gain content = major_stress_impact_gain
@ -1997,7 +1997,7 @@ ep3_governor_yearly.3010 = {
modifier = ep3_exploited_weak_master_modifier modifier = ep3_exploited_weak_master_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
just = major_stress_impact_gain just = major_stress_impact_gain
diligent = major_stress_impact_gain diligent = major_stress_impact_gain
@ -2026,7 +2026,7 @@ ep3_governor_yearly.3010 = {
name = ep3_governor_yearly.3010.d name = ep3_governor_yearly.3010.d
add_piety = medium_piety_gain add_piety = medium_piety_gain
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
stress_impact = { stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
@ -2075,7 +2075,7 @@ ep3_governor_yearly.3011 = {
ep3_governor_yearly_3010_war_aid_effect = yes ep3_governor_yearly_3010_war_aid_effect = yes
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = miniscule_stress_impact_loss craven = miniscule_stress_impact_loss
trusting = miniscule_stress_impact_loss trusting = miniscule_stress_impact_loss
stubborn = medium_stress_impact_gain stubborn = medium_stress_impact_gain
@ -2088,7 +2088,7 @@ ep3_governor_yearly.3011 = {
option = { option = {
name = ep3_governor_yearly.3011.b name = ep3_governor_yearly.3011.b
scope:governor = { add_character_flag = governor_war_aid_deal_failed } scope:governor = { add_character_flag = governor_war_aid_deal_failed }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
@ -2150,7 +2150,7 @@ ep3_governor_yearly.3012 = {
trigger = { trigger = {
NAND = { NAND = {
knows_language = language_greek knows_language = language_greek
OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } religion = religion:christianity_religion
} }
has_character_flag = governor_war_aid_deal_failed has_character_flag = governor_war_aid_deal_failed
} }
@ -2227,7 +2227,7 @@ ep3_governor_yearly.3020 = {
valid_for_byz_emperor_content_trigger = yes valid_for_byz_emperor_content_trigger = yes
save_temporary_scope_as = emperor_temp save_temporary_scope_as = emperor_temp
legitimacy_level < 5 legitimacy_level < 5
government_has_flag = government_is_administrative government_has_mechanic = administrative
top_liege = this top_liege = this
OR = { OR = {
#Emperor has criminal trait #Emperor has criminal trait
@ -2236,8 +2236,8 @@ ep3_governor_yearly.3020 = {
NOT = { NOT = {
root = { is_incestuous_trigger = yes } root = { is_incestuous_trigger = yes }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:incestuous RITE = scope:emperor_temp.rite GENDER_CHARACTER = scope:emperor_temp }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:incestuous RITE = root.rite GENDER_CHARACTER = scope:emperor_temp }
} }
AND = { AND = {
has_trait = kinslayer has_trait = kinslayer
@ -2250,8 +2250,8 @@ ep3_governor_yearly.3020 = {
NOT = { NOT = {
root = { has_trait = adulterer } root = { has_trait = adulterer }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:adulterer RITE = scope:emperor_temp.rite GENDER_CHARACTER = scope:emperor_temp }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:adulterer RITE = root.rite GENDER_CHARACTER = scope:emperor_temp }
} }
AND = { AND = {
has_trait = fornicator has_trait = fornicator
@ -2263,24 +2263,24 @@ ep3_governor_yearly.3020 = {
} }
} }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:fornicator RITE = scope:emperor_temp.rite GENDER_CHARACTER = scope:emperor_temp }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:fornicator RITE = root.rite GENDER_CHARACTER = scope:emperor_temp }
} }
AND = { AND = {
has_trait = deviant has_trait = deviant
NOT = { NOT = {
root = { is_deviant_trigger = yes } root = { is_deviant_trigger = yes }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = scope:emperor_temp.rite GENDER_CHARACTER = scope:emperor_temp }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = root.rite GENDER_CHARACTER = scope:emperor_temp }
} }
AND = { AND = {
has_trait = witch has_trait = witch
NOT = { NOT = {
root = { is_witch_trigger = yes } root = { is_witch_trigger = yes }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:witch RITE = scope:emperor_temp.rite GENDER_CHARACTER = scope:emperor_temp }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:witch RITE = root.rite GENDER_CHARACTER = scope:emperor_temp }
} }
AND = { AND = {
has_trait = sodomite has_trait = sodomite
@ -2292,24 +2292,23 @@ ep3_governor_yearly.3020 = {
} }
} }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:sodomite RITE = scope:emperor_temp.rite GENDER_CHARACTER = scope:emperor_temp }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:sodomite RITE = root.rite GENDER_CHARACTER = scope:emperor_temp }
} }
AND = { AND = {
has_trait = cannibal has_trait = cannibal
NOT = { NOT = {
root = { is_cannibal_trigger = yes } root = { is_cannibal_trigger = yes }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:cannibal RITE = scope:emperor_temp.rite GENDER_CHARACTER = scope:emperor_temp }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp } trait_is_criminal_in_rite_trigger = { TRAIT = trait:cannibal RITE = root.rite GENDER_CHARACTER = scope:emperor_temp }
} }
AND = { AND = {
root.culture = { root.culture = {
has_cultural_parameter = physical_disfigurement_blocks_inheritance has_cultural_parameter = physical_disfigurement_blocks_inheritance
} }
OR = { OR = {
has_trait = eunuch_1 is_eunuch_trigger = yes
has_trait = beardless_eunuch
has_trait = blind has_trait = blind
has_trait = maimed has_trait = maimed
has_trait = one_eyed has_trait = one_eyed
@ -2346,8 +2345,8 @@ ep3_governor_yearly.3020 = {
NOT = { NOT = {
root = { is_incestuous_trigger = yes } root = { is_incestuous_trigger = yes }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:incestuous RITE = scope:emperor.rite GENDER_CHARACTER = scope:emperor }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:incestuous RITE = root.rite GENDER_CHARACTER = scope:emperor }
} }
random_character_trait = { random_character_trait = {
limit = { limit = {
@ -2380,8 +2379,8 @@ ep3_governor_yearly.3020 = {
NOT = { NOT = {
root = { has_trait = adulterer } root = { has_trait = adulterer }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:adulterer RITE = scope:emperor.rite GENDER_CHARACTER = scope:emperor }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:adulterer RITE = root.rite GENDER_CHARACTER = scope:emperor }
} }
random_character_trait = { random_character_trait = {
limit = { limit = {
@ -2401,8 +2400,8 @@ ep3_governor_yearly.3020 = {
} }
} }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:fornicator RITE = scope:emperor.rite GENDER_CHARACTER = scope:emperor }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:fornicator RITE = root.rite GENDER_CHARACTER = scope:emperor }
} }
random_character_trait = { random_character_trait = {
limit = { limit = {
@ -2417,8 +2416,8 @@ ep3_governor_yearly.3020 = {
NOT = { NOT = {
root = { is_deviant_trigger = yes } root = { is_deviant_trigger = yes }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = scope:emperor.rite GENDER_CHARACTER = scope:emperor }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = root.rite GENDER_CHARACTER = scope:emperor }
} }
random_character_trait = { random_character_trait = {
limit = { limit = {
@ -2433,8 +2432,8 @@ ep3_governor_yearly.3020 = {
NOT = { NOT = {
root = { is_witch_trigger = yes } root = { is_witch_trigger = yes }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:witch RITE = scope:emperor.rite GENDER_CHARACTER = scope:emperor }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:witch RITE = root.rite GENDER_CHARACTER = scope:emperor }
} }
random_character_trait = { random_character_trait = {
limit = { limit = {
@ -2454,8 +2453,8 @@ ep3_governor_yearly.3020 = {
} }
} }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:sodomite RITE = scope:emperor.rite GENDER_CHARACTER = scope:emperor }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:sodomite RITE = root.rite GENDER_CHARACTER = scope:emperor }
} }
random_character_trait = { random_character_trait = {
limit = { limit = {
@ -2470,8 +2469,8 @@ ep3_governor_yearly.3020 = {
NOT = { NOT = {
root = { is_cannibal_trigger = yes } root = { is_cannibal_trigger = yes }
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:cannibal RITE = scope:emperor.rite GENDER_CHARACTER = scope:emperor }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor } trait_is_criminal_in_rite_trigger = { TRAIT = trait:cannibal RITE = root.rite GENDER_CHARACTER = scope:emperor }
} }
random_character_trait = { random_character_trait = {
limit = { limit = {
@ -2589,7 +2588,7 @@ ep3_governor_yearly.3020 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = medium_stress_impact_gain honest = medium_stress_impact_gain
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
@ -2698,7 +2697,7 @@ ep3_governor_yearly.3020 = {
days = 1 days = 1
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = miniscule_stress_impact_loss zealous = miniscule_stress_impact_loss
just = miniscule_stress_impact_loss just = miniscule_stress_impact_loss
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -2767,7 +2766,7 @@ ep3_governor_yearly.3020 = {
else = { else = {
add_gold = tiny_gold_value add_gold = tiny_gold_value
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
@ -2868,7 +2867,7 @@ ep3_governor_yearly.3021 = {
} }
custom_tooltip = ep3_governor_yearly.3021.blocker custom_tooltip = ep3_governor_yearly.3021.blocker
add_prestige = medium_prestige_loss add_prestige = medium_prestige_loss
stress_impact = { stress_and_fulfillment_impact = {
zealous = miniscule_stress_impact_loss zealous = miniscule_stress_impact_loss
humble = miniscule_stress_impact_loss humble = miniscule_stress_impact_loss
arrogant = major_stress_impact_gain arrogant = major_stress_impact_gain
@ -2898,7 +2897,7 @@ ep3_governor_yearly.3021 = {
#Impertinence! #Impertinence!
option = { option = {
name = ep3_governor_yearly.3021.b name = ep3_governor_yearly.3021.b
stress_impact = { stress_and_fulfillment_impact = {
humble = miniscule_stress_impact_gain humble = miniscule_stress_impact_gain
zealous = miniscule_stress_impact_gain zealous = miniscule_stress_impact_gain
trusting = miniscule_stress_impact_gain trusting = miniscule_stress_impact_gain
@ -2980,7 +2979,7 @@ ep3_governor_yearly.3030 = {
trigger = { trigger = {
basic_is_valid_for_yearly_events_trigger = yes basic_is_valid_for_yearly_events_trigger = yes
is_landed = yes is_landed = yes
government_allows = administrative government_has_mechanic = administrative
top_liege != this top_liege != this
years_from_game_start >= 4 years_from_game_start >= 4
is_at_war = no is_at_war = no
@ -3107,7 +3106,7 @@ ep3_governor_yearly.3030 = {
else = { else = {
add_martial_lifestyle_xp = medium_lifestyle_xp add_martial_lifestyle_xp = medium_lifestyle_xp
} }
stress_impact = { stress_and_fulfillment_impact = {
lazy = major_stress_impact_gain lazy = major_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
content = major_stress_impact_gain content = major_stress_impact_gain
@ -3153,7 +3152,7 @@ ep3_governor_yearly.3030 = {
modifier = ep3_peaceful_administrator_modifier modifier = ep3_peaceful_administrator_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
paranoid = major_stress_impact_gain paranoid = major_stress_impact_gain
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
@ -3230,7 +3229,7 @@ ep3_governor_yearly.3030 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
@ -3321,7 +3320,7 @@ ep3_governor_yearly.3040 = {
top_liege = { top_liege = {
is_imprisoned = no is_imprisoned = no
legitimacy_level >= 4 legitimacy_level >= 4
has_government = administrative_government government_has_flag = government_is_administrative
} }
age >= 12 age >= 12
} }
@ -3507,7 +3506,7 @@ ep3_governor_yearly.3040 = {
dynasty = { add_dynasty_prestige = 25 } dynasty = { add_dynasty_prestige = 25 }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
content = minor_stress_impact_gain content = minor_stress_impact_gain
@ -3582,7 +3581,7 @@ ep3_governor_yearly.3040 = {
} }
change_influence = minor_influence_gain change_influence = minor_influence_gain
stress_impact = { stress_and_fulfillment_impact = {
impatient = medium_stress_impact_gain impatient = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -3948,7 +3947,7 @@ ep3_governor_yearly.3040 = {
} }
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
@ -4366,7 +4365,7 @@ ep3_governor_yearly.3040 = {
size = 2 size = 2
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
} }
@ -4409,6 +4408,22 @@ ep3_governor_yearly.3040 = {
} }
} }
scripted_trigger ep3_governor_yearly_3050_emperor_trigger = {
OR = {
has_trait = lunatic
has_trait = possessed
has_trait = eccentric
AND = {
has_trait = witch
NOT = {
root.rite = {
rite_has_parameter = witchcraft_accepted
}
}
}
}
}
##################################### #####################################
# God Appointed... Him? # # God Appointed... Him? #
# by Jason Cantalini # # by Jason Cantalini #
@ -4420,7 +4435,18 @@ ep3_governor_yearly.3050 = {
type = character_event type = character_event
title = ep3_governor_yearly.3050.t title = ep3_governor_yearly.3050.t
desc = { desc = {
desc = ep3_governor_yearly.3050.desc first_valid = {
triggered_desc = {
trigger = {
scope:emperor = {
ep3_governor_yearly_3050_emperor_trigger = yes
}
}
desc = ep3_governor_yearly.3050.desc_strange_intro
}
desc = ep3_governor_yearly.3050.desc
}
first_valid = { first_valid = {
#Emperor is a mess #Emperor is a mess
triggered_desc = { triggered_desc = {
@ -4469,9 +4495,9 @@ ep3_governor_yearly.3050 = {
has_graphical_mediterranean_culture_group_trigger = yes has_graphical_mediterranean_culture_group_trigger = yes
} }
} }
NOR = { has_none_of_variables = {
has_character_flag = demon_emperor_cruel name = demon_emperor_cruel
has_character_flag = demon_emperor_generic name = demon_emperor_generic
} }
} }
reference = ep3_byzantine_feast reference = ep3_byzantine_feast
@ -4486,9 +4512,9 @@ ep3_governor_yearly.3050 = {
has_graphical_mediterranean_culture_group_trigger = yes has_graphical_mediterranean_culture_group_trigger = yes
} }
} }
NOR = { has_none_of_variables = {
has_character_flag = demon_emperor_cruel name = demon_emperor_cruel
has_character_flag = demon_emperor_generic name = demon_emperor_generic
} }
} }
reference = corridor_night reference = corridor_night
@ -4514,6 +4540,7 @@ ep3_governor_yearly.3050 = {
} }
} }
animation = aggressive_unarmed animation = aggressive_unarmed
camera = camera_event_table_left_forward
} }
triggered_animation = { triggered_animation = {
trigger = { trigger = {
@ -4530,6 +4557,7 @@ ep3_governor_yearly.3050 = {
} }
} }
animation = paranoia animation = paranoia
camera = camera_event_table_left_forward
} }
triggered_animation = { triggered_animation = {
trigger = { trigger = {
@ -4538,6 +4566,7 @@ ep3_governor_yearly.3050 = {
} }
} }
animation = manic animation = manic
camera = camera_event_table_left_forward
} }
triggered_animation = { triggered_animation = {
trigger = { trigger = {
@ -4546,6 +4575,7 @@ ep3_governor_yearly.3050 = {
} }
} }
animation = eccentric animation = eccentric
camera = camera_event_table_left_forward
} }
} }
lower_right_portrait = scope:faith_head lower_right_portrait = scope:faith_head
@ -4559,8 +4589,16 @@ ep3_governor_yearly.3050 = {
} }
is_at_war = no is_at_war = no
top_liege = { top_liege = {
is_imprisoned = no
has_legitimacy = yes has_legitimacy = yes
legitimacy_level < 2 #Either quite illegitimate for an emperor... or people do actually speak already of their strangeness
OR = {
legitimacy_level < 2
AND = {
legitimacy_level < 5
ep3_governor_yearly_3050_emperor_trigger = yes
}
}
age >= 8 age >= 8
} }
age >= 12 age >= 12
@ -4571,10 +4609,18 @@ ep3_governor_yearly.3050 = {
modifier = { modifier = {
factor = 3 factor = 3
top_liege = { top_liege = {
is_imprisoned = no has_legitimacy = yes
legitimacy_level < 1 legitimacy_level < 1
} }
} }
modifier = {
factor = 3
top_liege = {
has_legitimacy = yes
legitimacy_level < 3
ep3_governor_yearly_3050_emperor_trigger = yes
}
}
} }
immediate = { immediate = {
@ -4683,6 +4729,9 @@ ep3_governor_yearly.3050 = {
scope:emperor = { scope:emperor = {
is_adult = yes is_adult = yes
} }
root = {
is_ai = no
}
} }
scope:emperor = { add_character_flag = is_naked } scope:emperor = { add_character_flag = is_naked }
} }
@ -4754,7 +4803,7 @@ ep3_governor_yearly.3050 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
eccentric = minor_stress_impact_loss eccentric = minor_stress_impact_loss
cynical = major_stress_impact_gain cynical = major_stress_impact_gain
@ -4987,7 +5036,7 @@ ep3_governor_yearly.3050 = {
} }
add_trait = disloyal add_trait = disloyal
stress_impact = { stress_and_fulfillment_impact = {
disloyal = minor_stress_impact_loss disloyal = minor_stress_impact_loss
loyal = medium_stress_impact_gain loyal = medium_stress_impact_gain
just = major_stress_impact_gain just = major_stress_impact_gain
@ -4996,7 +5045,7 @@ ep3_governor_yearly.3050 = {
content = medium_stress_impact_gain content = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
base = 150 base = 100
ai_value_modifier = { ai_value_modifier = {
ai_greed = 1 ai_greed = 1
ai_boldness = 1 ai_boldness = 1
@ -5065,7 +5114,7 @@ ep3_governor_yearly.3050 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
loyal = miniscule_stress_impact_loss loyal = miniscule_stress_impact_loss
arbitrary = major_stress_impact_gain arbitrary = major_stress_impact_gain
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -5073,7 +5122,7 @@ ep3_governor_yearly.3050 = {
deceitful = minor_stress_impact_gain deceitful = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
base = 100 base = 50
ai_value_modifier = { ai_value_modifier = {
ai_honor = 2 ai_honor = 2
ai_compassion = 0.5 ai_compassion = 0.5
@ -5099,6 +5148,12 @@ ep3_governor_yearly.3050 = {
value > 70 value > 70
} }
} }
modifier = {
add = -50
scope:emperor = {
ep3_governor_yearly_3050_emperor_trigger = yes
}
}
modifier = { modifier = {
factor = 0 factor = 0
OR = { OR = {
@ -5148,7 +5203,7 @@ ep3_governor_yearly.3050 = {
add_prestige = minor_prestige_loss add_prestige = minor_prestige_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -5188,10 +5243,11 @@ ep3_governor_yearly.3050 = {
has_trait = just has_trait = just
has_trait = honest has_trait = honest
has_trait = humble has_trait = humble
} has_trait = diligent
opinion = { opinion = {
target = scope:emperor target = scope:emperor
value >= 80 value >= 80
}
} }
} }
} }
@ -5215,7 +5271,6 @@ ep3_governor_yearly.3050 = {
# by Jason Cantalini # # by Jason Cantalini #
# 3060 # # 3060 #
##################################### #####################################
#Admin Imperial Succession event #Admin Imperial Succession event
ep3_governor_yearly.3060 = { ep3_governor_yearly.3060 = {
type = character_event type = character_event
@ -5631,13 +5686,13 @@ ep3_governor_yearly.3060 = {
legitimacy_level <= 1 legitimacy_level <= 1
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
greedy = miniscule_stress_impact_loss greedy = miniscule_stress_impact_loss
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
greedy = miniscule_stress_impact_loss greedy = miniscule_stress_impact_loss
} }
@ -6022,7 +6077,7 @@ ep3_governor_yearly.3060 = {
legitimacy_level >= 4 legitimacy_level >= 4
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
content = medium_stress_impact_gain content = medium_stress_impact_gain
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -6032,7 +6087,7 @@ ep3_governor_yearly.3060 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
loyal = medium_stress_impact_gain loyal = medium_stress_impact_gain
} }
} }
@ -6289,7 +6344,7 @@ ep3_governor_yearly.3060 = {
legitimacy_level <= 1 legitimacy_level <= 1
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -6299,7 +6354,7 @@ ep3_governor_yearly.3060 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
disloyal = medium_stress_impact_gain disloyal = medium_stress_impact_gain
} }
} }
@ -6542,7 +6597,7 @@ ep3_governor_yearly.3070 = {
trigger = { trigger = {
top_liege != this top_liege != this
government_allows = administrative government_has_mechanic = administrative
OR = { OR = {
AND = { AND = {
is_landed = yes is_landed = yes
@ -6929,7 +6984,7 @@ ep3_governor_yearly.3070 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
@ -6995,7 +7050,7 @@ ep3_governor_yearly.3070 = {
} }
} }
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
stress_impact = { stress_and_fulfillment_impact = {
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
lazy = medium_stress_impact_gain lazy = medium_stress_impact_gain
content = medium_stress_impact_gain content = medium_stress_impact_gain
@ -7040,7 +7095,7 @@ ep3_governor_yearly.3070 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
content = medium_stress_impact_gain content = medium_stress_impact_gain
patient = medium_stress_impact_gain patient = medium_stress_impact_gain
@ -7105,7 +7160,7 @@ ep3_governor_yearly.3070 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -7194,7 +7249,7 @@ ep3_governor_yearly.3070 = {
culture = scope:liege.culture culture = scope:liege.culture
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
@ -7203,7 +7258,7 @@ ep3_governor_yearly.3070 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
@ -7555,7 +7610,7 @@ ep3_governor_yearly.3080 = {
} }
} }
increase_governance_effect = { VALUE = 5 } increase_governance_effect = { VALUE = 5 }
stress_impact = { stress_and_fulfillment_impact = {
diligent = miniscule_stress_impact_loss diligent = miniscule_stress_impact_loss
impatient = medium_stress_impact_gain impatient = medium_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -7586,7 +7641,7 @@ ep3_governor_yearly.3080 = {
desc = ep3_anxious_for_new_assignment_desc desc = ep3_anxious_for_new_assignment_desc
} }
custom_tooltip = ep3_anxious_for_new_assignment_tooltip custom_tooltip = ep3_anxious_for_new_assignment_tooltip
stress_impact = { stress_and_fulfillment_impact = {
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
@ -7694,7 +7749,7 @@ ep3_governor_yearly.3080 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
lazy = medium_stress_impact_gain lazy = medium_stress_impact_gain
} }
@ -7795,7 +7850,7 @@ ep3_governor_yearly.3080 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
lazy = medium_stress_impact_gain lazy = medium_stress_impact_gain
} }
@ -7846,7 +7901,7 @@ ep3_governor_yearly.3080 = {
#Whaddaya gonna do *shrug* #Whaddaya gonna do *shrug*
option = { option = {
name = ep3_governor_yearly.3080.e name = ep3_governor_yearly.3080.e
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
@ -7958,7 +8013,7 @@ ep3_governor_yearly.3090 = {
trigger = { trigger = {
age >= 8 age >= 8
top_liege != this top_liege != this
government_allows = administrative government_has_mechanic = administrative
exists = domicile exists = domicile
trigger_if = { trigger_if = {
limit = { limit = {
@ -8136,7 +8191,7 @@ ep3_governor_yearly.3090 = {
add_gold = major_gold_value add_gold = major_gold_value
change_influence = miniscule_influence_loss change_influence = miniscule_influence_loss
stress_impact = { stress_and_fulfillment_impact = {
generous = medium_stress_impact_gain generous = medium_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
@ -8207,7 +8262,7 @@ ep3_governor_yearly.3090 = {
} }
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
stress_impact = { stress_and_fulfillment_impact = {
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
} }
@ -8346,7 +8401,7 @@ ep3_governor_yearly.3090 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
temperate = minor_stress_impact_gain temperate = minor_stress_impact_gain
} }
@ -8479,11 +8534,11 @@ ep3_governor_yearly.3100 = {
trigger = { trigger = {
NOT = { NOT = {
has_government = celestial_government government_has_flag = government_is_celestial
} }
age >= 12 age >= 12
top_liege != this top_liege != this
government_allows = administrative government_has_mechanic = administrative
OR = { OR = {
is_landed = yes is_landed = yes
is_landless_administrative = yes is_landless_administrative = yes
@ -8500,7 +8555,7 @@ ep3_governor_yearly.3100 = {
#Governors of empire suck #Governors of empire suck
liege = { liege = {
any_vassal = { any_vassal = {
government_allows = administrative government_has_mechanic = administrative
is_landed = yes is_landed = yes
add_to_temporary_list = admin_vassals add_to_temporary_list = admin_vassals
} }
@ -8811,7 +8866,7 @@ ep3_governor_yearly.3100 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_gain base = major_stress_impact_gain
diligent = major_stress_impact_loss diligent = major_stress_impact_loss
just = minor_stress_impact_loss just = minor_stress_impact_loss
@ -8971,7 +9026,7 @@ ep3_governor_yearly.3100 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
stubborn = miniscule_stress_impact_loss stubborn = miniscule_stress_impact_loss
shy = miniscule_stress_impact_gain shy = miniscule_stress_impact_gain
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
@ -9024,7 +9079,7 @@ ep3_governor_yearly.3100 = {
add_gold = minor_gold_value add_gold = minor_gold_value
add_prestige = medium_prestige_loss add_prestige = medium_prestige_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = miniscule_stress_impact_loss greedy = miniscule_stress_impact_loss
just = medium_stress_impact_gain just = medium_stress_impact_gain
generous = medium_stress_impact_gain generous = medium_stress_impact_gain
@ -9147,7 +9202,7 @@ ep3_governor_yearly.3100 = {
add_trait = depressed_1 add_trait = depressed_1
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
lazy = miniscule_stress_impact_loss lazy = miniscule_stress_impact_loss
content = miniscule_stress_impact_loss content = miniscule_stress_impact_loss
depressed_1 = miniscule_stress_impact_loss depressed_1 = miniscule_stress_impact_loss

View file

@ -294,8 +294,10 @@ ep3_governor_yearly.8010 = {
trigger = { trigger = {
NOT = { scope:governor_request ?= flag:candidacy } NOT = { scope:governor_request ?= flag:candidacy }
exists = scope:title exists = scope:title
exists = scope:their_title
exists = scope:title_receiver exists = scope:title_receiver
scope:their_title = { has_order_of_succession = appointment } scope:their_title = { has_order_of_succession = appointment }
scope:title = { has_order_of_succession = appointment }
} }
modifier = { modifier = {
add = 10 add = 10
@ -865,7 +867,7 @@ ep3_governor_yearly.8030 = {
option = { # Tax it option = { # Tax it
name = ep3_governor_yearly.8030.a name = ep3_governor_yearly.8030.a
add_treasury_or_gold = medium_treasury_or_gold_value add_treasury_or_gold = medium_treasury_or_gold_value
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -892,7 +894,7 @@ ep3_governor_yearly.8030 = {
years = 10 years = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
@ -908,7 +910,7 @@ ep3_governor_yearly.8030 = {
option = { # Leave it option = { # Leave it
name = ep3_governor_yearly.8030.c name = ep3_governor_yearly.8030.c
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
@ -1025,7 +1027,7 @@ ep3_governor_yearly.8040 = {
modifier = respect_opinion modifier = respect_opinion
opinion = 15 opinion = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
} }
@ -1049,7 +1051,7 @@ ep3_governor_yearly.8040 = {
modifier = annoyed_opinion modifier = annoyed_opinion
opinion = -15 opinion = -15
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -1105,7 +1107,7 @@ ep3_governor_yearly.8040 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
@ -1131,7 +1133,7 @@ ep3_governor_yearly.8040 = {
modifier = ep3_governor_yearly_8040_shirker_modifier modifier = ep3_governor_yearly_8040_shirker_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
} }
@ -1189,7 +1191,7 @@ ep3_governor_yearly.8050 = {
trigger = { trigger = {
has_ep3_dlc_trigger = yes has_ep3_dlc_trigger = yes
government_has_flag = government_is_administrative government_has_mechanic = administrative
is_available_adult = yes is_available_adult = yes
is_governor = yes is_governor = yes
top_liege = { top_liege = {
@ -1232,7 +1234,7 @@ ep3_governor_yearly.8050 = {
modifier = ep3_governor_yearly_8050_imperial_recruiter_modifier modifier = ep3_governor_yearly_8050_imperial_recruiter_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
content = minor_stress_impact_gain content = minor_stress_impact_gain
} }
@ -1252,7 +1254,7 @@ ep3_governor_yearly.8050 = {
modifier = ep3_governor_yearly_8050_imperial_fortification_modifier modifier = ep3_governor_yearly_8050_imperial_fortification_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = minor_stress_impact_gain brave = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
} }
@ -1274,7 +1276,7 @@ ep3_governor_yearly.8050 = {
modifier = ep3_governor_yearly_8050_imperial_resources_modifier modifier = ep3_governor_yearly_8050_imperial_resources_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
} }
@ -1289,7 +1291,7 @@ ep3_governor_yearly.8050 = {
option = { # Nothing option = { # Nothing
name = ep3_governor_yearly.8050.d name = ep3_governor_yearly.8050.d
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
} }
@ -1399,7 +1401,7 @@ ep3_governor_yearly.8060 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = medium_stress_impact_gain honest = medium_stress_impact_gain
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -1458,7 +1460,7 @@ ep3_governor_yearly.8060 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = medium_stress_impact_gain honest = medium_stress_impact_gain
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -1480,7 +1482,7 @@ ep3_governor_yearly.8060 = {
modifier = ep3_bolstered_governor_treasury_modifier modifier = ep3_bolstered_governor_treasury_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
@ -1496,7 +1498,7 @@ ep3_governor_yearly.8060 = {
option = { # Do nothing option = { # Do nothing
name = ep3_governor_yearly.8060.d name = ep3_governor_yearly.8060.d
stress_impact = { stress_and_fulfillment_impact = {
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
arbitrary = medium_stress_impact_gain arbitrary = medium_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
@ -1627,7 +1629,7 @@ ep3_governor_yearly.8062 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -1702,7 +1704,7 @@ ep3_governor_yearly.8062 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -1769,7 +1771,7 @@ ep3_governor_yearly.8062 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -1788,7 +1790,7 @@ ep3_governor_yearly.8062 = {
modifier = suspicious_opinion modifier = suspicious_opinion
opinion = -10 opinion = -10
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
} }
@ -1846,7 +1848,7 @@ ep3_governor_yearly.8070 = {
name = ep3_governor_yearly.8070.a name = ep3_governor_yearly.8070.a
increase_governance_effect = { VALUE = 10 } increase_governance_effect = { VALUE = 10 }
add_stewardship_skill = 1 add_stewardship_skill = 1
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
lazy = medium_stress_impact_gain lazy = medium_stress_impact_gain
impatient = medium_stress_impact_gain impatient = medium_stress_impact_gain
@ -1864,7 +1866,7 @@ ep3_governor_yearly.8070 = {
option = { # Find someone to help option = { # Find someone to help
name = ep3_governor_yearly.8070.b name = ep3_governor_yearly.8070.b
remove_short_term_gold = medium_gold_value remove_short_term_gold = medium_gold_value
stress_impact = { stress_and_fulfillment_impact = {
lazy = major_stress_impact_loss lazy = major_stress_impact_loss
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
@ -1885,7 +1887,7 @@ ep3_governor_yearly.8070 = {
modifier = ep3_governor_yearly_8070_ignore_modifier modifier = ep3_governor_yearly_8070_ignore_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
lazy = massive_stress_impact_loss lazy = massive_stress_impact_loss
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
@ -1941,6 +1943,7 @@ ep3_governor_yearly.8080 = {
location = root.capital_province location = root.capital_province
culture = root.capital_county.culture culture = root.capital_county.culture
faith = root.capital_county.faith faith = root.capital_county.faith
rite = root.capital_county.rite
dynasty = none dynasty = none
save_scope_as = magistrate save_scope_as = magistrate
} }
@ -1953,7 +1956,7 @@ ep3_governor_yearly.8080 = {
modifier = ep3_governor_yearly_8080_tense_bureaucracy_modifier modifier = ep3_governor_yearly_8080_tense_bureaucracy_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
} }
@ -1979,7 +1982,7 @@ ep3_governor_yearly.8080 = {
killer = root killer = root
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
} }
@ -2000,7 +2003,7 @@ ep3_governor_yearly.8080 = {
years = 10 years = 10
} }
scope:magistrate = { silent_disappearance_effect = yes } scope:magistrate = { silent_disappearance_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
@ -2032,7 +2035,7 @@ ep3_governor_yearly.8080 = {
modifier = grateful_opinion modifier = grateful_opinion
opinion = 15 opinion = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
@ -2177,7 +2180,7 @@ ep3_governor_yearly.8090 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
} }
@ -2228,7 +2231,7 @@ ep3_governor_yearly.8090 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
@ -2262,7 +2265,7 @@ ep3_governor_yearly.8090 = {
OPINION = default_rival_opinion OPINION = default_rival_opinion
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
@ -2300,7 +2303,7 @@ ep3_governor_yearly.8090 = {
OPINION = default_rival_opinion OPINION = default_rival_opinion
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
@ -2430,7 +2433,7 @@ ep3_governor_yearly.8100 = {
CHARACTER = scope:governor CHARACTER = scope:governor
OPINION = default_rival_opinion OPINION = default_rival_opinion
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
} }
@ -2457,7 +2460,7 @@ ep3_governor_yearly.8100 = {
CHARACTER = scope:governor CHARACTER = scope:governor
OPINION = default_rival_opinion OPINION = default_rival_opinion
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
} }
@ -2500,7 +2503,7 @@ ep3_governor_yearly.8100 = {
option = { # Ignore option = { # Ignore
name = ep3_governor_yearly.8100.d name = ep3_governor_yearly.8100.d
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
} }
@ -2678,7 +2681,7 @@ ep3_governor_yearly.8110 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
content = minor_stress_impact_gain content = minor_stress_impact_gain
} }
@ -2703,7 +2706,7 @@ ep3_governor_yearly.8110 = {
modifier = unfriendly_opinion modifier = unfriendly_opinion
opinion = -15 opinion = -15
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
} }
@ -2728,7 +2731,7 @@ ep3_governor_yearly.8110 = {
modifier = unfriendly_opinion modifier = unfriendly_opinion
opinion = -15 opinion = -15
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
} }
@ -2760,7 +2763,7 @@ ep3_governor_yearly.8110 = {
opinion = -15 opinion = -15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
} }
@ -2918,7 +2921,7 @@ ep3_governor_yearly.8120 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
@ -2941,7 +2944,7 @@ ep3_governor_yearly.8120 = {
years = 5 years = 5
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
} }
@ -2965,7 +2968,7 @@ ep3_governor_yearly.8120 = {
modifier = ep3_governor_yearly_8120_relief_rejected_modifier modifier = ep3_governor_yearly_8120_relief_rejected_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
@ -3027,7 +3030,7 @@ ep3_governor_yearly.8130 = {
modifier = ep3_governor_yearly_8130_raised_taxes_modifier modifier = ep3_governor_yearly_8130_raised_taxes_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = medium_stress_impact_gain generous = medium_stress_impact_gain
honest = medium_stress_impact_gain honest = medium_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
@ -3048,7 +3051,7 @@ ep3_governor_yearly.8130 = {
modifier = ep3_governor_yearly_8130_special_levy_modifier modifier = ep3_governor_yearly_8130_special_levy_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -3071,7 +3074,7 @@ ep3_governor_yearly.8130 = {
modifier = ep3_governor_yearly_8130_raised_almonage_modifier modifier = ep3_governor_yearly_8130_raised_almonage_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
arbitrary = medium_stress_impact_gain arbitrary = medium_stress_impact_gain
@ -3088,7 +3091,7 @@ ep3_governor_yearly.8130 = {
option = { # Do nothing option = { # Do nothing
name = ep3_governor_yearly.8130.d name = ep3_governor_yearly.8130.d
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
@ -3169,13 +3172,14 @@ ep3_governor_yearly.8140 = {
dynasty = none dynasty = none
culture = scope:estate.domicile_location.county.culture culture = scope:estate.domicile_location.county.culture
faith = scope:estate.domicile_location.county.faith faith = scope:estate.domicile_location.county.faith
rite = scope:estate.domicile_location.county.rite
gender_female_chance = { gender_female_chance = {
if = { if = {
limit = { scope:estate_county.faith = { has_doctrine = doctrine_gender_male_dominated } } limit = { scope:estate_county.rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
add = 0 add = 0
} }
else_if = { else_if = {
limit = { scope:estate_county.faith = { has_doctrine = doctrine_gender_female_dominated } } limit = { scope:estate_county.rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
add = 100 add = 100
} }
else = { add = 50 } else = { add = 50 }
@ -3195,7 +3199,7 @@ ep3_governor_yearly.8140 = {
CHARACTER = scope:estate_owner CHARACTER = scope:estate_owner
OPINION = default_rival_opinion OPINION = default_rival_opinion
} }
stress_impact = { stress_and_fulfillment_impact = {
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
@ -3256,7 +3260,7 @@ ep3_governor_yearly.8140 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
@ -3284,7 +3288,7 @@ ep3_governor_yearly.8140 = {
years = 10 years = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
just = minor_stress_impact_gain just = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
@ -3306,7 +3310,7 @@ ep3_governor_yearly.8140 = {
years = 10 years = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
} }
@ -3569,7 +3573,7 @@ ep3_governor_yearly.8150 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = medium_stress_impact_gain honest = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
@ -3593,7 +3597,7 @@ ep3_governor_yearly.8150 = {
name = ep3_governor_yearly.8150.b name = ep3_governor_yearly.8150.b
remove_treasury_or_gold = medium_treasury_or_gold_value remove_treasury_or_gold = medium_treasury_or_gold_value
ep3_governor_yearly_8150_county_modifier_effect = { MODIFIER = concession } ep3_governor_yearly_8150_county_modifier_effect = { MODIFIER = concession }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
@ -3657,7 +3661,7 @@ ep3_governor_yearly.8150 = {
scope:targeting_faction = { scope:targeting_faction = {
add_faction_discontent = { -10 -20 } add_faction_discontent = { -10 -20 }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
@ -3691,7 +3695,7 @@ ep3_governor_yearly.8150 = {
} }
title_join_faction = scope:targeting_faction title_join_faction = scope:targeting_faction
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
@ -3880,14 +3884,15 @@ ep3_governor_yearly.8160 = {
template = pool_repopulate_stewardship template = pool_repopulate_stewardship
culture = scope:minority_county.culture culture = scope:minority_county.culture
faith = scope:minority_county.faith faith = scope:minority_county.faith
rite = scope:minority_county.rite
location = root.location location = root.location
gender_female_chance = { gender_female_chance = {
if = { if = {
limit = { scope:minority_county.faith = { has_doctrine = doctrine_gender_male_dominated } } limit = { scope:minority_county.rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
add = 0 add = 0
} }
else_if = { else_if = {
limit = { scope:minority_county.faith = { has_doctrine = doctrine_gender_female_dominated } } limit = { scope:minority_county.rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
add = 100 add = 100
} }
else = { else = {
@ -3923,7 +3928,7 @@ ep3_governor_yearly.8160 = {
desc = cultural_acceptance_promoted_bureaucrats desc = cultural_acceptance_promoted_bureaucrats
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
@ -3940,7 +3945,7 @@ ep3_governor_yearly.8160 = {
years = 10 years = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
@ -3980,7 +3985,7 @@ ep3_governor_yearly.8160 = {
years = 10 years = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -3996,7 +4001,7 @@ ep3_governor_yearly.8160 = {
years = 10 years = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -4296,7 +4301,7 @@ ep3_governor_yearly.8170 = {
opinion = 10 opinion = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
} }
@ -4381,7 +4386,7 @@ ep3_governor_yearly.8170 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
} }
@ -4451,7 +4456,7 @@ ep3_governor_yearly.8170 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
} }
@ -4471,7 +4476,7 @@ ep3_governor_yearly.8170 = {
modifier = annoyed_opinion modifier = annoyed_opinion
opinion = -15 opinion = -15
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain

View file

@ -32,7 +32,7 @@ ep3_interactions_events.0001 = {
change_to_administrative_interaction_effect = yes change_to_administrative_interaction_effect = yes
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -135,7 +135,7 @@ ep3_interactions_events.0002 = {
change_to_administrative_interaction_effect = yes change_to_administrative_interaction_effect = yes
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -246,7 +246,7 @@ ep3_interactions_events.0005 = {
change_to_administrative_interaction_effect = yes change_to_administrative_interaction_effect = yes
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -547,9 +547,9 @@ ep3_interactions_events.0030 = { # By Jason Cantalini
trigger = { trigger = {
culture = { has_cultural_pillar = language_greek } culture = { has_cultural_pillar = language_greek }
OR = { OR = {
has_title = title:e_byzantium is_roman_emperor_trigger = yes
top_liege = { top_liege = {
has_title = title:e_byzantium is_roman_emperor_trigger = yes
} }
} }
} }
@ -952,7 +952,7 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
arbitrary = miniscule_stress_impact_gain arbitrary = miniscule_stress_impact_gain
@ -1004,7 +1004,7 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
} }
text = ep3_interactions_events.0031_kind text = ep3_interactions_events.0031_kind
} }
stress_impact = { stress_and_fulfillment_impact = {
just = miniscule_stress_impact_gain just = miniscule_stress_impact_gain
ambitious = miniscule_stress_impact_gain ambitious = miniscule_stress_impact_gain
stubborn = medium_stress_impact_gain stubborn = medium_stress_impact_gain
@ -1088,9 +1088,7 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
} }
else_if = { else_if = {
limit = { limit = {
any_neighboring_top_liege_realm_owner = { any_neighboring_top_liege_realm_owner = {}
exists = this
}
} }
random_neighboring_top_liege_realm_owner = { random_neighboring_top_liege_realm_owner = {
save_scope_as = destination_owner save_scope_as = destination_owner
@ -1509,7 +1507,7 @@ ep3_interactions_events.0111 = {
animation = thinking animation = thinking
} }
right_portrait = { right_portrait = {
character = scope:actor character = scope:puppet_or_actor
animation = bribing animation = bribing
} }
artifact = { artifact = {
@ -1525,14 +1523,14 @@ ep3_interactions_events.0111 = {
scope:recipient.prestige_level > 1 scope:recipient.prestige_level > 1
scope:recipient.prestige_level < 3 scope:recipient.prestige_level < 3
} }
scope:actor = { scope:puppet_or_actor = {
random_held_title = { random_held_title = {
title_tier = county title_tier = county
limit = { limit = {
NOR = { NOR = {
scope:actor.primary_title ?= this scope:puppet_or_actor.primary_title ?= this
scope:actor.capital_county ?= this scope:puppet_or_actor.capital_county ?= this
scope:actor.capital_county.duchy ?= this.duchy scope:puppet_or_actor.capital_county.duchy ?= this.duchy
} }
is_noble_family_title = no is_noble_family_title = no
is_landless_type_title = no is_landless_type_title = no
@ -1544,18 +1542,18 @@ ep3_interactions_events.0111 = {
else_if = { else_if = {
limit = { limit = {
scope:recipient.prestige_level > 2 scope:recipient.prestige_level > 2
scope:actor = { scope:puppet_or_actor = {
any_held_title = { any_held_title = {
title_tier = duchy title_tier = duchy
NOR = { NOR = {
scope:actor.primary_title ?= this scope:puppet_or_actor.primary_title ?= this
scope:actor.capital_county.de_jure_liege ?= this scope:puppet_or_actor.capital_county.de_jure_liege ?= this
} }
any_de_jure_county = { any_de_jure_county = {
holder.top_liege = scope:actor holder.top_liege = scope:puppet_or_actor
NOR = { NOR = {
scope:actor.capital_county ?= this scope:puppet_or_actor.capital_county ?= this
scope:actor.primary_title ?= this scope:puppet_or_actor.primary_title ?= this
} }
} }
is_noble_family_title = no is_noble_family_title = no
@ -1563,19 +1561,19 @@ ep3_interactions_events.0111 = {
} }
} }
} }
scope:actor = { scope:puppet_or_actor = {
random_held_title = { random_held_title = {
title_tier = duchy title_tier = duchy
limit = { limit = {
NOR = { NOR = {
scope:actor.primary_title ?= this scope:puppet_or_actor.primary_title ?= this
scope:actor.capital_county.de_jure_liege ?= this scope:puppet_or_actor.capital_county.de_jure_liege ?= this
} }
any_de_jure_county = { any_de_jure_county = {
holder.top_liege = scope:actor holder.top_liege = scope:puppet_or_actor
NOR = { NOR = {
scope:actor.capital_county ?= this scope:puppet_or_actor.capital_county ?= this
scope:actor.primary_title ?= this scope:puppet_or_actor.primary_title ?= this
} }
} }
is_noble_family_title = no is_noble_family_title = no
@ -1584,10 +1582,10 @@ ep3_interactions_events.0111 = {
add_to_list = purchased_titles add_to_list = purchased_titles
every_de_jure_county = { every_de_jure_county = {
limit = { limit = {
holder.top_liege = scope:actor holder.top_liege = scope:puppet_or_actor
NOR = { NOR = {
scope:actor.capital_county ?= this scope:puppet_or_actor.capital_county ?= this
scope:actor.primary_title ?= this scope:puppet_or_actor.primary_title ?= this
} }
} }
add_to_list = purchased_titles add_to_list = purchased_titles
@ -1596,15 +1594,19 @@ ep3_interactions_events.0111 = {
} }
} }
else = { else = {
scope:actor = { scope:puppet_or_actor = {
random_held_title = { random_held_title = {
title_tier >= county title_tier >= county
limit = { limit = {
NOR = { NOR = {
scope:actor.primary_title ?= this scope:puppet_or_actor.primary_title ?= this
scope:actor.capital_county ?= this scope:puppet_or_actor.capital_county ?= this
scope:actor.capital_county.duchy ?= duchy AND = {
any_in_de_jure_hierarchy = { scope:actor.capital_county ?= this } # Kingdoms and above have no duchy to compare
tier <= tier_duchy
scope:puppet_or_actor.capital_county.duchy ?= duchy
}
any_in_de_jure_hierarchy = { scope:puppet_or_actor.capital_county ?= this }
} }
is_noble_family_title = no is_noble_family_title = no
is_landless_type_title = no is_landless_type_title = no
@ -1614,10 +1616,10 @@ ep3_interactions_events.0111 = {
limit = { tier = tier_duchy } limit = { tier = tier_duchy }
every_de_jure_county = { every_de_jure_county = {
limit = { limit = {
holder.top_liege = scope:actor holder.top_liege = scope:puppet_or_actor
NOR = { NOR = {
scope:actor.capital_county ?= this scope:puppet_or_actor.capital_county ?= this
scope:actor.primary_title ?= this scope:puppet_or_actor.primary_title ?= this
} }
} }
add_to_list = purchased_titles add_to_list = purchased_titles
@ -1636,7 +1638,7 @@ ep3_interactions_events.0111 = {
save_scope_as = target save_scope_as = target
} }
scope:actor = { scope:puppet_or_actor = {
every_character_war = { every_character_war = {
add_to_list = actor_wars add_to_list = actor_wars
} }
@ -1651,7 +1653,7 @@ ep3_interactions_events.0111 = {
every_in_list = { every_in_list = {
list = actor_wars list = actor_wars
limit = { limit = {
primary_defender = scope:actor primary_defender = scope:puppet_or_actor
} }
add_to_list = join_as_defender add_to_list = join_as_defender
remove_from_list = actor_wars remove_from_list = actor_wars
@ -1659,7 +1661,7 @@ ep3_interactions_events.0111 = {
every_in_list = { every_in_list = {
list = actor_wars list = actor_wars
limit = { limit = {
primary_attacker = scope:actor primary_attacker = scope:puppet_or_actor
} }
add_to_list = join_as_attacker add_to_list = join_as_attacker
remove_from_list = actor_wars remove_from_list = actor_wars
@ -1674,9 +1676,9 @@ ep3_interactions_events.0111 = {
prestige_level >= 2 prestige_level >= 2
scope:new_primary_title = { scope:new_primary_title = {
NOR = { NOR = {
this = scope:actor.primary_title this = scope:puppet_or_actor.primary_title
this = scope:actor.capital_county this = scope:puppet_or_actor.capital_county
duchy = scope:actor.capital_county.duchy duchy = scope:puppet_or_actor.capital_county.duchy
} }
} }
} }
@ -1688,7 +1690,7 @@ ep3_interactions_events.0111 = {
show_as_tooltip = { show_as_tooltip = {
# Determine hierarchy # Determine hierarchy
ep3_become_landed_save_liege_effect = { ep3_become_landed_save_liege_effect = {
TITLE_GIVER = scope:actor TITLE_GIVER = scope:puppet_or_actor
ALWAYS_INDEPENDENT = no ALWAYS_INDEPENDENT = no
TITLE_LIST = purchased_titles TITLE_LIST = purchased_titles
} }
@ -1701,7 +1703,7 @@ ep3_interactions_events.0111 = {
ENNOBLED_ADVENTURER = flag:yes ENNOBLED_ADVENTURER = flag:yes
} }
} }
scope:actor = { scope:puppet_or_actor = {
trigger_event = ep3_interactions_events.0112 trigger_event = ep3_interactions_events.0112
} }
custom_tooltip = ep3_interactions_events.0111.join_wars custom_tooltip = ep3_interactions_events.0111.join_wars
@ -1820,7 +1822,7 @@ ep3_interactions_events.0111 = {
} }
min = 50 min = 50
} }
scope:actor.culture != scope:recipient.culture scope:puppet_or_actor.culture != scope:recipient.culture
trigger_if = { trigger_if = {
limit = { scope:new_primary_title.tier = tier_county } limit = { scope:new_primary_title.tier = tier_county }
scope:new_primary_title.culture = scope:recipient.culture scope:new_primary_title.culture = scope:recipient.culture
@ -1837,7 +1839,7 @@ ep3_interactions_events.0111 = {
save_temporary_scope_value_as = { save_temporary_scope_value_as = {
name = acceptance name = acceptance
value = { value = {
value = "cultural_acceptance(scope:actor.culture)" value = "cultural_acceptance(scope:puppet_or_actor.culture)"
divide = 25 divide = 25
ceiling = yes ceiling = yes
} }
@ -1868,7 +1870,7 @@ ep3_interactions_events.0111 = {
} }
min = 50 min = 50
} }
scope:actor.faith != scope:recipient.faith scope:puppet_or_actor.faith != scope:recipient.faith
trigger_if = { trigger_if = {
limit = { scope:new_primary_title.tier = tier_county } limit = { scope:new_primary_title.tier = tier_county }
scope:new_primary_title.faith = scope:recipient.faith scope:new_primary_title.faith = scope:recipient.faith
@ -1884,7 +1886,7 @@ ep3_interactions_events.0111 = {
scope:recipient.faith = { scope:recipient.faith = {
save_temporary_scope_value_as = { save_temporary_scope_value_as = {
name = hostility name = hostility
value = "faith_hostility_level(scope:actor.faith)" value = "faith_hostility_level(scope:puppet_or_actor.faith)"
} }
} }
} }
@ -1933,7 +1935,7 @@ ep3_interactions_events.0111 = {
name = negotiation_offer name = negotiation_offer
value = flag:artifact value = flag:artifact
} }
scope:actor = { scope:puppet_or_actor = {
trigger_event = ep3_interactions_events.0112 trigger_event = ep3_interactions_events.0112
} }
custom_tooltip = ep3_interactions_events.0111.join_wars custom_tooltip = ep3_interactions_events.0111.join_wars
@ -1949,22 +1951,22 @@ ep3_interactions_events.0111 = {
option = { option = {
name = ep3_interactions_events.0111.c name = ep3_interactions_events.0111.c
trigger = { trigger = {
scope:actor = { scope:puppet_or_actor = {
NOT = { is_allied_to = scope:recipient } NOT = { is_allied_to = scope:recipient }
} }
} }
custom_tooltip = ep3_interactions_events.0111.actor_decides custom_tooltip = ep3_interactions_events.0111.actor_decides
show_as_tooltip = { show_as_tooltip = {
scope:actor = { scope:puppet_or_actor = {
create_alliance = { create_alliance = {
target = scope:recipient target = scope:recipient
allied_through_owner = scope:actor allied_through_owner = scope:puppet_or_actor
allied_through_target = scope:recipient allied_through_target = scope:recipient
} }
} }
scope:recipient = { scope:recipient = {
add_opinion = { add_opinion = {
target = scope:actor target = scope:puppet_or_actor
modifier = event_negotiated_alliance_opinion modifier = event_negotiated_alliance_opinion
} }
} }
@ -1973,7 +1975,7 @@ ep3_interactions_events.0111 = {
name = negotiation_offer name = negotiation_offer
value = flag:alliance value = flag:alliance
} }
scope:actor = { scope:puppet_or_actor = {
trigger_event = ep3_interactions_events.0112 trigger_event = ep3_interactions_events.0112
} }
custom_tooltip = ep3_interactions_events.0111.join_wars custom_tooltip = ep3_interactions_events.0111.join_wars
@ -1989,21 +1991,21 @@ ep3_interactions_events.0111 = {
option = { option = {
name = ep3_interactions_events.0111.d name = ep3_interactions_events.0111.d
trigger = { trigger = {
scope:actor = { scope:puppet_or_actor = {
NOT = { is_contact_of = scope:recipient } NOT = { is_contact_of = scope:recipient }
} }
} }
custom_tooltip = ep3_interactions_events.0111.actor_decides custom_tooltip = ep3_interactions_events.0111.actor_decides
show_as_tooltip = { show_as_tooltip = {
scope:recipient = { scope:recipient = {
add_contact = scope:actor add_contact = scope:puppet_or_actor
} }
} }
save_scope_value_as = { save_scope_value_as = {
name = negotiation_offer name = negotiation_offer
value = flag:contact_list value = flag:contact_list
} }
scope:actor = { scope:puppet_or_actor = {
trigger_event = ep3_interactions_events.0112 trigger_event = ep3_interactions_events.0112
} }
custom_tooltip = ep3_interactions_events.0111.join_wars custom_tooltip = ep3_interactions_events.0111.join_wars
@ -2037,7 +2039,7 @@ ep3_interactions_events.0111 = {
} }
} }
} }
scope:actor = { scope:puppet_or_actor = {
trigger_event = ep3_interactions_events.0112 trigger_event = ep3_interactions_events.0112
} }
custom_tooltip = ep3_interactions_events.0111.join_wars custom_tooltip = ep3_interactions_events.0111.join_wars
@ -2056,12 +2058,12 @@ ep3_interactions_events.0111 = {
#Refuse all for 5 years #Refuse all for 5 years
option = { option = {
name = ep3_interactions_events.0111.refuse_5_years name = ep3_interactions_events.0111.refuse_5_years
scope:actor = { scope:puppet_or_actor = {
send_interface_toast = { send_interface_toast = {
left_icon = scope:actor left_icon = scope:puppet_or_actor
right_icon = scope:recipient right_icon = scope:recipient
title = ep3_interactions_events.0111.refuse title = ep3_interactions_events.0111.refuse
scope:actor = { scope:puppet_or_actor = {
add_opinion = { add_opinion = {
target = scope:recipient target = scope:recipient
modifier = rejected_hiring_as_mercenaries modifier = rejected_hiring_as_mercenaries
@ -2069,6 +2071,19 @@ ep3_interactions_events.0111 = {
} }
} }
} }
if = {
limit = {
scope:is_puppet_action ?= yes
scope:actor != scope:recipient
}
scope:actor = {
send_interface_toast = {
title = ep3_interactions_events.0111.refuse_puppeteer
left_icon = scope:puppet_or_actor
right_icon = scope:recipient
}
}
}
custom_tooltip = ep3_interactions_events.0111.refuse_5_years.tt custom_tooltip = ep3_interactions_events.0111.refuse_5_years.tt
add_character_flag = { add_character_flag = {
@ -2084,12 +2099,12 @@ ep3_interactions_events.0111 = {
#Refuse #Refuse
option = { option = {
name = ep3_interactions_events.0111.f name = ep3_interactions_events.0111.f
scope:actor = { scope:puppet_or_actor = {
send_interface_toast = { send_interface_toast = {
left_icon = scope:actor left_icon = scope:puppet_or_actor
right_icon = scope:recipient right_icon = scope:recipient
title = ep3_interactions_events.0111.refuse title = ep3_interactions_events.0111.refuse
scope:actor = { scope:puppet_or_actor = {
add_opinion = { add_opinion = {
target = scope:recipient target = scope:recipient
modifier = rejected_hiring_as_mercenaries modifier = rejected_hiring_as_mercenaries
@ -2097,6 +2112,19 @@ ep3_interactions_events.0111 = {
} }
} }
} }
if = {
limit = {
scope:is_puppet_action ?= yes
scope:actor != scope:recipient
}
scope:actor = {
send_interface_toast = {
title = ep3_interactions_events.0111.refuse_puppeteer
left_icon = scope:puppet_or_actor
right_icon = scope:recipient
}
}
}
ai_chance = { ai_chance = {
base = 1 base = 1
@ -2141,7 +2169,7 @@ ep3_interactions_events.0112 = {
#Accept #Accept
option = { option = {
name = ep3_interactions_events.0112.a name = ep3_interactions_events.0112.a
scope:actor = { scope:puppet_or_actor = {
pay_treasury_or_gold = { pay_treasury_or_gold = {
target = scope:recipient target = scope:recipient
value = ep3_hire_laamp_mercs_cost_value value = ep3_hire_laamp_mercs_cost_value
@ -2156,7 +2184,7 @@ ep3_interactions_events.0112 = {
flag:land = { flag:land = {
# Determine hierarchy # Determine hierarchy
ep3_become_landed_save_liege_effect = { ep3_become_landed_save_liege_effect = {
TITLE_GIVER = scope:actor TITLE_GIVER = scope:puppet_or_actor
ALWAYS_INDEPENDENT = no ALWAYS_INDEPENDENT = no
TITLE_LIST = purchased_titles TITLE_LIST = purchased_titles
} }
@ -2169,18 +2197,18 @@ ep3_interactions_events.0112 = {
ENNOBLED_ADVENTURER = flag:yes ENNOBLED_ADVENTURER = flag:yes
} }
# Extra purchase land specific # Extra purchase land specific
scope:actor = { scope:puppet_or_actor = {
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
} }
} }
# Effects on land giver # Effects on land giver
scope:actor = { add_legitimacy = -15 } scope:puppet_or_actor = { add_legitimacy = -15 }
# Messages for nearby players # Messages for nearby players
create_landed_ruler_message_effect = { create_landed_ruler_message_effect = {
LANDED = scope:recipient LANDED = scope:recipient
FLAVOR_CHAR = scope:actor FLAVOR_CHAR = scope:puppet_or_actor
FLAVOR_TITLE = scope:new_primary_title FLAVOR_TITLE = scope:new_primary_title
REASON = flag:purchased REASON = flag:purchased
} }
@ -2191,16 +2219,16 @@ ep3_interactions_events.0112 = {
} }
} }
flag:alliance = { flag:alliance = {
scope:actor = { scope:puppet_or_actor = {
create_alliance = { create_alliance = {
target = scope:recipient target = scope:recipient
allied_through_owner = scope:actor allied_through_owner = scope:puppet_or_actor
allied_through_target = scope:recipient allied_through_target = scope:recipient
} }
} }
scope:recipient = { scope:recipient = {
add_opinion = { add_opinion = {
target = scope:actor target = scope:puppet_or_actor
modifier = event_negotiated_alliance_opinion modifier = event_negotiated_alliance_opinion
} }
} }
@ -2217,13 +2245,13 @@ ep3_interactions_events.0112 = {
} }
} }
} }
scope:actor = { scope:puppet_or_actor = {
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
} }
} }
flag:contact_list = { flag:contact_list = {
scope:recipient = { scope:recipient = {
add_contact = scope:actor add_contact = scope:puppet_or_actor
} }
} }
} }
@ -2238,7 +2266,7 @@ ep3_interactions_events.0112 = {
scope:recipient = { scope:recipient = {
set_variable = { set_variable = {
name = joined_as_mercenary name = joined_as_mercenary
value = scope:actor value = scope:puppet_or_actor
} }
} }
@ -2317,7 +2345,7 @@ ep3_interactions_events.0112 = {
save_temporary_scope_value_as = { save_temporary_scope_value_as = {
name = acceptance name = acceptance
value = { value = {
value = "cultural_acceptance(scope:actor.culture)" value = "cultural_acceptance(scope:puppet_or_actor.culture)"
divide = 25 divide = 25
ceiling = yes ceiling = yes
} }
@ -2352,14 +2380,14 @@ ep3_interactions_events.0112 = {
scope:recipient.faith = { scope:recipient.faith = {
save_temporary_scope_value_as = { save_temporary_scope_value_as = {
name = hostility name = hostility
value = "faith_hostility_level(scope:actor.faith)" value = "faith_hostility_level(scope:puppet_or_actor.faith)"
} }
} }
} }
modifier = { modifier = {
factor = 0 factor = 0
scope:negotiation_offer = flag:provisions scope:negotiation_offer = flag:provisions
scope:actor = { scope:puppet_or_actor = {
short_term_gold < minor_gold_value short_term_gold < minor_gold_value
} }
} }
@ -2401,9 +2429,9 @@ ep3_interactions_events.0112 = {
send_interface_message = { send_interface_message = {
type = event_diplomacy_bad type = event_diplomacy_bad
title = ep3_interactions_events.0112.refuse title = ep3_interactions_events.0112.refuse
left_icon = scope:actor left_icon = scope:puppet_or_actor
add_opinion = { add_opinion = {
target = scope:actor target = scope:puppet_or_actor
modifier = insulted_opinion modifier = insulted_opinion
} }
} }
@ -2435,7 +2463,7 @@ ep3_interactions_events.0112 = {
scope:recipient = { scope:recipient = {
set_variable = { set_variable = {
name = joined_as_mercenary name = joined_as_mercenary
value = scope:actor value = scope:puppet_or_actor
} }
} }
ai_chance = { ai_chance = {
@ -2443,7 +2471,7 @@ ep3_interactions_events.0112 = {
modifier = { modifier = {
factor = 0 factor = 0
OR = { OR = {
scope:actor = { scope:puppet_or_actor = {
is_ai = no is_ai = no
} }
scope:recipient = { scope:recipient = {
@ -2947,7 +2975,7 @@ ep3_interactions_events.0500 = {
type = letter_event type = letter_event
opening = ep3_interactions_events.0500.opening opening = ep3_interactions_events.0500.opening
desc = ep3_interactions_events.0500.desc desc = ep3_interactions_events.0500.desc
sender = scope:actor sender = scope:puppet_or_actor
trigger = { is_ai = no } trigger = { is_ai = no }
@ -2962,13 +2990,13 @@ ep3_interactions_events.0500 = {
show_as_unavailable = { always = yes } show_as_unavailable = { always = yes }
custom_description_no_bullet = { custom_description_no_bullet = {
text = evict_adventurer_consequences_tt text = evict_adventurer_consequences_tt
object = scope:actor object = scope:puppet_or_actor
subject = scope:recipient subject = scope:recipient
} }
scope:actor = { custom_tooltip = evict_adventurer_casus_belli_tt } scope:puppet_or_actor = { custom_tooltip = evict_adventurer_casus_belli_tt }
show_as_tooltip = { show_as_tooltip = {
reverse_add_opinion = { reverse_add_opinion = {
target = scope:actor target = scope:puppet_or_actor
modifier = eviction_ignored_opinion modifier = eviction_ignored_opinion
} }
} }
@ -2981,17 +3009,17 @@ ep3_interactions_events.0500 = {
} }
custom_description_no_bullet = { custom_description_no_bullet = {
text = evict_adventurer_consequences_tt text = evict_adventurer_consequences_tt
object = scope:actor object = scope:puppet_or_actor
subject = scope:recipient subject = scope:recipient
} }
scope:actor = { custom_tooltip = evict_adventurer_casus_belli_tt } scope:puppet_or_actor = { custom_tooltip = evict_adventurer_casus_belli_tt }
show_as_tooltip = { show_as_tooltip = {
reverse_add_opinion = { reverse_add_opinion = {
target = scope:actor target = scope:puppet_or_actor
modifier = eviction_ignored_opinion modifier = eviction_ignored_opinion
} }
} }
scope:actor = { scope:puppet_or_actor = {
custom_tooltip = evict_adventurer_forced_tt custom_tooltip = evict_adventurer_forced_tt
custom_tooltip = evict_adventurer_forced_tt.part_2 custom_tooltip = evict_adventurer_forced_tt.part_2
} }
@ -3078,6 +3106,12 @@ ep3_interactions_events.0501 = {
} }
remove_variable = adventurer_expeller remove_variable = adventurer_expeller
trigger_event = ep3_interactions_events.0502 trigger_event = ep3_interactions_events.0502
scope:expeller = { save_scope_as = puppet_or_actor }
save_scope_as = recipient
notify_puppeteer_of_outcome_effect = {
TYPE = event_toast_effect_bad
TITLE = ep3_interactions_events.0501.toast_puppeteer
}
} }
} }
@ -3120,19 +3154,57 @@ ep3_interactions_events.0502 = {
} }
} }
scope:expeller = { scope:expeller = {
domicile.domicile_location.county.holder.top_liege ?= {
save_scope_as = realm_expelled_from
}
random_neighboring_and_across_water_top_liege_realm_owner = { random_neighboring_and_across_water_top_liege_realm_owner = {
limit = { limit = {
NOR = {
reverse_has_opinion_modifier = {
target = root
modifier = eviction_ignored_opinion
}
reverse_has_opinion_modifier = {
target = root
modifier = demanded_eviction_opinion
}
}
NOR = { NOR = {
has_imprisonment_reason = scope:adventurer has_imprisonment_reason = scope:adventurer
has_execute_reason = scope:adventurer has_execute_reason = scope:adventurer
has_banish_reason = scope:adventurer has_banish_reason = scope:adventurer
} }
} }
alternative_limit = {
NOR = {
reverse_has_opinion_modifier = {
target = root
modifier = eviction_ignored_opinion
}
reverse_has_opinion_modifier = {
target = root
modifier = demanded_eviction_opinion
}
}
}
save_scope_as = destination_realm_owner save_scope_as = destination_realm_owner
} }
random_character_to_title_neighboring_and_across_water_county = {
limit = { holder.top_liege = scope:destination_realm_owner }
save_scope_as = expel_destination
}
if = {
limit = { NOT = { exists = scope:expel_destination } }
scope:destination_realm_owner = {
random_realm_county = {
limit = { is_landless_type_title = no }
save_scope_as = expel_destination
}
}
}
} }
start_travel_plan = { start_travel_plan = {
destination = scope:destination_realm_owner.capital_province destination = scope:expel_destination.title_province
return_trip = no return_trip = no
} }
} }
@ -3552,7 +3624,7 @@ ep3_interactions_events.0600 = {
days = 30 days = 30
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_loss trusting = medium_stress_impact_loss
ambitious = miniscule_stress_impact_loss ambitious = miniscule_stress_impact_loss
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
@ -3676,7 +3748,7 @@ ep3_interactions_events.0600 = {
flag = supporter_response_insult flag = supporter_response_insult
days = 30 days = 30
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
wrathful = minor_stress_impact_loss wrathful = minor_stress_impact_loss
fickle = minor_stress_impact_loss fickle = minor_stress_impact_loss
@ -3765,7 +3837,7 @@ ep3_interactions_events.0600 = {
flag = supporter_response_hook flag = supporter_response_hook
days = 30 days = 30
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_loss trusting = minor_stress_impact_loss
generous = minor_stress_impact_loss generous = minor_stress_impact_loss
just = minor_stress_impact_loss just = minor_stress_impact_loss
@ -3857,7 +3929,7 @@ ep3_interactions_events.0600 = {
flag = supporter_response_friendship flag = supporter_response_friendship
days = 30 days = 30
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = miniscule_stress_impact_loss compassionate = miniscule_stress_impact_loss
gregarious = miniscule_stress_impact_loss gregarious = miniscule_stress_impact_loss
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
@ -3930,7 +4002,7 @@ ep3_interactions_events.0600 = {
flag = supporter_response_gift flag = supporter_response_gift
days = 30 days = 30
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -3974,7 +4046,7 @@ ep3_interactions_events.0600 = {
days = 30 days = 30
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
fickle = minor_stress_impact_loss fickle = minor_stress_impact_loss
arbitrary = minor_stress_impact_loss arbitrary = minor_stress_impact_loss
@ -4068,9 +4140,9 @@ ep3_interactions_events.0601 = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:new_landed_admin = { scope:new_landed_admin = {
OR = { has_variable = {
has_character_flag = supporter_response_insult name = supporter_response_insult
has_character_flag = supporter_response_ignore name = supporter_response_ignore
} }
} }
} }
@ -4083,10 +4155,10 @@ ep3_interactions_events.0601 = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:new_landed_admin = { scope:new_landed_admin = {
OR = { has_variable = {
has_character_flag = supporter_response_ally_success name = supporter_response_ally_success
has_character_flag = supporter_response_ally_fail name = supporter_response_ally_fail
has_character_flag = supporter_response_ally_player name = supporter_response_ally_player
} }
} }
} }
@ -4210,9 +4282,9 @@ ep3_interactions_events.0601 = {
name = { name = {
trigger = { trigger = {
scope:new_landed_admin = { scope:new_landed_admin = {
NOR = { has_none_of_variables = {
has_character_flag = supporter_response_insult name = supporter_response_insult
has_character_flag = supporter_response_ignore name = supporter_response_ignore
} }
} }
} }
@ -4221,9 +4293,9 @@ ep3_interactions_events.0601 = {
name = { name = {
trigger = { trigger = {
scope:new_landed_admin = { scope:new_landed_admin = {
OR = { has_variable = {
has_character_flag = supporter_response_insult name = supporter_response_insult
has_character_flag = supporter_response_ignore name = supporter_response_ignore
} }
} }
} }
@ -4249,7 +4321,7 @@ ep3_interactions_events.0601 = {
target = scope:new_landed_admin target = scope:new_landed_admin
opinion = 25 opinion = 25
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -4280,7 +4352,7 @@ ep3_interactions_events.0601 = {
opinion = -25 opinion = -25
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -4464,6 +4536,10 @@ ep3_interactions_events.0621 = { # Ask for Influence rejection letter event
desc = ep3_interactions_events.0621.desc desc = ep3_interactions_events.0621.desc
sender = scope:recipient sender = scope:recipient
immediate = {
clerical_interaction_refusal_major_effect = yes
}
option = { option = {
name = ep3_interactions_events.0621.a name = ep3_interactions_events.0621.a
} }

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -368,7 +368,7 @@ ep3_laamps.8020 = {
CANDIDATE = scope:wouldbe_companion CANDIDATE = scope:wouldbe_companion
EMPLOYER = root EMPLOYER = root
} }
stress_impact = { stress_and_fulfillment_impact = {
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
} }
@ -392,7 +392,7 @@ ep3_laamps.8020 = {
opinion = 70 opinion = 70
} }
add_prestige = minor_prestige_gain add_prestige = minor_prestige_gain
stress_impact = { stress_and_fulfillment_impact = {
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
} }
@ -413,7 +413,7 @@ ep3_laamps.8020 = {
CHARACTER = root.location.county.holder CHARACTER = root.location.county.holder
OPINION = default_friend_opinion OPINION = default_friend_opinion
} }
stress_impact = { stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_gain gregarious = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
@ -538,7 +538,7 @@ ep3_laamps.8030 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -577,7 +577,7 @@ ep3_laamps.8030 = {
} }
add_durability = 25 add_durability = 25
} }
stress_impact = { stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
brave = minor_stress_impact_gain brave = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
@ -596,7 +596,7 @@ ep3_laamps.8030 = {
option = { option = {
name = ep3_laamps.8030.c name = ep3_laamps.8030.c
add_gold = medium_gold_value add_gold = medium_gold_value
stress_impact = { stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
brave = minor_stress_impact_gain brave = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
@ -722,7 +722,7 @@ ep3_laamps.8040 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = medium_stress_impact_loss brave = medium_stress_impact_loss
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
@ -801,7 +801,7 @@ ep3_laamps.8040 = {
give_nickname = nick_wolf_mother give_nickname = nick_wolf_mother
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = minor_stress_impact_gain brave = minor_stress_impact_gain
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
@ -843,7 +843,7 @@ ep3_laamps.8040 = {
} }
add_domicile_building = baggage_train_kennel add_domicile_building = baggage_train_kennel
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = medium_stress_impact_gain brave = medium_stress_impact_gain
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
@ -861,7 +861,7 @@ ep3_laamps.8040 = {
# We'll get you a new tent # We'll get you a new tent
option = { option = {
name = ep3_laamps.8040.d name = ep3_laamps.8040.d
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_loss craven = medium_stress_impact_loss
brave = medium_stress_impact_gain brave = medium_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
@ -1052,14 +1052,14 @@ ep3_laamps.8050 = {
scope:minority.faith = root.faith scope:minority.faith = root.faith
} }
add_piety = medium_piety_gain add_piety = medium_piety_gain
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain zealous = medium_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
@ -1105,13 +1105,13 @@ ep3_laamps.8050 = {
scope:minority.faith = root.faith scope:minority.faith = root.faith
} }
add_piety = medium_piety_gain add_piety = medium_piety_gain
stress_impact = { stress_and_fulfillment_impact = {
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
zealous = minor_stress_impact_gain zealous = minor_stress_impact_gain
@ -1137,7 +1137,7 @@ ep3_laamps.8050 = {
add_piety = medium_piety_gain add_piety = medium_piety_gain
} }
else = { add_prestige = medium_prestige_gain } else = { add_prestige = medium_prestige_gain }
stress_impact = { stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_gain gregarious = minor_stress_impact_gain
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
@ -1178,6 +1178,7 @@ ep3_laamps.8060 = {
is_available_allow_travelling = yes is_available_allow_travelling = yes
domicile ?= { domicile ?= {
domicile_location = { domicile_location = {
this = root.location
# Water should be precious # Water should be precious
is_desert_trigger = yes is_desert_trigger = yes
NOT = { terrain = oasis } NOT = { terrain = oasis }
@ -1254,7 +1255,7 @@ ep3_laamps.8060 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
@ -1289,7 +1290,7 @@ ep3_laamps.8060 = {
contract_disease_effect = { DISEASE = ill TREATMENT_EVENT = yes } contract_disease_effect = { DISEASE = ill TREATMENT_EVENT = yes }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
@ -1346,7 +1347,7 @@ ep3_laamps.8060 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
fickle = medium_stress_impact_gain fickle = medium_stress_impact_gain
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -1382,7 +1383,7 @@ ep3_laamps.8060 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
fickle = medium_stress_impact_gain fickle = medium_stress_impact_gain
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -1406,7 +1407,7 @@ ep3_laamps.8060 = {
option = { option = {
name = ep3_laamps.8060.e name = ep3_laamps.8060.e
domicile = { change_provisions = medium_provisions_loss } domicile = { change_provisions = medium_provisions_loss }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
@ -1526,7 +1527,7 @@ ep3_laamps.8070 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -1542,7 +1543,7 @@ ep3_laamps.8070 = {
# I think we'll survive without them # I think we'll survive without them
option = { option = {
name = ep3_laamps.8070.d name = ep3_laamps.8070.d
stress_impact = { stress_and_fulfillment_impact = {
brave = medium_stress_impact_gain brave = medium_stress_impact_gain
eccentric = medium_stress_impact_gain eccentric = medium_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
@ -1611,6 +1612,7 @@ ep3_laamps.8080 = {
is_coastal = yes is_coastal = yes
any_neighboring_province = { is_river_province = yes } any_neighboring_province = { is_river_province = yes }
} }
is_sea_province = no
} }
NOT = { employs_court_position = quartermaster_camp_officer } NOT = { employs_court_position = quartermaster_camp_officer }
can_employ_court_position_type = quartermaster_camp_officer can_employ_court_position_type = quartermaster_camp_officer
@ -1632,6 +1634,12 @@ ep3_laamps.8080 = {
save_scope_as = sailor_home save_scope_as = sailor_home
} }
} }
if = { # Fallback in case there is no neighboring province (like madeira)
limit = {
NOT = { exists = scope:sailor_home }
}
root.location = { save_scope_as = sailor_home }
}
hidden_effect = { hidden_effect = {
random_pool_character = { random_pool_character = {
province = scope:sailor_home province = scope:sailor_home
@ -1661,6 +1669,7 @@ ep3_laamps.8080 = {
template = weird_sailor_template template = weird_sailor_template
culture = scope:sailor_home.culture culture = scope:sailor_home.culture
faith = scope:sailor_home.faith faith = scope:sailor_home.faith
rite = scope:sailor_home.rite
save_scope_as = sailor save_scope_as = sailor
after_creation = { after_creation = {
random_list = { random_list = {
@ -1698,7 +1707,7 @@ ep3_laamps.8080 = {
POS = second POS = second
CANDIDATE = scope:sailor CANDIDATE = scope:sailor
} }
stress_impact = { stress_and_fulfillment_impact = {
eccentric = medium_stress_impact_loss eccentric = medium_stress_impact_loss
shy = minor_stress_impact_loss shy = minor_stress_impact_loss
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
@ -1727,7 +1736,7 @@ ep3_laamps.8080 = {
target = scope:sailor target = scope:sailor
gold = minor_gold_value gold = minor_gold_value
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
@ -1790,7 +1799,7 @@ ep3_laamps.8080 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
gregarious = minor_stress_impact_gain gregarious = minor_stress_impact_gain
} }
@ -1807,7 +1816,7 @@ ep3_laamps.8080 = {
# Get away from me you mad old sea dog # Get away from me you mad old sea dog
option = { option = {
name = ep3_laamps.8080.d name = ep3_laamps.8080.d
stress_impact = { stress_and_fulfillment_impact = {
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
gregarious = minor_stress_impact_gain gregarious = minor_stress_impact_gain
eccentric = major_stress_impact_gain eccentric = major_stress_impact_gain
@ -1884,6 +1893,7 @@ ep3_laamps.8090 = {
} }
desc = ep3_laamps.8090.desc.world_tibet desc = ep3_laamps.8090.desc.world_tibet
} }
# it's subset of SEA now, but don't waste text
triggered_desc = { triggered_desc = {
trigger = { trigger = {
root.domicile.domicile_location = { root.domicile.domicile_location = {
@ -1984,12 +1994,6 @@ ep3_laamps.8090 = {
root.culture = { culture_overlaps_geographical_region = world_tibet } root.culture = { culture_overlaps_geographical_region = world_tibet }
} }
} }
AND = {
root.domicile.domicile_location = { geographical_region = world_burma }
NOT = {
root.culture = { culture_overlaps_geographical_region = world_burma }
}
}
AND = { AND = {
root.domicile.domicile_location = { geographical_region = world_asia_china } root.domicile.domicile_location = { geographical_region = world_asia_china }
NOT = { NOT = {
@ -2039,7 +2043,7 @@ ep3_laamps.8090 = {
desc = cultural_acceptance_distant_hero desc = cultural_acceptance_distant_hero
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
stubborn = medium_stress_impact_gain stubborn = medium_stress_impact_gain
gregarious = minor_stress_impact_gain gregarious = minor_stress_impact_gain
@ -2067,7 +2071,7 @@ ep3_laamps.8090 = {
set_culture = scope:culture set_culture = scope:culture
} }
set_culture = scope:culture set_culture = scope:culture
stress_impact = { stress_and_fulfillment_impact = {
gregarious = medium_stress_impact_loss gregarious = medium_stress_impact_loss
eccentric = medium_stress_impact_loss eccentric = medium_stress_impact_loss
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
@ -2086,7 +2090,7 @@ ep3_laamps.8090 = {
modifier = laamps_8090_preparing_invasion modifier = laamps_8090_preparing_invasion
years = 15 years = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
gregarious = medium_stress_impact_gain gregarious = medium_stress_impact_gain
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -2312,7 +2316,7 @@ ep3_laamps.8102 = {
if = { if = {
limit = { limit = {
scope:claimed_title = { scope:claimed_title = {
tier = tier_empire tier >= tier_empire
} }
} }
add = 4 add = 4
@ -3594,7 +3598,7 @@ ep3_laamps.8110 = {
option = { #huzzah! option = { #huzzah!
name = ep3_laamps.8110.a name = ep3_laamps.8110.a
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_loss base = medium_stress_loss
greedy = massive_stress_loss greedy = massive_stress_loss
} }
@ -3851,6 +3855,7 @@ ep3_laamps.8200 = {
max_template_high_skill max_template_high_skill
} }
faith = location.faith faith = location.faith
rite = location.rite
culture = location.culture culture = location.culture
gender_female_chance = { gender_female_chance = {
add = 25 add = 25
@ -3945,7 +3950,7 @@ ep3_laamps.8200 = {
ai_chance = 100 ai_chance = 100
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_loss compassionate = minor_stress_loss
} }
} }
@ -3960,7 +3965,7 @@ ep3_laamps.8200 = {
silent_disappearance_effect = yes silent_disappearance_effect = yes
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_loss paranoid = medium_stress_loss
shy = medium_stress_loss shy = medium_stress_loss
} }
@ -3975,7 +3980,7 @@ ep3_laamps.8200 = {
scope:new_person = { scope:new_person = {
silent_disappearance_effect = yes silent_disappearance_effect = yes
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_loss wrathful = medium_stress_loss
paranoid = major_stress_loss paranoid = major_stress_loss
shy = major_stress_loss shy = major_stress_loss

View file

@ -324,7 +324,7 @@ ep3_laamp_flavor.0020 = {
target = scope:town_leader target = scope:town_leader
gold = major_gold_value gold = major_gold_value
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
} }
} }
@ -333,7 +333,7 @@ ep3_laamp_flavor.0020 = {
target = scope:town_leader target = scope:town_leader
gold = medium_gold_value gold = medium_gold_value
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
} }
@ -412,7 +412,7 @@ ep3_laamp_flavor.0020 = {
has_trait = gallowsbait has_trait = gallowsbait
} }
add_prestige = major_prestige_loss add_prestige = major_prestige_loss
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
stubborn = medium_stress_impact_gain stubborn = medium_stress_impact_gain
@ -421,7 +421,7 @@ ep3_laamp_flavor.0020 = {
} }
else = { else = {
add_prestige = medium_prestige_loss add_prestige = medium_prestige_loss
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
@ -550,7 +550,7 @@ ep3_laamp_flavor.0030 = {
modifier = dream_ambitious modifier = dream_ambitious
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
ambitious = minor_stress_impact_loss ambitious = minor_stress_impact_loss
impatient = minor_stress_impact_loss impatient = minor_stress_impact_loss
@ -574,7 +574,7 @@ ep3_laamp_flavor.0030 = {
modifier = dream_envious modifier = dream_envious
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
lifestyle_reveler = minor_stress_impact_loss lifestyle_reveler = minor_stress_impact_loss
gluttonous = minor_stress_impact_loss gluttonous = minor_stress_impact_loss
@ -599,7 +599,7 @@ ep3_laamp_flavor.0030 = {
modifier = dream_content modifier = dream_content
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
temperate = minor_stress_impact_loss temperate = minor_stress_impact_loss
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
@ -716,7 +716,7 @@ ep3_laamp_flavor.0040 = {
XP_MIN = gallowsbait_xp_minor_gain XP_MIN = gallowsbait_xp_minor_gain
XP_MAX = gallowsbait_xp_minor_gain XP_MAX = gallowsbait_xp_minor_gain
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
sadistic = minor_stress_impact_loss sadistic = minor_stress_impact_loss
@ -821,6 +821,7 @@ ep3_laamp_flavor.0050 = {
template = priest_character_template template = priest_character_template
culture = root.location.culture culture = root.location.culture
faith = root.location.faith faith = root.location.faith
rite = root.location.rite
dynasty = none dynasty = none
location = root.location location = root.location
gender = male gender = male
@ -883,6 +884,7 @@ ep3_laamp_flavor.0050 = {
} }
} }
} }
pam_witch_justice_fulfillment_effect = yes
stress_impact = { stress_impact = {
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
@ -904,7 +906,8 @@ ep3_laamp_flavor.0050 = {
modifier = learned_in_demonology modifier = learned_in_demonology
years = 10 years = 10
} }
stress_impact = { pam_witch_embrace_fulfillment_effect = yes
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain zealous = medium_stress_impact_gain
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -925,7 +928,8 @@ ep3_laamp_flavor.0050 = {
trigger = { trigger = {
exists = scope:player_heir_scope exists = scope:player_heir_scope
} }
stress_impact = { pam_witch_embrace_fulfillment_effect = yes
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain zealous = medium_stress_impact_gain
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -949,7 +953,7 @@ ep3_laamp_flavor.0050 = {
# 3spooky5me # 3spooky5me
option = { option = {
name = ep3_laamp_flavor.0050.d name = ep3_laamp_flavor.0050.d
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
} }
add_prestige = minor_prestige_loss add_prestige = minor_prestige_loss

View file

@ -1,329 +0,0 @@
namespace = ep3_laamp_flavor_oltner
scripted_trigger suitable_pool_marriage_trigger = {
save_temporary_scope_as = pool_marriage_target
is_physically_able_adult = yes
allowed_to_marry_character_gender_trigger = { CHARACTER = $FOLLOWER_TARGET$ }
$FOLLOWER_TARGET$ ?= { allowed_to_marry_character_gender_trigger = { CHARACTER = prev } }
are_characters_sensible_lovers_trigger = { INSTIGATING_LOVER = $FOLLOWER_TARGET$ TARGET_OF_LOVE = scope:pool_marriage_target }
is_married = no
can_marry_trigger = yes
is_concubine = no
NOT = {
exists = betrothed
}
has_no_particular_noble_roots_trigger = yes
}
scripted_trigger suitable_follower_marriage_character_trigger = {
is_physically_able_adult = yes
this != root
is_married = no
can_marry_trigger = yes
is_concubine = no
age <= 50
health >= fine_health
is_faith_dominant_gender = no
NOR = {
house = root.house
is_close_family_of = root
exists = betrothed
has_relation_rival = root
}
save_temporary_scope_as = entourage_member
any_pool_character = {
province = root.location
age <= 40
health >= fine_health
suitable_pool_marriage_trigger = { FOLLOWER_TARGET = scope:entourage_member }
}
}
# A Follower's Heart
ep3_laamp_flavor_oltner.0001 = {
type = character_event
title = ep3_laamp_flavor_oltner.3001.t
desc = ep3_laamp_flavor_oltner.3001.desc
theme = marriage
override_background = { reference = market_scope }
left_portrait = {
character = scope:entourage_to_marry_2
animation = beg
camera = camera_event_very_left
}
right_portrait = {
character = scope:marriage_material
animation = dismissal
camera = camera_event_right_pointing_left
}
cooldown = { years = 10 }
trigger = {
has_government = landless_adventurer_government
location = {
has_holding = yes
}
any_courtier = {
suitable_follower_marriage_character_trigger = yes
}
}
immediate = {
save_scope_as = root_char
random_courtier = {
limit = {
suitable_follower_marriage_character_trigger = yes
}
save_scope_as = entourage_to_marry_2
}
random_pool_character = {
province = root.location
limit = {
suitable_pool_marriage_trigger = { FOLLOWER_TARGET = scope:entourage_to_marry_2 }
}
save_scope_as = marriage_material
}
location.county.title_province = { save_scope_as = background_market_scope }
}
option = { # Tell them to pay it themselves
name = ep3_laamp_flavor_oltner.0001.a
trigger = {
scope:entourage_to_marry_2.gold >= {
add = scope:marriage_material.sum_of_all_skills_and_prowess_value
}
}
scope:entourage_to_marry_2 = {
remove_short_term_gold = {
add = scope:marriage_material.sum_of_all_skills_value
add = scope:marriage_material.prowess
}
}
add_courtier = scope:marriage_material
scope:entourage_to_marry_2 = {
if = {
limit = {
is_female = yes
is_lowborn = no
scope:marriage_material = {
is_lowborn = yes
}
}
marry_matrilineal = scope:marriage_material
}
else_if = {
limit = {
is_male = yes
is_lowborn = yes
scope:marriage_material = {
is_lowborn = no
}
}
marry_matrilineal = scope:marriage_material
}
else = {
marry = scope:marriage_material
}
}
ai_chance = {
base = 100
}
}
option = { # Pay the dowry
name = ep3_laamp_flavor_oltner.0001.b
stress_impact = {
generous = massive_stress_impact_loss
greedy = medium_stress_impact_gain
}
remove_short_term_gold = {
add = scope:marriage_material.sum_of_all_skills_and_prowess_value
}
add_courtier = scope:marriage_material
scope:entourage_to_marry_2 = {
if = {
limit = {
is_female = yes
is_lowborn = no
scope:marriage_material = {
is_lowborn = yes
}
}
marry_matrilineal = scope:marriage_material
}
else_if = {
limit = {
is_male = yes
is_lowborn = yes
scope:marriage_material = {
is_lowborn = no
}
}
marry_matrilineal = scope:marriage_material
}
else = {
marry = scope:marriage_material
}
progress_towards_friend_effect = {
CHARACTER = root
OPINION = 0
REASON = friend_helped_me_marry
}
add_opinion = {
target = root
modifier = grateful_opinion
opinion = 50
}
}
scope:marriage_material = { save_scope_as = relationship_reason_involved_character }
clear_saved_scope = relationship_reason_involved_character
ai_chance = {
base = 10
modifier = {
factor = 0
OR = {
has_trait = greedy
gold <= {
add = scope:marriage_material.sum_of_all_skills_and_prowess_value
multiply = 2
}
}
}
}
}
option = { # Convince them to run away with you
name = ep3_laamp_flavor_oltner.0001.c
skill = intrigue
stress_impact = {
generous = medium_stress_impact_gain
}
duel = {
skill = intrigue
value = high_skill_rating
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
desc = ep3_laamp_flavor_oltner.0001.c.success
send_interface_toast = {
title = ep3_laamp_flavor_oltner.0001.c.success
left_icon = scope:entourage_to_marry_2
right_icon = scope:marriage_material
add_courtier = scope:marriage_material
scope:entourage_to_marry_2 = {
if = {
limit = {
is_female = yes
is_lowborn = no
scope:marriage_material = {
is_lowborn = yes
}
}
marry_matrilineal = scope:marriage_material
}
else_if = {
limit = {
is_male = yes
is_lowborn = yes
scope:marriage_material = {
is_lowborn = no
}
}
marry_matrilineal = scope:marriage_material
}
else = {
marry = scope:marriage_material
}
progress_towards_friend_effect = {
CHARACTER = root
OPINION = 0
REASON = friend_helped_me_marry
}
add_opinion = {
target = root
modifier = grateful_opinion
opinion = 50
}
}
scope:marriage_material = { save_scope_as = relationship_reason_involved_character }
clear_saved_scope = relationship_reason_involved_character
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
desc = ep3_laamp_flavor_oltner.0001.c.failure
send_interface_toast = {
title = ep3_laamp_flavor_oltner.0001.c.failure
left_icon = scope:entourage_to_marry_2
right_icon = scope:marriage_material
scope:entourage_to_marry_2 = {
add_stress = medium_stress_gain
add_opinion = {
target = root
modifier = disappointed_opinion
opinion = -30
}
}
}
}
}
ai_chance = {
base = 10
modifier = {
factor = 0
has_trait = generous
}
}
}
option = { # Ignore your follower
name = ep3_laamp_flavor_oltner.0001.d
stress_impact = {
compassionate = medium_stress_impact_gain
generous = medium_stress_impact_gain
callous = minor_stress_impact_loss
sadistic = minor_stress_impact_loss
chaste = minor_stress_impact_loss
shy = minor_stress_impact_loss
}
scope:entourage_to_marry_2 = {
add_opinion = {
target = root
modifier = heartbroken_opinion
opinion = -30
}
}
ai_chance = {
base = 10
modifier = {
factor = 0
OR = {
has_trait = compassionate
has_trait = generous
}
}
}
}
}

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

File diff suppressed because it is too large Load diff

View file

@ -195,16 +195,22 @@ ep3_roman_restoration.0001 = {
ep3_roman_restoration.0101 = { ep3_roman_restoration.0101 = {
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/splash_icons/splash_byzantine.dds"
title = roman_restoration.0002.t title = roman_restoration.0002.t
desc = { desc = {
desc = ep3_roman_restoration.0101.intro desc = ep3_roman_restoration.0101.intro
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { scope:scoped_emperor.primary_title.state_faith ?= faith:hellenic_pagan } trigger = { scope:scoped_emperor.primary_title.state_rite.faith ?= faith:hellenic_pagan }
desc = ep3_roman_restoration.0101.hellenic desc = ep3_roman_restoration.0101.hellenic
} }
triggered_desc = { triggered_desc = {
trigger = { scope:scoped_emperor.primary_title.state_faith ?= faith:orthodox } trigger = {
OR = {
scope:scoped_emperor.primary_title.state_rite ?= rite:byzantine_rite
scope:scoped_emperor.primary_title.state_rite.faith ?= faith:orthodox
}
}
desc = ep3_roman_restoration.0101.orthodox desc = ep3_roman_restoration.0101.orthodox
} }
desc = ep3_roman_restoration.0101.fallback desc = ep3_roman_restoration.0101.fallback
@ -217,7 +223,7 @@ ep3_roman_restoration.0101 = {
immediate = { immediate = {
#Same-faith non-empire tier rulers are over-awed. #Same-faith non-empire tier rulers are over-awed.
if = { if = {
limit = { faith = scope:scoped_emperor.primary_title.state_faith } limit = { faith = scope:scoped_emperor.primary_title.state_rite.faith }
play_music_cue = "mx_cue_epic_sacral_moment" play_music_cue = "mx_cue_epic_sacral_moment"
} }
#Otherwise, this is a tacit statement of imperial threat. #Otherwise, this is a tacit statement of imperial threat.
@ -360,7 +366,7 @@ ep3_roman_restoration.0300 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
@ -514,6 +520,12 @@ ep3_roman_restoration.0520 = {
THIS = culture:mongol.culture_head THIS = culture:mongol.culture_head
realm_size >= 100 realm_size >= 100
} }
#Greatest of khans hasn't come along
has_global_variable = greatest_of_khans_title
#Someone's not currently trying to be greatest of khans
has_global_variable = mpo_gok_war_ongoing
#Temujin dying prevents Mongol invasion for at least 50 years
has_global_variable = temujin_failed
} }
} }

View file

@ -26,7 +26,8 @@ scripted_trigger ep3_story_cycle_admin_eunuch_valid_realm_trigger = {
is_ai = no is_ai = no
highest_held_title_tier >= tier_empire highest_held_title_tier >= tier_empire
top_liege = this top_liege = this
government_allows = administrative government_has_mechanic = administrative
government_allows = noble_families
culture = { has_cultural_parameter = can_appoint_chief_eunuch } culture = { has_cultural_parameter = can_appoint_chief_eunuch }
NOR = { NOR = {
has_diarchy_type = co_emperorship has_diarchy_type = co_emperorship
@ -130,6 +131,7 @@ scripted_effect ep3_story_cycle_admin_eunuch_create_eunuch_effect = {
create_character = { create_character = {
culture = scope:origin.culture culture = scope:origin.culture
faith = root.faith faith = root.faith
rite = root.rite
employer = root employer = root
gender = male gender = male
age = { age = {
@ -213,6 +215,7 @@ scripted_effect ep3_story_cycle_admin_eunuch_create_family_children_effect = {
create_character = { create_character = {
culture = $PARENT$.culture culture = $PARENT$.culture
faith = $PARENT$.faith faith = $PARENT$.faith
rite = $PARENT$.rite
employer = root employer = root
age = { age = {
integer_range = { integer_range = {
@ -296,6 +299,7 @@ scripted_effect ep3_story_cycle_admin_eunuch_create_family_effect = {
create_character = { create_character = {
culture = scope:eunuch.culture culture = scope:eunuch.culture
faith = scope:eunuch.faith faith = scope:eunuch.faith
rite = scope:eunuch.rite
employer = root employer = root
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
age = { age = {
@ -559,7 +563,7 @@ ep3_story_cycle_admin_eunuch.1001 = {
desc = { desc = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { has_title = title:e_byzantium } trigger = { is_roman_emperor_trigger = yes }
desc = ep3_story_cycle_admin_eunuch.1001.intro_byz desc = ep3_story_cycle_admin_eunuch.1001.intro_byz
} }
desc = ep3_story_cycle_admin_eunuch.1001.intro desc = ep3_story_cycle_admin_eunuch.1001.intro
@ -595,7 +599,6 @@ ep3_story_cycle_admin_eunuch.1001 = {
} }
ordered_house_member = { ordered_house_member = {
limit = { limit = {
exists = this
this != scope:eunuch this != scope:eunuch
} }
order_by = age order_by = age
@ -615,9 +618,9 @@ ep3_story_cycle_admin_eunuch.1001 = {
create_noble_family_effect = { GOVERNMENT_GIVER = scope:family_head } create_noble_family_effect = { GOVERNMENT_GIVER = scope:family_head }
if = { if = {
limit = { limit = {
NOT = { government_has_flag = government_is_administrative } NOT = { government_has_mechanic = administrative }
} }
hidden_effect = { change_government = administrative_government } hidden_effect = { change_government = root.government_type }
} }
} }
every_in_list = { every_in_list = {
@ -760,7 +763,7 @@ ep3_story_cycle_admin_eunuch.2010 = {
} }
} }
ep3_story_cycle_admin_eunuch_upgrade_effect = yes ep3_story_cycle_admin_eunuch_upgrade_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -787,7 +790,7 @@ ep3_story_cycle_admin_eunuch.2010 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
lazy = medium_stress_impact_gain lazy = medium_stress_impact_gain
fickle = medium_stress_impact_gain fickle = medium_stress_impact_gain
@ -895,7 +898,7 @@ ep3_story_cycle_admin_eunuch.2015 = {
opinion = -15 opinion = -15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
@ -923,7 +926,7 @@ ep3_story_cycle_admin_eunuch.2015 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
lazy = medium_stress_impact_gain lazy = medium_stress_impact_gain
@ -1199,7 +1202,7 @@ ep3_story_cycle_admin_eunuch.2021 = {
scope:governor = { scope:governor = {
add_character_flag = { flag = admin_eunuch_family_boon_flag years = 5 } add_character_flag = { flag = admin_eunuch_family_boon_flag years = 5 }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -1222,7 +1225,7 @@ ep3_story_cycle_admin_eunuch.2021 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -1556,7 +1559,7 @@ ep3_story_cycle_admin_eunuch.2024 = {
scope:governor = { scope:governor = {
add_character_flag = { flag = admin_eunuch_family_boon_flag years = 5 } add_character_flag = { flag = admin_eunuch_family_boon_flag years = 5 }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -1592,7 +1595,7 @@ ep3_story_cycle_admin_eunuch.2024 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -1632,16 +1635,16 @@ scripted_trigger ep3_story_cycle_admin_eunuch_valid_patriarch_trigger = {
scope:protege ?= this scope:protege ?= this
} }
trigger_if = { trigger_if = {
limit = { root.faith = { has_doctrine = doctrine_clerical_gender_male_only } } limit = { root.rite = { rite_has_doctrine = doctrine_clerical_gender_male_only } }
is_male = yes is_male = yes
} }
trigger_else_if = { trigger_else_if = {
limit = { root.faith = { has_doctrine = doctrine_clerical_gender_female_only } } limit = { root.rite = { rite_has_doctrine = doctrine_clerical_gender_female_only } }
is_female = yes is_female = yes
} }
trigger_else = { always = yes } trigger_else = { always = yes }
trigger_if = { trigger_if = {
limit = { root.faith = { has_doctrine = doctrine_clerical_marriage_disallowed } } limit = { root.rite = { rite_has_doctrine = doctrine_clerical_marriage_disallowed } }
is_married = no is_married = no
is_betrothed = no is_betrothed = no
} }
@ -1805,7 +1808,7 @@ ep3_story_cycle_admin_eunuch.2031 = {
opinion = -25 opinion = -25
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = minor_stress_impact_gain zealous = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -1832,7 +1835,7 @@ ep3_story_cycle_admin_eunuch.2031 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
} }
@ -2054,7 +2057,7 @@ ep3_story_cycle_admin_eunuch.2040 = {
opinion = -15 opinion = -15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -2081,7 +2084,7 @@ ep3_story_cycle_admin_eunuch.2040 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -2259,7 +2262,7 @@ ep3_story_cycle_admin_eunuch.2041 = {
} }
} }
ep3_story_cycle_admin_eunuch_upgrade_effect = yes ep3_story_cycle_admin_eunuch_upgrade_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -2286,7 +2289,7 @@ ep3_story_cycle_admin_eunuch.2041 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -2569,7 +2572,7 @@ ep3_story_cycle_admin_eunuch.2044 = {
} }
} }
ep3_story_cycle_admin_eunuch_upgrade_effect = yes ep3_story_cycle_admin_eunuch_upgrade_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -2609,7 +2612,7 @@ ep3_story_cycle_admin_eunuch.2044 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -2940,7 +2943,7 @@ ep3_story_cycle_admin_eunuch.2050 = {
name = ep3_story_cycle_admin_eunuch.2050.a name = ep3_story_cycle_admin_eunuch.2050.a
ep3_story_cycle_admin_eunuch_award_boon_effect = yes ep3_story_cycle_admin_eunuch_award_boon_effect = yes
ep3_story_cycle_admin_eunuch_upgrade_effect = yes ep3_story_cycle_admin_eunuch_upgrade_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -2960,7 +2963,7 @@ ep3_story_cycle_admin_eunuch.2050 = {
option = { option = {
name = ep3_story_cycle_admin_eunuch.2050.b name = ep3_story_cycle_admin_eunuch.2050.b
ep3_story_cycle_admin_eunuch_downgrade_effect = yes ep3_story_cycle_admin_eunuch_downgrade_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -3159,7 +3162,7 @@ ep3_story_cycle_admin_eunuch.2051 = {
modifier = angry_opinion modifier = angry_opinion
opinion = -15 opinion = -15
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -3181,7 +3184,7 @@ ep3_story_cycle_admin_eunuch.2051 = {
modifier = grateful_opinion modifier = grateful_opinion
opinion = 15 opinion = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_gain deceitful = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
@ -3330,7 +3333,7 @@ ep3_story_cycle_admin_eunuch.2052 = {
} }
ep3_story_cycle_admin_eunuch_upgrade_effect = yes ep3_story_cycle_admin_eunuch_upgrade_effect = yes
ep3_story_cycle_admin_eunuch_upset_courtier_effect = { COURTIER = scope:scheme_owner } ep3_story_cycle_admin_eunuch_upset_courtier_effect = { COURTIER = scope:scheme_owner }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -3352,7 +3355,7 @@ ep3_story_cycle_admin_eunuch.2052 = {
modifier = grateful_opinion modifier = grateful_opinion
opinion = 15 opinion = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_gain deceitful = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
@ -3429,7 +3432,7 @@ ep3_story_cycle_admin_eunuch.2060 = {
} }
} }
ep3_story_cycle_admin_eunuch_upgrade_effect = yes ep3_story_cycle_admin_eunuch_upgrade_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -3452,7 +3455,7 @@ ep3_story_cycle_admin_eunuch.2060 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -3546,7 +3549,7 @@ ep3_story_cycle_admin_eunuch.2061 = {
} }
} }
ep3_story_cycle_admin_eunuch_upgrade_effect = yes ep3_story_cycle_admin_eunuch_upgrade_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -3569,7 +3572,7 @@ ep3_story_cycle_admin_eunuch.2061 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -3590,7 +3593,7 @@ ep3_story_cycle_admin_eunuch.2061 = {
if = { if = {
limit = { limit = {
scope:eunuch.house.house_head = { scope:eunuch.house.house_head = {
is_landed_or_landless_administrative = yes is_landed_or_landless_administrative_or_theocratic = yes
} }
} }
set_employer = scope:eunuch.house.house_head set_employer = scope:eunuch.house.house_head
@ -3714,7 +3717,7 @@ ep3_story_cycle_admin_eunuch.2070 = {
modifier = angry_opinion modifier = angry_opinion
opinion = -15 opinion = -15
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -3741,7 +3744,7 @@ ep3_story_cycle_admin_eunuch.2070 = {
opinion = 15 opinion = 15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -3777,13 +3780,13 @@ scripted_trigger ep3_story_cycle_admin_eunuch_family_protege_trigger = {
OR = { OR = {
AND = { AND = {
is_male = yes is_male = yes
root.faith = { has_doctrine = doctrine_gender_male_dominated } root.rite = { rite_has_doctrine = doctrine_gender_male_dominated }
} }
AND = { AND = {
is_female = yes is_female = yes
root.faith = { has_doctrine = doctrine_gender_female_dominated } root.rite = { rite_has_doctrine = doctrine_gender_female_dominated }
} }
root.faith = { has_doctrine = doctrine_gender_equal } root.rite = { rite_has_doctrine = doctrine_gender_equal }
} }
} }
@ -3962,6 +3965,7 @@ ep3_story_cycle_admin_eunuch.3001 = {
create_character = { create_character = {
culture = scope:origin.culture culture = scope:origin.culture
faith = root.faith faith = root.faith
rite = root.rite
location = root.location location = root.location
gender = male gender = male
age = { age = {
@ -4092,6 +4096,7 @@ ep3_story_cycle_admin_eunuch.3010 = {
create_character = { create_character = {
culture = scope:origin.culture culture = scope:origin.culture
faith = root.faith faith = root.faith
rite = root.rite
location = root.location location = root.location
gender = male gender = male
age = { age = {
@ -4395,7 +4400,7 @@ ep3_story_cycle_admin_eunuch.4000 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
} }
@ -4422,7 +4427,7 @@ ep3_story_cycle_admin_eunuch.4000 = {
} }
} }
reason = ep3_story_cycle_admin_eunuch.4000.b.reason reason = ep3_story_cycle_admin_eunuch.4000.b.reason
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
} }
@ -4446,7 +4451,7 @@ ep3_story_cycle_admin_eunuch.4000 = {
TARGET = scope:cuckolder TARGET = scope:cuckolder
IMPRISONER = root IMPRISONER = root
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
} }
@ -4476,12 +4481,12 @@ scripted_trigger ep3_story_cycle_admin_eunuch_cheating_spouse_trigger = {
trigger_if = { trigger_if = {
limit = { is_male = yes } limit = { is_male = yes }
NOT = { NOT = {
root.faith = { has_doctrine_parameter = adultery_male_accepted } root.rite = { rite_has_parameter = adultery_male_accepted }
} }
} }
trigger_else = { trigger_else = {
NOT = { NOT = {
root.faith = { has_doctrine_parameter = adultery_female_accepted } root.rite = { rite_has_parameter = adultery_female_accepted }
} }
} }
opinion = { opinion = {
@ -4491,10 +4496,10 @@ scripted_trigger ep3_story_cycle_admin_eunuch_cheating_spouse_trigger = {
} }
scripted_trigger ep3_story_cycle_admin_eunuch_seducer_trigger = { scripted_trigger ep3_story_cycle_admin_eunuch_seducer_trigger = {
is_attracted_to_gender_of = $SPOUSE$ can_set_relation_lover_trigger = { CHARACTER = $SPOUSE$ }
is_eunuch_trigger = no is_eunuch_trigger = no
might_cheat_on_every_partner_trigger = yes
NOR = { NOR = {
has_trait = celibate
is_close_family_of = $SPOUSE$ is_close_family_of = $SPOUSE$
has_relation_rival = $SPOUSE$ has_relation_rival = $SPOUSE$
} }
@ -4716,7 +4721,7 @@ ep3_story_cycle_admin_eunuch.4010 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
} }
@ -4748,7 +4753,7 @@ ep3_story_cycle_admin_eunuch.4010 = {
TARGET = scope:eunuch TARGET = scope:eunuch
IMPRISONER = root IMPRISONER = root
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
} }
@ -4768,7 +4773,7 @@ ep3_story_cycle_admin_eunuch.4010 = {
option = { option = {
name = ep3_story_cycle_admin_eunuch.4010.d name = ep3_story_cycle_admin_eunuch.4010.d
add_prestige = medium_prestige_loss add_prestige = medium_prestige_loss
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
@ -4886,7 +4891,7 @@ ep3_story_cycle_admin_eunuch.5000 = {
modifier = angry_opinion modifier = angry_opinion
opinion = -15 opinion = -15
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -4911,7 +4916,7 @@ ep3_story_cycle_admin_eunuch.5000 = {
modifier = pleased_opinion modifier = pleased_opinion
opinion = 15 opinion = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
@ -5058,7 +5063,7 @@ ep3_story_cycle_admin_eunuch.5010 = {
modifier = angry_opinion modifier = angry_opinion
opinion = -15 opinion = -15
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -5083,7 +5088,7 @@ ep3_story_cycle_admin_eunuch.5010 = {
modifier = pleased_opinion modifier = pleased_opinion
opinion = 15 opinion = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
@ -5220,8 +5225,7 @@ scripted_trigger ep3_story_cycle_admin_eunuch_coup_trigger = {
NOR = { NOR = {
has_relation_friend = root has_relation_friend = root
is_spouse_of = root is_spouse_of = root
has_trait = eunuch_1 is_eunuch_trigger = yes
has_trait = beardless_eunuch
has_trait = blind has_trait = blind
} }
save_temporary_scope_as = coupist_temp save_temporary_scope_as = coupist_temp
@ -5650,7 +5654,7 @@ ep3_story_cycle_admin_eunuch.6000 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
@ -5668,7 +5672,7 @@ ep3_story_cycle_admin_eunuch.6000 = {
name = ep3_story_cycle_admin_eunuch.6000.c name = ep3_story_cycle_admin_eunuch.6000.c
add_legitimacy = major_legitimacy_loss add_legitimacy = major_legitimacy_loss
every_targeting_faction = { add_faction_discontent = 25 } every_targeting_faction = { add_faction_discontent = 25 }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
@ -5685,7 +5689,7 @@ ep3_story_cycle_admin_eunuch.6000 = {
option = { option = {
name = ep3_story_cycle_admin_eunuch.6000.d name = ep3_story_cycle_admin_eunuch.6000.d
ep3_story_cycle_admin_eunuch_coup_effect = yes ep3_story_cycle_admin_eunuch_coup_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -5722,7 +5726,7 @@ ep3_story_cycle_admin_eunuch.8000 = {
desc = { desc = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { has_title = title:e_byzantium } trigger = { is_roman_emperor_trigger = yes }
desc = ep3_story_cycle_admin_eunuch.8000.intro_byz desc = ep3_story_cycle_admin_eunuch.8000.intro_byz
} }
desc = ep3_story_cycle_admin_eunuch.8000.intro desc = ep3_story_cycle_admin_eunuch.8000.intro
@ -6142,7 +6146,7 @@ ep3_story_cycle_admin_eunuch.8020 = {
name = ep3_story_cycle_admin_eunuch.8020.a name = ep3_story_cycle_admin_eunuch.8020.a
trigger = { scope:background_dungeon_scope = root } trigger = { scope:background_dungeon_scope = root }
scope:eunuch = { release_from_prison = yes } scope:eunuch = { release_from_prison = yes }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
@ -6170,7 +6174,7 @@ ep3_story_cycle_admin_eunuch.8020 = {
target = scope:imprisoner target = scope:imprisoner
} }
scope:prisoner = { release_from_prison = yes } scope:prisoner = { release_from_prison = yes }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
} }
@ -6210,7 +6214,7 @@ ep3_story_cycle_admin_eunuch.8020 = {
scope:eunuch = { scope:eunuch = {
ep3_story_cycle_admin_eunuch_clear_modifier_effect = { TYPE = eunuch } ep3_story_cycle_admin_eunuch_clear_modifier_effect = { TYPE = eunuch }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -6245,7 +6249,7 @@ ep3_story_cycle_admin_eunuch.8020 = {
scope:eunuch = { scope:eunuch = {
ep3_story_cycle_admin_eunuch_clear_modifier_effect = { TYPE = eunuch } ep3_story_cycle_admin_eunuch_clear_modifier_effect = { TYPE = eunuch }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -6326,7 +6330,7 @@ ep3_story_cycle_admin_eunuch.8030 = {
gold = minor_gold_value gold = minor_gold_value
} }
add_courtier = scope:eunuch add_courtier = scope:eunuch
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
} }
@ -6571,6 +6575,10 @@ ep3_story_cycle_admin_eunuch.9980 = { # Story cycle inheritance
days = 3 days = 3
} }
} }
remove_list_variable = {
name = upset_courtiers
target = scope:new_story_owner
}
} }
} }
# Or end # Or end

View file

@ -102,10 +102,10 @@ grand_ambitions.0001 = {
influence_level >= 3 influence_level >= 3
top_liege != this top_liege != this
highest_held_title_tier >= tier_duchy highest_held_title_tier >= tier_duchy
government_allows = administrative government_has_mechanic = administrative
top_liege ?= { top_liege ?= {
primary_title.tier = tier_empire primary_title.tier >= tier_empire
government_allows = administrative government_has_mechanic = administrative
NOR = { NOR = {
legitimacy_level >= 4 legitimacy_level >= 4
influence_level >= 4 influence_level >= 4
@ -158,7 +158,7 @@ grand_ambitions.0001 = {
add_prestige = major_prestige_loss add_prestige = major_prestige_loss
stress_impact = { stress_and_fulfillment_impact = {
brave = medium_stress_impact_loss brave = medium_stress_impact_loss
honest = minor_stress_impact_loss honest = minor_stress_impact_loss
deceitful = minor_stress_impact_gain deceitful = minor_stress_impact_gain
@ -224,7 +224,7 @@ grand_ambitions.0001 = {
remove_treasury_or_gold = massive_treasury_or_gold_value remove_treasury_or_gold = massive_treasury_or_gold_value
change_influence = medium_influence_loss change_influence = medium_influence_loss
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
deceitful = medium_stress_impact_loss deceitful = medium_stress_impact_loss
@ -252,7 +252,7 @@ grand_ambitions.0001 = {
option = { # I'm happy just how I am (lame) option = { # I'm happy just how I am (lame)
name = grand_ambitions.0001.c name = grand_ambitions.0001.c
stress_impact = { stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
} }
@ -754,8 +754,8 @@ scripted_effect send_bethrothal_notifications_and_apply_opinions_effect = {
limit = { limit = {
NOR = { NOR = {
culture = { has_cultural_tradition = tradition_polygamous } culture = { has_cultural_tradition = tradition_polygamous }
faith = { has_doctrine = doctrine_polygamy } rite = { rite_has_doctrine = doctrine_polygamy }
faith = { has_doctrine = doctrine_concubines } rite = { rite_has_doctrine = doctrine_concubines }
} }
} }
@ -765,8 +765,8 @@ scripted_effect send_bethrothal_notifications_and_apply_opinions_effect = {
limit = { limit = {
NOR = { NOR = {
culture = { has_cultural_tradition = tradition_polygamous } culture = { has_cultural_tradition = tradition_polygamous }
faith = { has_doctrine = doctrine_polygamy } rite = { rite_has_doctrine = doctrine_polygamy }
faith = { has_doctrine = doctrine_concubines } rite = { rite_has_doctrine = doctrine_concubines }
} }
} }
add_opinion = { add_opinion = {
@ -1112,7 +1112,7 @@ grand_ambitions.0100 = {
add_character_flag = had_event_ga_0100 add_character_flag = had_event_ga_0100
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
trusting = minor_stress_impact_loss trusting = minor_stress_impact_loss
} }
@ -1185,7 +1185,7 @@ grand_ambitions.0100 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
patient = minor_stress_impact_gain patient = minor_stress_impact_gain
} }
@ -1209,7 +1209,7 @@ grand_ambitions.0100 = {
option = { # Deny their offer option = { # Deny their offer
name = grand_ambitions.0100.c name = grand_ambitions.0100.c
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
} }
@ -1833,7 +1833,7 @@ grand_ambitions.0131 = {
add_prestige = minor_prestige_loss add_prestige = minor_prestige_loss
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
} }
@ -2648,7 +2648,7 @@ grand_ambitions.0170 = {
METHOD_FLAG = hook METHOD_FLAG = hook
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
trusting = minor_stress_impact_loss trusting = minor_stress_impact_loss
} }
@ -2664,7 +2664,7 @@ grand_ambitions.0170 = {
trigger_if = { trigger_if = {
limit = { limit = {
NOR = { NOR = {
faith = { has_doctrine = doctrine_polygamy } rite = { rite_has_doctrine = doctrine_polygamy }
allowed_more_spouses = yes allowed_more_spouses = yes
} }
} }
@ -2719,7 +2719,7 @@ grand_ambitions.0170 = {
METHOD_FLAG = marriage METHOD_FLAG = marriage
} }
stress_impact = { stress_and_fulfillment_impact = {
chaste = medium_stress_impact_gain chaste = medium_stress_impact_gain
} }
@ -3548,7 +3548,7 @@ grand_ambitions.0200 = {
modifier = deposed_me_opinion modifier = deposed_me_opinion
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
} }
} }
@ -3856,9 +3856,9 @@ grand_ambitions.0202 = {
if = { if = {
limit = { limit = {
scope:story ?= { scope:story ?= {
NOR = { has_none_of_variables = {
has_variable = hof_support name = hof_support
has_variable = promised_foreign_ruler_claim name = promised_foreign_ruler_claim
} }
} }
} }
@ -3897,7 +3897,7 @@ grand_ambitions.0250 = {
end_story = yes end_story = yes
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
@ -4162,10 +4162,10 @@ grand_ambitions.0500 = {
} }
top_liege != this top_liege != this
highest_held_title_tier <= tier_kingdom highest_held_title_tier <= tier_kingdom
government_allows = administrative government_has_mechanic = administrative
top_liege = { top_liege = {
primary_title.tier = tier_empire primary_title.tier >= tier_empire
government_allows = administrative government_has_mechanic = administrative
} }
} }
if = { if = {

View file

@ -187,7 +187,7 @@ ep3_travel_events.3000 = {
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
content = minor_stress_impact_gain content = minor_stress_impact_gain
zealous = miniscule_stress_impact_loss zealous = miniscule_stress_impact_loss
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
@ -229,7 +229,7 @@ ep3_travel_events.3000 = {
modifier = holy_water_mortal_stomach_modifier modifier = holy_water_mortal_stomach_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
craven = miniscule_stress_impact_gain craven = miniscule_stress_impact_gain
@ -266,7 +266,7 @@ ep3_travel_events.3000 = {
text = ep3_travel_events.3000.c text = ep3_travel_events.3000.c
} }
flavor = ep3_travel_events.3000.c_flavor flavor = ep3_travel_events.3000.c_flavor
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain zealous = medium_stress_impact_gain
brave = miniscule_stress_impact_gain brave = miniscule_stress_impact_gain
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
@ -471,7 +471,7 @@ ep3_travel_events.3001 = {
modifier = impressed_opinion modifier = impressed_opinion
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_loss trusting = minor_stress_impact_loss
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
} }
@ -490,7 +490,7 @@ ep3_travel_events.3001 = {
years = 1 years = 1
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = miniscule_stress_impact_gain paranoid = miniscule_stress_impact_gain
craven = miniscule_stress_impact_gain craven = miniscule_stress_impact_gain
} }
@ -502,7 +502,11 @@ ep3_travel_events.3001 = {
scripted_trigger ep3_travel_events_3002_byzantine_root_trigger = { scripted_trigger ep3_travel_events_3002_byzantine_root_trigger = {
culture = { culture = {
has_cultural_pillar = heritage_greek has_cultural_pillar = heritage_byzantine
OR = {
any_parent_culture_or_above = { this = culture:greek }
this = culture:greek
}
} }
} }
@ -517,7 +521,7 @@ ep3_travel_events.3002 = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:local_lord = { scope:local_lord = {
government_allows = administrative government_has_mechanic = administrative
} }
} }
desc = ep3_travel_events.3002.admin desc = ep3_travel_events.3002.admin
@ -623,7 +627,7 @@ ep3_travel_events.3002 = {
is_available_travelling = yes is_available_travelling = yes
is_playable_character = yes is_playable_character = yes
is_location_valid_for_travel_event_on_land = yes is_location_valid_for_travel_event_on_land = yes
government_allows = administrative government_has_mechanic = administrative
OR = { OR = {
NOT = { exists = top_liege } NOT = { exists = top_liege }
top_liege.culture = { top_liege.culture = {
@ -777,29 +781,11 @@ ep3_travel_events.3002 = {
min = -49 min = -49
} }
modifier = { modifier = {
OR = { highest_held_title_tier > scope:local_lord.highest_held_title_tier
AND = {
highest_held_title_tier >= tier_empire
scope:local_lord = { highest_held_title_tier < tier_empire }
}
AND = {
highest_held_title_tier >= tier_kingdom
scope:local_lord = { highest_held_title_tier < tier_kingdom }
}
}
add = 25 add = 25
} }
modifier = { modifier = {
OR = { highest_held_title_tier >= scope:local_lord.highest_held_title_tier
AND = {
highest_held_title_tier >= tier_empire
scope:local_lord = { highest_held_title_tier = tier_empire }
}
AND = {
highest_held_title_tier >= tier_kingdom
scope:local_lord = { highest_held_title_tier = tier_kingdom }
}
}
add = 10 add = 10
} }
@ -902,7 +888,7 @@ ep3_travel_events.3002 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
shy = miniscule_stress_impact_gain shy = miniscule_stress_impact_gain
craven = miniscule_stress_impact_gain craven = miniscule_stress_impact_gain
@ -959,18 +945,18 @@ ep3_travel_events.3002 = {
scope:local_lord_capital.faith = { scope:local_lord_capital.faith = {
this != root.faith this != root.faith
} }
faith = { rite = {
NOT = { has_doctrine = doctrine_pluralism_pluralistic } NOT = { rite_has_doctrine = doctrine_pluralism_pluralistic }
} }
} }
faith = { faith = {
change_fervor = { change_fervor = {
value = -5 value = notable_fervor_loss
desc = fervor_loss_emperor_pluralistic_act desc = fervor_loss_emperor_pluralistic_act
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = miniscule_stress_impact_loss zealous = miniscule_stress_impact_loss
cynical = miniscule_stress_impact_gain cynical = miniscule_stress_impact_gain
gregarious = minor_stress_impact_gain gregarious = minor_stress_impact_gain
@ -1052,7 +1038,7 @@ ep3_travel_events.3002 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
callous = miniscule_stress_impact_gain callous = miniscule_stress_impact_gain
sadistic = miniscule_stress_impact_gain sadistic = miniscule_stress_impact_gain
@ -1090,8 +1076,18 @@ ep3_travel_events.3003 = {
scripted_trigger ep3_travel_events_3010_anatolian_native_trigger = { scripted_trigger ep3_travel_events_3010_anatolian_native_trigger = {
OR = { OR = {
has_cultural_pillar = heritage_greek has_cultural_pillar = heritage_byzantine
has_cultural_pillar = heritage_turkish AND = {
has_cultural_pillar = heritage_caucasian
any_parent_culture_or_above = { this = culture:armenian }
this = culture:armenian
}
}
OR = {
any_parent_culture_or_above = { this = culture:greek }
this = culture:greek
any_parent_culture_or_above = { this = culture:armenian }
this = culture:armenian
} }
} }
@ -1205,6 +1201,7 @@ ep3_travel_events.3010 = {
location = root.location location = root.location
culture = root.location.county.culture culture = root.location.county.culture
faith = root.location.county.faith faith = root.location.county.faith
rite = root.location.county.rite
dynasty = none dynasty = none
save_scope_as = anatolian_guide save_scope_as = anatolian_guide
} }
@ -1233,7 +1230,7 @@ ep3_travel_events.3010 = {
change_development_progress = minimal_development_progress_loss change_development_progress = minimal_development_progress_loss
change_county_control = miniscule_county_control_loss change_county_control = miniscule_county_control_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -1319,7 +1316,7 @@ ep3_travel_events.3010 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain shy = medium_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
content = miniscule_stress_impact_gain content = miniscule_stress_impact_gain
@ -1371,7 +1368,7 @@ ep3_travel_events.3010 = {
barony = title:b_kaisereia barony = title:b_kaisereia
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
stubborn = miniscule_stress_impact_gain stubborn = miniscule_stress_impact_gain
@ -1380,7 +1377,7 @@ ep3_travel_events.3010 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
stubborn = miniscule_stress_impact_gain stubborn = miniscule_stress_impact_gain

View file

@ -192,7 +192,7 @@ ep3_travel_events.8000 = {
REASON = friend_let_me_go REASON = friend_let_me_go
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
family_first = minor_stress_impact_gain family_first = minor_stress_impact_gain
@ -235,7 +235,7 @@ ep3_travel_events.8000 = {
REASON = friend_let_me_go REASON = friend_let_me_go
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
content = minor_stress_impact_gain content = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
gallant = minor_stress_impact_gain gallant = minor_stress_impact_gain
@ -273,7 +273,7 @@ ep3_travel_events.8000 = {
opinion = -10 opinion = -10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
content = minor_stress_impact_gain content = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
gallant = minor_stress_impact_gain gallant = minor_stress_impact_gain
@ -344,7 +344,7 @@ ep3_travel_events.8001 = {
option = { option = {
name = ep3_travel_events.8001.a name = ep3_travel_events.8001.a
ep3_travel_8000_a = yes ep3_travel_8000_a = yes
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
family_first = minor_stress_impact_gain family_first = minor_stress_impact_gain
@ -391,7 +391,7 @@ ep3_travel_events.8001 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
content = minor_stress_impact_gain content = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
gallant = minor_stress_impact_gain gallant = minor_stress_impact_gain
@ -494,7 +494,7 @@ ep3_travel_events.8010 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
eccentric = medium_stress_impact_gain eccentric = medium_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
ambitious = minor_stress_impact_loss ambitious = minor_stress_impact_loss
@ -511,7 +511,7 @@ ep3_travel_events.8010 = {
# I'm not risking that! # I'm not risking that!
option = { option = {
name = ep3_travel_events.8010.b name = ep3_travel_events.8010.b
stress_impact = { stress_and_fulfillment_impact = {
content = minor_stress_impact_loss content = minor_stress_impact_loss
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
} }

File diff suppressed because it is too large Load diff

View file

@ -1,267 +0,0 @@
namespace = ep3_yearly
scripted_effect transfer_warhorse_story_effect = {
$OWNER$ = {
random_owned_story = {
type = story_cycle_martial_lifestyle_warhorse
make_story_owner = $TARGET$
}
}
$TARGET$ = {
add_character_modifier = { modifier = horse_story_modifier }
add_character_flag = had_warhorse_story
set_variable = {
name = warhorse_modifier_level
value = $OWNER$.var:warhorse_modifier_level
}
}
$OWNER$ = {
hidden_effect = {
remove_character_modifier = horse_story_modifier
remove_variable = warhorse_modifier_level
}
}
}
# Jealous of another governor with the Warhorse event chain
ep3_yearly.1010 = {
type = character_event
title = ep3_yearly.1010.t
desc = {
desc = ep3_yearly.1010.intro
triggered_desc = {
trigger = { culture = { has_cultural_pillar = heritage_greek }}
desc = ep3_yearly.1010.greek_flavor
}
desc = ep3_yearly.1010.outro
}
theme = administrative
override_background = { reference = courtyard }
left_portrait = {
character = root
animation = thinking
}
right_portrait = {
character = scope:horse_owner
animation = jockey_walk
camera = camera_event_horse_right
}
lower_left_portrait = cp:councillor_spymaster
trigger = {
is_ai = no
is_governor = yes
NOT = { owns_story_of_type = story_cycle_martial_lifestyle_warhorse }
liege = {
any_vassal = {
this != root
is_available_ai_adult = yes
is_governor = yes
any_owned_story = {
type = story_cycle_martial_lifestyle_warhorse
exists = var:horse_gender
exists = var:story_cycle_horse_name
}
}
}
}
immediate = {
liege = {
random_vassal = {
limit = {
this != root
is_available_ai_adult = yes
owns_story_of_type = story_cycle_martial_lifestyle_warhorse
}
save_scope_as = horse_owner
}
}
cp:councillor_spymaster ?= { save_scope_as = spymaster }
}
option = { # Offer to buy the horse
name = ep3_yearly.1010.a
show_as_unavailable = {
gold >= 75
}
random_list = {
50 = {
show_chance = no
desc = ep3_yearly.1010.a.tt.success
send_interface_toast = {
type = event_toast_effect_good
title = ep3_yearly.1010.a.tt.success
left_icon = root
right_icon = scope:horse_owner
remove_short_term_gold = major_gold_value
custom_tooltip = ep3_yearly.1010.tt
transfer_warhorse_story_effect = {
OWNER = scope:horse_owner
TARGET = root
}
}
}
50 = {
show_chance = no
desc = ep3_yearly.1010.a.tt.failure
send_interface_toast = {
type = event_toast_effect_bad
title = ep3_yearly.1010.a.tt.failure
left_icon = root
right_icon = scope:horse_owner
change_influence = medium_influence_loss
add_prestige = medium_prestige_loss
}
}
}
}
option = { # Convince the governor that you deserve the horse because of your influence
name = ep3_yearly.1010.b
change_influence = massive_influence_loss
if = {
limit = { influence_level >= 3 }
transfer_warhorse_story_effect = {
OWNER = scope:horse_owner
TARGET = root
}
}
else = {
duel = {
skill = diplomacy
value = high_skill_rating
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
desc = ep3_yearly.1010.b.tt.success
send_interface_toast = {
type = event_toast_effect_good
title = ep3_yearly.1010.b.tt.success
left_icon = root
right_icon = scope:horse_owner
custom_tooltip = ep3_yearly.1010.tt
transfer_warhorse_story_effect = {
OWNER = scope:horse_owner
TARGET = root
}
add_diplomacy_lifestyle_xp = medium_lifestyle_xp
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
desc = ep3_yearly.1010.b.tt.failure
send_interface_toast = {
type = event_toast_effect_bad
title = ep3_yearly.1010.b.tt.failure
left_icon = root
right_icon = scope:horse_owner
}
}
}
}
}
option = { # Ask your spymaster to steal the horse for you
trigger = { exists = cp:councillor_spymaster }
name = ep3_yearly.1010.c
flavor = ep3_yearly.1010.c.flavor
cp:councillor_spymaster = {
duel = {
skill = intrigue
value = scope:horse_owner.intrigue
40 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
desc = ep3_yearly.1010.c.tt.success
root = {
send_interface_toast = {
type = event_toast_effect_good
title = ep3_yearly.1010.c.tt.success
left_icon = root
right_icon = scope:horse_owner
custom_tooltip = ep3_yearly.1010.tt
transfer_warhorse_story_effect = {
OWNER = scope:horse_owner
TARGET = root
}
add_intrigue_lifestyle_xp = medium_lifestyle_xp
}
}
}
60 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
desc = ep3_yearly.1010.c.tt.failure
root = {
send_interface_toast = {
type = event_toast_effect_bad
title = ep3_yearly.1010.c.tt.failure
left_icon = root
right_icon = scope:horse_owner
progress_towards_rival_effect = {
REASON = rival_lands_stolen
CHARACTER = scope:horse_owner
OPINION = default_rival_opinion
}
}
}
}
}
}
}
option = { # If I can't have it, neither can you
name = ep3_yearly.1010.d
flavor = ep3_yearly.1010.d.tt
random_list = {
50 = {
desc = ep3_yearly.1010.d.success
send_interface_toast = {
type = event_toast_effect_good
title = ep3_yearly.1010.d.success
custom_tooltip = ep3_yearly.1010.d.dead_horse
scope:horse_owner = {
random_owned_story = {
type = story_cycle_martial_lifestyle_warhorse
end_story = yes
}
}
}
}
50 = {
desc = ep3_yearly.1010.d.failure
send_interface_toast = {
type = event_toast_effect_bad
title = ep3_yearly.1010.d.failure
custom_tooltip = ep3_yearly.1010.d.dead_horse
scope:horse_owner = {
random_owned_story = {
type = story_cycle_martial_lifestyle_warhorse
end_story = yes
}
}
progress_towards_rival_effect = {
REASON = rival_lands_stolen
CHARACTER = scope:horse_owner
OPINION = default_rival_opinion
}
}
}
}
}
}

View file

@ -1,9 +0,0 @@
namespace = ep3_yearly
ep3_yearly.3000 = {
hidden = yes
immediate = {
ep3_ai_castration_effect = yes
}
}

View file

@ -473,7 +473,7 @@ fp1_jomsvikings.0001 = {
scope:leader = { add_courtier = scope:retainer_b } scope:leader = { add_courtier = scope:retainer_b }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_loss trusting = minor_stress_impact_loss
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -517,7 +517,7 @@ fp1_jomsvikings.0001 = {
scope:leader = { add_courtier = scope:retainer_a } scope:leader = { add_courtier = scope:retainer_a }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = minor_stress_impact_loss trusting = minor_stress_impact_loss
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -578,7 +578,7 @@ fp1_jomsvikings.0001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_loss paranoid = medium_stress_impact_loss
cynical = major_stress_impact_loss cynical = major_stress_impact_loss
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
@ -950,7 +950,7 @@ fp1_jomsvikings.0011 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_loss diligent = minor_stress_impact_loss
arrogant = medium_stress_impact_loss arrogant = medium_stress_impact_loss
vengeful = major_stress_impact_loss vengeful = major_stress_impact_loss
@ -1038,7 +1038,7 @@ fp1_jomsvikings.0011 = {
# Lose control, but not that much. # Lose control, but not that much.
scope:target_county = { change_county_control = medium_county_control_loss } scope:target_county = { change_county_control = medium_county_control_loss }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss generous = minor_stress_impact_loss
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
@ -1090,7 +1090,7 @@ fp1_jomsvikings.0011 = {
value = medium_treasury_or_gold_value value = medium_treasury_or_gold_value
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss generous = minor_stress_impact_loss
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
@ -1130,7 +1130,7 @@ fp1_jomsvikings.0011 = {
# Reduce control. # Reduce control.
scope:target_county = { change_county_control = extreme_county_control_loss } scope:target_county = { change_county_control = extreme_county_control_loss }
stress_impact = { stress_and_fulfillment_impact = {
lazy = medium_stress_impact_loss lazy = medium_stress_impact_loss
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
sadistic = medium_stress_impact_loss sadistic = medium_stress_impact_loss
@ -1240,7 +1240,7 @@ fp1_jomsvikings.0021 = {
name = fp1_jomsvikings_event_troops name = fp1_jomsvikings_event_troops
} }
stress_impact = { stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
content = medium_stress_impact_gain content = medium_stress_impact_gain
@ -1291,7 +1291,7 @@ fp1_jomsvikings.0021 = {
name = fp1_jomsvikings_event_troops name = fp1_jomsvikings_event_troops
} }
stress_impact = { stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
content = medium_stress_impact_gain content = medium_stress_impact_gain
@ -1345,7 +1345,7 @@ fp1_jomsvikings.0021 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_loss paranoid = medium_stress_impact_loss
cynical = major_stress_impact_loss cynical = major_stress_impact_loss
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
@ -1467,38 +1467,38 @@ fp1_jomsvikings.0041 = {
## Kinslayer. ## Kinslayer.
AND = { AND = {
has_trait = kinslayer_1 has_trait = kinslayer_1
faith = { has_doctrine_parameter = kinslaying_any_dynasty_member_crime } rite = { rite_has_parameter = kinslaying_any_dynasty_member_crime }
} }
AND = { AND = {
has_trait = kinslayer_2 has_trait = kinslayer_2
faith = { has_doctrine_parameter = kinslaying_extended_family_crime } rite = { rite_has_parameter = kinslaying_extended_family_crime }
} }
AND = { AND = {
has_trait = kinslayer_3 has_trait = kinslayer_3
faith = { has_doctrine_parameter = kinslaying_close_kin_crime } rite = { rite_has_parameter = kinslaying_close_kin_crime }
} }
## Deviant. ## Deviant.
AND = { AND = {
has_trait = deviant has_trait = deviant
faith = { has_doctrine_parameter = deviancy_illegal } rite = { rite_has_parameter = deviancy_illegal }
} }
## Cannibal. ## Cannibal.
AND = { AND = {
has_trait = cannibal has_trait = cannibal
NOT = { NOT = {
faith = { has_doctrine_parameter = cannibalism_legal } rite = { rite_has_parameter = cannibalism_legal }
} }
} }
## Sodomite. ## Sodomite.
AND = { AND = {
has_trait = sodomite has_trait = sodomite
faith = { has_doctrine_parameter = homosexuality_illegal } rite = { rite_has_parameter = homosexuality_illegal }
} }
## Incestuous. ## Incestuous.
AND = { AND = {
has_trait = incestuous has_trait = incestuous
NOT = { NOT = {
faith = { has_doctrine_parameter = consanguinity_unrestricted_incest } rite = { rite_has_parameter = allows_unrestricted_marriage }
} }
} }
## Adulterer/Fornicator ## Adulterer/Fornicator
@ -1507,8 +1507,8 @@ fp1_jomsvikings.0041 = {
has_trait = adulterer has_trait = adulterer
has_trait = fornicator has_trait = fornicator
} }
trait_is_criminal_in_faith_trigger = { trait_is_criminal_in_rite_trigger = {
FAITH = faith RITE = rite
TRAIT = trait:adulterer TRAIT = trait:adulterer
GENDER_CHARACTER = this GENDER_CHARACTER = this
} }
@ -1518,7 +1518,7 @@ fp1_jomsvikings.0041 = {
## Witch. ## Witch.
AND = { AND = {
has_trait = witch has_trait = witch
faith = { has_doctrine_parameter = witchcraft_illegal } rite = { rite_has_parameter = witchcraft_illegal }
} }
} }
} }
@ -1631,7 +1631,7 @@ fp1_jomsvikings.0041 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
brave = major_stress_impact_loss brave = major_stress_impact_loss
craven = major_stress_impact_gain craven = major_stress_impact_gain
@ -1746,7 +1746,7 @@ fp1_jomsvikings.0041 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_loss vengeful = medium_stress_impact_loss
arbitrary = major_stress_impact_loss arbitrary = major_stress_impact_loss
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
@ -1825,7 +1825,7 @@ fp1_jomsvikings.0041 = {
add_prestige_level = -1 add_prestige_level = -1
add_prestige = massive_prestige_loss add_prestige = massive_prestige_loss
stress_impact = { stress_and_fulfillment_impact = {
craven = major_stress_impact_loss craven = major_stress_impact_loss
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
brave = major_stress_impact_gain brave = major_stress_impact_gain
@ -1962,7 +1962,7 @@ fp1_jomsvikings.0044 = {
# Get a decent tyranny reduction for your troubles. # Get a decent tyranny reduction for your troubles.
add_tyranny = massive_tyranny_loss add_tyranny = massive_tyranny_loss
stress_impact = { stress_and_fulfillment_impact = {
deceitful = major_stress_impact_loss deceitful = major_stress_impact_loss
arbitrary = major_stress_impact_loss arbitrary = major_stress_impact_loss
honest = major_stress_impact_gain honest = major_stress_impact_gain
@ -2005,7 +2005,7 @@ fp1_jomsvikings.0044 = {
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = major_stress_impact_loss cynical = major_stress_impact_loss
zealous = major_stress_impact_gain zealous = major_stress_impact_gain
} }

View file

@ -580,7 +580,7 @@ fp1_major_decisions.0031 = {
# Get your bonus troops. # Get your bonus troops.
forge_the_jomsvikings_maa_reward_effect = yes forge_the_jomsvikings_maa_reward_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
# Usually bad form to give stress impact on single event options, but if you're cynical and taking this option, you *know* you're doing it for purely cynical reasons. # Usually bad form to give stress impact on single event options, but if you're cynical and taking this option, you *know* you're doing it for purely cynical reasons.
zealous = massive_stress_impact_loss zealous = massive_stress_impact_loss
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
@ -713,7 +713,7 @@ fp1_major_decisions.0033 = {
show_as_tooltip = { show_as_tooltip = {
scope:founder.faith = { scope:founder.faith = {
change_fervor = { change_fervor = {
value = 10 value = significant_fervor_gain
desc = fervor_gain_holy_order_founded desc = fervor_gain_holy_order_founded
} }
} }
@ -898,7 +898,7 @@ fp1_major_decisions.1001 = {
custom_tooltip = fp1_major_decisions.1001.a.tt custom_tooltip = fp1_major_decisions.1001.a.tt
trigger_event = fp1_major_decisions.1002 trigger_event = fp1_major_decisions.1002
stress_impact = { stress_and_fulfillment_impact = {
humble = major_stress_impact_loss humble = major_stress_impact_loss
paranoid = major_stress_impact_loss paranoid = major_stress_impact_loss
honest = major_stress_impact_loss honest = major_stress_impact_loss
@ -931,7 +931,7 @@ fp1_major_decisions.1001 = {
# Gain some very minor stress loss for opting out. # Gain some very minor stress loss for opting out.
## Stress loss handled in stress_impact. ## Stress loss handled in stress_impact.
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_loss base = minor_stress_loss
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
@ -1041,7 +1041,7 @@ fp1_major_decisions.1002 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = medium_stress_impact_loss cynical = medium_stress_impact_loss
humble = major_stress_impact_loss humble = major_stress_impact_loss
} }
@ -1079,7 +1079,7 @@ fp1_major_decisions.1002 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = major_stress_impact_loss humble = major_stress_impact_loss
zealous = massive_stress_impact_loss zealous = massive_stress_impact_loss
} }
@ -1114,7 +1114,7 @@ fp1_major_decisions.1002 = {
has_character_modifier = high_queen_of_the_seas_fp1_modifier has_character_modifier = high_queen_of_the_seas_fp1_modifier
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = massive_stress_gain base = massive_stress_gain
paranoid = major_stress_impact_loss paranoid = major_stress_impact_loss
honest = major_stress_impact_gain honest = major_stress_impact_gain
@ -1122,7 +1122,7 @@ fp1_major_decisions.1002 = {
} }
## Ordinary stress otherwise. ## Ordinary stress otherwise.
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
paranoid = major_stress_impact_loss paranoid = major_stress_impact_loss
honest = major_stress_impact_gain honest = major_stress_impact_gain
} }
@ -1173,7 +1173,7 @@ fp1_major_decisions.1002 = {
# The court is confused and afraid. # The court is confused and afraid.
fp1_major_decisions_1002_courtiers_terrified_effect = yes fp1_major_decisions_1002_courtiers_terrified_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
vengeful = major_stress_impact_loss vengeful = major_stress_impact_loss
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
} }
@ -1207,7 +1207,7 @@ fp1_major_decisions.1002 = {
# The court is confused and afraid. # The court is confused and afraid.
fp1_major_decisions_1002_courtiers_terrified_effect = yes fp1_major_decisions_1002_courtiers_terrified_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
cynical = medium_stress_impact_loss cynical = medium_stress_impact_loss
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
zealous = medium_stress_impact_gain zealous = medium_stress_impact_gain

View file

@ -227,7 +227,7 @@ fp1_other_decisions.0003 = {
} }
right_portrait = { right_portrait = {
character = scope:unlucky_guest character = scope:unlucky_guest
animation = fear animation = dead
} }
override_background = { reference = temple } override_background = { reference = temple }
@ -253,6 +253,8 @@ fp1_other_decisions.0003 = {
# Get the party (audibly) started. # Get the party (audibly) started.
play_music_cue = "mx_cue_banquet" play_music_cue = "mx_cue_banquet"
scope:blotter.faith.religious_head ?= { save_scope_as = blotter_hof }
# Is it somebody specific's death day? # Is it somebody specific's death day?
if = { if = {
limit = { limit = {
@ -357,8 +359,7 @@ fp1_other_decisions.0003 = {
} }
every_in_list = { every_in_list = {
variable = gf_guests_rejecting_invite_list variable = gf_guests_rejecting_invite_list
# TIT-25457 remove_from_list = happified_character_subjects_list
remove_from_list = happified_title_subjects_list
} }
} }
# Set up var:gf_faith for custom loc to work; not used in strictly every permutation, but doesn't really need an if gate on it. # Set up var:gf_faith for custom loc to work; not used in strictly every permutation, but doesn't really need an if gate on it.
@ -380,49 +381,49 @@ fp1_other_decisions.0003 = {
add_piety = var:gf_piety_value add_piety = var:gf_piety_value
remove_variable = gf_piety_value remove_variable = gf_piety_value
} }
} ## Big RIP, scope:unlucky_guest.
## Big RIP, scope:unlucky_guest.
if = {
limit = { exists = scope:unlucky_guest }
# Sort opinions and kinslaying.
add_kinslayer_trait_or_nothing_effect = { VICTIM = scope:unlucky_guest}
execute_opinion_effect = {
VICTIM = scope:unlucky_guest
EXECUTIONER = scope:blotter
}
# Are you HumSac'ing the HoF of a faith that doesn't practice HumSac?
## We hide this, since it's too late for you to do anything about now and it's more fun/terrifying to find out about it *after* the sacrifice.
hidden_effect = {
humsacd_a_hof_effect = {
SACRIFICER = scope:blotter
SACRIFICED_HOF = scope:unlucky_guest
}
}
## And are you actually humsac'ing your *OWN* HoF?
if = { if = {
limit = { scope:blotter.faith.religious_head = scope:unlucky_guest } limit = { exists = scope:unlucky_guest }
# Inform players that they're an abysmal, abysmal faith adherent. # Sort opinions and kinslaying.
every_player = { add_kinslayer_trait_or_nothing_effect = { VICTIM = scope:unlucky_guest }
limit = { execute_opinion_effect = {
this != scope:blotter VICTIM = scope:unlucky_guest
faith = scope:unlucky_guest.faith EXECUTIONER = scope:blotter
}
# Are you HumSac'ing the HoF of a faith that doesn't practice HumSac?
## We hide this, since it's too late for you to do anything about now and it's more fun/terrifying to find out about it *after* the sacrifice.
hidden_effect = {
humsacd_a_hof_effect = {
SACRIFICER = scope:blotter
SACRIFICED_HOF = scope:unlucky_guest
} }
trigger_event = fp1_other_decisions.0023
} }
# Update scope:blotter's HumSac'd HoFs kill tally manually, since we're not going through the usual effect. ## And are you actually humsac'ing your *OWN* HoF?
add_to_variable_list = { if = {
name = humsacd_hofs limit = { scope:blotter.faith.religious_head ?= scope:unlucky_guest }
target = scope:unlucky_guest.faith # Inform players that they're an abysmal, abysmal faith adherent.
} every_player = {
# And tell scope:blotter they dun goofed. limit = {
trigger_event = { this != scope:blotter
id = fp1_other_decisions.0024 faith = scope:unlucky_guest.faith
# We give it a day's delay, since they _might_ have taken a conversion option in the event itself, in which case the follow-up event is invalid. }
days = 1 trigger_event = fp1_other_decisions.0023
}
# Update scope:blotter's HumSac'd HoFs kill tally manually, since we're not going through the usual effect.
add_to_variable_list = {
name = humsacd_hofs
target = scope:unlucky_guest.faith
}
# And tell scope:blotter they dun goofed.
trigger_event = {
id = fp1_other_decisions.0024
# We give it a day's delay, since they _might_ have taken a conversion option in the event itself, in which case the follow-up event is invalid.
days = 1
}
} }
} }
# How exactly do they die? # How exactly do they die?
scope:unlucky_guest = { scope:unlucky_guest ?= {
# Cannibalist Germanic pagans will hang them, then eat them. # Cannibalist Germanic pagans will hang them, then eat them.
trigger_event = fp1_other_decisions.1000 trigger_event = fp1_other_decisions.1000
if = { if = {
@ -596,7 +597,7 @@ fp1_other_decisions.0003 = {
} }
hidden_effect = { hidden_effect = {
every_in_list = { every_in_list = {
list = happified_title_subjects_list list = happified_character_subjects_list
limit = { limit = {
# Filter out lowborns. # Filter out lowborns.
exists = dynasty exists = dynasty
@ -617,10 +618,8 @@ fp1_other_decisions.0003 = {
name = fp1_other_decisions.0003.a name = fp1_other_decisions.0003.a
# Only available if you follow the scope:gf_faith & have priests to impress at all. # Only available if you follow the scope:gf_faith & have priests to impress at all.
trigger = { trigger = {
faith = { faith = scope:gf_faith
this = scope:gf_faith rite = { rite_has_doctrine = doctrine_theocracy_temporal }
has_doctrine = doctrine_theocracy_temporal
}
} }
scope:activity = { scope:activity = {
@ -633,7 +632,7 @@ fp1_other_decisions.0003 = {
# Your commitment to ritual earns you opinion with the priestly classes. # Your commitment to ritual earns you opinion with the priestly classes.
if = { if = {
limit = { limit = {
any_learning_councillor = { exists = this } any_learning_councillor = {}
} }
every_learning_councillor = { every_learning_councillor = {
add_opinion = { add_opinion = {
@ -665,7 +664,7 @@ fp1_other_decisions.0003 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = major_stress_impact_loss zealous = major_stress_impact_loss
cynical = major_stress_impact_gain cynical = major_stress_impact_gain
} }
@ -718,7 +717,7 @@ fp1_other_decisions.0003 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_loss arrogant = medium_stress_impact_loss
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
} }
@ -764,7 +763,7 @@ fp1_other_decisions.0003 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = major_stress_impact_loss humble = major_stress_impact_loss
arrogant = major_stress_impact_gain arrogant = major_stress_impact_gain
} }
@ -807,7 +806,7 @@ fp1_other_decisions.0003 = {
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_loss arrogant = major_stress_impact_loss
humble = major_stress_impact_gain humble = major_stress_impact_gain
} }
@ -855,7 +854,7 @@ fp1_other_decisions.0003 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = major_stress_impact_loss humble = major_stress_impact_loss
arrogant = major_stress_impact_gain arrogant = major_stress_impact_gain
} }
@ -955,26 +954,7 @@ fp1_other_decisions.0003 = {
# Converting outside of your religious family, you're a heathen. # Converting outside of your religious family, you're a heathen.
else_if = { else_if = {
limit = { limit = {
OR = { scope:old_faith = { faith_is_in_same_rf = { FAITH = scope:gf_faith } }
AND = {
scope:old_faith.religion = { is_in_family = rf_eastern }
NOT = {
scope:gf_faith.religion = { is_in_family = rf_eastern }
}
}
AND = {
scope:old_faith.religion = { is_in_family = rf_pagan }
NOT = {
scope:gf_faith.religion = { is_in_family = rf_pagan }
}
}
AND = {
scope:old_faith.religion = { is_in_family = rf_abrahamic }
NOT = {
scope:gf_faith.religion = { is_in_family = rf_abrahamic }
}
}
}
} }
give_nickname = nick_the_heathen give_nickname = nick_the_heathen
} }
@ -985,7 +965,7 @@ fp1_other_decisions.0003 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_loss trusting = medium_stress_impact_loss
cynical = major_stress_impact_loss cynical = major_stress_impact_loss
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -1096,7 +1076,7 @@ fp1_other_decisions.0011 = {
# Get some opinion with scope:blotter for turning up. # Get some opinion with scope:blotter for turning up.
show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes } show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
gregarious = medium_stress_impact_loss gregarious = medium_stress_impact_loss
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
@ -1136,7 +1116,7 @@ fp1_other_decisions.0011 = {
custom_tooltip = fp1_other_decisions.0011.b.tt custom_tooltip = fp1_other_decisions.0011.b.tt
gruesome_festivals_turn_down_invitation_effect = yes gruesome_festivals_turn_down_invitation_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_loss vengeful = minor_stress_impact_loss
shy = medium_stress_impact_loss shy = medium_stress_impact_loss
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
@ -1177,7 +1157,7 @@ fp1_other_decisions.0011 = {
# Get some opinion with scope:blotter for turning up. # Get some opinion with scope:blotter for turning up.
show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes } show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
gregarious = medium_stress_impact_loss gregarious = medium_stress_impact_loss
sadistic = medium_stress_impact_loss sadistic = medium_stress_impact_loss
@ -1229,7 +1209,7 @@ fp1_other_decisions.0011 = {
# Get some opinion with scope:blotter for turning up. # Get some opinion with scope:blotter for turning up.
show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes } show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
gregarious = medium_stress_impact_loss gregarious = medium_stress_impact_loss
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
@ -1282,7 +1262,7 @@ fp1_other_decisions.0011 = {
custom_tooltip = fp1_other_decisions.0011.e.tt custom_tooltip = fp1_other_decisions.0011.e.tt
gruesome_festivals_turn_down_invitation_effect = yes gruesome_festivals_turn_down_invitation_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_loss vengeful = minor_stress_impact_loss
shy = medium_stress_impact_loss shy = medium_stress_impact_loss
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
@ -1401,29 +1381,32 @@ fp1_other_decisions.0012 = {
NOT = { exists = scope:decliner_1 } NOT = { exists = scope:decliner_1 }
} }
save_scope_as = decliner_1 save_scope_as = decliner_1
add_to_list = decliners_list
} }
else_if = { else_if = {
limit = { limit = {
NOT = { NOR = {
this = scope:decliner_1 this = scope:decliner_1
exists = scope:decliner_2 exists = scope:decliner_2
} }
} }
save_scope_as = decliner_2 save_scope_as = decliner_2
add_to_list = decliners_list
} }
else_if = { else_if = {
limit = { limit = {
NOT = { NOR = {
this = scope:decliner_1 this = scope:decliner_1
this = scope:decliner_2 this = scope:decliner_2
exists = scope:decliner_3 exists = scope:decliner_3
} }
} }
save_scope_as = decliner_3 save_scope_as = decliner_3
add_to_list = decliners_list
} }
else_if = { else_if = {
limit = { limit = {
NOT = { NOR = {
this = scope:decliner_1 this = scope:decliner_1
this = scope:decliner_2 this = scope:decliner_2
this = scope:decliner_3 this = scope:decliner_3
@ -1431,10 +1414,11 @@ fp1_other_decisions.0012 = {
} }
} }
save_scope_as = decliner_4 save_scope_as = decliner_4
add_to_list = decliners_list
} }
else_if = { else_if = {
limit = { limit = {
NOT = { NOR = {
this = scope:decliner_1 this = scope:decliner_1
this = scope:decliner_2 this = scope:decliner_2
this = scope:decliner_3 this = scope:decliner_3
@ -1443,26 +1427,9 @@ fp1_other_decisions.0012 = {
} }
} }
save_scope_as = decliner_5 save_scope_as = decliner_5
add_to_list = decliners_list
} }
} }
# Add them to a list for easy general management if there's more than one.
scope:decliner_1 = { add_to_list = decliners_list }
if = {
limit = { exists = scope:decliner_2 }
add_to_list = decliners_list
}
if = {
limit = { exists = scope:decliner_3 }
add_to_list = decliners_list
}
if = {
limit = { exists = scope:decliner_4 }
add_to_list = decliners_list
}
if = {
limit = { exists = scope:decliner_5 }
add_to_list = decliners_list
}
# Clean up the variable list. # Clean up the variable list.
gruesome_sacrifices_clean_up_declining_guests_effect = yes gruesome_sacrifices_clean_up_declining_guests_effect = yes
} }
@ -1494,7 +1461,7 @@ fp1_other_decisions.0012 = {
OPINION = -30 OPINION = -30
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
} }
@ -1552,7 +1519,7 @@ fp1_other_decisions.0012 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = major_stress_impact_loss forgiving = major_stress_impact_loss
vengeful = major_stress_impact_gain vengeful = major_stress_impact_gain
} }
@ -1591,7 +1558,7 @@ fp1_other_decisions.0012 = {
# But it was still a slight. # But it was still a slight.
add_prestige = minor_prestige_loss add_prestige = minor_prestige_loss
stress_impact = { stress_and_fulfillment_impact = {
forgiving = medium_stress_impact_loss forgiving = medium_stress_impact_loss
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
} }
@ -1661,7 +1628,7 @@ fp1_other_decisions.0021 = {
} }
right_portrait = { right_portrait = {
character = scope:sacrificed_hof character = scope:sacrificed_hof
animation = fear animation = dead
} }
override_background = { reference = throne_room } override_background = { reference = throne_room }
@ -1732,7 +1699,7 @@ fp1_other_decisions.0022 = {
} }
right_portrait = { right_portrait = {
character = scope:sacrificed_hof character = scope:sacrificed_hof
animation = fear animation = dead
} }
override_background = { reference = throne_room } override_background = { reference = throne_room }
@ -1811,7 +1778,7 @@ scripted_effect gruesome_festivals_own_faith_martyred_own_hof_effect = {
add_character_modifier = { modifier = ultimate_blasphemer_modifier } add_character_modifier = { modifier = ultimate_blasphemer_modifier }
if = { if = {
limit = { limit = {
faith = { has_doctrine_parameter = excommunication_active } rite = { rite_has_parameter = excommunication_active }
} }
# Add excommunication directly, since no one specific requested this. # Add excommunication directly, since no one specific requested this.
add_excommunication_actual_effect = yes add_excommunication_actual_effect = yes
@ -1827,7 +1794,7 @@ fp1_other_decisions.0023 = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:unlucky_guest.faith = { has_doctrine_parameter = excommunication_active } scope:unlucky_guest.rite = { rite_has_parameter = excommunication_active }
} }
desc = fp1_other_decisions.0023.desc.has_excommunication desc = fp1_other_decisions.0023.desc.has_excommunication
} }
@ -1842,7 +1809,7 @@ fp1_other_decisions.0023 = {
} }
right_portrait = { right_portrait = {
character = scope:unlucky_guest character = scope:unlucky_guest
animation = fear animation = dead
} }
override_background = { reference = throne_room } override_background = { reference = throne_room }
@ -1894,7 +1861,7 @@ fp1_other_decisions.0024 = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:unlucky_guest.faith = { has_doctrine_parameter = excommunication_active } scope:unlucky_guest.rite = { rite_has_parameter = excommunication_active }
} }
desc = fp1_other_decisions.0024.desc.has_excommunication desc = fp1_other_decisions.0024.desc.has_excommunication
} }
@ -1909,7 +1876,7 @@ fp1_other_decisions.0024 = {
} }
right_portrait = { right_portrait = {
character = scope:unlucky_guest character = scope:unlucky_guest
animation = fear animation = dead
} }
override_background = { reference = throne_room } override_background = { reference = throne_room }
@ -1921,6 +1888,7 @@ fp1_other_decisions.0024 = {
immediate = { immediate = {
gruesome_festivals_martyred_a_hof_effect = { SACRIFICED_HOF = scope:unlucky_guest } gruesome_festivals_martyred_a_hof_effect = { SACRIFICED_HOF = scope:unlucky_guest }
gruesome_festivals_own_faith_martyred_own_hof_effect = yes gruesome_festivals_own_faith_martyred_own_hof_effect = yes
change_spiritual_fulfillment = massive_spiritual_fulfillment_loss
} }
# _What have I done?!_ # _What have I done?!_
@ -2128,7 +2096,7 @@ fp1_other_decisions.0101 = {
custom_tooltip = fp1_other_decisions.0101.a.tt custom_tooltip = fp1_other_decisions.0101.a.tt
trigger_event = fp1_other_decisions.0111 trigger_event = fp1_other_decisions.0111
stress_impact = { stress_and_fulfillment_impact = {
humble = medium_stress_impact_loss humble = medium_stress_impact_loss
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
} }
@ -2164,7 +2132,7 @@ fp1_other_decisions.0101 = {
custom_tooltip = fp1_other_decisions.0101.b.tt custom_tooltip = fp1_other_decisions.0101.b.tt
trigger_event = fp1_other_decisions.0111 trigger_event = fp1_other_decisions.0111
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
vengeful = medium_stress_impact_loss vengeful = medium_stress_impact_loss
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
@ -2210,7 +2178,7 @@ fp1_other_decisions.0101 = {
custom_tooltip = fp1_other_decisions.0101.c.tt custom_tooltip = fp1_other_decisions.0101.c.tt
trigger_event = fp1_other_decisions.0111 trigger_event = fp1_other_decisions.0111
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_loss arrogant = major_stress_impact_loss
humble = major_stress_impact_gain humble = major_stress_impact_gain
} }
@ -2283,6 +2251,7 @@ scripted_effect fp1_apply_stele_effects = {
gender_female_chance = 50 gender_female_chance = 50
dynasty = none dynasty = none
faith = $LOCATION$.faith faith = $LOCATION$.faith
rite = $LOCATION$.rite
culture = $LOCATION$.culture culture = $LOCATION$.culture
location = $LOCATION$.title_province location = $LOCATION$.title_province
save_scope_as = carver save_scope_as = carver

View file

@ -108,19 +108,19 @@ scripted_effect scandinavian_adventurer_start_war_effect = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
faith = { has_doctrine = doctrine_gender_male_dominated } rite = { rite_has_doctrine = doctrine_gender_male_dominated }
} }
desc = VIKING_ARMY_MEN_NAME desc = VIKING_ARMY_MEN_NAME
} }
triggered_desc = { triggered_desc = {
trigger = { trigger = {
faith = { has_doctrine = doctrine_gender_female_dominated } rite = { rite_has_doctrine = doctrine_gender_female_dominated }
} }
desc = VIKING_ARMY_WOMEN_NAME desc = VIKING_ARMY_WOMEN_NAME
} }
triggered_desc = { triggered_desc = {
trigger = { trigger = {
faith = { has_doctrine = doctrine_gender_equal } rite = { rite_has_doctrine = doctrine_gender_equal }
} }
desc = VIKING_ARMY_NEUTRAL_NAME desc = VIKING_ARMY_NEUTRAL_NAME
} }

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,971 +0,0 @@
namespace = fp1_tbc
##################################################
# #Scope:actor-side Events
# 0001 - 0040 Bout Maintenance & Setup
# 0041 - 0060 Scope:actor Results
#
# #Scope:recipient-side Events
# 0101 - 0110 Champion Selection
# 0111 - 0130 Scope:recipient Results
##################################################
##################################################
# SCOPE:ACTOR-SIDE EVENTS
##################################################
# Bout Maintenance & Setup
# by Ewan Cowhig Croft
# 0001 - 0040
##################################################
# Everything is set for the bout to begin!
fp1_tbc.0001 = {
type = character_event
window = duel_event
title = fp1_tbc.0001.t
desc = {
desc = fp1_tbc.0001.desc.intro
first_valid = {
triggered_desc = {
trigger = { scope:champion = scope:recipient }
desc = fp1_tbc.0001.desc.recipient_fighting
}
desc = fp1_tbc.0001.desc.recipient_has_champion
}
desc = fp1_tbc.0001.desc.outro
}
theme = prison
left_portrait = {
character = scope:actor
scripted_animation = duel_wield_weapon
}
right_portrait = {
character = scope:champion
scripted_animation = duel_wield_weapon
}
override_background = { reference = terrain_scope }
trigger = {
# DLC check.
has_fp1_dlc_trigger = yes
# If, for any reason, scope:recipient has died or been imprisoned, then the bout is cancelled.
scope:recipient = {
is_alive = yes
is_imprisoned = no
}
# Check that scope:actor is still in a valid state to fight.
trial_by_combat_shown_and_not_invalid_trigger = yes
# And scope:champion likewise.
scope:champion = {
OR = {
this = scope:recipient
eligible_knight_to_champion_trial_by_combat_trigger = yes
}
}
}
on_trigger_fail = {
# Inform both parties that the duel has invalidated.
scope:actor = {
send_interface_toast = {
title = fp1_tbc.0001.trigger_failure.actor
left_icon = scope:recipient
}
}
scope:recipient = {
send_interface_toast = {
title = fp1_tbc.0001.trigger_failure.recipient
left_icon = scope:actor
}
}
# Reset scope:actor's cooldowns against scope:recipient.
scope:actor = {
remove_interaction_cooldown = challenge_to_trial_by_combat_interaction
remove_interaction_cooldown_against = {
interaction = challenge_to_trial_by_combat_interaction
target = scope:recipient
}
}
}
immediate = {
play_music_cue = "mx_cue_combat_stinger"
# Nab scope:champion's location for terrain.
scope:champion.location = {
save_scope_as = background_terrain_scope
# And scope:champion's location name for loc.
barony = { save_scope_as = duel_location }
}
}
# Almost there.
option = {
name = fp1_tbc.0001.a
# Inform scope:actor that the bout will begin immediately.
custom_tooltip = fp1_tbc.0001.a.tt
# Configure the bout.
## Tribals strip to the waist.
single_combat_apply_default_shirtlessness_effect = {
ATTACKER = scope:actor
DEFENDER = scope:champion
}
## Deadly fights.
if = {
limit = { scope:tbc_death = yes }
configure_start_single_combat_effect = {
SC_INITIATOR = scope:actor
SC_ATTACKER = scope:actor
SC_DEFENDER = scope:champion
FATALITY = always
FIXED = no
LOCALE = terrain_scope
OUTPUT_EVENT = fp1_tbc.0011
INVALIDATION_EVENT = fp1_tbc.0021
}
}
## Non-deadly fights.
else = {
configure_start_single_combat_effect = {
SC_INITIATOR = scope:actor
SC_ATTACKER = scope:actor
SC_DEFENDER = scope:champion
FATALITY = no
FIXED = no
LOCALE = terrain_scope
OUTPUT_EVENT = fp1_tbc.0011
INVALIDATION_EVENT = fp1_tbc.0021
}
}
# No stress for single-option events.
ai_chance = {
# AI will always choose single option.
base = 100
}
}
}
scripted_effect fp1_tbc_non_lethal_results_effect = {
if = {
limit = {
scope:recipient = { is_alive = yes }
}
# TbC ends in cash settlement.
if = {
limit = { scope:tbc_gold = yes }
fp1_tbc_gold_effect = {
TBC_VICTOR = scope:actor
TBC_LOSER = scope:recipient
}
}
# TbC ends in favour settlement.
if = {
limit = { scope:tbc_weak_hook = yes }
fp1_tbc_hook_effect = {
TBC_VICTOR = scope:actor
TBC_LOSER = scope:recipient
}
}
# TbC ends in mandated humiliation.
if = {
limit = { scope:tbc_humiliation = yes }
fp1_tbc_humiliation_effect = {
TBC_LOSER = scope:recipient
TBC_VICTOR = scope:actor
}
}
}
}
scripted_effect fp1_tbc_consume_imprisonment_reasons_effect = {
if = {
limit = {
scope:actor = { is_alive = yes }
scope:recipient = { is_alive = yes }
}
scope:actor = { consume_imprisonment_reasons = scope:recipient }
}
}
# Bout has ended, inform affected parties.
fp1_tbc.0011 = {
hidden = yes
immediate = {
# If any clothes were stripped, put 'em back on.
single_combat_clean_shirtlessness_effect = {
ATTACKER = scope:actor
DEFENDER = scope:champion
}
# Did scope:actor win?
if = {
limit = { scope:sc_victor = scope:actor }
# Apply effects; we do this separately so that there's not a weird day's delay.
fp1_tbc_non_lethal_results_effect = yes
# And send out the ending events.
scope:actor = {
trigger_event = {
id = fp1_tbc.0041
days = 1
}
}
scope:recipient = {
trigger_event = {
id = fp1_tbc.0121
days = 1
}
}
}
# Or was it scope:champion?
else_if = {
limit = { scope:sc_victor = scope:champion }
# If scope:actor is still alive, they gain stress.
if = {
limit = {
scope:actor = { is_alive = yes }
}
fp1_tbc_actor_defeated_effect = {
TBC_LOSER = scope:actor
TBC_VICTOR = scope:recipient
}
}
# And send out the ending events.
scope:actor = {
trigger_event = {
id = fp1_tbc.0051
days = 1
}
}
scope:recipient = {
trigger_event = {
id = fp1_tbc.0111
days = 1
}
}
}
# If both parties are alive, and aren't good losers/don't have good reasons to forgive each other, then we mark them as potential rivals.
if = {
limit = {
scope:actor = {
is_alive = yes
NOR = {
has_trait = humble
has_trait = content
has_trait = just
has_trait = forgiving
}
}
scope:recipient = {
is_alive = yes
NOR = {
has_trait = humble
has_trait = content
has_trait = just
has_trait = forgiving
}
can_set_relation_potential_rival_trigger = { CHARACTER = scope:actor }
}
}
scope:actor = { set_relation_potential_rival = scope:recipient }
}
}
}
# Bout has invalidated, inform affected parties.
fp1_tbc.0021 = {
hidden = yes
immediate = {
# Put your shirts back on.
single_combat_clean_shirtlessness_effect = {
ATTACKER = scope:actor
DEFENDER = scope:recipient
}
# Inform both parties that the duel has invalidated.
scope:actor = {
send_interface_toast = {
title = fp1_tbc.0021.trigger_failure.actor
left_icon = scope:recipient
}
}
scope:recipient = {
send_interface_toast = {
title = fp1_tbc.0021.trigger_failure.recipient
left_icon = scope:actor
}
}
# Reset scope:actor's cooldowns against scope:recipient.
scope:actor = {
remove_interaction_cooldown = challenge_to_trial_by_combat_interaction
remove_interaction_cooldown_against = {
interaction = challenge_to_trial_by_combat_interaction
target = scope:recipient
}
}
}
}
# Scope:recipient has declined.
fp1_tbc.0031 = {
type = letter_event
opening = fp1_tbc.0031.opening
desc = fp1_tbc.0031.desc
sender = scope:recipient
option = { name = fp1_tbc.0031.a }
}
##################################################
# Scope:actor Results
# by Ewan Cowhig Croft
# 0041 - 0060
##################################################
# Scope:actor has won the bout.
fp1_tbc.0041 = {
type = character_event
title = fp1_tbc.0041.t
desc = {
desc = fp1_tbc.0041.desc.intro
# Scope:champion died in the fighting; no need to loc for a separate scope:champion, as they can't fight to the death.
triggered_desc = {
trigger = {
scope:champion = { is_alive = no }
}
desc = fp1_tbc.0041.desc.opponent_died
}
# Scope:champion is still alive.
triggered_desc = {
trigger = {
scope:champion = { is_alive = yes}
}
desc = {
first_valid = {
# Scope:recipient fought for themselves.
triggered_desc = {
trigger = { scope:champion = scope:recipient }
desc = fp1_tbc.0041.desc.opponent_lives.recipient_fighting
}
# Scope:recipient had a designated champion instead.
desc = fp1_tbc.0041.desc.opponent_lives.recipient_has_champion
}
}
}
# Reward, if anything.
first_valid = {
# Gold.
triggered_desc = {
trigger = { scope:tbc_gold = yes }
desc = fp1_tbc.0041.desc.reward.gold
}
# Weak hook.
triggered_desc = {
trigger = { scope:tbc_weak_hook = yes }
desc = fp1_tbc.0041.desc.reward.weak_hook
}
# Humiliation.
triggered_desc = {
trigger = { scope:tbc_humiliation = yes }
desc = fp1_tbc.0041.desc.reward.humiliation
}
# No outcome for death, since that's handled more succinctly above.
}
desc = fp1_tbc.0041.desc.outro
}
theme = prison
left_portrait = {
character = scope:actor
animation = personality_bold
}
right_portrait = {
character = scope:recipient
animation = shock
}
override_background = { reference = throne_room }
trigger = {
# DLC check.
has_fp1_dlc_trigger = yes
# Juuuust need to double-check that they're actually alive.
is_alive = yes
}
immediate = {
# Show duel results from the player's POV.
show_as_tooltip = { fp1_tbc_non_lethal_results_effect = yes }
# Sadly, we have to apply some effects here instead of in the initial output event in order to not break tooltips.
single_combat_have_slain_kin_effect = {
ATTACKER = scope:actor
DEFENDER = scope:champion
}
fp1_tbc_consume_imprisonment_reasons_effect = yes
}
# The bout closes.
option = {
name = fp1_tbc.0041.a
# No stress for single-option events.
ai_chance = {
# AI will always choose single option.
base = 100
}
}
}
# Scope:actor has lost the bout.
fp1_tbc.0051 = {
type = character_event
title = fp1_tbc.0051.t
desc = {
desc = fp1_tbc.0051.desc.intro
# Scope:actor is still alive (alternatives not included because, well...).
first_valid = {
# Scope:recipient fought for themselves.
triggered_desc = {
trigger = { scope:champion = scope:recipient }
desc = fp1_tbc.0051.desc.opponent_lives.recipient_fighting
}
# Scope:recipient had a designated champion instead.
desc = fp1_tbc.0051.desc.opponent_lives.recipient_has_champion
}
desc = fp1_tbc.0051.desc.outro
}
theme = prison
left_portrait = {
character = scope:actor
animation = shock
}
right_portrait = {
character = scope:recipient
animation = personality_bold
}
override_background = { reference = throne_room }
trigger = {
# DLC check.
has_fp1_dlc_trigger = yes
# Juuuust need to double-check that they're actually alive.
is_alive = yes
}
immediate = {
# Show duel results from the player's POV.
if = {
limit = {
scope:actor = { is_alive = yes }
}
fp1_tbc_actor_defeated_effect = {
TBC_LOSER = scope:actor
TBC_VICTOR = scope:recipient
}
}
show_as_tooltip = {
fp1_tbc_consume_imprisonment_reasons_effect = yes
single_combat_have_slain_kin_effect = {
ATTACKER = scope:actor
DEFENDER = scope:champion
}
}
}
# The bout closes.
option = {
name = fp1_tbc.0051.a
# No stress for single-option events.
ai_chance = {
# AI will always choose single option.
base = 100
}
}
}
##################################################
# SCOPE:RECIPIENT-SIDE EVENTS
##################################################
# Champion Selection
# by Ewan Cowhig Croft
# 0101 - 0110
##################################################
scripted_trigger fp1_tbc_knights_with_high_opinion_filter_trigger = {
# Has a ludicrously high opinion of scope:recipient.
opinion = {
target = scope:recipient
value >= 95
}
# And isn't one of the other knights presented.
NOR = {
AND = {
exists = scope:knight_best
this = scope:knight_best
}
AND = {
exists = scope:knight_exotic
this = scope:knight_exotic
}
AND = {
exists = scope:knight_alternative
this = scope:knight_alternative
}
}
}
# Scope:recipient has accepted a challenge to a Trial-by-Combat & must designate a champion due to ineligibility.
fp1_tbc.0101 = {
type = character_event
title = fp1_tbc.0101.t
desc = fp1_tbc.0101.desc
theme = prison
left_portrait = {
character = scope:recipient
animation = disbelief
}
right_portrait = {
character = scope:knight_best
animation = personality_honorable
}
lower_left_portrait = scope:knight_alternative
lower_center_portrait = scope:knight_exotic
lower_right_portrait = scope:knight_opinion
override_background = { reference = throne_room }
trigger = {
# DLC check.
has_fp1_dlc_trigger = yes
}
immediate = {
play_music_cue = "mx_cue_prison"
# First, grab all available knights that are suitable for the Trial-by-Combat.
every_knight = {
limit = {
eligible_knight_to_champion_trial_by_combat_trigger = yes
NOT = {
has_court_position = champion_court_position #EP1: Pluck out the champion title holder
}
}
add_to_list = fp1_tbc_valid_knights_list
}
# Then, sort through the list, selecting the knight with the highest prowess.
ordered_in_list = {
list = fp1_tbc_valid_knights_list
order_by = prowess
save_scope_as = knight_best
}
# After that, we grab the most interesting knight (looking at assorted prowess-ish pecial traits and factoring for those) who isn't scope:knight_best.
ordered_in_list = {
list = fp1_tbc_valid_knights_list
limit = {
NOT = {
exists = scope:knight_best
this = scope:knight_best
}
has_relevant_special_single_combat_trait_trigger = yes
}
order_by = sce_has_single_combat_special_traits_value
save_scope_as = knight_exotic
}
#EP1: Fetch your champion if they exist
if = {
limit = {
employs_court_position = champion_court_position
any_court_position_holder = {
type = champion_court_position
is_physically_able_adult = yes # eligible_knight_to_champion_trial_by_combat_trigger checks for prowess, and its not mandatory that the champ has high value
}
}
random_court_position_holder = {
type = champion_court_position
save_scope_as = knight_alternative #same scope name is used due to limited portrait logic
}
}
# Then take the second highest-prowess knight who isn't scope:knight_best or scope:knight_exotic.
# EP1: Only do this if the court position of champion isn't already filled
ordered_in_list = {
list = fp1_tbc_valid_knights_list
limit = {
NOR = {
this = scope:knight_best
AND = {
exists = scope:knight_exotic
this = scope:knight_exotic
}
}
NOT = { employs_court_position = champion_court_position }
}
order_by = prowess
save_scope_as = knight_alternative
}
# Next, if we've got any knight who isn't scope:knight_best, scope:knight_exotic, or scope:knight_alternative, and who would literally murder for you, we grab them.
if = {
limit = {
any_in_list = {
list = fp1_tbc_valid_knights_list
fp1_tbc_knights_with_high_opinion_filter_trigger = yes
}
}
# First, add them to a sub-list.
every_in_list = {
list = fp1_tbc_valid_knights_list
limit = { fp1_tbc_knights_with_high_opinion_filter_trigger = yes }
add_to_list = fp1_tbc_high_opinion_knights_list
}
# Next, try to pluck out knightly soulmates.
if = {
limit = {
any_in_list = {
list = fp1_tbc_high_opinion_knights_list
any_relation = {
type = soulmate
this = scope:recipient
}
}
}
random_in_list = {
list = fp1_tbc_high_opinion_knights_list
limit = {
any_relation = {
type = soulmate
this = scope:recipient
}
}
save_scope_as = knight_opinion
}
}
# Otherwise, order by prowess and select the best.
else = {
ordered_in_list = {
list = fp1_tbc_high_opinion_knights_list
order_by = prowess
save_scope_as = knight_opinion
}
}
}
# Finally, if shenanigans have somehow deprived us of a scope:knight_best, then we want to generate someone to fill that minimum slot.
if = {
limit = {
NOT = { exists = scope:knight_best }
}
create_character = {
gender_female_chance = root_soldier_female_chance
location = scope:recipient.capital_province
template = new_warrior_character
faith = scope:recipient.capital_county.faith
culture = scope:recipient.capital_county.culture
save_scope_as = knight_best
}
add_courtier = scope:knight_best
}
}
# Take the most skilled knight.
option = {
name = fp1_tbc.0101.a
trigger = {
exists = scope:knight_best
}
# Select scope:knight_best to represent you in the bout.
scope:knight_best = { save_scope_as = champion }
custom_tooltip = fp1_tbc.0101.a.tt
custom_tooltip = fp1_tbc.0101.bout_moves_forward
highlight_portrait = scope:knight_best
# RP/functional choice: no stress charge.
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = 0.75
ai_boldness = -0.5
}
}
}
# EP1: Take your already designated champion
option = {
name = fp1_ep1_tbc.0101.e
trigger = {
exists = scope:knight_alternative
scope:knight_alternative = { has_court_position = champion_court_position }
}
# Select scope:knight_best to represent you in the bout.
scope:knight_alternative = { save_scope_as = champion }
custom_tooltip = fp1_ep1_tbc.0101.e.tt
custom_tooltip = fp1_tbc.0101.bout_moves_forward
highlight_portrait = scope:knight_alternative
# RP/functional choice: no stress charge.
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = 0.75
ai_boldness = -0.5
}
}
}
# Take the next most skilled knight.
option = {
name = fp1_tbc.0101.b
trigger = {
exists = scope:knight_alternative
scope:knight_alternative = { NOT = { has_court_position = champion_court_position } }
}
# Select scope:knight_best to represent you in the bout.
scope:knight_alternative = { save_scope_as = champion }
custom_tooltip = fp1_tbc.0101.b.tt
custom_tooltip = fp1_tbc.0101.bout_moves_forward
highlight_portrait = scope:knight_alternative
# RP/functional choice: no stress charge.
ai_chance = {
# There's no reason for the AI to ever take this option, we offer it entirely for players who dislike/wish to preserve their best knight.
base = 0
}
}
# Take the knight with the most special traits that *isn't* the most skilled knight.
option = {
name = fp1_tbc.0101.c
trigger = { exists = scope:knight_opinion }
# Select scope:knight_best to represent you in the bout.
scope:knight_exotic = { save_scope_as = champion }
custom_tooltip = fp1_tbc.0101.c.tt
custom_tooltip = fp1_tbc.0101.bout_moves_forward
highlight_portrait = scope:knight_exotic
# RP/functional choice: no stress charge.
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = 0.5
ai_boldness = 0.25
}
}
}
# Take the knight who likes me the most.
option = {
name = fp1_tbc.0101.d
trigger = { exists = scope:knight_opinion}
# Select scope:knight_best to represent you in the bout.
scope:knight_opinion = { save_scope_as = champion }
custom_tooltip = fp1_tbc.0101.d.tt
custom_tooltip = fp1_tbc.0101.bout_moves_forward
highlight_portrait = scope:knight_opinion
# RP/functional choice: no stress charge.
ai_chance = {
base = 100
ai_value_modifier = {
ai_sociability = 0.5
ai_rationality = -0.75
}
}
}
# Then, we skip over to scope:actor to inform them what's up.
after = {
# Clean up any errant scopes we no longer need to avoid debug bloat.
clear_saved_scope = knight_best
if = {
limit = { exists = scope:knight_exotic }
clear_saved_scope = knight_exotic
}
if = {
limit = { exists = scope:knight_alternative }
clear_saved_scope = knight_alternative
}
if = {
limit = { exists = scope:knight_opinion }
clear_saved_scope = knight_opinion
}
# And transition.
scope:actor = { trigger_event = fp1_tbc.0001 }
}
}
fp1_tbc.0102 = {
desc = debug_main
theme = prison
option = {
name = interaction_debug_main
}
}
##################################################
# Scope:recipient Results
# by Ewan Cowhig Croft
# 0111 - 0130
##################################################
# Scope:recipient has won the bout.
fp1_tbc.0111 = {
type = character_event
title = fp1_tbc.0111.t
desc = {
desc = fp1_tbc.0111.desc.intro
# Scope:actor died in the fighting; we don't account for
triggered_desc = {
trigger = {
scope:actor = { is_alive = no }
}
desc = fp1_tbc.0111.desc.opponent_died.recipient_fighting
}
# Scope:actor is still alive.
triggered_desc = {
trigger = {
scope:actor = { is_alive = yes}
}
desc = {
first_valid = {
# Scope:recipient fought for themselves.
triggered_desc = {
trigger = { scope:champion = scope:recipient }
desc = fp1_tbc.0111.desc.opponent_lives.recipient_fighting
}
# Scope:recipient had a designated champion instead.
desc = fp1_tbc.0111.desc.opponent_lives.recipient_has_champion
}
}
}
desc = fp1_tbc.0111.desc.outro
}
theme = prison
left_portrait = {
character = scope:recipient
animation = personality_bold
}
right_portrait = {
character = scope:actor
animation = shock
}
override_background = { reference = throne_room }
trigger = {
# DLC check.
has_fp1_dlc_trigger = yes
# Juuuust need to double-check that they're actually alive.
is_alive = yes
}
immediate = {
# Show duel results from the player's POV.
if = {
limit = {
scope:actor = { is_alive = yes }
}
fp1_tbc_actor_defeated_effect = {
TBC_LOSER = scope:actor
TBC_VICTOR = scope:recipient
}
}
# Sadly, we have to apply some effects here instead of in the initial output event in order to not break tooltips.
single_combat_have_slain_kin_effect = {
ATTACKER = scope:actor
DEFENDER = scope:champion
}
fp1_tbc_consume_imprisonment_reasons_effect = yes
}
# The bout closes.
option = {
name = fp1_tbc.0111.a
# No stress for single-option events.
ai_chance = {
# AI will always choose single option.
base = 100
}
}
}
# Scope:recipient has lost the bout.
fp1_tbc.0121 = {
type = character_event
title = fp1_tbc.0121.t
desc = {
desc = fp1_tbc.0121.desc.intro
# We don't need to account for scope:champion dying in the fighting; if it was scope:recipient, then they're dead, and a separate champion cannot be challenged to a fight to the death.
# Scope:champion is still alive.
first_valid = {
# Scope:recipient fought for themselves.
triggered_desc = {
trigger = { scope:champion = scope:recipient }
desc = fp1_tbc.0121.desc.champion_lives.recipient_fighting
}
# Scope:recipient had a designated champion instead.
desc = fp1_tbc.0121.desc.champion_lives.recipient_has_champion
}
# Reward, if anything.
first_valid = {
# Gold.
triggered_desc = {
trigger = { scope:tbc_gold = yes }
desc = fp1_tbc.0121.desc.reward.gold
}
# Weak hook.
triggered_desc = {
trigger = { scope:tbc_weak_hook = yes }
desc = fp1_tbc.0121.desc.reward.weak_hook
}
# Humiliation.
triggered_desc = {
trigger = { scope:tbc_humiliation = yes }
desc = fp1_tbc.0121.desc.reward.humiliation
}
# No outcome for death, since that's handled more succinctly above.
}
desc = fp1_tbc.0121.desc.outro
}
theme = prison
left_portrait = {
character = scope:recipient
animation = shock
}
right_portrait = {
character = scope:actor
animation = personality_bold
}
override_background = { reference = throne_room }
trigger = {
# DLC check.
has_fp1_dlc_trigger = yes
# Juuuust need to double-check that they're actually alive.
is_alive = yes
}
immediate = {
# Show duel results from the player's POV.
show_as_tooltip = { fp1_tbc_non_lethal_results_effect = yes }
# Sadly, we have to apply some effects here instead of in the initial output event in order to not break tooltips.
fp1_tbc_consume_imprisonment_reasons_effect = yes
}
# The bout closes.
option = {
name = fp1_tbc.0121.a
# No stress for single-option events.
ai_chance = {
# AI will always choose single option.
base = 100
}
}
}

View file

@ -1,29 +0,0 @@
namespace = fp1_varangian_adventures
##################################################
# #Maintenance Events
# 0001 - 0010 Boost attacker control after the war.
##################################################
##################################################
# #Maintenance Events
##################################################
# Boost Attacker Control
# by Ewan Cowhig Croft
# 0001 - 0010
##################################################
# Boost control in newly conquered lands.
fp1_varangian_adventures.0001 = {
hidden = yes
immediate = {
every_realm_county = { change_county_control = 50 }
}
}

File diff suppressed because it is too large Load diff

View file

@ -179,7 +179,7 @@ fp1_yearly.2000 = {
#Standard checks. #Standard checks.
is_available_at_peace_adult = yes is_available_at_peace_adult = yes
NOT = { has_character_flag = had_event_fp1_yearly_2000 } NOT = { has_character_flag = had_event_fp1_yearly_2000 }
is_landed_or_landless_administrative = yes is_landed_or_landless_administrative_or_theocratic = yes
any_child = { any_child = {
suitable_child_to_leave = yes suitable_child_to_leave = yes
@ -263,7 +263,7 @@ fp1_yearly.2000 = {
INVALIDATION_EVENT = fp1_yearly.2002 INVALIDATION_EVENT = fp1_yearly.2002
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = major_stress_impact_gain craven = major_stress_impact_gain
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -298,7 +298,7 @@ fp1_yearly.2000 = {
option = { # Remind them of their duties option = { # Remind them of their duties
name = fp1_yearly.2000.b name = fp1_yearly.2000.b
stress_impact = { stress_and_fulfillment_impact = {
impatient = major_stress_impact_gain impatient = major_stress_impact_gain
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
@ -377,7 +377,7 @@ fp1_yearly.2000 = {
option = { # Bribe them option = { # Bribe them
name = fp1_yearly.2000.c name = fp1_yearly.2000.c
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
@ -406,7 +406,7 @@ fp1_yearly.2000 = {
option = { # Let them go, the fool... option = { # Let them go, the fool...
name = fp1_yearly.2000.d name = fp1_yearly.2000.d
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
stubborn = major_stress_impact_gain stubborn = major_stress_impact_gain
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
@ -759,7 +759,7 @@ fp1_yearly.2100 = {
OUTPUT_EVENT = fp1_yearly.2101 OUTPUT_EVENT = fp1_yearly.2101
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = medium_stress_impact_gain calm = medium_stress_impact_gain
@ -827,7 +827,7 @@ fp1_yearly.2100 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_gain arrogant = major_stress_impact_gain
sadistic = major_stress_impact_gain sadistic = major_stress_impact_gain
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
@ -898,7 +898,7 @@ fp1_yearly.2100 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = major_stress_impact_gain craven = major_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
sadistic = major_stress_impact_gain sadistic = major_stress_impact_gain
@ -1001,7 +1001,7 @@ fp1_yearly.2101 = {
PREGNANCY_CHANCE = pregnancy_chance PREGNANCY_CHANCE = pregnancy_chance
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
humble = major_stress_impact_gain humble = major_stress_impact_gain
@ -1033,7 +1033,7 @@ fp1_yearly.2101 = {
years = 30 years = 30
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
vengeful = major_stress_impact_gain vengeful = major_stress_impact_gain
arbitrary = medium_stress_impact_gain arbitrary = medium_stress_impact_gain
@ -1057,7 +1057,7 @@ fp1_yearly.2101 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
humble = major_stress_impact_gain humble = major_stress_impact_gain
@ -1086,7 +1086,7 @@ fp1_yearly.2101 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = major_stress_impact_gain vengeful = major_stress_impact_gain
arbitrary = medium_stress_impact_gain arbitrary = medium_stress_impact_gain
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
@ -1133,10 +1133,10 @@ fp1_yearly.2200 = {
is_available_at_peace_adult = yes is_available_at_peace_adult = yes
NOT = { has_character_flag = had_event_fp1_yearly_2200 } NOT = { has_character_flag = had_event_fp1_yearly_2200 }
is_landed_or_landless_administrative = yes is_landed_or_landless_administrative_or_theocratic = yes
faith = { rite = {
has_doctrine = tenet_warmonger rite_has_tenet = tenet_warmonger
} }
OR = { OR = {
@ -1166,6 +1166,7 @@ fp1_yearly.2200 = {
gender_female_chance = root_soldier_female_chance gender_female_chance = root_soldier_female_chance
template = new_berserker_character template = new_berserker_character
faith = root.faith faith = root.faith
rite = root.rite
culture = root.culture culture = root.culture
dynasty = none dynasty = none
location = root.location location = root.location
@ -1240,7 +1241,7 @@ fp1_yearly.2200 = {
INVALIDATION_EVENT = fp1_yearly.2202 INVALIDATION_EVENT = fp1_yearly.2202
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
calm = medium_stress_impact_gain calm = medium_stress_impact_gain
patient = medium_stress_impact_gain patient = medium_stress_impact_gain
@ -1260,7 +1261,7 @@ fp1_yearly.2200 = {
option = { option = {
name = fp1_yearly.2200.b name = fp1_yearly.2200.b
stress_impact = { stress_and_fulfillment_impact = {
brave = major_stress_impact_gain brave = major_stress_impact_gain
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
@ -1325,7 +1326,7 @@ fp1_yearly.2200 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = major_stress_impact_gain brave = major_stress_impact_gain
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
impatient = major_stress_impact_gain impatient = major_stress_impact_gain
@ -1385,7 +1386,7 @@ fp1_yearly.2200 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = major_stress_impact_gain brave = major_stress_impact_gain
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
patient = medium_stress_impact_gain patient = medium_stress_impact_gain
@ -1459,7 +1460,7 @@ fp1_yearly.2203 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = major_stress_impact_gain trusting = major_stress_impact_gain
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
@ -1483,7 +1484,7 @@ fp1_yearly.2203 = {
option = { option = {
name = fp1_yearly.2203.b name = fp1_yearly.2203.b
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_gain arrogant = major_stress_impact_gain
vengeful = major_stress_impact_gain vengeful = major_stress_impact_gain
cynical = major_stress_impact_gain cynical = major_stress_impact_gain
@ -1502,7 +1503,7 @@ fp1_yearly.2203 = {
option = { option = {
name = fp1_yearly.2203.c name = fp1_yearly.2203.c
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_gain arrogant = major_stress_impact_gain
vengeful = major_stress_impact_gain vengeful = major_stress_impact_gain
trusting = major_stress_impact_gain trusting = major_stress_impact_gain
@ -1541,7 +1542,7 @@ fp1_yearly.2204 = {
add_courtier = scope:new_berserker add_courtier = scope:new_berserker
set_relation_friend = { reason = friend_rousing_fight target = scope:new_berserker } set_relation_friend = { reason = friend_rousing_fight target = scope:new_berserker }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_gain arrogant = major_stress_impact_gain
vengeful = major_stress_impact_gain vengeful = major_stress_impact_gain
cynical = major_stress_impact_gain cynical = major_stress_impact_gain
@ -1558,7 +1559,7 @@ fp1_yearly.2204 = {
option = { option = {
name = fp1_yearly.2204.b name = fp1_yearly.2204.b
stress_impact = { stress_and_fulfillment_impact = {
trusting = major_stress_impact_gain trusting = major_stress_impact_gain
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
humble = major_stress_impact_gain humble = major_stress_impact_gain
@ -1593,7 +1594,7 @@ fp1_yearly.2300 = {
is_available_at_peace_adult = yes is_available_at_peace_adult = yes
NOT = { has_character_flag = had_event_fp1_yearly_2300 } NOT = { has_character_flag = had_event_fp1_yearly_2300 }
is_landed_or_landless_administrative = yes is_landed_or_landless_administrative_or_theocratic = yes
any_sub_realm_barony = { any_sub_realm_barony = {
title_province = { title_province = {
@ -1660,7 +1661,7 @@ fp1_yearly.2300 = {
custom_tooltip = MILITARY_VIEW_EVENT_TROOPS_NOT_INHERITABLE custom_tooltip = MILITARY_VIEW_EVENT_TROOPS_NOT_INHERITABLE
stress_impact = { stress_and_fulfillment_impact = {
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
} }
@ -1692,7 +1693,7 @@ fp1_yearly.2300 = {
custom_tooltip = MILITARY_VIEW_EVENT_TROOPS_NOT_INHERITABLE custom_tooltip = MILITARY_VIEW_EVENT_TROOPS_NOT_INHERITABLE
stress_impact = { stress_and_fulfillment_impact = {
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
} }
@ -1707,7 +1708,7 @@ fp1_yearly.2300 = {
add_gold = medium_gold_value add_gold = medium_gold_value
stress_impact = { stress_and_fulfillment_impact = {
generous = major_stress_impact_gain generous = major_stress_impact_gain
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
} }
@ -1751,7 +1752,7 @@ fp1_yearly.2300 = {
custom_tooltip = MILITARY_VIEW_EVENT_TROOPS_NOT_INHERITABLE custom_tooltip = MILITARY_VIEW_EVENT_TROOPS_NOT_INHERITABLE
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -1780,7 +1781,7 @@ fp1_yearly.2400 = {
is_available_at_peace_adult = yes is_available_at_peace_adult = yes
NOT = { has_character_flag = had_event_fp1_yearly_2400 } NOT = { has_character_flag = had_event_fp1_yearly_2400 }
is_landed_or_landless_administrative = yes is_landed_or_landless_administrative_or_theocratic = yes
NOR = { NOR = {
has_trait = lazy has_trait = lazy
@ -1816,7 +1817,7 @@ fp1_yearly.2400 = {
start_dog_story_cycle_effect = yes start_dog_story_cycle_effect = yes
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
} }
@ -1842,7 +1843,7 @@ fp1_yearly.2400 = {
start_eagle_story_cycle_effect = yes start_eagle_story_cycle_effect = yes
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
} }
@ -1864,7 +1865,7 @@ fp1_yearly.2400 = {
} }
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
temperate = medium_stress_impact_gain temperate = medium_stress_impact_gain
} }
@ -1887,7 +1888,7 @@ fp1_yearly.2400 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
impatient = major_stress_impact_gain impatient = major_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -1912,7 +1913,7 @@ scripted_trigger fp1_yearly_2500_guest_trigger = {
} }
} }
save_temporary_scope_as = deviant_guest save_temporary_scope_as = deviant_guest
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:deviant_guest.faith GENDER_CHARACTER = scope:deviant_guest } trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = scope:deviant_guest.rite GENDER_CHARACTER = scope:deviant_guest }
} }
scripted_trigger fp1_yearly_2500_court_target_trigger = { scripted_trigger fp1_yearly_2500_court_target_trigger = {
@ -1956,7 +1957,7 @@ fp1_yearly.2500 = {
fp1_yearly_2500_guest_trigger = yes fp1_yearly_2500_guest_trigger = yes
} }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = scope:deviant_guest } trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = root.rite GENDER_CHARACTER = scope:deviant_guest }
any_held_title = { any_held_title = {
title_tier = county title_tier = county
@ -2090,7 +2091,7 @@ fp1_yearly.2500 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
@ -2130,7 +2131,7 @@ fp1_yearly.2500 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
deviant = massive_stress_impact_gain deviant = massive_stress_impact_gain
} }
@ -2155,7 +2156,7 @@ fp1_yearly.2500 = {
base = 100 base = 100
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = major_stress_impact_gain zealous = major_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
} }
@ -2192,7 +2193,7 @@ fp1_yearly.2500 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
chaste = major_stress_impact_gain chaste = major_stress_impact_gain
temperate = major_stress_impact_gain temperate = major_stress_impact_gain
} }
@ -2233,8 +2234,8 @@ fp1_yearly.2600 = {
religion = religion:folk_germanic_religion religion = religion:folk_germanic_religion
} }
faith = { rite = {
has_doctrine = tenet_warmonger rite_has_tenet = tenet_warmonger
} }
NOR = { NOR = {
@ -2353,7 +2354,7 @@ fp1_yearly.2600 = {
trigger_event = fp1_yearly.2601 trigger_event = fp1_yearly.2601
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = massive_stress_impact_gain calm = massive_stress_impact_gain
lazy = massive_stress_impact_gain lazy = massive_stress_impact_gain
patient = major_stress_impact_gain patient = major_stress_impact_gain
@ -2377,7 +2378,7 @@ fp1_yearly.2600 = {
custom_tooltip = fp1_yearly.2600.b.tt custom_tooltip = fp1_yearly.2600.b.tt
stress_impact = { stress_and_fulfillment_impact = {
impatient = massive_stress_impact_gain impatient = massive_stress_impact_gain
wrathful = massive_stress_impact_gain wrathful = massive_stress_impact_gain
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain

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 = { 100 = {
trigger = { trigger = {
# can replace the court chaplain # can replace the court chaplain
faith = { rite = {
has_doctrine_parameter = clerical_appointment_fixed rite_has_parameter = clerical_appointment_fixed
} }
} }

View file

@ -58,7 +58,7 @@ fp2_yearly.1001 = {
trigger = { trigger = {
#Strategy Games Culture Tradition #Strategy Games Culture Tradition
has_fp2_dlc_trigger = yes has_fp2_dlc_trigger = yes
is_landed_or_landless_administrative = yes is_landed_or_landless_administrative_or_theocratic = yes
capital_province = { capital_province = {
geographical_region = world_europe_west_iberia geographical_region = world_europe_west_iberia
} }
@ -150,7 +150,7 @@ fp2_yearly.1002 = {
trigger = { trigger = {
has_fp2_dlc_trigger = yes has_fp2_dlc_trigger = yes
is_adult = 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 } any_courtier = { is_available_healthy_ai_adult = yes }
NOT = { NOT = {
@ -223,7 +223,7 @@ fp2_yearly.1002 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
deviant = medium_stress_gain deviant = medium_stress_gain
} }
@ -231,7 +231,7 @@ fp2_yearly.1002 = {
option = { option = {
name = fp2_yearly.1002.c name = fp2_yearly.1002.c
stress_impact = { stress_and_fulfillment_impact = {
deviant = medium_stress_loss deviant = medium_stress_loss
} }
@ -265,7 +265,7 @@ fp2_yearly.1002 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
deviant = medium_stress_gain deviant = medium_stress_gain
} }
@ -629,7 +629,7 @@ fp2_yearly.1006 = {
name = fp2_yearly.1006.a name = fp2_yearly.1006.a
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
#Cheese based bonus #Cheese based bonus
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
gluttonous = minor_stress_impact_loss gluttonous = minor_stress_impact_loss
comfort_eater = 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 option = { #Nothing happens you hate cheese and having fun
name = fp2_yearly.1006.c name = fp2_yearly.1006.c
stress_impact = { stress_and_fulfillment_impact = {
gluttonous = miniscule_stress_impact_gain gluttonous = miniscule_stress_impact_gain
comfort_eater = miniscule_stress_impact_gain comfort_eater = miniscule_stress_impact_gain
eccentric = miniscule_stress_impact_gain eccentric = miniscule_stress_impact_gain
@ -741,7 +741,7 @@ fp2_yearly.1007 = {
option = { option = {
name = fp2_yearly.1007.b name = fp2_yearly.1007.b
stress_impact = { stress_and_fulfillment_impact = {
gluttonous = major_stress_loss gluttonous = major_stress_loss
} }
@ -884,6 +884,7 @@ fp2_yearly.2020 = {
random_traits = no random_traits = no
culture = scope:fp2_2020_valencia.culture culture = scope:fp2_2020_valencia.culture
faith = scope:fp2_2020_valencia.faith faith = scope:fp2_2020_valencia.faith
rite = scope:fp2_2020_valencia.rite
dynasty = none dynasty = none
save_scope_as = fp2_2020_laxatador save_scope_as = fp2_2020_laxatador
} }
@ -951,7 +952,7 @@ fp2_yearly.2020 = {
name = fp2_struggle.2020.c name = fp2_struggle.2020.c
flavor = fp2_struggle.2020.c.desc 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 = { if = {
limit = { has_trait = gluttonous } limit = { has_trait = gluttonous }
add_prestige = medium_prestige_gain # Resisting is very difficult 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 greedy = massive_stress_impact_gain
zealous = major_stress_impact_gain zealous = major_stress_impact_gain
deceitful = medium_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 paranoid = massive_stress_impact_gain
impatient = major_stress_impact_gain impatient = major_stress_impact_gain
shy = 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 honest = massive_stress_impact_gain
generous = major_stress_impact_gain generous = major_stress_impact_gain
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -1455,7 +1456,7 @@ fp2_yearly.3000 = {
option = { option = {
name = fp2_flavor.0001.d name = fp2_flavor.0001.d
stress_impact = { stress_and_fulfillment_impact = {
diligent = major_stress_impact_gain diligent = major_stress_impact_gain
ambitious = major_stress_impact_gain ambitious = major_stress_impact_gain
generous = medium_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 ) option = { #your language + vulgar (Latin + Castillian / Hebrew + Sephardí / Arabic + Mozarabic )
name = fp2_flavor.3001.c name = fp2_flavor.3001.c
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_loss base = minor_stress_loss
zealous = medium_stress_gain zealous = medium_stress_gain
} }
@ -1606,7 +1607,7 @@ fp2_yearly.3001 = {
years = 5 years = 5
} }
add_piety = minor_piety_loss add_piety = minor_piety_loss
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
zealous = minor_stress_impact_gain zealous = minor_stress_impact_gain
} }
@ -1664,7 +1665,7 @@ fp2_yearly.3002 = {
NOT = { is_consort_of = root } NOT = { is_consort_of = root }
might_cheat_on_every_partner_trigger = yes might_cheat_on_every_partner_trigger = yes
trigger_if = { 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 = { OR = {
has_perk = subtle_desire_perk has_perk = subtle_desire_perk
accepts_incest_with_trigger = { CHARACTER = root } accepts_incest_with_trigger = { CHARACTER = root }
@ -1690,7 +1691,7 @@ fp2_yearly.3002 = {
NOT = { is_consort_of = root } NOT = { is_consort_of = root }
might_cheat_on_every_partner_trigger = yes might_cheat_on_every_partner_trigger = yes
trigger_if = { 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 = { OR = {
has_perk = subtle_desire_perk has_perk = subtle_desire_perk
accepts_incest_with_trigger = { CHARACTER = root } accepts_incest_with_trigger = { CHARACTER = root }
@ -1706,12 +1707,13 @@ fp2_yearly.3002 = {
trigger = { trigger = {
NOT = { has_trait = celibate } NOT = { has_trait = celibate }
might_cheat_on_every_partner_trigger = yes
OR = { OR = {
has_perk = unshackled_lust_perk has_perk = unshackled_lust_perk
is_attracted_to_gender_of = root is_attracted_to_gender_of = root
} }
trigger_if = { 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 = { OR = {
has_perk = subtle_desire_perk has_perk = subtle_desire_perk
accepts_incest_with_trigger = { CHARACTER = scope:fp2_flavor_3011_best_friend } accepts_incest_with_trigger = { CHARACTER = scope:fp2_flavor_3011_best_friend }
@ -1728,18 +1730,18 @@ fp2_yearly.3002 = {
scope:fp2_flavor_3011_best_friend = { scope:fp2_flavor_3011_best_friend = {
is_female = yes is_female = yes
} }
NOT = { faith = { has_doctrine = doctrine_homosexuality_accepted } } NOT = { rite = { rite_has_doctrine = doctrine_homosexuality_accepted } }
} }
AND = { AND = {
is_male = yes is_male = yes
scope:fp2_flavor_3011_best_friend = { scope:fp2_flavor_3011_best_friend = {
is_male = yes 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 base = medium_stress_impact_gain
zealous = medium_stress_impact_gain #some extra stress 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 option = { #allowe them to move in but stay as friends
name = fp2_flavor.3011.b name = fp2_flavor.3011.b
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_loss base = medium_stress_loss
lustful = medium_stress_impact_gain lustful = medium_stress_impact_gain
} }
@ -1833,7 +1835,7 @@ fp2_yearly.3002 = {
} }
text = fp2_flavor.3011.c text = fp2_flavor.3011.c
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain #you get stressed at losing your bff base = medium_stress_impact_gain #you get stressed at losing your bff
lustful = minor_stress_impact_gain lustful = minor_stress_impact_gain
callous = minor_stress_loss callous = minor_stress_loss
@ -1929,7 +1931,7 @@ fp2_yearly.3003 = {
option = { #pretend nothing's wrong option = { #pretend nothing's wrong
name = fp2_flavor.3021.a name = fp2_flavor.3021.a
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -1994,7 +1996,7 @@ fp2_yearly.3003 = {
send_interface_toast = { send_interface_toast = {
title = fp2_flavor.3021.b.success title = fp2_flavor.3021.b.success
left_icon = ROOT left_icon = ROOT
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -2013,7 +2015,7 @@ fp2_yearly.3003 = {
opinion = -20 opinion = -20
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -2068,7 +2070,7 @@ fp2_yearly.3003 = {
opinion = -30 opinion = -30
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
} }
} }
@ -2101,7 +2103,7 @@ fp2_yearly.3003 = {
opinion = -50 opinion = -50
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_loss base = minor_stress_loss
brave = minor_stress_impact_gain brave = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -2169,7 +2171,7 @@ fp2_yearly.4001 = {
add_prestige = minor_prestige_gain add_prestige = minor_prestige_gain
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
lazy = medium_stress_impact_gain lazy = medium_stress_impact_gain
diligent = major_stress_impact_loss diligent = major_stress_impact_loss
@ -2187,7 +2189,7 @@ fp2_yearly.4001 = {
option = { #a little nap can't hurt anyone option = { #a little nap can't hurt anyone
name = fp2_yearly.4001.b name = fp2_yearly.4001.b
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
diligent = massive_stress_impact_gain diligent = massive_stress_impact_gain
} }
@ -2275,7 +2277,7 @@ fp2_yearly.4002 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = major_stress_gain zealous = major_stress_gain
cynical = minor_stress_loss cynical = minor_stress_loss
arrogant = medium_stress_gain arrogant = medium_stress_gain
@ -2317,7 +2319,7 @@ fp2_yearly.4002 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_loss zealous = medium_stress_loss
cynical = medium_stress_gain cynical = medium_stress_gain
forgiving = major_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 name = fp2_yearly.4003.a
trigger = { trigger = {
@ -2494,7 +2496,7 @@ fp2_yearly.4003 = {
remove_treasury_or_gold = major_treasury_or_gold_value remove_treasury_or_gold = major_treasury_or_gold_value
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
arbitrary = medium_stress_impact_gain arbitrary = medium_stress_impact_gain
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
@ -2518,7 +2520,7 @@ fp2_yearly.4003 = {
add_piety = medium_piety_loss add_piety = medium_piety_loss
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain base = miniscule_stress_impact_gain
zealous = major_stress_impact_gain zealous = major_stress_impact_gain
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
@ -3250,7 +3252,7 @@ fp2_yearly.4007 = {
type = character_event type = character_event
title = fp2_yearly.4007.t title = fp2_yearly.4007.t
desc = fp2_yearly.4007.desc desc = fp2_yearly.4007.desc
theme = faith theme = christian
left_portrait = { left_portrait = {
character = root character = root
animation = admiration animation = admiration
@ -3331,7 +3333,7 @@ fp2_yearly.4007 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = massive_stress_impact_gain zealous = massive_stress_impact_gain
honest = massive_stress_impact_gain honest = massive_stress_impact_gain
just = major_stress_impact_gain just = major_stress_impact_gain
@ -3361,7 +3363,7 @@ fp2_yearly.4007 = {
add_piety = miniscule_piety_value add_piety = miniscule_piety_value
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
cynical = massive_stress_impact_gain cynical = massive_stress_impact_gain
deceitful = 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 base = miniscule_stress_impact_gain
zealous = massive_stress_impact_gain zealous = massive_stress_impact_gain
honest = massive_stress_impact_gain honest = massive_stress_impact_gain
@ -3576,7 +3578,7 @@ fp2_yearly.4008 = {
has_fp2_dlc_trigger = yes has_fp2_dlc_trigger = yes
#Standard check #Standard check
is_landed_or_landless_administrative = yes is_landed_or_landless_administrative_or_theocratic = yes
is_available_at_peace_adult = yes is_available_at_peace_adult = yes
#You are Iberian #You are Iberian
@ -3621,6 +3623,7 @@ fp2_yearly.4008 = {
culture = root.culture culture = root.culture
faith = root.faith faith = root.faith
rite = root.rite
dynasty = none dynasty = none
@ -3644,7 +3647,7 @@ fp2_yearly.4008 = {
add_prestige = minor_prestige_value add_prestige = minor_prestige_value
stress_impact = { stress_and_fulfillment_impact = {
cynical = miniscule_stress_impact_loss cynical = miniscule_stress_impact_loss
arrogant = miniscule_stress_impact_loss arrogant = miniscule_stress_impact_loss
stubborn = 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 calm = medium_stress_impact_gain
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
content = major_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 ambitious = minor_stress_impact_loss
calm = medium_stress_impact_gain calm = medium_stress_impact_gain
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -3978,7 +3981,7 @@ fp2_yearly.4010 = {
title = fp2_yearly.4010.a.fail title = fp2_yearly.4010.a.fail
type = event_toast_effect_bad type = event_toast_effect_bad
left_icon = root left_icon = root
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_gain base = medium_stress_gain
ambitious = major_stress_impact_gain ambitious = major_stress_impact_gain
zealous = medium_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 ambitious = miniscule_stress_impact_loss
calm = medium_stress_impact_gain calm = medium_stress_impact_gain
content = 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 zealous = minor_stress_impact_loss
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
lazy = medium_stress_impact_gain lazy = medium_stress_impact_gain
@ -4136,11 +4139,11 @@ fp2_yearly.8000 = {
has_religion = religion:judaism_religion has_religion = religion:judaism_religion
} }
root.faith = { root.rite = {
OR = { OR = {
has_doctrine = tenet_religious_legal_pronouncements rite_has_tenet = tenet_religious_legal_pronouncements
has_doctrine = tenet_literalism rite_has_tenet = tenet_literalism
has_doctrine = tenet_adaptive rite_has_tenet = tenet_adaptive
} }
} }
@ -4257,7 +4260,7 @@ fp2_yearly.8000 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
temperate = medium_stress_impact_gain temperate = medium_stress_impact_gain
trusting = minor_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 compassionate = minor_stress_impact_gain
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
gluttonous = medium_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 craven = minor_stress_impact_gain
temperate = minor_stress_impact_gain temperate = minor_stress_impact_gain
trusting = 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. # 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 arrogant = medium_stress_impact_gain
august = minor_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. # Characters who are careful or hate the masses find this a very unappealing option.
eccentric = minor_stress_impact_loss eccentric = minor_stress_impact_loss
craven = minor_stress_impact_gain 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 # Characters who likes efficiency and democracy dislikes this option
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
@ -4590,11 +4593,11 @@ fp2_yearly.8002 = {
has_religion = religion:judaism_religion has_religion = religion:judaism_religion
} }
faith = { rite = {
OR = { OR = {
has_doctrine = tenet_religious_legal_pronouncements rite_has_tenet = tenet_religious_legal_pronouncements
has_doctrine = tenet_literalism rite_has_tenet = tenet_literalism
has_doctrine = tenet_adaptive 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 character's don't wanna take the risk, and humble and trusting doesn't want to undermine the ulama
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
humble = 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 inappetetic = medium_stress_impact_gain
temperate = minor_stress_impact_gain temperate = minor_stress_impact_gain
paranoid = 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 or Impatient characters don't wanna wait for the ulama
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
arbitrary = 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 # Rational characters find this to be total overkill
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
@ -4880,7 +4883,8 @@ fp2_yearly.8003 = {
} }
culture = culture:baranis culture = culture:baranis
dynasty = none dynasty = none
faith = faith:muwalladi faith = faith:sunni
rite = rite:maliki
save_scope_as = flying_polymath save_scope_as = flying_polymath
} }
set_global_variable = ibnfirnas_created set_global_variable = ibnfirnas_created
@ -4905,6 +4909,7 @@ fp2_yearly.8003 = {
} }
culture = root.capital_province.culture culture = root.capital_province.culture
faith = root.faith faith = root.faith
rite = root.rite
save_scope_as = flying_polymath 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 compassionate = minor_stress_impact_gain
craven = 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 craven = medium_stress_impact_gain
content = minor_stress_impact_gain content = minor_stress_impact_gain
ill = 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 ambitious = minor_stress_impact_gain
brave = minor_stress_impact_gain brave = minor_stress_impact_gain
curious = minor_stress_impact_gain curious = minor_stress_impact_gain
@ -5203,7 +5208,7 @@ fp2_yearly.8004 = {
name = "Gherardo da Cremona" #Gerard of Cremona name = "Gherardo da Cremona" #Gerard of Cremona
gender = male gender = male
template = scholar_character template = scholar_character
trait = scholar trait = erudite
trait = education_learning_4 trait = education_learning_4
random_traits_list = { #his personality random_traits_list = { #his personality
count = 3 count = 3
@ -5250,6 +5255,7 @@ fp2_yearly.8004 = {
} }
culture = root.culture culture = root.culture
faith = root.faith faith = root.faith
rite = root.rite
save_scope_as = translation_enthusiast save_scope_as = translation_enthusiast
} }
} }
@ -5281,7 +5287,7 @@ fp2_yearly.8004 = {
} }
modifier = { modifier = {
add = 40 add = 40
has_trait = scholar has_trait = erudite
} }
modifier = { modifier = {
add = 40 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 or lazy characters don't want to make the effort
content = minor_stress_impact_gain content = minor_stress_impact_gain
lazy = 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 # self-absorbed cheapskates still don't want to pay for this
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
greedy = 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 or learned characters cry from this
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
generous = 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 = { trigger = {
has_fp2_dlc_trigger = yes has_fp2_dlc_trigger = yes
is_landed_or_landless_administrative = yes is_landed_or_landless_administrative_or_theocratic = yes
OR = { OR = {
capital_province = { geographical_region = world_europe_west_iberia } capital_province = { geographical_region = world_europe_west_iberia }
culture = { has_cultural_pillar = heritage_iberian } culture = { has_cultural_pillar = heritage_iberian }
@ -5549,7 +5555,7 @@ fp2_yearly.8005 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
chaste = major_stress_impact_gain chaste = major_stress_impact_gain
content = minor_stress_impact_gain content = minor_stress_impact_gain
arrogant = major_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 greedy = minor_stress_impact_gain
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
paranoid = 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 content = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
lazy = 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 base = minor_stress_impact_gain
calm = medium_stress_impact_gain calm = medium_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -5742,6 +5748,7 @@ fp2_yearly.8006 = {
} }
culture = culture:russian culture = culture:russian
faith = scope:former_master.faith faith = scope:former_master.faith
rite = scope:former_master.rite
dynasty = none dynasty = none
save_scope_as = saqaliba_leader save_scope_as = saqaliba_leader
@ -5821,7 +5828,7 @@ fp2_yearly.8006 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
content = minor_stress_impact_gain content = minor_stress_impact_gain
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
paranoid = 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 ambitious = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
generous = major_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 ambitious = minor_stress_impact_gain
compassionate = massive_stress_impact_gain compassionate = massive_stress_impact_gain
generous = 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 callous = minor_stress_impact_loss
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
compassionate = medium_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 compassionate = minor_stress_impact_loss
greedy = 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 compassionate = minor_stress_impact_loss
greedy = 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 callous = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
@ -6610,7 +6617,7 @@ fp2_yearly.9002 = {
name = fp2_james.0003.b name = fp2_james.0003.b
scope:fp2_james_003_jewish_refugee_leader = { silent_disappearance_effect = yes } scope:fp2_james_003_jewish_refugee_leader = { silent_disappearance_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
} }
@ -6712,14 +6719,17 @@ fp2_yearly.9005 = {
limit = { limit = {
faith = scope:fp2_james_0004_place_of_murder.faith 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 = { add_hook = {
type = favor_hook type = favor_hook
target = scope:fp2_james_0004_murder_baron target = scope:fp2_james_0004_murder_baron
} }
stress_impact = { stress_and_fulfillment_impact = {
just = massive_stress_impact_gain just = massive_stress_impact_gain
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
@ -6852,7 +6862,7 @@ fp2_yearly.9006 = {
opinion = 20 opinion = 20
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
} }
@ -6874,7 +6884,7 @@ fp2_yearly.9006 = {
opinion = -25 opinion = -25
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain zealous = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {

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 = { NOR = {
target_is_liege_or_above = root target_is_liege_or_above = root
faith = { has_doctrine = special_doctrine_is_gnostic_faith } 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 = compassionate
has_trait = forgiving has_trait = forgiving
} }
@ -40,7 +40,7 @@ scripted_trigger fp3_hateful_ruler_trigger = {
has_trait = zealous has_trait = zealous
has_trait = sadistic has_trait = sadistic
has_trait = paranoid 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 factor = 70
any_county_province = { any_county_province = {
barony = { 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 = { modifier = {
factor = 50 factor = 50
faith = faith:manichean faith = faith:manichaean_faith
} }
modifier = { modifier = {
factor = 50 factor = 50
@ -176,13 +176,13 @@ fp3_yearly.8019 = {
gender_female_chance = { gender_female_chance = {
if = { if = {
limit = { limit = {
faith:manichean = { has_doctrine = doctrine_gender_male_dominated } faith:manichaean_faith = { main_rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
} }
add = 0 add = 0
} }
else_if = { else_if = {
limit = { limit = {
faith:manichean = { has_doctrine = doctrine_gender_female_dominated } faith:manichaean_faith = { main_rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
} }
add = 100 add = 100
} }
@ -238,7 +238,7 @@ fp3_yearly.8019 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain
@ -249,14 +249,12 @@ fp3_yearly.8019 = {
name = fp3_yearly.8019.b name = fp3_yearly.8019.b
trigger = { trigger = {
faith = { AND = {
AND = { OR = {
OR = { rite = { rite_has_tenet = tenet_tax_nonbelievers }
has_doctrine = tenet_tax_nonbelievers faith = { has_doctrine = special_doctrine_jizya }
has_doctrine = special_doctrine_jizya
}
NOT = { has_doctrine = special_doctrine_is_gnostic_faith }
} }
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 generous = medium_stress_impact_gain
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
sadistic = 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 ambitious = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
generous = major_stress_impact_gain generous = major_stress_impact_gain
@ -345,7 +343,7 @@ scripted_trigger fp3_zealous_caliph_trigger = {
is_ai = yes is_ai = yes
NOR = { NOR = {
is_vassal_of = root is_vassal_of = root
faith = { has_doctrine = doctrine_pluralism_pluralistic } rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
has_trait = compassionate has_trait = compassionate
has_trait = forgiving has_trait = forgiving
} }
@ -357,7 +355,7 @@ scripted_trigger fp3_zealous_caliph_trigger = {
has_trait = zealous has_trait = zealous
has_trait = sadistic has_trait = sadistic
has_trait = paranoid 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. has_game_rule = default_gender_equality #this triggers an error. Suspected code issue.
NOT = { NOT = {
faith = { has_doctrine = doctrine_gender_female_dominated } rite = { rite_has_doctrine = doctrine_gender_female_dominated }
} }
#checking for approppriate county #checking for approppriate county
@ -453,9 +451,9 @@ fp3_yearly.8020 = {
root.faith.religious_head = { root.faith.religious_head = {
fp3_zealous_caliph_trigger = yes fp3_zealous_caliph_trigger = yes
#checking that his Islam hasn't been reformed into something that'd make the event's premise weird #checking that his Islam hasn't been reformed into something that'd make the event's premise weird
faith = { rite = {
NOT = { NOT = {
has_doctrine = doctrine_gender_female_dominated rite_has_doctrine = doctrine_gender_female_dominated
} }
} }
} }
@ -493,9 +491,9 @@ fp3_yearly.8020 = {
if = { if = {
limit = { limit = {
fp3_zealous_caliph_trigger = yes fp3_zealous_caliph_trigger = yes
faith = { rite = {
NOT = { NOT = {
has_doctrine = doctrine_gender_female_dominated rite_has_doctrine = doctrine_gender_female_dominated
} }
} }
} }
@ -604,7 +602,11 @@ fp3_yearly.8020 = {
opinion = 20 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 = { root = {
progress_towards_lover_effect = { progress_towards_lover_effect = {
CHARACTER = scope:pious_woman CHARACTER = scope:pious_woman
@ -623,7 +625,7 @@ fp3_yearly.8020 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = major_stress_impact_gain callous = major_stress_impact_gain
shy = medium_stress_impact_gain shy = medium_stress_impact_gain
zealous = major_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 compassionate = minor_stress_impact_loss
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
zealous = major_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 zealous = minor_stress_impact_loss
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
content = medium_stress_impact_gain content = medium_stress_impact_gain
@ -772,11 +774,10 @@ scripted_trigger fp3_not_super_relevant_yet_suitable_person_trigger = {
} }
NAND = { NAND = {
is_female = yes 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. #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 = { root.rite = {
has_doctrine = doctrine_gender_male_dominated rite_has_doctrine = doctrine_gender_male_dominated
has_doctrine = doctrine_polygamy rite_has_doctrine = doctrine_polygamy
}
} }
} }
} }
@ -918,6 +919,7 @@ fp3_yearly.8021 = {
} }
culture = scope:alchemy_enthusiast.culture culture = scope:alchemy_enthusiast.culture
faith = root.faith faith = root.faith
rite = root.rite
save_scope_as = enthusiastic_alchemist save_scope_as = enthusiastic_alchemist
after_creation = { after_creation = {
@ -990,7 +992,7 @@ fp3_yearly.8021 = {
trigger_event = fp3_yearly.8022 trigger_event = fp3_yearly.8022
stress_impact = { stress_and_fulfillment_impact = {
fickle = minor_stress_impact_loss fickle = minor_stress_impact_loss
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
paranoid = 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 vengeful = medium_stress_impact_loss
sadistic = medium_stress_impact_loss sadistic = medium_stress_impact_loss
just = major_stress_impact_gain just = major_stress_impact_gain
@ -1108,7 +1110,7 @@ fp3_yearly.8021 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_loss vengeful = medium_stress_impact_loss
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
just = 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 vengeful = medium_stress_impact_gain
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
forgiving = medium_stress_impact_loss forgiving = medium_stress_impact_loss
@ -1225,10 +1227,10 @@ fp3_yearly.8022 = {
if = { if = {
limit = { limit = {
faith = { rite = {
OR = { OR = {
has_doctrine = tenet_dharmic_pacifism rite_has_tenet = tenet_dharmic_pacifism
has_doctrine = tenet_pacifism rite_has_tenet = tenet_pacifism
} }
} }
} }
@ -1240,7 +1242,7 @@ fp3_yearly.8022 = {
years = 25 years = 25
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
} }
} }
@ -1271,7 +1273,7 @@ fp3_yearly.8022 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
} }
@ -1367,7 +1369,7 @@ fp3_yearly.8023 = {
years = 25 years = 25
} }
stress_impact = { stress_and_fulfillment_impact = {
#no stress for this event #no stress for this event
} }
} }
@ -1398,7 +1400,7 @@ fp3_yearly.8023 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
#no stress for this event #no stress for this event
} }
} }
@ -1411,14 +1413,14 @@ fp3_yearly.8023 = {
scripted_trigger non_zoroastrian_faith_trigger = { scripted_trigger non_zoroastrian_faith_trigger = {
NOT = { NOT = {
faith = { has_doctrine_parameter = sky_burials_active } rite = { rite_has_parameter = sky_burials_active }
} }
} }
scripted_trigger dakhma_nostalgic_trigger = { scripted_trigger dakhma_nostalgic_trigger = {
culture = { has_cultural_pillar = heritage_iranian } culture = { has_cultural_pillar = heritage_iranian }
OR = { OR = {
faith = { has_doctrine_parameter = sky_burials_active } rite = { rite_has_parameter = sky_burials_active }
has_trait = stubborn has_trait = stubborn
learning > 14 learning > 14
has_character_modifier = hallucinogenic_visions_uplifting_modifier has_character_modifier = hallucinogenic_visions_uplifting_modifier
@ -1432,7 +1434,7 @@ scripted_trigger dakhma_nostalgic_trigger = {
scripted_trigger loyal_discreet_courtier_trigger = { scripted_trigger loyal_discreet_courtier_trigger = {
OR = { OR = {
faith = { has_doctrine_parameter = sky_burials_active } rite = { rite_has_parameter = sky_burials_active }
has_trait = trusting has_trait = trusting
has_trait = compassionate has_trait = compassionate
reverse_opinion = { reverse_opinion = {
@ -1485,7 +1487,7 @@ fp3_yearly.8024 = {
root.capital_province = { geographical_region = world_persian_empire } root.capital_province = { geographical_region = world_persian_empire }
NOT = { NOT = {
faith = { has_doctrine_parameter = sky_burials_active } rite = { rite_has_parameter = sky_burials_active }
} }
any_consort = { #we need a dying consort 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 base = minor_stress_impact_loss
honest = medium_stress_impact_loss honest = medium_stress_impact_loss
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
@ -1666,7 +1668,7 @@ fp3_yearly.8024 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = medium_stress_impact_gain brave = medium_stress_impact_gain
honest = medium_stress_impact_gain honest = medium_stress_impact_gain
} }
@ -1691,7 +1693,7 @@ fp3_yearly.8024 = {
death = natural death = natural
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
loyal = medium_stress_impact_gain loyal = medium_stress_impact_gain
@ -1792,7 +1794,7 @@ fp3_yearly.8026 = {
target = scope:helpful_courtier target = scope:helpful_courtier
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
paranoid = medium_stress_impact_loss paranoid = medium_stress_impact_loss
compassionate = massive_stress_impact_gain compassionate = massive_stress_impact_gain
@ -1904,7 +1906,8 @@ fp3_yearly.8027 = {
location = root.capital_province location = root.capital_province
template = writer_character template = writer_character
gender_female_chance = root_faith_dominant_gender_female_chance gender_female_chance = root_faith_dominant_gender_female_chance
faith = faith:maturidi faith = faith:sunni
rite = rite:hanafi
culture = culture:persian culture = culture:persian
trait = lifestyle_poet trait = lifestyle_poet
trait = shrewd trait = shrewd
@ -1942,7 +1945,7 @@ fp3_yearly.8027 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = medium_stress_impact_loss generous = medium_stress_impact_loss
content = medium_stress_impact_gain content = medium_stress_impact_gain
greedy = 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 just = medium_stress_impact_loss
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
cynical = 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 greedy = medium_stress_impact_loss
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
generous = 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 zealous = minor_stress_impact_loss
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
humble = minor_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 base = medium_stress_impact_loss
shy = major_stress_impact_gain shy = major_stress_impact_gain
} }
@ -2457,7 +2460,7 @@ fp3_yearly.8032 = {
dynasty ?= { add_dynasty_prestige = minor_dynasty_prestige_value } dynasty ?= { add_dynasty_prestige = minor_dynasty_prestige_value }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
} }
@ -2475,7 +2478,7 @@ fp3_yearly.8032 = {
years = 15 years = 15
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
craven = miniscule_stress_impact_gain craven = miniscule_stress_impact_gain
} }
@ -2498,7 +2501,7 @@ scripted_trigger fp3_loves_faloodeh_trigger = {
has_trait = temperate has_trait = temperate
has_trait = inappetetic has_trait = inappetetic
AND = { AND = {
faith = { has_doctrine = tenet_asceticism } rite = { rite_has_tenet = tenet_asceticism }
ai_zeal >= medium_positive_ai_value ai_zeal >= medium_positive_ai_value
} }
} }
@ -2662,7 +2665,7 @@ fp3_yearly.8033 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arbitrary = minor_stress_impact_loss arbitrary = minor_stress_impact_loss
just = medium_stress_impact_gain just = medium_stress_impact_gain
temperate = medium_stress_impact_gain temperate = medium_stress_impact_gain
@ -2702,7 +2705,7 @@ fp3_yearly.8033 = {
years = 25 years = 25
} }
stress_impact = { stress_and_fulfillment_impact = {
temperate = minor_stress_impact_loss temperate = minor_stress_impact_loss
gluttonous = major_stress_impact_gain gluttonous = major_stress_impact_gain
gregarious = medium_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 generous = minor_stress_impact_loss
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
@ -2758,7 +2761,7 @@ fp3_yearly.8033 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
lazy = medium_stress_impact_loss lazy = medium_stress_impact_loss
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
gregarious = medium_stress_impact_gain gregarious = medium_stress_impact_gain
@ -2919,7 +2922,7 @@ fp3_yearly.8034 = {
add_tyranny = medium_tyranny_value add_tyranny = medium_tyranny_value
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
just = massive_stress_impact_gain just = massive_stress_impact_gain
craven = medium_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 arbitrary = minor_stress_impact_loss
just = medium_stress_impact_gain just = medium_stress_impact_gain
} }
@ -2984,11 +2987,11 @@ fp3_yearly.8034 = {
if = { if = {
limit = { limit = {
faith = { rite = {
OR = { OR = {
trait_is_virtue = compassionate trait_is_virtue_rite = compassionate
trait_is_virtue = generous trait_is_virtue_rite = generous
trait_is_virtue = peasant_leader trait_is_virtue_rite = peasant_leader
} }
} }
} }
@ -3013,7 +3016,7 @@ fp3_yearly.8034 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
just = minor_stress_impact_loss just = minor_stress_impact_loss
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
greedy = 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 generous = minor_stress_impact_loss
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -3134,7 +3137,7 @@ fp3_yearly.8035 = {
add = 1.6 add = 1.6
} }
modifier = { #Sufis don't get along with legalists, so legalist faiths are less likely to have sufi events 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 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 base = medium_stress_impact_gain
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
patient = 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 stubborn = minor_stress_impact_loss
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
@ -3298,7 +3301,7 @@ fp3_yearly.8035 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
zealous = medium_stress_impact_gain zealous = medium_stress_impact_gain
ambitious = 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 craven = medium_stress_impact_gain
impatient = medium_stress_impact_gain impatient = medium_stress_impact_gain
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -3437,7 +3440,7 @@ fp3_yearly.8036 = {
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = medium_stress_impact_gain brave = medium_stress_impact_gain
cynical = 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 craven = medium_stress_impact_gain
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
@ -3488,7 +3491,7 @@ fp3_yearly.8036 = {
add_piety = minor_piety_value add_piety = minor_piety_value
stress_impact = { stress_and_fulfillment_impact = {
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
brave = 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 trigger_event = fp3_misc_decisions.0041
stress_impact = { stress_and_fulfillment_impact = {
content = major_stress_impact_gain content = major_stress_impact_gain
just = medium_stress_impact_gain just = medium_stress_impact_gain
forgiving = 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 REVERSE_NON_HOUSE_TARGET = yes
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
} }
@ -1617,7 +1617,7 @@ fp3_misc_decisions.0029 = { # Actor response
} }
save_scope_as = negotiate_bargain_accept save_scope_as = negotiate_bargain_accept
scope:recipient = { trigger_event = fp3_misc_decisions.0030 } scope:recipient = { trigger_event = fp3_misc_decisions.0030 }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
content = 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 save_scope_as = negotiate_bargain_reject
scope:recipient = { trigger_event = fp3_misc_decisions.0030 } scope:recipient = { trigger_event = fp3_misc_decisions.0030 }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
@ -1654,7 +1654,7 @@ fp3_misc_decisions.0029 = { # Actor response
exists = scope:negotiate_accept exists = scope:negotiate_accept
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
wrathful = 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 dynasty = none
culture = scope:batch_$BATCH$_county.culture culture = scope:batch_$BATCH$_county.culture
faith = scope:batch_$BATCH$_county.faith faith = scope:batch_$BATCH$_county.faith
rite = scope:batch_$BATCH$_county.rite
after_creation = { after_creation = {
add_to_list = batch_$BATCH$_characters_list add_to_list = batch_$BATCH$_characters_list
# Set an employer if there's a valid one available. # 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 location = scope:batch_$BATCH$_county.title_province
culture = scope:batch_$BATCH$_county.culture culture = scope:batch_$BATCH$_county.culture
faith = scope:batch_$BATCH$_county.faith faith = scope:batch_$BATCH$_county.faith
rite = scope:batch_$BATCH$_county.rite
after_creation = { after_creation = {
add_to_list = batch_$BATCH$_characters_list add_to_list = batch_$BATCH$_characters_list
# Set an employer if there's a valid one available. # Set an employer if there's a valid one available.

View file

@ -45,12 +45,8 @@ fp3_decision.0001 = {
OR = { OR = {
has_faith = faith:mazdakism has_faith = faith:mazdakism
has_faith = faith:zurvanism #Behafaridism has_faith = faith:zurvanism #Behafaridism
faith = { rite = { rite_has_parameter = vows_of_poverty_active }
OR = { rite = { rite_has_tenet = tenet_gnosticism }
has_doctrine_parameter = vows_of_poverty_active
has_doctrine = tenet_gnosticism
}
}
} }
} }
@ -64,7 +60,7 @@ fp3_decision.0001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = major_stress_loss zealous = major_stress_loss
ambitious = minor_stress_loss ambitious = minor_stress_loss
} }
@ -100,8 +96,8 @@ fp3_decision.0001 = {
has_religion = religion:zoroastrianism_religion has_religion = religion:zoroastrianism_religion
} }
OR = { OR = {
faith = { has_doctrine = doctrine_pluralism_fundamentalist } rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
faith = { has_doctrine = doctrine_pluralism_righteous } rite = { rite_has_doctrine = doctrine_pluralism_righteous }
} }
} }
add_opinion = { add_opinion = {
@ -125,8 +121,8 @@ fp3_decision.0001 = {
has_religion = religion:zoroastrianism_religion has_religion = religion:zoroastrianism_religion
} }
OR = { OR = {
faith = { has_doctrine = doctrine_pluralism_fundamentalist } rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
faith = { has_doctrine = doctrine_pluralism_righteous } rite = { rite_has_doctrine = doctrine_pluralism_righteous }
} }
} }
add_opinion = { 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 ambitious = medium_stress_impact_loss
arrogant = medium_stress_impact_loss arrogant = medium_stress_impact_loss
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
@ -186,8 +182,8 @@ fp3_decision.0001 = {
has_religion = religion:zoroastrianism_religion has_religion = religion:zoroastrianism_religion
} }
OR = { OR = {
faith = { has_doctrine = doctrine_pluralism_fundamentalist } rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
faith = { has_doctrine = doctrine_pluralism_righteous } rite = { rite_has_doctrine = doctrine_pluralism_righteous }
} }
} }
add_opinion = { add_opinion = {
@ -211,8 +207,8 @@ fp3_decision.0001 = {
has_religion = religion:zoroastrianism_religion has_religion = religion:zoroastrianism_religion
} }
OR = { OR = {
faith = { has_doctrine = doctrine_pluralism_fundamentalist } rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
faith = { has_doctrine = doctrine_pluralism_righteous } rite = { rite_has_doctrine = doctrine_pluralism_righteous }
} }
} }
add_opinion = { 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 ambitious = minor_stress_impact_gain
zealous = miniscule_stress_impact_gain zealous = miniscule_stress_impact_gain
august = minor_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 = { triggered_desc = {
trigger = { trigger = {
faith = { has_doctrine = doctrine_heretic_branch_zandik } rite = { rite_has_doctrine = doctrine_heretic_branch_zandik }
} }
desc = fp3_decision.0003.desc_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. # Add a unique nickname.
give_nickname = nick_the_fortress_builder give_nickname = nick_the_fortress_builder
stress_impact = { stress_and_fulfillment_impact = {
ambitious = minor_stress_loss ambitious = minor_stress_loss
diligent = minor_stress_loss diligent = minor_stress_loss
greedy = 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 give_nickname = nick_the_reformer
stress_impact = { stress_and_fulfillment_impact = {
ambitious = minor_stress_loss ambitious = minor_stress_loss
arrogant = minor_stress_loss arrogant = minor_stress_loss
vengeful = minor_stress_loss vengeful = minor_stress_loss
@ -610,12 +606,14 @@ fp3_decision.0011 = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
faith = { OR = {
OR = { rite = {
has_doctrine = tenet_fp3_fedayeen OR = {
has_doctrine = tenet_warmonger rite_has_tenet = tenet_fp3_fedayeen
has_doctrine_parameter = pluralism_fundamentalist_proselytization_bonus rite_has_tenet = tenet_warmonger
}
} }
rite = { rite_has_parameter = pluralism_fundamentalist_proselytization_bonus }
} }
} }
desc = fp3_decision.0011_fanatic_murderer.desc desc = fp3_decision.0011_fanatic_murderer.desc
@ -645,7 +643,7 @@ fp3_decision.0011 = {
avenge_the_battle_of_nahrawan_scripted_effect = yes avenge_the_battle_of_nahrawan_scripted_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
zealous = major_stress_impact_loss zealous = major_stress_impact_loss
vengeful = major_stress_impact_loss vengeful = major_stress_impact_loss
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
@ -735,6 +733,7 @@ fp3_decision.0013 = {
age = { 25 75 } age = { 25 75 }
location = root.capital_province location = root.capital_province
faith = root.faith.religious_head.faith 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. gender_female_chance = root_faith_dominant_gender_female_chance #could be female, if given the right context.
trait = diplomat trait = diplomat
template = priest_character_template template = priest_character_template
@ -765,7 +764,7 @@ fp3_decision.0013 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
@ -804,7 +803,7 @@ fp3_decision.0013 = {
target = flag:promote_persian_scripture_decision target = flag:promote_persian_scripture_decision
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_loss trusting = medium_stress_impact_loss
craven = medium_stress_impact_loss craven = medium_stress_impact_loss
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
@ -865,6 +864,7 @@ fp3_decision.0014 = {
age = { 40 75 } age = { 40 75 }
location = root.capital_province location = root.capital_province
faith = root.faith faith = root.faith
rite = root.rite
gender_female_chance = root_faith_dominant_gender_female_chance #could be female, if given the right context. gender_female_chance = root_faith_dominant_gender_female_chance #could be female, if given the right context.
trait = shrewd trait = shrewd
trait = theologian trait = theologian
@ -922,7 +922,7 @@ fp3_decision.0014 = {
################################################## ##################################################
scripted_effect fp3_decision_0015_apply_rebellious_stress_effect = { scripted_effect fp3_decision_0015_apply_rebellious_stress_effect = {
stress_impact = { stress_and_fulfillment_impact = {
arrogant = miniscule_stress_impact_loss arrogant = miniscule_stress_impact_loss
ambitious = minor_stress_impact_loss ambitious = minor_stress_impact_loss
disloyal = 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 = { cp:councillor_court_chaplain = {
is_ai = yes is_ai = yes
faith = { trait_is_sin = drunkard } rite = { trait_is_sin_rite = drunkard }
trigger_if = { trigger_if = {
limit = { exists = house } limit = { exists = house }
house != root.house house != root.house
@ -91,7 +91,7 @@ fp3_h_yearly.0001 = {
#No duel, this deflection always succeeds. #No duel, this deflection always succeeds.
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_gain craven = minor_stress_gain
deceitful = minor_stress_loss deceitful = minor_stress_loss
callous = minor_stress_loss callous = minor_stress_loss
@ -107,12 +107,12 @@ fp3_h_yearly.0001 = {
name = fp3_h_yearly.0001.b name = fp3_h_yearly.0001.b
trigger = { trigger = {
OR = { OR = {
has_trait = scholar has_trait = erudite
has_trait = theologian has_trait = theologian
has_trait = whole_of_body has_trait = whole_of_body
has_trait = lifestyle_physician has_trait = lifestyle_physician
has_trait = lifestyle_poet 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 honest = minor_stress_gain
humble = minor_stress_gain humble = minor_stress_gain
callous = minor_stress_loss callous = minor_stress_loss
@ -178,7 +178,7 @@ fp3_h_yearly.0001 = {
IMPRISONER = scope:actor IMPRISONER = scope:actor
} }
stress_impact = { stress_and_fulfillment_impact = {
just = medium_stress_gain just = medium_stress_gain
zealous = medium_stress_gain zealous = medium_stress_gain
deceitful = minor_stress_loss deceitful = minor_stress_loss
@ -258,7 +258,7 @@ fp3_h_yearly.0001 = {
} }
stress_impact = { stress_and_fulfillment_impact = {
just = medium_stress_gain just = medium_stress_gain
greedy = minor_stress_gain greedy = minor_stress_gain
honest = minor_stress_gain honest = minor_stress_gain
@ -275,7 +275,7 @@ fp3_h_yearly.0001 = {
modifier = ulema_displeased_drinking modifier = ulema_displeased_drinking
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_gain arrogant = minor_stress_gain
deceitful = minor_stress_gain deceitful = minor_stress_gain
drunkard = 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 } scope:raging_ghazi = { silent_disappearance_effect = yes }
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
trusting = minor_stress_impact_loss trusting = minor_stress_impact_loss
forgiving = 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 remove_county_modifier = fp3_brutal_predations_county_modifier
} }
stress_impact = { stress_and_fulfillment_impact = {
just = medium_stress_impact_loss just = medium_stress_impact_loss
vengeful = minor_stress_impact_loss vengeful = minor_stress_impact_loss
zealous = medium_stress_impact_gain 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 zealous = minor_stress_impact_loss
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
just = major_stress_impact_gain 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! 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 diligent = medium_stress_impact_loss
brave = minor_stress_impact_loss brave = minor_stress_impact_loss
humble = 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 scope:concerned_councillor = { #checking that they can be a misogynist/misandrist in this matter
NOR = { NOR = {
faith = { has_doctrine = doctrine_gender_equal } rite = { rite_has_doctrine = doctrine_gender_equal }
culture = { has_cultural_parameter = has_access_to_shieldmaidens } 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 lazy = minor_stress_impact_loss
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
cynical = 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 lazy = minor_stress_impact_loss
craven = major_stress_impact_loss craven = major_stress_impact_loss
content = minor_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 lazy = major_stress_impact_loss
craven = medium_stress_impact_loss craven = medium_stress_impact_loss
content = minor_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 root.capital_province = { geographical_region = world_persian_empire } #so that this inside-to-outside worldview makes sense
faith = { #so that the plot makes sense #so that the plot makes sense
NOR = { faith = { NOT = { has_doctrine_parameter = unreformed } } # Unreformed Pagans don't need frontier fortresses, generally speaking
has_doctrine_parameter = unreformed # Unreformed Pagans don't need frontier fortresses, generally speaking rite = { NOT = { rite_has_doctrine = doctrine_pluralism_pluralistic } }
has_doctrine = doctrine_pluralism_pluralistic
}
}
OR = { #Either could make sense, may as well make it as flexible as possible OR = { #Either could make sense, may as well make it as flexible as possible
any_spouse = { any_spouse = {
@ -765,14 +762,12 @@ fp3_yearly.8002 = { #Faith at the Frontier
this != root.faith this != root.faith
fervor > medium_fervor_value fervor > medium_fervor_value
OR = { OR = {
this = faith:nizari this = faith:shia
this = faith:zayidi
this = faith:qarmatian
this = faith:zurvanism this = faith:zurvanism
this = faith:khurramism this = faith:khurramism
this = faith:nestorian this = faith:nestorian
this = faith:manichean this = faith:manichaean_faith
this = faith:mahayana this = faith:mahayana_faith
} }
} }
alternative_limit = { #just a failsafe to avoid errors alternative_limit = { #just a failsafe to avoid errors
@ -789,17 +784,16 @@ fp3_yearly.8002 = { #Faith at the Frontier
this != root.faith this != root.faith
fervor > medium_fervor_value fervor > medium_fervor_value
OR = { OR = {
this = faith:azariqa this = faith:kharijite
this = faith:mutazila this = faith:sunni
this = faith:ghulat this = faith:shia
this = faith:zayidi
this = faith:zurvanism this = faith:zurvanism
this = faith:khurramism this = faith:khurramism
this = faith:mazdakism this = faith:mazdakism
this = faith:nestorian 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:zun_pagan
this = faith:mahayana this = faith:mahayana_faith
} }
} }
alternative_limit = { #just a failsafe to avoid errors 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 sadistic = major_stress_impact_loss
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
wrathful = minor_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 cynical = major_stress_impact_loss
humble = medium_stress_impact_loss humble = medium_stress_impact_loss
brave = minor_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 lazy = major_stress_impact_loss
shy = minor_stress_impact_loss shy = minor_stress_impact_loss
trusting = 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 patient = medium_stress_impact_loss
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
cynical = minor_stress_impact_loss cynical = minor_stress_impact_loss
@ -1306,10 +1300,10 @@ fp3_yearly.8003 = { #Exotic Espand
name = fp3_yearly.8003.a name = fp3_yearly.8003.a
trigger = { trigger = {
faith = { rite = {
OR = { OR = {
has_doctrine_parameter = witchcraft_illegal rite_has_parameter = witchcraft_illegal
has_doctrine_parameter = witchcraft_shunned 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 arrogant = minor_stress_impact_loss
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
zealous = 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 generous = major_stress_impact_loss
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
diligent = 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 lazy = medium_stress_impact_loss
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
trusting = 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 cynical = minor_stress_impact_loss
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
temperate = minor_stress_impact_loss temperate = minor_stress_impact_loss
@ -1839,7 +1833,7 @@ fp3_yearly.8004 = { #The Frontier Beckons
INVALIDATION_EVENT = fp3_yearly.8006 INVALIDATION_EVENT = fp3_yearly.8006
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = major_stress_impact_gain craven = major_stress_impact_gain
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
compassionate = 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 option = { # Appeal to their better nature
name = fp3_yearly.8004.b name = fp3_yearly.8004.b
stress_impact = { stress_and_fulfillment_impact = {
impatient = major_stress_impact_gain impatient = major_stress_impact_gain
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
@ -1968,7 +1962,7 @@ fp3_yearly.8004 = { #The Frontier Beckons
name = fp3_yearly.8004.c name = fp3_yearly.8004.c
flavor = fp3_yearly.8004.c.flavor flavor = fp3_yearly.8004.c.flavor
stress_impact = { stress_and_fulfillment_impact = {
impatient = major_stress_impact_gain impatient = major_stress_impact_gain
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
arrogant = medium_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 compassionate = medium_stress_impact_loss
patient = medium_stress_impact_loss patient = medium_stress_impact_loss
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
@ -2422,14 +2416,10 @@ fp3_yearly.8009 = {
root.faith.religious_head = { root.faith.religious_head = {
is_ai = yes is_ai = yes
fp3_yearly.8009_root_and_hof_faith_comparison_trigger = yes fp3_yearly.8009_root_and_hof_faith_comparison_trigger = yes
faith = { NOT = { rite = { rite_has_parameter = witchcraft_accepted } }
NOR = { faith = { NOT = { has_doctrine_parameter = unreformed } }
has_doctrine_parameter = unreformed NOT = { rite = { rite_has_tenet = tenet_carnal_exaltation } }
has_doctrine_parameter = witchcraft_accepted rite = { NOT = { rite_has_doctrine = doctrine_pluralism_pluralistic } }
has_doctrine = doctrine_pluralism_pluralistic
has_doctrine = tenet_carnal_exaltation
}
}
} }
any_held_county = { any_held_county = {
@ -2475,6 +2465,7 @@ fp3_yearly.8009 = {
age = { 25 75 } age = { 25 75 }
location = root.capital_province location = root.capital_province
faith = root.faith.religious_head.faith 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. gender_female_chance = root_faith_dominant_gender_female_chance #could be female, if given the right context.
trait = diplomat trait = diplomat
template = priest_character_template template = priest_character_template
@ -2551,7 +2542,7 @@ fp3_yearly.8009 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
sadistic = major_stress_impact_loss sadistic = major_stress_impact_loss
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
wrathful = minor_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 humble = minor_stress_impact_loss
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
@ -2721,7 +2712,7 @@ fp3_yearly.8009 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
} }
@ -2752,7 +2743,7 @@ fp3_yearly.8009 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
content = medium_stress_impact_loss content = medium_stress_impact_loss
cynical = minor_stress_impact_loss cynical = minor_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
@ -2834,10 +2825,10 @@ fp3_yearly.8010 = {
faith = { faith = {
NOR = { NOR = {
has_doctrine_parameter = unreformed 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 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 brave = medium_stress_impact_loss
wrathful = minor_stress_impact_loss wrathful = minor_stress_impact_loss
zealous = 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 brave = minor_stress_impact_loss
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
content = minor_stress_impact_gain content = minor_stress_impact_gain
@ -3060,7 +3051,7 @@ fp3_yearly.8010 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = major_stress_impact_loss compassionate = major_stress_impact_loss
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
patient = 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 content = minor_stress_impact_loss
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
cynical = 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 = { scripted_trigger fp3_opportunistic_drunkard_trigger = {
faith = { trait_is_sin = drunkard } rite = { trait_is_sin_rite = drunkard }
has_trait = deceitful has_trait = deceitful
OR = { OR = {
has_trait = drunkard has_trait = drunkard
@ -3272,7 +3263,7 @@ fp3_yearly.8014 = {
root.capital_province = { geographical_region = world_persian_empire } root.capital_province = { geographical_region = world_persian_empire }
faith = { trait_is_sin = drunkard } rite = { trait_is_sin_rite = drunkard }
OR = { OR = {
has_trait = drunkard has_trait = drunkard
@ -3365,7 +3356,7 @@ fp3_yearly.8014 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_loss deceitful = minor_stress_impact_loss
drunkard = medium_stress_impact_loss drunkard = medium_stress_impact_loss
gregarious = minor_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 just = minor_stress_impact_loss
honest = minor_stress_impact_loss honest = minor_stress_impact_loss
temperate = 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 zealous = medium_stress_impact_loss
just = minor_stress_impact_loss just = minor_stress_impact_loss
honest = 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 irritable = minor_stress_impact_loss
wrathful = minor_stress_impact_loss wrathful = minor_stress_impact_loss
zealous = 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 cynical = minor_stress_impact_loss
scholar = minor_stress_impact_loss erudite = minor_stress_impact_loss
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
@ -3714,7 +3705,7 @@ fp3_yearly.8016 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_loss ambitious = minor_stress_impact_loss
diligent = minor_stress_impact_loss diligent = minor_stress_impact_loss
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
@ -3813,7 +3804,7 @@ fp3_yearly.8017 = {
opinion = 20 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... #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 craven = medium_stress_impact_loss
paranoid = medium_stress_impact_loss paranoid = medium_stress_impact_loss
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
@ -3952,7 +3943,7 @@ fp3_yearly.8018 = {
add_gold = massive_gold_value add_gold = massive_gold_value
stress_impact = { stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
@ -3973,7 +3964,7 @@ fp3_yearly.8018 = {
option = { option = {
name = fp3_yearly.8018.b name = fp3_yearly.8018.b
stress_impact = { stress_and_fulfillment_impact = {
stubborn = minor_stress_impact_loss stubborn = minor_stress_impact_loss
content = minor_stress_impact_loss content = minor_stress_impact_loss
} }
@ -4004,7 +3995,7 @@ fp3_yearly.8018 = {
years = 20 years = 20
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = medium_stress_impact_gain calm = medium_stress_impact_gain
shy = minor_stress_impact_gain shy = minor_stress_impact_gain
compassionate = 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
}
}
}
}

View file

@ -1,307 +0,0 @@
namespace = court_astrologer_events
#Triggered by the "Consult the Skies" decision
court_astrologer_events.0001 = {
type = character_event
title = court_astrologer_events.0001.t
desc = court_astrologer_events.0001.desc
theme = faith
override_effect_2d = {
reference = legend_glow
}
left_portrait = {
character = root
triggered_animation = {
trigger = {
has_trait = zealous
}
animation = beg
}
triggered_animation = {
trigger = {
OR = {
has_trait = craven
has_trait = paranoid
}
}
animation = worry
}
triggered_animation = {
trigger = {
OR = {
has_trait = cynical
has_trait = arrogant
}
}
animation = boredom
}
animation = prayer
}
right_portrait = {
character = scope:astrologer
animation = holding_staff
}
immediate = {
random_courtier = {
limit = { has_court_position = court_astrologer_court_position }
save_scope_as = astrologer
}
}
option = { # Tell me about my love life
name = court_astrologer_events.0001.a
random_list = {
50 = {
desc = court_astrologer_events.0001.a.success
send_interface_toast = {
title = court_astrologer_events.0001.a.success
left_icon = root
custom_tooltip = court_astrologer_events.0001.a.success.tt
if = {
limit = {
culture ?= { has_cultural_pillar = ethos_spiritual }
}
add_character_modifier = {
modifier = mpo_divination_love_spiritual_modifier
years = 5
}
}
else = {
add_character_modifier = {
modifier = mpo_divination_love_modifier
years = 5
}
}
}
}
50 = {
desc = court_astrologer_events.0001.a.failure
send_interface_toast = {
title = court_astrologer_events.0001.a.failure
left_icon = root
add_stress = minor_stress_loss
}
}
}
stress_impact = {
paranoid = miniscule_stress_impact_gain
cynical = miniscule_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Tell me about war
name = court_astrologer_events.0001.b
random_list = {
50 = {
desc = court_astrologer_events.0001.b.success
send_interface_toast = {
title = court_astrologer_events.0001.b.success
left_icon = root
if = {
limit = {
culture ?= { has_cultural_pillar = ethos_spiritual }
}
add_character_modifier = {
modifier = mpo_divination_war_spiritual_modifier
years = 5
}
}
else = {
add_character_modifier = {
modifier = mpo_divination_war_modifier
years = 5
}
}
}
}
50 = {
desc = court_astrologer_events.0001.a.failure
send_interface_toast = {
title = court_astrologer_events.0001.a.failure
left_icon = root
add_stress = minor_stress_loss
}
}
}
stress_impact = {
paranoid = miniscule_stress_impact_gain
cynical = miniscule_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Just tell me about life
name = court_astrologer_events.0001.c
random_list = {
50 = {
desc = court_astrologer_events.0001.c.success
send_interface_toast = {
title = court_astrologer_events.0001.c.success
left_icon = root
if = {
limit = {
culture ?= { has_cultural_pillar = ethos_spiritual }
}
add_character_modifier = {
modifier = mpo_divination_life_spiritual_modifier
years = 5
}
}
else = {
add_character_modifier = {
modifier = mpo_divination_life_modifier
years = 5
}
}
}
}
50 = {
desc = court_astrologer_events.0001.a.failure
send_interface_toast = {
title = court_astrologer_events.0001.a.failure
left_icon = root
add_stress = minor_stress_loss
}
}
}
stress_impact = {
paranoid = miniscule_stress_impact_gain
cynical = miniscule_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Actually, not right now
name = court_astrologer_events.0001.d
remove_decision_cooldown = mpo_divination_decision
ai_chance = {
base = 0
}
}
}
# Migration Suggestion
scripted_trigger court_astrologer_events_0002_neighbour_trigger = {
government_has_flag = government_is_nomadic
current_domain_fertility >= root.current_domain_fertility
is_independent_ruler = yes
}
court_astrologer_events.0002 = {
type = character_event
title = court_astrologer_events.0002.t
desc = {
desc = court_astrologer_events.0002.desc.intro
first_valid = {
triggered_desc = {
trigger = {
location.county.county_fertility <= bad_county_fertility_level
}
desc = court_astrologer_events.0002.desc.bad
}
desc = court_astrologer_events.0002.desc.meh
}
desc = court_astrologer_events.0002.desc.outro
}
theme = nomads
override_background = { reference = mpo_steppe_evening }
left_portrait = {
character = root
animation = thinking
}
right_portrait = {
character = scope:astrologer
animation = holding_staff
}
lower_center_portrait = scope:target_realm_owner
cooldown = { years = 5 }
trigger = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
is_available = yes
employs_court_position = court_astrologer_court_position
court_position:court_astrologer_court_position = { is_available = yes }
any_neighboring_realm_same_rank_owner = {
court_astrologer_events_0002_neighbour_trigger = yes
}
}
weight_multiplier = {
base = 1
modifier = {
current_domain_fertility <= bad_county_fertility_level
factor = 2
}
}
immediate = {
court_position:court_astrologer_court_position = {
save_scope_as = astrologer
get_quirk_character_effect = yes
}
ordered_neighboring_realm_same_rank_owner = {
limit = {
court_astrologer_events_0002_neighbour_trigger = yes
}
order_by = current_domain_fertility
save_scope_as = target_realm_owner
primary_title = { save_scope_as = target_realm }
}
}
option = { # Sounds like a great idea
name = court_astrologer_events.0002.a
custom_tooltip = court_astrologer_events.0002.a.tt
set_variable = {
name = astrologer_desired_area
value = scope:target_realm
years = 5
}
stress_impact = {
paranoid = medium_stress_impact_gain
gregarious = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Thank you for your feedback
name = court_astrologer_events.0002.b
scope:astrologer = {
add_opinion = {
target = root
modifier = respect_opinion
opinion = 20
}
}
stress_impact = {
paranoid = medium_stress_impact_gain
gregarious = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # I'm good
name = court_astrologer_events.0002.c
add_prestige = minor_prestige_gain
stress_impact = {
paranoid = medium_stress_impact_gain
gregarious = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,988 +0,0 @@
namespace = mpo_events_anna
##################################################
# Anna's Events for MPO
#Train Them Young - teach a child how to ride a horse
mpo_events_anna.0001 = {
type = character_event
title = mpo_events_anna.0001.t
desc = mpo_events_anna.0001.desc
theme = nomads
left_portrait = {
character = scope:pushy_adult
animation = standing_horse
camera = camera_event_standing_with_horse_left
}
right_portrait = {
character = scope:child
animation = clutching_ball
}
cooldown = { years = 20 }
trigger = {
has_mpo_dlc_trigger = yes
is_adult = yes
location = { geographical_region = world_steppe }
government_has_flag = government_is_nomadic
any_child = {
is_available_child = yes
location = root.location
age >= 5
}
any_courtier = {
is_available_healthy_ai_adult = yes
}
}
immediate = {
random_child = {
limit = {
is_available_child = yes
location = root.location
age >= 5
}
save_scope_as = child
}
random_courtier = {
limit = {
is_available_healthy_ai_adult = yes
}
save_scope_as = pushy_adult
}
}
#Put the child on the horse
option = {
name = mpo_events_anna.0001.a
flavor = mpo_events_anna.0001.a.tt
random_list = {
70 = {
desc = mpo_events_anna.0001.a.toast.good
send_interface_toast = {
type = event_toast_effect_good
title = mpo_events_anna.0001.a.toast.good
left_icon = scope:child
right_icon = root
scope:child = { add_learning_lifestyle_xp = medium_lifestyle_experience }
}
}
20 = {
desc = mpo_events_anna.0001.a.toast.neutral
send_interface_toast = {
type = event_toast_effect_neutral
title = mpo_events_anna.0001.a.toast.neutral
left_icon = scope:child
right_icon = root
scope:child = { add_stress = miniscule_stress_gain }
}
}
10 = {
desc = mpo_events_anna.0001.a.toast.bad
send_interface_toast = {
type = event_toast_effect_bad
title = mpo_events_anna.0001.a.toast.bad
left_icon = scope:child
right_icon = root
scope:child = { increase_wounds_effect = { REASON = fall }
}
}
}
}
reverse_add_opinion = {
target = scope:pushy_adult
modifier = respect_opinion
opinion = 10
}
stress_impact = {
craven = minor_stress_impact_gain
paranoid = minor_stress_impact_gain
brave = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_honor = 1
ai_boldness = 1
}
}
}
#Ride together with the child on the horse
option = {
name = mpo_events_anna.0001.b
reverse_add_opinion = {
target = scope:child
modifier = kindness_opinion
opinion = 20
}
add_prestige = minor_prestige_loss
stress_impact = {
callous = minor_stress_impact_gain
compassionate = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_compassion = 1
ai_rationality = 1
}
}
}
#Refuse their request
option = {
name = mpo_events_anna.0001.c
reverse_add_opinion = {
target = scope:pushy_adult
modifier = disrespect_opinion
opinion = -10
}
stress_impact = {
craven = minor_stress_impact_loss
paranoid = minor_stress_impact_loss
brave = minor_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_honor = -1
ai_boldness = -1
}
}
}
}
#Stories from the Past - choose a story to be told
mpo_events_anna.0005 = {
type = character_event
title = mpo_events_anna.0005.t
desc = mpo_events_anna.0005.desc
theme = nomads
left_portrait = {
character = root
animation = ecstasy
}
right_portrait = {
character = scope:storyteller
animation = storyteller
}
override_background = mpo_campfire_steppe
cooldown = { years = 20 }
trigger = {
has_mpo_dlc_trigger = yes
is_available_child = yes
age >= 5
location = { geographical_region = world_steppe }
government_has_flag = government_is_nomadic
any_courtier = {
is_available_healthy_ai_adult = yes
}
}
immediate = {
random_courtier = {
limit = {
is_available_healthy_ai_adult = yes
}
save_scope_as = storyteller
}
}
#Fantastical creatures
option = {
name = mpo_events_anna.0005.a
flavor = mpo_events_anna.0005.a.tt
add_character_modifier = {
modifier = mpo_storyteller_fantastical_creatures_modifier
years = 5
}
stress_impact = {
eccentric = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = -1
ai_energy = 1
}
}
}
#Humorous tales
option = {
name = mpo_events_anna.0005.b
flavor = mpo_events_anna.0005.b.tt
add_character_modifier = {
modifier = mpo_storyteller_humorous_tales_modifier
years = 5
}
add_stress = minor_stress_loss
stress_impact = {
gregarious = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_compassion = 1
ai_sociability = 1
}
}
}
#Heroic triumphs
option = {
name = mpo_events_anna.0005.c
flavor = mpo_events_anna.0005.c.tt
add_character_modifier = {
modifier = mpo_storyteller_heroic_triumphs_modifier
years = 5
}
stress_impact = {
wrathful = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_honor = 1
ai_boldness = 1
}
}
}
}
#Whistle Like an Arrow - being taught how to whistle as a child
mpo_events_anna.0010 = {
type = character_event
title = mpo_events_anna.0010.t
desc = mpo_events_anna.0010.desc
theme = nomads
left_portrait = {
character = root
animation = shame
}
right_portrait = {
character = scope:whistler
animation = storyteller
}
cooldown = { years = 10 }
trigger = {
has_mpo_dlc_trigger = yes
is_available_child = yes
age >= 5
location = { geographical_region = world_steppe }
government_has_flag = government_is_nomadic
OR = {
any_relation = {
type = guardian
location = root.location
is_available = yes
}
any_parent = {
location = root.location
is_available = yes
}
}
}
immediate = {
if = {
limit = {
any_relation = {
type = guardian
location = root.location
is_available = yes
}
}
random_relation = {
type = guardian
limit = {
location = root.location
is_available = yes
}
save_scope_as = whistler
}
}
else_if = {
limit = {
any_parent = {
location = root.location
is_available = yes
}
}
random_parent = {
limit = {
location = root.location
is_available = yes
}
save_scope_as = whistler
}
}
}
option = {
name = mpo_events_anna.0010.a
custom_tooltip = mpo_events_anna.0010.a.tt.learning
duel = {
skill = learning
value = mediocre_skill_rating
50 = {
compare_modifier = {
value = scope:duel_value
#This takes the whistlers learning skill into account, using their skills to teach the child of how to whistle
multiplier = { add = scope:whistler.learning multiply = 0.5 }
min = -39
}
desc = mpo_events_anna.0010.a.tt.success
send_interface_toast = {
type = event_toast_effect_good
title = mpo_events_anna.0010.a.tt.success
left_icon = root
right_icon = scope:whistler
add_learning_lifestyle_xp = medium_lifestyle_experience
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = { add = scope:whistler.learning multiply = -0.5 }
min = -39
}
desc = mpo_events_anna.0010.a.tt.failure
send_interface_toast = {
type = event_toast_effect_bad
title = mpo_events_anna.0010.a.tt.failure
left_icon = root
right_icon = scope:whistler
add_character_modifier = {
modifier = mpo_whistling_is_difficult_modifier
years = 5
}
}
}
}
stress_impact = {
pensive = minor_stress_impact_loss
bossy = minor_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_energy = 1
ai_sociability = 1
}
}
}
option = {
name = mpo_events_anna.0010.b
add_prestige = miniscule_prestige_gain
reverse_add_opinion = {
target = scope:whistler
modifier = disappointed_opinion
opinion = -5
}
stress_impact = {
bossy = minor_stress_impact_loss
pensive = minor_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_energy = -1
ai_sociability = -1
}
}
}
}
#A Morsel of Meat - choose the fate of a fawn stuck in a trap
mpo_events_anna.0015 = {
type = character_event
title = mpo_events_anna.0015.t
desc = mpo_events_anna.0015.desc
theme = travel
left_portrait = {
character = root
animation = personality_dishonorable
}
right_portrait = {
character = scope:sceptic
animation = personality_cynical
}
cooldown = { years = 10 }
trigger = {
has_mpo_dlc_trigger = yes
is_adult = yes
location = { geographical_region = world_steppe }
government_has_flag = government_is_landless_adventurer
NOT = {
culture = { has_cultural_tradition = tradition_vegetarianism }
}
is_available_travelling = yes
domicile = {
provisions <= medium_provisions_value
}
current_travel_plan = {
any_entourage_character = {
is_available_allow_travelling = yes
}
}
}
immediate = {
current_travel_plan = {
random_entourage_character = {
limit = {
is_available_allow_travelling = yes
}
save_scope_as = sceptic
}
}
}
#Steal the prey, kill it for provisions
option = {
name = mpo_events_anna.0015.a
domicile = {
change_provisions = minor_provisions_gain
}
add_prestige = minor_prestige_loss
stress_impact = {
humble = minor_stress_impact_gain
arrogant = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_honor = -1
ai_greed = 1
}
}
}
#Convince the entourage that it is your trap you laid out
option = {
name = mpo_events_anna.0015.b
duel = {
skill = intrigue
value = high_skill_rating
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
domicile = {
change_provisions = minor_provisions_gain
}
add_character_modifier = {
modifier = mpo_sufficient_liar_modifier
years = 5
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
add_prestige = minor_prestige_loss
add_stress = medium_stress_gain
}
}
stress_impact = {
honest = minor_stress_impact_gain
deceitful = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_honor = -1
ai_greed = 1
ai_boldness = 1
}
}
}
#Release the animal
option = {
name = mpo_events_anna.0015.c
add_character_modifier = {
modifier = mpo_trapped_fawn_modifier
years = 5
}
add_prestige = miniscule_prestige_loss
stress_impact = {
callous = minor_stress_impact_gain
compassionate = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_compassion = 1
ai_rationality = 1
}
}
}
#It isn't your trap, leave it be
option = {
name = mpo_events_anna.0015.d
add_prestige = miniscule_prestige_gain
stress_impact = {
arbitrary = minor_stress_impact_gain
just = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_honor = 1
ai_rationality = 1
}
}
}
}
#Race Against Time - encounter a wounded messenger
mpo_events_anna.0020 = {
type = character_event
title = mpo_events_anna.0020.t
desc = mpo_events_anna.0020.desc
theme = travel
left_portrait = {
character = root
animation = disbelief
}
right_portrait = {
character = scope:messenger
animation = loss_1
}
cooldown = { years = 20 }
trigger = {
has_mpo_dlc_trigger = yes
is_adult = yes
location = { geographical_region = world_steppe }
government_has_flag = government_is_nomadic
is_independent_ruler = no
is_available_travelling = yes
}
immediate = {
create_character = {
template = wounded_messenger_character_template
location = root.location
culture = this.culture
faith = this.faith
save_scope_as = messenger
after_creation = {
scope:messenger = {
increase_wounds_effect = { REASON = battle }
}
}
}
#This is to make sure that the Trait Wounded is being cured by the root (player) in option A
save_scope_as = physician
}
#Treat the messengers wounds
option = {
name = mpo_events_anna.0020.a
current_travel_plan = {
delay_travel_plan = { days = 14 }
}
custom_tooltip = mpo_events_anna.0020.war_impact.tt
hidden_effect = {
liege = {
add_character_modifier = {
modifier = mpo_messenger_negative_liege_modifier
years = 10
}
}
}
duel = {
skill = learning
value = high_skill_rating
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
modifier = {
current_travel_plan = {
any_entourage_character = {
has_court_position = court_physician_court_position
}
}
add = 10
}
modifier = {
root = {
has_trait = lifestyle_herbalist
}
add = 10
}
send_interface_toast = {
type = event_toast_effect_good
title = mpo_events_anna.0020.a.toast.good
left_icon = scope:messenger
right_icon = root
scope:messenger = {
wound_treatment_results_effect = { TREATMENT = safe OUTCOME = success }
}
current_travel_plan = { add_companion = scope:messenger }
reverse_add_opinion = {
modifier = grateful_opinion
target = scope:messenger
opinion = 10
}
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
send_interface_toast = {
type = event_toast_effect_bad
title = mpo_events_anna.0020.a.toast.bad
left_icon = scope:messenger
right_icon = root
}
scope:messenger = {
death = {
death_reason = death_wounds
}
}
}
}
stress_impact = {
cynical = minor_stress_impact_gain
compassionate = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_compassion = 1
}
}
}
#Deliver the message
option = {
name = mpo_events_anna.0020.b
current_travel_plan = {
delay_travel_plan = { days = 21 }
}
scope:messenger = {
death = {
death_reason = death_wounds
}
}
custom_tooltip = mpo_events_anna.0020.war_impact.tt
duel = {
skill = prowess
value = high_skill_rating
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
modifier = {
any_owned_story = {
story_type = story_cycle_martial_lifestyle_warhorse
}
add = 10
}
send_interface_toast = {
type = event_toast_effect_good
title = mpo_events_anna.0020.b.toast.good
left_icon = root
add_hook = {
target = liege
type = favor_hook
}
}
hidden_effect = {
liege = {
add_character_modifier = {
modifier = mpo_messenger_positive_liege_modifier
years = 10
}
}
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
send_interface_toast = {
type = event_toast_effect_bad
title = mpo_events_anna.0020.b.toast.bad
left_icon = root
hidden_effect = {
liege = {
add_character_modifier = {
modifier = mpo_messenger_negative_liege_modifier
years = 10
}
}
}
}
}
}
stress_impact = {
brave = minor_stress_impact_loss
diligent = minor_stress_impact_loss
craven = minor_stress_impact_gain
lazy = minor_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_boldness = 1
}
}
}
#How can they be trusted?
option = {
name = mpo_events_anna.0020.c
flavor = mpo_events_anna.0020.c_flavor
hidden_effect = {
liege = {
add_character_modifier = {
modifier = mpo_messenger_negative_liege_modifier
years = 10
}
}
}
add_gold = { 5 15 }
scope:messenger = {
death = {
death_reason = death_wounds
}
}
custom_tooltip = mpo_events_anna.0020.war_impact.tt
current_travel_plan = {
every_entourage_character = {
limit = {
has_trait = trusting
}
add_opinion = {
modifier = cruelty_opinion
target = root
opinion = -10
}
}
}
stress_impact = {
trusting = minor_stress_impact_gain
paranoid = minor_stress_impact_loss
sadistic = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = 1
}
}
}
}
#Familiar Tunes - encounter with a performer
mpo_events_anna.0025 = {
type = character_event
title = mpo_events_anna.0025.t
desc = mpo_events_anna.0025.desc
theme = travel
left_portrait = {
character = root
animation = happiness
}
right_portrait = {
character = scope:throat_singer
animation = lute_active
}
cooldown = { years = 10 }
trigger = {
has_mpo_dlc_trigger = yes
is_adult = yes
location = { geographical_region = world_steppe }
government_has_flag = government_is_nomadic
is_available_travelling = yes
}
immediate = {
create_character = {
template = throat_singer_character_template
location = root.location
culture = this.culture
faith = this.faith
save_scope_as = throat_singer
}
}
option = {
name = mpo_events_anna.0025.a
duel = {
skill = learning
value = low_skill_rating
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
desc = mpo_events_anna.0025.a.toast.success
send_interface_toast = {
type = event_toast_effect_good
title = mpo_events_anna.0025.a.toast.success
left_icon = root
right_icon = scope:throat_singer
add_character_modifier = {
modifier = mpo_inspiring_tunes_modifier
years = 5
}
add_learning_lifestyle_xp = medium_lifestyle_experience
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
desc = mpo_events_anna.0025.a.toast.failure
send_interface_toast = {
type = event_toast_effect_bad
title = mpo_events_anna.0025.a.toast.failure
left_icon = root
right_icon = scope:throat_singer
add_prestige = miniscule_prestige_loss
}
}
}
stress_impact = {
calm = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = -1
ai_energy = 1
ai_sociability = 1
}
}
}
option = {
name = mpo_events_anna.0025.b
add_stress = medium_stress_loss
stress_impact = {
calm = minor_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = 1
ai_energy = 1
ai_sociability = 1
}
}
}
after = {
scope:throat_singer = {
silent_disappearance_ai_effect = yes
}
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,456 +0,0 @@
namespace = mpo_flavor_events_settled
# mpo_flavor_events_settled.0001 - You hear of a Havsarsan Zud
# mpo_flavor_events_settled.0010 - Horse Lord at your door
#######################
# You hear of a Havsarsan Zud
#######################
mpo_flavor_events_settled.0001 = {
type = character_event
title = mpo_flavor_events_settled.0001.t
desc = mpo_flavor_events_settled.0001.desc
theme = nomads
override_background = { reference = ep3_city_gate }
left_portrait = {
character = root
triggered_animation = {
trigger = {
OR = {
has_trait = callous
has_trait = sadistic
}
}
animation = schadenfreude
}
triggered_animation = {
trigger = {
OR = {
has_trait = brave
has_trait = arrogant
}
}
animation = dismissal
}
animation = worry
}
right_portrait = {
character = scope:nomad
animation = horse_exhausted
camera = camera_event_horse_right
}
widget = {
gui = "event_window_widget_vfx_snowstorm"
container = "foreground_shader_vfx_container"
}
cooldown = { years = 10 }
trigger = {
has_mpo_dlc_trigger = yes
NOT = { government_has_flag = government_is_nomadic }
OR = {
any_character_situation = { # You are a settled ruler in the Great Steppe
any_participant_group = {
participant_group_type = settled_rulers
participant_group_has_character = root
}
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_havsarsan_zud_season
}
}
any_sub_realm_county = { # You are neighbouring the Great Steppe
any_neighboring_county = {
holder != root
any_county_situation = {
situation:the_great_steppe ?= this
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_havsarsan_zud_season
}
}
}
}
}
}
immediate = {
if = {
limit = {
any_neighboring_top_liege_realm_owner = {
government_has_flag = government_is_nomadic
}
}
random_neighboring_top_liege_realm_owner = {
limit = { government_has_flag = government_is_nomadic }
save_scope_as = nomad_lord
}
}
else = {
random_ruler = {
limit = {
in_diplomatic_range = root
government_has_flag = government_is_nomadic
}
save_scope_as = nomad_lord
}
}
create_character = {
location = root.location
template = nomadic_hunter_template
faith = scope:nomad_lord.faith
culture = scope:nomad_lord.culture
save_scope_as = nomad
}
scope:nomad = { add_trait = nomadic_philosophy }
}
option = { # Get out
name = mpo_flavor_events_settled.0001.aa
reason = faith
add_internal_flag = special
trigger = {
faith = {
trait_is_virtue = callous
}
}
add_piety = medium_piety_gain
stress_impact = {
callous = major_stress_impact_loss
generous = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
factor = 2
has_trait = callous
}
modifier = {
factor = 0
OR = {
has_trait = generous
has_trait = paranoid
}
}
}
}
option = { # Let's prepare
name = mpo_flavor_events_settled.0001.a
remove_short_term_gold = medium_gold_value
every_sub_realm_county = {
limit = { holder = root }
add_county_modifier = {
modifier = mpo_settled_preparations_war_county_modifier
years = 15
}
}
stress_impact = {
wrathful = medium_stress_impact_loss
brave = medium_stress_impact_loss
craven = medium_stress_impact_gain
greedy = medium_stress_impact_gain
avaricious = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
OR = {
has_trait = wrathful
has_trait = brave
}
factor = 0
}
modifier = {
OR = {
short_term_gold <= major_gold_value
has_trait = greedy
has_trait = avaricious
has_trait = craven
}
factor = 0
}
}
}
option = { # We should focus on building
name = mpo_flavor_events_settled.0001.b
every_sub_realm_county = {
limit = { holder = root }
add_county_modifier = {
modifier = mpo_settled_preparations_building_county_modifier
years = 10
}
}
stress_impact = {
compassionate = major_stress_impact_loss
greedy = medium_stress_impact_gain
avaricious = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Recruit this guy
name = mpo_flavor_events_settled.0001.c
trigger = {
NOT = {
faith = {
trait_is_virtue = callous
}
}
}
add_courtier = scope:nomad
if = {
limit = {
faith = { trait_is_virtue = compassionate }
}
add_piety = major_piety_gain
}
else = {
add_piety = medium_piety_gain
}
stress_impact = {
compassionate = major_stress_impact_loss
callous = major_stress_impact_gain
}
ai_chance = {
base = 100
}
}
after = {
custom_tooltip = mpo_flavor_events_settled.0001.tt
if = {
limit = { is_ai = yes }
scope:nomad = { silent_disappearance_effect = yes }
}
}
}
#######################
# Horse Lord at your door
#######################
scripted_trigger mpo_flavor_events_settled_0010_valid_nomad_lord_trigger = {
government_has_flag = government_is_nomadic
NOR = {
is_close_family_of = root
is_vassal_of = root
is_tributary_of = root
this = root.liege
this = root.suzerain
}
any_character_situation = {
situation:the_great_steppe ?= this
}
}
mpo_flavor_events_settled.0010 = {
type = character_event
title = mpo_flavor_events_settled.0010.t
desc = mpo_flavor_events_settled.0010.desc
theme = nomads
override_background = { reference = ep3_city_gate }
left_portrait = {
character = root
animation = anger
}
right_portrait = {
character = scope:nomad
animation = horse_conversing_left
camera = camera_event_horse_right
}
lower_right_portrait = scope:nomad_lord
cooldown = { years = 10 }
trigger = {
has_mpo_dlc_trigger = yes
NOR = {
government_has_flag = government_is_nomadic
any_primary_war_enemy = { government_has_flag = government_is_nomadic }
}
any_neighboring_top_liege_realm_owner = {
mpo_flavor_events_settled_0010_valid_nomad_lord_trigger = yes
}
}
weight_multiplier = {
base = 1
modifier = {
any_neighboring_top_liege_realm_owner = {
government_has_flag = government_is_nomadic
highest_held_title_tier >= tier_kingdom
}
factor = 2
}
}
immediate = {
random_neighboring_top_liege_realm_owner = {
limit = { mpo_flavor_events_settled_0010_valid_nomad_lord_trigger = yes }
weight = {
base = 1
modifier = {
highest_held_title_tier >= tier_kingdom
add = 5
}
}
save_scope_as = nomad_lord
}
create_character = {
location = root.location
template = nomadic_commander_template
faith = scope:nomad_lord.faith
culture = scope:nomad_lord.culture
save_scope_as = nomad
}
hidden_effect = {
scope:nomad = { add_trait = nomadic_philosophy }
scope:nomad_lord = { add_courtier = scope:nomad }
}
}
option = { # Pay tribute
name = mpo_flavor_events_settled.0010.a
trigger = {
OR = {
scope:nomad_lord.primary_title.tier > root.primary_title.tier
scope:nomad_lord.current_military_strength > root.current_military_strength
}
}
start_tributary_interaction_effect = {
TRIBUTARY = root
SUZERAIN = scope:nomad_lord
}
scope:nomad_lord = {
add_opinion = {
target = root
modifier = pleased_opinion
opinion = 25
}
}
add_prestige = medium_prestige_gain
stress_impact = {
vengeful = major_stress_impact_loss
compassionate = medium_stress_impact_gain
}
ai_chance = {
base = 0
}
}
option = { # Pay to get truce
name = mpo_flavor_events_settled.0010.b
trigger = {
NOR = {
scope:nomad_lord.primary_title.tier > root.primary_title.tier
scope:nomad_lord.current_military_strength > root.current_military_strength
}
}
if = {
limit = {
has_perk = defensive_measures_perk
}
custom_tooltip = mpo_flavor_events_settled.0010.b_perk_tt
pay_short_term_gold = {
target = scope:nomad_lord
gold = root.purchase_truce_interaction_small_sum
}
add_truce_both_ways = {
character = scope:nomad_lord
days = purchase_truce_interaction_truce_days_medium_value
name = TRUCE_PURCHASED
}
}
else = {
pay_short_term_gold = {
target = scope:nomad_lord
gold = root.purchase_truce_interaction_medium_sum
}
add_truce_both_ways = {
character = scope:nomad_lord
days = purchase_truce_interaction_truce_days_medium_value
name = TRUCE_PURCHASED
}
}
stress_impact = {
brave = medium_stress_impact_gain
ambitious = medium_stress_impact_gain
arrogant = medium_stress_impact_gain
}
ai_chance = {
base = 50
modifier = {
OR = {
has_trait = content
has_trait = craven
}
factor = 2
}
modifier = {
OR = {
has_trait = brave
has_trait = ambitious
has_trait = arrogant
has_trait = greedy
gold <= root.purchase_truce_interaction_major_sum
}
factor = 0
}
}
}
option = { # Offend them
name = mpo_flavor_events_settled.0010.c
add_dread = medium_dread_value
scope:nomad_lord = {
progress_towards_rival_effect = {
CHARACTER = root
OPINION = -40
REASON = rival_disrespected_envoy
}
}
stress_impact = {
callous = major_stress_impact_loss
craven = major_stress_impact_gain
vengeful = major_stress_impact_gain
}
ai_chance = {
base = 0
modifier = {
add = 150
has_trait = callous
current_military_strength > scope:nomad_lord.current_military_strength
}
}
}
option = { # Let's just be friends
name = mpo_flavor_events_settled.0010.d
add_diplomacy_lifestyle_xp = minor_lifestyle_xp
scope:nomad_lord = {
add_opinion = {
target = root
modifier = pleased_opinion
opinion = 5
}
}
stress_impact = {
gregarious = medium_stress_impact_loss
}
ai_chance = {
base = 200
}
}
after = {
if = {
limit = { is_ai = yes }
scope:nomad = { silent_disappearance_effect = yes }
}
}
}

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

@ -74,7 +74,7 @@ mpo_migration_travel_events.0001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -110,7 +110,7 @@ mpo_migration_travel_events.0001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
} }
@ -199,7 +199,7 @@ mpo_migration_travel_events.0010 = {
custom_tooltip = no_longer_herd_limit_tt custom_tooltip = no_longer_herd_limit_tt
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss generous = minor_stress_impact_loss
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
} }
@ -233,7 +233,7 @@ mpo_migration_travel_events.0010 = {
custom_tooltip = no_longer_herd_limit_tt custom_tooltip = no_longer_herd_limit_tt
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss generous = minor_stress_impact_loss
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
} }
@ -278,7 +278,7 @@ mpo_migration_travel_events.0010 = {
custom_tooltip = no_longer_herd_limit_tt custom_tooltip = no_longer_herd_limit_tt
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
} }
@ -312,7 +312,7 @@ mpo_migration_travel_events.0010 = {
opinion = -5 opinion = -5
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_loss greedy = medium_stress_impact_loss
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
} }
@ -383,7 +383,7 @@ mpo_migration_travel_events.0020 = {
option = { option = {
name = mpo_migration_travel_events.0020.a name = mpo_migration_travel_events.0020.a
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
@ -457,7 +457,7 @@ mpo_migration_travel_events.0020 = {
type = event_toast_effect_bad type = event_toast_effect_bad
left_icon = root left_icon = root
right_icon = scope:astrologer right_icon = scope:astrologer
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
} }
} }
@ -528,7 +528,7 @@ mpo_migration_travel_events.0030 = {
domicile = { domicile = {
change_herd = medium_herd_loss change_herd = medium_herd_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
@ -578,7 +578,7 @@ mpo_migration_travel_events.0030 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -778,7 +778,7 @@ mpo_migration_travel_events.0040 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = minor_stress_impact_loss brave = minor_stress_impact_loss
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
} }
@ -802,14 +802,14 @@ mpo_migration_travel_events.0040 = {
flavor = mpo_migration_travel_events.0040.b_flavor flavor = mpo_migration_travel_events.0040.b_flavor
remove_short_term_gold = minor_gold_value remove_short_term_gold = minor_gold_value
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
greedy = miniscule_stress_impact_gain greedy = miniscule_stress_impact_gain
} }
current_travel_plan = { delay_travel_plan = { days = 15 } } current_travel_plan = { delay_travel_plan = { days = 15 } }
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_loss diligent = minor_stress_impact_loss
} }
@ -843,7 +843,7 @@ mpo_migration_travel_events.0040 = {
current_travel_plan = { delay_travel_plan = { days = 60 } } current_travel_plan = { delay_travel_plan = { days = 60 } }
stress_impact = { stress_and_fulfillment_impact = {
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
} }
@ -863,13 +863,15 @@ scripted_trigger is_eligible_courtier_0050 = {
is_consort_of = root is_consort_of = root
is_close_family_of = root is_close_family_of = root
} }
might_cheat_on_every_partner_trigger = yes
} }
scripted_trigger is_eligible_local_0050 = { scripted_trigger is_eligible_local_0050 = {
is_adult = yes is_adult = yes
is_ai = yes is_ai = yes
exists = liege exists = liege
liege ?= { NOT = { this = root } } liege ?= { this != root }
might_cheat_on_every_partner_trigger = yes
} }
# A courtier falls in love with a local and wants to stay # A courtier falls in love with a local and wants to stay
@ -989,7 +991,7 @@ mpo_migration_travel_events.0050 = {
add_courtier = scope:courtier add_courtier = scope:courtier
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
} }
@ -1021,7 +1023,7 @@ mpo_migration_travel_events.0050 = {
opinion = -20 opinion = -20
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
} }
@ -1047,6 +1049,7 @@ mpo_migration_travel_events.0050 = {
name = mpo_migration_travel_events.0050.c name = mpo_migration_travel_events.0050.c
trigger = { trigger = {
has_trait = lustful has_trait = lustful
might_cheat_on_every_partner_trigger = yes
can_set_relation_lover_trigger = { CHARACTER = scope:courtier } can_set_relation_lover_trigger = { CHARACTER = scope:courtier }
is_similar_age_trigger = { CHARACTER = scope:courtier } is_similar_age_trigger = { CHARACTER = scope:courtier }
} }
@ -1069,7 +1072,7 @@ mpo_migration_travel_events.0050 = {
scope:courtier = { remove_relation_lover = scope:local } scope:courtier = { remove_relation_lover = scope:local }
set_relation_lover = scope:courtier set_relation_lover = scope:courtier
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
} }
} }
@ -1117,7 +1120,7 @@ mpo_migration_travel_events.0050 = {
IMPRISONER = root IMPRISONER = root
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
sadistic = minor_stress_impact_loss sadistic = minor_stress_impact_loss
} }
@ -1255,7 +1258,7 @@ mpo_migration_travel_events.0060 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
brave = minor_stress_impact_loss brave = minor_stress_impact_loss
} }
@ -1306,7 +1309,7 @@ mpo_migration_travel_events.0060 = {
30 = {} 30 = {}
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss

View file

@ -309,7 +309,7 @@ mpo_nomad_events.1000 = {
custom_tooltip = keep_warrior_head_tt custom_tooltip = keep_warrior_head_tt
stress_impact = { stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -368,7 +368,7 @@ mpo_nomad_events.1000 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
sadistic = minor_stress_impact_gain sadistic = minor_stress_impact_gain
} }
@ -400,7 +400,7 @@ mpo_nomad_events.1000 = {
#Give artifact to accolade knight #Give artifact to accolade knight
scope:head_artifact = { scope:head_artifact = {
set_owner = { set_owner = {
target = scope:book_recipient target = scope:beheaded_accolade_knight
history = { history = {
location = root.capital_province location = root.capital_province
actor = root actor = root
@ -417,7 +417,7 @@ mpo_nomad_events.1000 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
content = minor_stress_impact_gain content = minor_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
} }
@ -458,7 +458,7 @@ mpo_nomad_events.1000 = {
add_piety = minor_piety_gain add_piety = minor_piety_gain
destroy_artifact = scope:head_artifact destroy_artifact = scope:head_artifact
stress_impact = { stress_and_fulfillment_impact = {
eccentric = medium_stress_impact_gain eccentric = medium_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
@ -492,9 +492,9 @@ mpo_nomad_events.1010 = {
#Create head artifact #Create head artifact
if = { if = {
limit = { limit = {
OR = { has_variable = {
has_character_flag = execution_head_illustrious_flag name = execution_head_illustrious_flag
has_character_flag = execution_head_famed_flag name = execution_head_famed_flag
} }
} }
mpo_execution_head_artifact_creation_effect = yes mpo_execution_head_artifact_creation_effect = yes
@ -549,7 +549,7 @@ scripted_effect mpo_nomad_events_1011_heir_resents_effect = {
# Target House Head # Target House Head
TARGET = scope:executioner TARGET = scope:executioner
# Feud Reason # Feud Reason
REASON = head_killed REASON = head_skull_sent
# House Member attacker if relevant # House Member attacker if relevant
ATTACKER = scope:executioner ATTACKER = scope:executioner
# House Member victim if relevant # House Member victim if relevant
@ -1456,13 +1456,13 @@ mpo_nomad_events.1011 = {
max_military_strength > root.max_military_strength max_military_strength > root.max_military_strength
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = major_stress_impact_gain craven = major_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
content = medium_stress_impact_gain content = medium_stress_impact_gain
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
content = miniscule_stress_impact_gain content = miniscule_stress_impact_gain
@ -1733,7 +1733,7 @@ mpo_nomad_events.1012 = {
has_trait = devoted has_trait = devoted
} }
OR = { OR = {
# faith.religion = faith:tengri_pagan.religion faith.religion = faith:tengri_pagan.religion
has_trait = nomadic_philosophy has_trait = nomadic_philosophy
government_has_flag = government_is_nomadic government_has_flag = government_is_nomadic
} }
@ -1800,7 +1800,7 @@ mpo_nomad_events.1012 = {
limit = { limit = {
mpo_nomad_events_1011_heir_unafraid_trigger = yes mpo_nomad_events_1011_heir_unafraid_trigger = yes
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
calm = miniscule_stress_impact_loss calm = miniscule_stress_impact_loss
@ -1813,7 +1813,7 @@ mpo_nomad_events.1012 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
calm = miniscule_stress_impact_loss calm = miniscule_stress_impact_loss
@ -1837,7 +1837,7 @@ mpo_nomad_events.1012 = {
limit = { limit = {
mpo_nomad_events_1011_heir_unafraid_trigger = yes mpo_nomad_events_1011_heir_unafraid_trigger = yes
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
compassionate = miniscule_stress_impact_gain compassionate = miniscule_stress_impact_gain
@ -1846,7 +1846,7 @@ mpo_nomad_events.1012 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
craven = major_stress_impact_gain craven = major_stress_impact_gain
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -1922,7 +1922,7 @@ mpo_nomad_events.1012 = {
limit = { limit = {
mpo_nomad_events_1011_heir_unafraid_trigger = yes mpo_nomad_events_1011_heir_unafraid_trigger = yes
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = major_stress_impact_gain vengeful = major_stress_impact_gain
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
just = major_stress_impact_gain just = major_stress_impact_gain
@ -1932,7 +1932,7 @@ mpo_nomad_events.1012 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -1981,7 +1981,6 @@ mpo_nomad_events.1013 = {
trigger = { trigger = {
has_mpo_dlc_trigger = yes has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
is_alive = yes is_alive = yes
is_ruler = yes is_ruler = yes
NOT = { NOT = {
@ -2397,7 +2396,7 @@ mpo_nomad_events.1020 = {
} }
root = { root = {
any_court_position_holder = { any_court_position_holder = {
this ?= scope:potential_defector_spouse scope:potential_defector_spouse ?= this
} }
} }
} }
@ -2537,7 +2536,7 @@ mpo_nomad_events.1020 = {
opinion = -30 opinion = -30
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = medium_stress_impact_gain generous = medium_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
@ -2675,6 +2674,7 @@ mpo_nomad_events.1020 = {
house = { house = {
every_house_member = { every_house_member = {
limit = { limit = {
is_alive = yes # die during processing will keep in list
NOT = { NOT = {
this = root this = root
} }
@ -2688,7 +2688,7 @@ mpo_nomad_events.1020 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
generous = major_stress_impact_gain generous = major_stress_impact_gain
craven = major_stress_impact_gain craven = major_stress_impact_gain
@ -2784,12 +2784,12 @@ mpo_nomad_events.1020 = {
add = -100 add = -100
} }
modifier = { modifier = {
trait_is_criminal_in_faith_trigger = { FAITH = root.faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = root } trait_is_criminal_in_rite_trigger = { RITE = root.rite TRAIT = trait:kinslayer_3 GENDER_CHARACTER = root }
add = -25 add = -25
} }
modifier = { modifier = {
NOT = { NOT = {
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = root.faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = root } trait_is_shunned_or_criminal_in_rite_trigger = { RITE = root.rite TRAIT = trait:kinslayer_3 GENDER_CHARACTER = root }
} }
add = 50 add = 50
} }
@ -2891,7 +2891,7 @@ mpo_nomad_events.1020 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
ambitious = minor_stress_impact_gain ambitious = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
@ -3265,7 +3265,7 @@ mpo_nomad_events.1020 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = major_stress_impact_gain greedy = major_stress_impact_gain
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
@ -3670,7 +3670,7 @@ mpo_nomad_events.1020 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -3929,7 +3929,7 @@ mpo_nomad_events.1020 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = major_stress_impact_gain forgiving = major_stress_impact_gain
generous = major_stress_impact_gain generous = major_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -4058,7 +4058,7 @@ mpo_nomad_events.1022 = {
modifier = mpo_quelled_family_dissent_modifier modifier = mpo_quelled_family_dissent_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
@ -4311,7 +4311,7 @@ mpo_nomad_events.1030 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = { base = {
add = miniscule_stress_impact_gain add = miniscule_stress_impact_gain
multiply = 0.5 multiply = 0.5
@ -4387,7 +4387,7 @@ mpo_nomad_events.1030 = {
add_trait = strong add_trait = strong
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
@ -4463,7 +4463,7 @@ mpo_nomad_events.1030 = {
add_trait = lifestyle_hunter add_trait = lifestyle_hunter
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = miniscule_stress_impact_gain wrathful = miniscule_stress_impact_gain
impatient = miniscule_stress_impact_gain impatient = miniscule_stress_impact_gain
} }
@ -4539,7 +4539,7 @@ mpo_nomad_events.1030 = {
add_trait = lifestyle_traveler add_trait = lifestyle_traveler
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
sadistic = miniscule_stress_impact_gain sadistic = miniscule_stress_impact_gain
callous = miniscule_stress_impact_gain callous = miniscule_stress_impact_gain
} }
@ -5065,7 +5065,7 @@ mpo_nomad_events.1050 = {
else = { else = {
add_piety = minor_piety_loss add_piety = minor_piety_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = miniscule_stress_impact_loss greedy = miniscule_stress_impact_loss
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
generous = medium_stress_impact_gain generous = medium_stress_impact_gain
@ -5175,7 +5175,7 @@ mpo_nomad_events.1050 = {
value = domicile.medium_herd_value value = domicile.medium_herd_value
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss generous = minor_stress_impact_loss
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
@ -5209,7 +5209,7 @@ mpo_nomad_events.1050 = {
domicile = { domicile = {
change_herd = minor_herd_loss change_herd = minor_herd_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
arbitrary = medium_stress_impact_gain arbitrary = medium_stress_impact_gain
} }
@ -5240,7 +5240,7 @@ mpo_nomad_events.1050 = {
change_county_fertility = medium_county_fertility_loss change_county_fertility = medium_county_fertility_loss
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
generous = medium_stress_impact_gain generous = medium_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -5462,7 +5462,7 @@ mpo_nomad_events.1060 = {
domicile = { domicile = {
change_herd = miniscule_herd_loss change_herd = miniscule_herd_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = miniscule_stress_impact_loss greedy = miniscule_stress_impact_loss
diligent = minor_stress_impact_loss diligent = minor_stress_impact_loss
ambitious = miniscule_stress_impact_loss ambitious = miniscule_stress_impact_loss
@ -5522,7 +5522,7 @@ mpo_nomad_events.1060 = {
opinion = -30 opinion = -30
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
impatient = miniscule_stress_impact_loss impatient = miniscule_stress_impact_loss
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
@ -5741,7 +5741,7 @@ mpo_nomad_events.1070 = {
remove_trait = hashishiyah remove_trait = hashishiyah
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
temperate = minor_stress_impact_loss temperate = minor_stress_impact_loss
content = medium_stress_impact_gain content = medium_stress_impact_gain
@ -5795,7 +5795,7 @@ mpo_nomad_events.1070 = {
} }
} }
add_piety = minor_piety_gain add_piety = minor_piety_gain
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
@ -5898,7 +5898,7 @@ mpo_nomad_events.1070 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
trusting = minor_stress_impact_gain trusting = minor_stress_impact_gain
@ -5948,7 +5948,7 @@ mpo_nomad_events.1070 = {
modifier = nomad_alone_in_adversity_modifier modifier = nomad_alone_in_adversity_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
@ -6164,6 +6164,7 @@ mpo_nomad_events.1080 = {
location = root.location location = root.location
culture = scope:neighbor_county.culture culture = scope:neighbor_county.culture
faith = scope:neighbor_county.faith faith = scope:neighbor_county.faith
rite = scope:neighbor_county.rite
gender_female_chance = root_soldier_female_chance gender_female_chance = root_soldier_female_chance
save_scope_as = escaped_warrior save_scope_as = escaped_warrior
} }
@ -6171,7 +6172,7 @@ mpo_nomad_events.1080 = {
random_list = { random_list = {
1 = { 1 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:witch RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = witch add_trait = witch
} }
@ -6180,49 +6181,49 @@ mpo_nomad_events.1080 = {
} }
1 = { 1 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:incestuous RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = incestuous add_trait = incestuous
} }
1 = { 1 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:kinslayer_1 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:kinslayer_1 RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = kinslayer_1 add_trait = kinslayer_1
} }
1 = { 1 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:kinslayer_2 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:kinslayer_2 RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = kinslayer_2 add_trait = kinslayer_2
} }
1 = { 1 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:kinslayer_3 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:kinslayer_3 RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = kinslayer_3 add_trait = kinslayer_3
} }
3 = { 3 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = deviant add_trait = deviant
} }
3 = { 3 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:fornicator RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = fornicator add_trait = fornicator
} }
3 = { 3 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:adulterer RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = adulterer add_trait = adulterer
} }
3 = { 3 = {
trigger = { trigger = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior } trait_is_criminal_in_rite_trigger = { TRAIT = trait:sodomite RITE = scope:neighbor_ruler.rite GENDER_CHARACTER = scope:escaped_warrior }
} }
add_trait = sodomite add_trait = sodomite
} }
@ -6332,7 +6333,11 @@ mpo_nomad_events.1080 = {
opinion = -20 opinion = -20
} }
} }
stress_impact = { if = {
limit = { scope:escaped_warrior = { has_trait = witch } }
pam_witch_embrace_fulfillment_effect = yes
}
stress_and_fulfillment_impact = {
just = major_stress_impact_gain just = major_stress_impact_gain
zealous = minor_stress_impact_gain zealous = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
@ -6522,7 +6527,7 @@ mpo_nomad_events.1080 = {
increase_wounds_effect = { REASON = fight } increase_wounds_effect = { REASON = fight }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
@ -6608,7 +6613,7 @@ mpo_nomad_events.1080 = {
TARGET = scope:escaped_warrior TARGET = scope:escaped_warrior
IMPRISONER = scope:neighbor_ruler IMPRISONER = scope:neighbor_ruler
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_gain forgiving = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain arbitrary = minor_stress_impact_gain
} }
@ -6777,10 +6782,10 @@ mpo_nomad_events.1091 = {
# faith.religion = faith:tengri_pagan.religion # faith.religion = faith:tengri_pagan.religion
} }
#Can have multiple wives or concubines #Can have multiple wives or concubines
faith = { rite = {
OR = { OR = {
has_doctrine = doctrine_polygamy rite_has_doctrine = doctrine_polygamy
has_doctrine = doctrine_concubines rite_has_doctrine = doctrine_concubines
} }
} }
is_male = yes is_male = yes
@ -6797,7 +6802,7 @@ mpo_nomad_events.1091 = {
} }
#Can marry the widow #Can marry the widow
NOT = { NOT = {
relation_with_character_is_incestuous_in_my_faith_trigger = { CHARACTER = scope:widow } relation_with_character_is_incestuous_in_my_rite_trigger = { CHARACTER = scope:widow }
} }
is_imprisoned = no is_imprisoned = no
} }
@ -6989,7 +6994,7 @@ mpo_nomad_events.1091 = {
years = 10 years = 10
} }
custom_tooltip = family_widow_seduce_romance_bonus_tt custom_tooltip = family_widow_seduce_romance_bonus_tt
stress_impact = { stress_and_fulfillment_impact = {
lustful = miniscule_stress_impact_loss lustful = miniscule_stress_impact_loss
impatient = miniscule_stress_impact_loss impatient = miniscule_stress_impact_loss
chaste = major_stress_impact_gain chaste = major_stress_impact_gain
@ -7207,7 +7212,7 @@ mpo_nomad_events.1091 = {
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = medium_stress_impact_gain generous = medium_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
} }
@ -7341,7 +7346,7 @@ mpo_nomad_events.1091 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arbitrary = medium_stress_impact_gain arbitrary = medium_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
} }
@ -7447,7 +7452,7 @@ mpo_nomad_events.1091 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
just = minor_stress_impact_gain just = minor_stress_impact_gain
@ -7876,7 +7881,7 @@ mpo_nomad_events.1100 = {
domicile = { domicile = {
change_herd = medium_herd_loss change_herd = medium_herd_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
impatient = minor_stress_impact_gain impatient = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
} }
@ -7967,7 +7972,7 @@ mpo_nomad_events.1100 = {
change_county_fertility = medium_county_fertility_loss change_county_fertility = medium_county_fertility_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
content = medium_stress_impact_gain content = medium_stress_impact_gain
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
patient = minor_stress_impact_gain patient = minor_stress_impact_gain
@ -8148,7 +8153,7 @@ mpo_nomad_events.1100 = {
years = 10 years = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -8449,7 +8454,7 @@ mpo_nomad_events.1110 = {
custom_tooltip = fishing_counties_gold_scaling custom_tooltip = fishing_counties_gold_scaling
} }
stress_impact = { stress_and_fulfillment_impact = {
} }
ai_chance = { ai_chance = {
base = 300 base = 300
@ -8475,7 +8480,7 @@ mpo_nomad_events.1110 = {
change_county_fertility = minor_county_fertility_loss change_county_fertility = minor_county_fertility_loss
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
stubborn = miniscule_stress_impact_loss stubborn = miniscule_stress_impact_loss
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
@ -8508,7 +8513,7 @@ mpo_nomad_events.1110 = {
change_county_fertility = minor_county_fertility_gain change_county_fertility = minor_county_fertility_gain
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
stubborn = minor_stress_impact_gain stubborn = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
} }
@ -8655,7 +8660,7 @@ mpo_nomad_events.1120 = {
change_county_fertility = minor_county_fertility_gain change_county_fertility = minor_county_fertility_gain
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = miniscule_stress_impact_gain humble = miniscule_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -8780,7 +8785,7 @@ mpo_nomad_events.1120 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
} }
@ -8910,7 +8915,7 @@ mpo_nomad_events.1120 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
patient = minor_stress_impact_gain patient = minor_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -8935,7 +8940,7 @@ mpo_nomad_events.1120 = {
domicile = { domicile = {
change_herd = minor_herd_loss change_herd = minor_herd_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain

View file

@ -1,131 +0,0 @@
namespace = mpo_bb_events
############################
## Nomadic blood brother events
## 0001-0099
## By Alexander Windahl
############################
mpo_bb_events.0001 = {
type = character_event
title = mpo_bb_events.0001.t
desc = mpo_bb_events.0001.desc
theme = nomads
cooldown = { years = 15 }
left_portrait = {
character = root
animation = stayback
}
right_portrait = {
character = scope:my_blood_brother
animation = aggressive_unarmed
}
trigger = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
is_available_adult = yes
any_ally = {
has_relation_blood_brother = root
is_available_ai_adult = yes
}
}
immediate = {
random_ally = {
limit = {
has_relation_blood_brother = root
is_available_ai_adult = yes
}
save_scope_as = my_blood_brother
}
}
option = {
ai_chance = {
base = 100
}
name = mpo_bb_events.0001.a
duel = {
skill = prowess
target = scope:my_blood_brother
# You win
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
desc = mpo_bb_events.0001.a.tt_success
send_interface_toast = {
title = mpo_bb_events.0001.a.tt_success
left_icon = scope:my_blood_brother
add_prestige = minor_prestige_gain
reverse_add_opinion = {
target = scope:my_blood_brother
modifier = impressed_opinion
opinion = 30
}
}
}
# You lose
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
desc = mpo_bb_events.0001.a.tt_failure
send_interface_toast = {
title = mpo_bb_events.0001.a.tt_failure
left_icon = scope:my_blood_brother
add_prestige = miniscule_prestige_loss
reverse_add_opinion = {
target = scope:my_blood_brother
modifier = amused_opinion
opinion = 10
}
}
}
}
}
option = {
ai_chance = {
base = 100
}
name = mpo_bb_events.0001.b
add_dread = minor_dread_loss
reverse_add_opinion = {
target = scope:my_blood_brother
modifier = softening_disposition_opinion
opinion = 5
}
}
option = {
ai_chance = {
base = 100
}
name = mpo_bb_events.0001.c
add_dread = minor_dread_gain
stress_impact = {
callous = miniscule_stress_impact_loss
arbitrary = miniscule_stress_impact_loss
eccentric = miniscule_stress_impact_loss
}
reverse_add_opinion = {
target = scope:my_blood_brother
modifier = angry_opinion
opinion = -30
}
}
}

View file

@ -338,7 +338,7 @@ nomad_events.0001 = {
days = { 25 30 } days = { 25 30 }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_loss paranoid = medium_stress_impact_loss
trusting = major_stress_impact_gain trusting = major_stress_impact_gain
gregarious = medium_stress_impact_gain gregarious = medium_stress_impact_gain
@ -374,7 +374,7 @@ nomad_events.0001 = {
days = { 25 30 } days = { 25 30 }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
trusting = medium_stress_impact_loss trusting = medium_stress_impact_loss
} }
@ -588,7 +588,7 @@ nomad_events.0002 = {
} }
} }
set_variable = rehired_achmach_var set_variable = rehired_achmach_var
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
trusting = medium_stress_impact_loss trusting = medium_stress_impact_loss
forgiving = major_stress_impact_loss forgiving = major_stress_impact_loss
@ -624,7 +624,7 @@ nomad_events.0002 = {
days = { 25 30 } days = { 25 30 }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -773,7 +773,7 @@ nomad_events.0003 = {
type = extra_success_chance_modifier type = extra_success_chance_modifier
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
lustful = massive_stress_impact_loss lustful = massive_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -812,7 +812,7 @@ nomad_events.0003 = {
days = { 12 20 } days = { 12 20 }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -840,7 +840,7 @@ nomad_events.0003 = {
days = { 12 20 } days = { 12 20 }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -968,7 +968,7 @@ nomad_events.0005 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
} }
@ -1091,7 +1091,7 @@ nomad_events.0006 = {
REASON = rival_tortured_me REASON = rival_tortured_me
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
torturer = major_stress_impact_loss torturer = major_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
} }
@ -1118,7 +1118,7 @@ nomad_events.0006 = {
} }
add_learning_lifestyle_xp = minor_lifestyle_xp add_learning_lifestyle_xp = minor_lifestyle_xp
stress_impact = { stress_and_fulfillment_impact = {
witch = medium_stress_impact_loss witch = medium_stress_impact_loss
lifestyle_mystic = medium_stress_impact_loss lifestyle_mystic = medium_stress_impact_loss
} }
@ -1193,7 +1193,7 @@ nomad_events.0006 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_loss paranoid = medium_stress_impact_loss
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
} }
@ -1220,7 +1220,7 @@ nomad_events.0006 = {
scope:achmach_scope = { scope:achmach_scope = {
set_variable = achmach_murder_help_councillor_var set_variable = achmach_murder_help_councillor_var
} }
stress_impact = { stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
deceitful = medium_stress_impact_loss deceitful = medium_stress_impact_loss
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -1256,7 +1256,7 @@ nomad_events.0006 = {
set_variable = imprisoned_var set_variable = imprisoned_var
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_loss vengeful = medium_stress_impact_loss
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
@ -1288,7 +1288,7 @@ nomad_events.0006 = {
opinion = 25 opinion = 25
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = medium_stress_impact_gain vengeful = medium_stress_impact_gain
trusting = medium_stress_impact_loss trusting = medium_stress_impact_loss
} }
@ -1412,7 +1412,7 @@ nomad_events.0007 = {
days = { 2 3 } days = { 2 3 }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_loss paranoid = medium_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -1434,7 +1434,7 @@ nomad_events.0007 = {
} }
add_learning_lifestyle_xp = medium_lifestyle_xp add_learning_lifestyle_xp = medium_lifestyle_xp
achmach_discover_nature_ritual_effect = yes achmach_discover_nature_ritual_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
witch = medium_stress_impact_loss witch = medium_stress_impact_loss
lifestyle_mystic = medium_stress_impact_loss lifestyle_mystic = medium_stress_impact_loss
} }
@ -1482,7 +1482,7 @@ nomad_events.0007 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
trusting = medium_stress_impact_gain trusting = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -1526,7 +1526,7 @@ nomad_events.0007 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_loss wrathful = medium_stress_impact_loss
vengeful = medium_stress_impact_loss vengeful = medium_stress_impact_loss
craven = major_stress_impact_gain craven = major_stress_impact_gain
@ -1620,7 +1620,7 @@ nomad_events.0008 = {
set_owner = root set_owner = root
set_variable = magic_amulet_var set_variable = magic_amulet_var
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
} }
@ -1654,7 +1654,7 @@ nomad_events.0008 = {
} }
} }
add_prestige = medium_prestige_gain add_prestige = medium_prestige_gain
stress_impact = { stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -1725,7 +1725,7 @@ nomad_events.0009 = {
MURDERER = root MURDERER = root
REASON = death_murder REASON = death_murder
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = major_stress_impact_loss wrathful = major_stress_impact_loss
sadistic = major_stress_impact_loss sadistic = major_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
@ -1768,7 +1768,7 @@ nomad_events.0009 = {
set_variable = magic_amulet_var set_variable = magic_amulet_var
} }
nomad_events_0009_imprison_effect = yes nomad_events_0009_imprison_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
} }
@ -1788,7 +1788,7 @@ nomad_events.0009 = {
option = { # You'll be prepared now option = { # You'll be prepared now
name = nomad_events.0009.c name = nomad_events.0009.c
add_character_modifier = mpo_eyes_everywhere_modifier # Permanent add_character_modifier = mpo_eyes_everywhere_modifier # Permanent
stress_impact = { stress_and_fulfillment_impact = {
paranoid = major_stress_impact_loss paranoid = major_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -1876,6 +1876,7 @@ nomad_events.0010 = {
location = root.capital_province location = root.capital_province
gender_female_chance = root_soldier_female_chance gender_female_chance = root_soldier_female_chance
faith = root.location.faith faith = root.location.faith
rite = root.location.rite
culture = root.location.culture culture = root.location.culture
save_scope_as = assassin save_scope_as = assassin
} }
@ -1904,7 +1905,7 @@ nomad_events.0010 = {
MURDERER = root MURDERER = root
REASON = death_murder REASON = death_murder
} }
stress_impact = { stress_and_fulfillment_impact = {
torturer = massive_stress_impact_loss torturer = massive_stress_impact_loss
wrathful = massive_stress_impact_loss wrathful = massive_stress_impact_loss
sadistic = major_stress_impact_loss sadistic = major_stress_impact_loss
@ -1982,7 +1983,7 @@ nomad_events.0010 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = major_stress_impact_loss craven = major_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -2025,7 +2026,7 @@ nomad_events.0010 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2081,7 +2082,7 @@ nomad_events.0010 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2208,7 +2209,7 @@ nomad_events.0100 = {
value = root.domicile.minor_herd_gain value = root.domicile.minor_herd_gain
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = major_stress_impact_loss craven = major_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -2263,7 +2264,7 @@ nomad_events.0100 = {
nomad_events_0100_dislike_effect = { VALUE = -10 } nomad_events_0100_dislike_effect = { VALUE = -10 }
} }
add_dread = minor_dread_gain add_dread = minor_dread_gain
stress_impact = { stress_and_fulfillment_impact = {
gregarious = medium_stress_impact_gain gregarious = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2332,7 +2333,7 @@ nomad_events.0110 = {
base = 1 base = 1
modifier = { modifier = {
add = 3 add = 3
situation:the_great_steppe = { situation:the_great_steppe ?= {
OR = { OR = {
any_situation_sub_region = { any_situation_sub_region = {
sub_region_current_phase = situation_steppe_white_zud_season sub_region_current_phase = situation_steppe_white_zud_season
@ -2383,7 +2384,7 @@ nomad_events.0110 = {
has_trait = craven has_trait = craven
} }
scope:newly_created_artifact = { set_owner = root } scope:newly_created_artifact = { set_owner = root }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_loss craven = medium_stress_impact_loss
brave = major_stress_impact_gain brave = major_stress_impact_gain
} }
@ -2441,7 +2442,7 @@ nomad_events.0110 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2463,7 +2464,7 @@ nomad_events.0110 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = medium_stress_impact_gain brave = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2602,7 +2603,7 @@ nomad_events.0120 = {
CHARACTER = scope:companion CHARACTER = scope:companion
PREGNANCY_CHANCE = pregnancy_chance PREGNANCY_CHANCE = pregnancy_chance
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
chaste = major_stress_impact_gain chaste = major_stress_impact_gain
celibate = major_stress_impact_gain celibate = major_stress_impact_gain
@ -2626,7 +2627,7 @@ nomad_events.0120 = {
option = { # Talk to them option = { # Talk to them
name = nomad_events.0120.b name = nomad_events.0120.b
nomad_events_0120_improve_relationship_effect = yes nomad_events_0120_improve_relationship_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
ambitious = medium_stress_impact_gain ambitious = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2645,7 +2646,7 @@ nomad_events.0120 = {
limit = { limit = {
var:relationship = flag:spouse var:relationship = flag:spouse
} }
stress_impact = { stress_and_fulfillment_impact = {
lustful = medium_stress_impact_gain lustful = medium_stress_impact_gain
} }
} }
@ -2714,6 +2715,7 @@ nomad_events.0130 = {
template = merchant_template template = merchant_template
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
faith = location.faith faith = location.faith
rite = location.rite
culture = location.culture culture = location.culture
save_scope_as = merchant save_scope_as = merchant
} }
@ -2728,7 +2730,7 @@ nomad_events.0130 = {
domicile = { domicile = {
change_herd = medium_herd_gain change_herd = medium_herd_gain
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_loss wrathful = medium_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = major_stress_impact_gain calm = major_stress_impact_gain
@ -2756,7 +2758,7 @@ nomad_events.0130 = {
gold = minor_gold_value gold = minor_gold_value
} }
add_courtier = scope:merchant add_courtier = scope:merchant
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2780,7 +2782,7 @@ nomad_events.0130 = {
domicile = { domicile = {
change_herd = medium_herd_gain change_herd = medium_herd_gain
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2879,7 +2881,7 @@ nomad_events.0140 = {
location = root.location location = root.location
template = merchant_template template = merchant_template
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
faith = faith:aqlani faith = faith:majlisi_faith
culture = culture:bolghar culture = culture:bolghar
save_scope_as = merchant save_scope_as = merchant
} }
@ -2907,7 +2909,7 @@ nomad_events.0140 = {
location = root.location location = root.location
template = merchant_template template = merchant_template
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
faith = faith:vajrayana faith = faith:vajrayana_faith
culture = culture:uyghur culture = culture:uyghur
save_scope_as = merchant save_scope_as = merchant
} }
@ -2921,7 +2923,8 @@ nomad_events.0140 = {
location = root.location location = root.location
template = merchant_template template = merchant_template
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
faith = faith:maturidi faith = faith:sunni
rite = rite:hanafi
culture = culture:turkish culture = culture:turkish
save_scope_as = merchant save_scope_as = merchant
} }
@ -2954,7 +2957,7 @@ nomad_events.0140 = {
name = discounted_faith_to_convert_to_var name = discounted_faith_to_convert_to_var
value = scope:target_faith value = scope:target_faith
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_loss wrathful = medium_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = major_stress_impact_gain calm = major_stress_impact_gain
@ -2972,7 +2975,7 @@ nomad_events.0140 = {
name = nomad_events.0140.b name = nomad_events.0140.b
add_piety = minor_piety_gain add_piety = minor_piety_gain
add_courtier = scope:merchant add_courtier = scope:merchant
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -2987,7 +2990,7 @@ nomad_events.0140 = {
option = { # Tell them to go away option = { # Tell them to go away
name = nomad_events.0140.c name = nomad_events.0140.c
add_dread = minor_dread_gain add_dread = minor_dread_gain
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -3032,6 +3035,21 @@ nomad_events.0150 = {
trigger = { exists = scope:rival } trigger = { exists = scope:rival }
character = scope:rival character = scope:rival
} }
widgets = {
widget = {
gui = "event_window_widget_vfx_background_double_vision_milder"
container = "foreground_shader_vfx_container"
}
widget = {
gui = "event_window_widget_vfx_left_character_double_vision_milder"
container = "foreground_shader_vfx_container"
}
widget = {
gui = "event_window_widget_vfx_right_character_double_vision_milder"
container = "foreground_shader_vfx_container"
}
}
trigger = { trigger = {
has_mpo_dlc_trigger = yes has_mpo_dlc_trigger = yes
@ -3097,7 +3115,7 @@ nomad_events.0150 = {
scope:rival = { scope:rival = {
add_prestige = minor_prestige_loss add_prestige = minor_prestige_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
} }
ai_chance = { # AI should never pick this ai_chance = { # AI should never pick this
@ -3111,7 +3129,7 @@ nomad_events.0150 = {
target = scope:companion target = scope:companion
reason = friend_drank_together reason = friend_drank_together
} }
stress_impact = { stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain wrathful = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -3126,7 +3144,7 @@ nomad_events.0150 = {
option = { # I love drinkiiiiiiiiiiing option = { # I love drinkiiiiiiiiiiing
name = nomad_events.0150.c name = nomad_events.0150.c
add_prestige = minor_prestige_gain add_prestige = minor_prestige_gain
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
drunkard = major_stress_impact_loss drunkard = major_stress_impact_loss
temperate = major_stress_impact_gain temperate = major_stress_impact_gain
@ -3148,9 +3166,10 @@ nomad_events.0150 = {
scripted_trigger nomad_events_0160_valid_spouse = { scripted_trigger nomad_events_0160_valid_spouse = {
is_available_healthy_ai_adult = yes is_available_healthy_ai_adult = yes
NOR = { # To avoid narrative dissonance has_none_of_variables = {
has_variable = had_nomad_events_1070_var # To avoid narrative dissonance
has_variable = had_nomad_events_0220_var name = had_nomad_events_1070_var
name = had_nomad_events_0220_var
} }
} }
@ -3289,7 +3308,7 @@ nomad_events.0160 = {
has_relation_rival = scope:spouse has_relation_rival = scope:spouse
} }
remove_relation_rival = scope:spouse remove_relation_rival = scope:spouse
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
} }
@ -3321,7 +3340,7 @@ nomad_events.0160 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
} }
@ -3337,7 +3356,7 @@ nomad_events.0160 = {
option = { # Thanks, bestie option = { # Thanks, bestie
name = nomad_events.0160.c name = nomad_events.0160.c
add_prestige = minor_prestige_gain add_prestige = minor_prestige_gain
stress_impact = { stress_and_fulfillment_impact = {
arrogant = major_stress_impact_loss arrogant = major_stress_impact_loss
humble = major_stress_impact_gain humble = major_stress_impact_gain
shy = major_stress_impact_gain shy = major_stress_impact_gain
@ -3370,9 +3389,10 @@ nomad_events.0160 = {
scripted_trigger is_valid_nomad_events_0170_spouse = { scripted_trigger is_valid_nomad_events_0170_spouse = {
is_available_healthy_ai_adult = yes is_available_healthy_ai_adult = yes
NOR = { # To avoid narrative dissonance has_none_of_variables = {
has_variable = had_nomad_events_1060_var # To avoid narrative dissonance
has_variable = had_nomad_events_0220_var name = had_nomad_events_1060_var
name = had_nomad_events_0220_var
} }
NOR = { NOR = {
has_trait = wrathful has_trait = wrathful
@ -3473,7 +3493,7 @@ nomad_events.0170 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = major_stress_impact_gain calm = major_stress_impact_gain
@ -3517,7 +3537,7 @@ nomad_events.0170 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
calm = medium_stress_impact_loss calm = medium_stress_impact_loss
wrathful = major_stress_impact_gain wrathful = major_stress_impact_gain
@ -3554,7 +3574,7 @@ nomad_events.0170 = {
opinion = -25 opinion = -25
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = major_stress_impact_gain calm = major_stress_impact_gain
@ -3683,7 +3703,7 @@ nomad_events.0180 = {
TARGET = scope:rival TARGET = scope:rival
IMPRISONER = root IMPRISONER = root
} }
stress_impact = { stress_and_fulfillment_impact = {
arbitrary = medium_stress_impact_loss arbitrary = medium_stress_impact_loss
callous = major_stress_impact_loss callous = major_stress_impact_loss
sadistic = major_stress_impact_loss sadistic = major_stress_impact_loss
@ -3719,7 +3739,7 @@ nomad_events.0180 = {
add_prowess_skill = 2 add_prowess_skill = 2
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_gain base = major_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -3746,7 +3766,7 @@ nomad_events.0180 = {
opinion = 10 opinion = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = major_stress_impact_gain calm = major_stress_impact_gain
@ -3854,7 +3874,7 @@ nomad_events.0190 = {
has_trait = gregarious has_trait = gregarious
} }
nomad_events_0190_friendship_effect = yes nomad_events_0190_friendship_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
callous = major_stress_impact_gain callous = major_stress_impact_gain
} }
@ -3881,7 +3901,7 @@ nomad_events.0190 = {
has_trait = shy has_trait = shy
} }
nomad_events_0190_friendship_effect = yes nomad_events_0190_friendship_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
callous = major_stress_impact_gain callous = major_stress_impact_gain
} }
@ -3908,7 +3928,7 @@ nomad_events.0190 = {
modifier = mpo_good_memory_modifier modifier = mpo_good_memory_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
callous = major_stress_impact_gain callous = major_stress_impact_gain
@ -3932,7 +3952,7 @@ nomad_events.0190 = {
option = { # Everyone should know how cool we are option = { # Everyone should know how cool we are
name = nomad_events.0190.d name = nomad_events.0190.d
add_prestige = minor_prestige_gain add_prestige = minor_prestige_gain
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_loss arrogant = medium_stress_impact_loss
ambitious = medium_stress_impact_loss ambitious = medium_stress_impact_loss
disloyal = medium_stress_impact_loss disloyal = medium_stress_impact_loss
@ -4062,7 +4082,7 @@ nomad_events.0200 = {
modifier = mpo_no_omens_modifier modifier = mpo_no_omens_modifier
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = major_stress_impact_gain calm = major_stress_impact_gain
@ -4093,7 +4113,7 @@ nomad_events.0200 = {
var:dream = flag:good var:dream = flag:good
} }
nomad_events_0200_learning_effect = yes nomad_events_0200_learning_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -4115,7 +4135,7 @@ nomad_events.0200 = {
var:dream = flag:bad var:dream = flag:bad
} }
nomad_events_0200_learning_effect = yes nomad_events_0200_learning_effect = yes
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -4134,7 +4154,7 @@ nomad_events.0200 = {
option = { # Let's pray option = { # Let's pray
name = nomad_events.0200.d name = nomad_events.0200.d
add_piety = minor_piety_gain add_piety = minor_piety_gain
stress_impact = { stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
calm = major_stress_impact_gain calm = major_stress_impact_gain
@ -4209,7 +4229,7 @@ nomad_events.0210 = {
herd <= minor_herd_value herd <= minor_herd_value
} }
} }
situation:the_great_steppe = { situation:the_great_steppe ?= {
NOR = { NOR = {
any_situation_sub_region = { any_situation_sub_region = {
sub_region_current_phase = situation_steppe_abundant_grazing_season sub_region_current_phase = situation_steppe_abundant_grazing_season
@ -4314,7 +4334,7 @@ nomad_events.0210 = {
death = { death_reason = death_mysterious } death = { death_reason = death_mysterious }
} }
change_current_weight = 25 change_current_weight = 25
stress_impact = { stress_and_fulfillment_impact = {
cannibal = massive_stress_impact_loss cannibal = massive_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -4332,7 +4352,7 @@ nomad_events.0210 = {
has_trait = arrogant has_trait = arrogant
} }
add_dread = medium_dread_gain add_dread = medium_dread_gain
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_loss arrogant = medium_stress_impact_loss
calm = major_stress_impact_gain calm = major_stress_impact_gain
compassionate = massive_stress_impact_gain compassionate = massive_stress_impact_gain
@ -4371,7 +4391,7 @@ nomad_events.0210 = {
CHARACTER = scope:family CHARACTER = scope:family
OPINION = default_friend_opinion OPINION = default_friend_opinion
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
callous = major_stress_impact_gain callous = major_stress_impact_gain
sadistic = major_stress_impact_gain sadistic = major_stress_impact_gain
@ -4401,7 +4421,7 @@ nomad_events.0210 = {
name = nomad_events_0210_herd_var name = nomad_events_0210_herd_var
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -4427,9 +4447,9 @@ scripted_trigger nomad_events_0220_valid_spouse = {
has_trait = content has_trait = content
has_trait = forgiving has_trait = forgiving
} }
NOR = { has_none_of_variables = {
has_variable = had_nomad_events_1060_var name = had_nomad_events_1060_var
has_variable = had_nomad_events_1070_var name = had_nomad_events_1070_var
} }
} }
@ -4519,7 +4539,7 @@ nomad_events.0220 = {
opinion = 20 opinion = 20
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = massive_stress_impact_gain base = massive_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -4542,7 +4562,7 @@ nomad_events.0220 = {
opinion = 10 opinion = 10
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_gain base = major_stress_impact_gain
arrogant = medium_stress_impact_loss arrogant = medium_stress_impact_loss
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
@ -4564,7 +4584,7 @@ nomad_events.0220 = {
option = { # This is just who I am option = { # This is just who I am
name = nomad_events.0220.c name = nomad_events.0220.c
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = medium } bp2_lifestyle_xp_gain_per_type_effect = { VALUE = medium }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
} }
ai_chance = { ai_chance = {
@ -4660,7 +4680,7 @@ nomad_events.0230 = {
CHARACTER = scope:spouse CHARACTER = scope:spouse
PREGNANCY_CHANCE = pregnancy_chance PREGNANCY_CHANCE = pregnancy_chance
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = major_stress_impact_loss compassionate = major_stress_impact_loss
callous = major_stress_impact_gain callous = major_stress_impact_gain
sadistic = major_stress_impact_gain sadistic = major_stress_impact_gain
@ -4688,7 +4708,7 @@ nomad_events.0230 = {
CHARACTER = scope:spouse CHARACTER = scope:spouse
OPINION = 25 OPINION = 25
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain
@ -4716,7 +4736,7 @@ nomad_events.0230 = {
modifier = mpo_hardened_modifier # Forever modifier = mpo_hardened_modifier # Forever
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
sadistic = medium_stress_impact_loss sadistic = medium_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
@ -4822,7 +4842,7 @@ nomad_events.0240 = {
VICTIM = scope:ruler VICTIM = scope:ruler
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = major_stress_impact_loss compassionate = major_stress_impact_loss
callous = major_stress_impact_gain callous = major_stress_impact_gain
sadistic = major_stress_impact_gain sadistic = major_stress_impact_gain
@ -4860,7 +4880,7 @@ nomad_events.0240 = {
CHARACTER = scope:ruler CHARACTER = scope:ruler
OPINION = default_friend_opinion OPINION = default_friend_opinion
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
sadistic = medium_stress_impact_gain sadistic = medium_stress_impact_gain
@ -4886,7 +4906,7 @@ nomad_events.0240 = {
domicile = { domicile = {
change_herd = medium_herd_gain change_herd = medium_herd_gain
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
sadistic = medium_stress_impact_loss sadistic = medium_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
@ -4925,7 +4945,7 @@ scripted_trigger nomad_events_0250_valid_priest = {
} }
trigger_if = { trigger_if = {
limit = { limit = {
faith = { has_doctrine_parameter = clergy_must_be_male } rite = { rite_has_parameter = clergy_must_be_male }
} }
is_male = yes is_male = yes
} }
@ -5027,6 +5047,7 @@ nomad_events.0250 = {
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = scope:neighboring_ruler.faith faith = scope:neighboring_ruler.faith
rite = scope:neighboring_ruler.rite
culture = scope:neighboring_ruler.culture culture = scope:neighboring_ruler.culture
save_scope_as = priest save_scope_as = priest
} }
@ -5038,7 +5059,7 @@ nomad_events.0250 = {
random_list = { random_list = {
10 = { 10 = {
trigger = { trigger = {
NOT = { faith = faith:aqlani } NOT = { faith = faith:sunni }
NOT = { any_character_situation = { this = situation:game_rule_extra_nomads_sami } } NOT = { any_character_situation = { this = situation:game_rule_extra_nomads_sami } }
} }
modifier = { modifier = {
@ -5049,7 +5070,7 @@ nomad_events.0250 = {
location = root.location location = root.location
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = faith:aqlani faith = faith:sunni
culture = culture:bolghar culture = culture:bolghar
save_scope_as = priest save_scope_as = priest
} }
@ -5092,7 +5113,7 @@ nomad_events.0250 = {
} }
10 = { 10 = {
trigger = { trigger = {
NOT = { faith = faith:vajrayana } NOT = { faith = faith:vajrayana_faith }
any_character_situation = { this = situation:the_great_steppe } any_character_situation = { this = situation:the_great_steppe }
} }
modifier = { modifier = {
@ -5103,25 +5124,25 @@ nomad_events.0250 = {
location = root.location location = root.location
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = faith:vajrayana faith = faith:vajrayana_faith
culture = culture:uyghur culture = culture:uyghur
save_scope_as = priest save_scope_as = priest
} }
} }
10 = { 10 = {
trigger = { trigger = {
NOT = { faith = faith:manichean } NOT = { faith = faith:manichaean_faith }
any_character_situation = { this = situation:the_great_steppe } any_character_situation = { this = situation:the_great_steppe }
} }
modifier = { modifier = {
location = { geographical_region = world_steppe_east } location = { geographical_region = world_steppe_east }
add = 25 add = 25
} }
create_character = { create_character = {
location = root.location location = root.location
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = faith:manichean faith = faith:manichaean_faith
culture = culture:uyghur culture = culture:uyghur
save_scope_as = priest save_scope_as = priest
} }
@ -5142,7 +5163,7 @@ nomad_events.0250 = {
} }
10 = { 10 = {
trigger = { trigger = {
NOT = { faith = faith:maturidi } NOT = { faith = faith:sunni }
NOT = { any_character_situation = { this = situation:game_rule_extra_nomads_sami } } NOT = { any_character_situation = { this = situation:game_rule_extra_nomads_sami } }
} }
modifier = { modifier = {
@ -5153,14 +5174,15 @@ nomad_events.0250 = {
location = root.location location = root.location
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = faith:maturidi faith = faith:sunni
rite = rite:hanafi
culture = culture:turkish culture = culture:turkish
save_scope_as = priest save_scope_as = priest
} }
} }
10 = { 10 = {
trigger = { trigger = {
NOT = { faith = faith:alevi } NOT = { rite = rite:alevi }
any_character_situation = { this = situation:the_great_steppe } any_character_situation = { this = situation:the_great_steppe }
} }
modifier = { modifier = {
@ -5171,14 +5193,15 @@ nomad_events.0250 = {
location = root.location location = root.location
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = faith:alevi faith = faith:shia
rite = rite:alevi
culture = culture:turkish culture = culture:turkish
save_scope_as = priest save_scope_as = priest
} }
} }
10 = { 10 = {
trigger = { trigger = {
NOT = { faith = faith:ismaili } NOT = { rite = rite:ismaili }
NOT = { any_character_situation = { this = situation:game_rule_extra_nomads_sami } } NOT = { any_character_situation = { this = situation:game_rule_extra_nomads_sami } }
} }
modifier = { modifier = {
@ -5189,7 +5212,8 @@ nomad_events.0250 = {
location = root.location location = root.location
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = faith:ismaili faith = faith:shia
rite = rite:ismaili
culture = culture:persian culture = culture:persian
save_scope_as = priest save_scope_as = priest
} }
@ -5206,7 +5230,7 @@ nomad_events.0250 = {
location = root.location location = root.location
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = faith:roman_catholic faith = faith:catholic
culture = culture:italian culture = culture:italian
save_scope_as = priest save_scope_as = priest
} }
@ -5234,7 +5258,7 @@ nomad_events.0250 = {
set_county_faith = scope:priest.faith set_county_faith = scope:priest.faith
} }
add_piety_level = 1 add_piety_level = 1
stress_impact = { stress_and_fulfillment_impact = {
zealous = massive_stress_impact_gain zealous = massive_stress_impact_gain
cynical = minor_stress_impact_loss cynical = minor_stress_impact_loss
} }
@ -5297,7 +5321,7 @@ nomad_events.0250 = {
target = scope:priest target = scope:priest
} }
custom_tooltip = obligation_hook_tt custom_tooltip = obligation_hook_tt
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
gregarious = medium_stress_impact_loss gregarious = medium_stress_impact_loss
shy = medium_stress_impact_gain shy = medium_stress_impact_gain
@ -5327,7 +5351,7 @@ nomad_events.0250 = {
option = { # Tell them to go away option = { # Tell them to go away
name = nomad_events.0250.c name = nomad_events.0250.c
add_piety = minor_piety_gain add_piety = minor_piety_gain
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
gregarious = medium_stress_impact_gain gregarious = medium_stress_impact_gain
shy = medium_stress_impact_loss shy = medium_stress_impact_loss
@ -5499,6 +5523,7 @@ nomad_events.0260 = {
template = priest_character_template template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance gender_female_chance = root_faith_clergy_gender_female_chance
faith = scope:other_ruler.faith faith = scope:other_ruler.faith
rite = scope:other_ruler.rite
culture = scope:other_ruler.culture culture = scope:other_ruler.culture
save_scope_as = priest save_scope_as = priest
} }
@ -5521,7 +5546,7 @@ nomad_events.0260 = {
TARGET = scope:priest TARGET = scope:priest
IMPRISONER = root IMPRISONER = root
} }
stress_impact = { stress_and_fulfillment_impact = {
sadistic = major_stress_impact_loss sadistic = major_stress_impact_loss
callous = major_stress_impact_loss callous = major_stress_impact_loss
torturer = major_stress_impact_loss torturer = major_stress_impact_loss
@ -5558,7 +5583,7 @@ nomad_events.0260 = {
} }
add_courtier = scope:priest add_courtier = scope:priest
add_piety_level = 1 add_piety_level = 1
stress_impact = { stress_and_fulfillment_impact = {
zealous = massive_stress_impact_gain zealous = massive_stress_impact_gain
cynical = minor_stress_impact_loss cynical = minor_stress_impact_loss
} }
@ -5665,12 +5690,12 @@ nomad_events.0260 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = medium_stress_impact_gain cynical = medium_stress_impact_gain
stubborn = medium_stress_impact_loss stubborn = medium_stress_impact_loss
zealous = major_stress_impact_loss zealous = major_stress_impact_loss
theologian = major_stress_impact_loss theologian = major_stress_impact_loss
scholar = major_stress_impact_loss erudite = major_stress_impact_loss
} }
ai_chance = { ai_chance = {
base = 100 base = 100
@ -5683,7 +5708,7 @@ nomad_events.0260 = {
has_trait = stubborn has_trait = stubborn
has_trait = zealous has_trait = zealous
has_trait = theologian has_trait = theologian
has_trait = scholar has_trait = erudite
} }
factor = 2 factor = 2
} }
@ -5693,7 +5718,7 @@ nomad_events.0260 = {
option = { # Just go away option = { # Just go away
name = nomad_events.0260.d name = nomad_events.0260.d
add_dread = minor_dread_gain add_dread = minor_dread_gain
stress_impact = { stress_and_fulfillment_impact = {
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
gregarious = major_stress_impact_gain gregarious = major_stress_impact_gain
shy = medium_stress_impact_loss shy = medium_stress_impact_loss

File diff suppressed because it is too large Load diff

View file

@ -1,856 +0,0 @@
namespace = mpo_nomads_season_events
mpo_nomads_season_events.0001 = { # Riding the Storm
type = character_event
title = mpo_nomads_season_events.0001.t
desc = mpo_nomads_season_events.0001.desc
theme = nomads
override_background = { reference = mpo_steppe_evening }
cooldown = { years = 10 }
left_portrait = {
character = root
animation = scheme
}
right_portrait = {
character = scope:storm_chaser
animation = marshal_random_weapon
}
lower_right_portrait = {
character = scope:raid_target
}
trigger = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
is_available = yes
any_character_situation = {
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_severe_drought_season
situation_sub_region_has_county = root.capital_county
}
}
any_councillor = {
is_kurultai_trigger = yes
is_available = yes
}
any_neighboring_top_liege_realm_owner = {
is_ai = yes
NOR = {
is_at_war_with = root
is_allied_to = root
has_truce = root
has_relation_friend = root
has_relation_best_friend = root
}
}
}
weight_multiplier = {
base = 1
modifier = {
factor = -0.5
is_ai = yes
}
}
immediate = {
random_councillor = {
limit = {
is_kurultai_trigger = yes
is_available = yes
}
save_scope_as = storm_chaser
}
random_neighboring_top_liege_realm_owner = {
limit = {
is_ai = yes
NOR = {
is_at_war_with = root
is_allied_to = root
has_truce = root
has_relation_friend = root
has_relation_best_friend = root
}
}
save_scope_as = raid_target
}
scope:raid_target = {
capital_county = {
save_scope_as = raid_county
}
}
}
option = { # Tomorrow, we ride!
name = mpo_nomads_season_events.0001.a
scope:raid_target = {
pay_herd = {
target = root
value = scope:raid_target.domicile.medium_herd_value
}
add_opinion = {
target = root
modifier = stole_my_herd
}
}
add_dread = medium_dread_gain
if = {
limit = {
can_set_relation_rival_trigger = { CHARACTER = scope:raid_target }
}
progress_towards_rival_effect = {
REASON = stole_my_herd
CHARACTER = scope:raid_target
OPINION = 0
}
}
stress_impact = {
lazy = minor_stress_impact_gain
content = minor_stress_impact_gain
just = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
OR = {
has_trait = lazy
has_trait = content
has_trait = just
}
add = -50
}
ai_value_modifier = {
ai_honor = -1
}
}
}
option = { # We must see to our own shelter.
name = mpo_nomads_season_events.0001.b
root.capital_county = {
add_county_modifier = {
modifier = mpo_storm_shelter_modifier
years = 5
}
}
stress_impact = {
vengeful = medium_stress_impact_gain
sadistic = minor_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
OR = {
has_trait = vengeful
has_trait = sadistic
}
add = -50
}
ai_value_modifier = {
ai_honor = 1
}
}
}
}
mpo_nomads_season_events.0005 = { # Hungry vassal
type = character_event
title = mpo_nomads_season_events.0005.t
desc = mpo_nomads_season_events.0005.desc
theme = nomads
override_background = { reference = mpo_tent_interior_mongol }
cooldown = { years = 10 }
left_portrait = {
character = root
animation = shame
}
right_portrait = {
character = scope:hungry_neighbour
animation = obsequious_bow
}
trigger = {
government_has_flag = government_is_nomadic
has_mpo_dlc_trigger = yes
is_available = yes
any_character_situation = {
NOR = {
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_abundant_grazing_season
situation_sub_region_has_county = root.capital_county
}
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_sky_blessing_season
situation_sub_region_has_county = root.capital_county
}
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_warm_nights_season
situation_sub_region_has_county = root.capital_county
}
}
}
any_vassal = {
is_available_ai = yes
NOT = {
has_opinion_modifier = {
modifier = obedience_opinion
target = root
}
}
domicile ?= {
herd < minor_herd_value
}
}
}
immediate = {
random_vassal = {
limit = {
is_available_ai = yes
NOT = {
has_opinion_modifier = {
modifier = obedience_opinion
target = root
}
}
domicile ?= {
herd < minor_herd_value
}
}
save_scope_as = hungry_neighbour
}
}
option = { # Give herd
name = mpo_nomads_season_events.0005.a
pay_herd = {
target = scope:hungry_neighbour
value = domicile.minor_herd_value
}
send_interface_toast = {
type = event_toast_effect_good
title = mpo_demand_obedience_interaction_toast
left_icon = scope:hungry_neighbour
scope:hungry_neighbour = {
add_opinion = {
target = root
modifier = obedience_opinion
}
}
}
scope:hungry_neighbour = {
add_character_flag = given_herd
}
stress_impact = {
compassionate = medium_stress_impact_loss
paranoid = medium_stress_impact_gain
greedy = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
factor = 0
OR = {
domicile ?= {
herd < medium_herd_value
}
has_trait = paranoid
has_trait = greedy
}
}
modifier = {
factor = 20
has_trait = compassionate
}
ai_value_modifier = {
ai_sociability = 1
ai_greed = -1
}
}
}
option = { # Arrange trade
name = mpo_nomads_season_events.0005.b
trigger = {
scope:hungry_neighbour = {
gold > root.medium_gold_value
}
}
pay_herd = {
target = scope:hungry_neighbour
value = domicile.minor_herd_value
}
scope:hungry_neighbour = {
pay_short_term_gold = {
target = root
gold = root.medium_gold_value
}
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = 1
}
modifier = {
factor = 0
domicile ?= {
herd < medium_herd_value
}
}
}
}
option = { # I think not!
name = mpo_nomads_season_events.0005.c
reverse_add_opinion = {
target = scope:hungry_neighbour
modifier = insulted_opinion
opinion = -15
}
ai_chance = {
base = 20
ai_value_modifier = {
ai_sociability = -1
ai_greed = -1
}
}
}
}
mpo_nomads_season_events.0010 = { # Your vassal offers herd during a season of bounty
type = character_event
title = mpo_nomads_season_events.0010.t
desc = {
desc = mpo_nomads_season_events.0010.desc
first_valid = {
triggered_desc = {
trigger = {
scope:rich_neighbour = { has_character_flag = given_herd }
}
desc = mpo_nomads_season_events.0010.desc_offered_herd
}
desc = mpo_nomads_season_events.0010.desc_fallback
}
}
theme = nomads
override_background = { reference = mpo_tent_interior_mongol }
cooldown = { years = 10 }
left_portrait = {
character = root
triggered_animation = {
trigger = {
has_trait = cynical
}
animation = personality_cynical
}
triggered_animation = {
trigger = {
scope:rich_neighbour = { has_character_flag = given_herd }
}
animation = flirtation
}
animation = personality_greedy
}
right_portrait = {
character = scope:rich_neighbour
triggered_animation = {
trigger = {
scope:rich_neighbour = { has_character_flag = given_herd }
}
animation = obsequious_bow
}
animation = steward
}
trigger = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
is_available = yes
any_character_situation = {
OR = {
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_abundant_grazing_season
situation_sub_region_has_county = root.capital_county
}
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_sky_blessing_season
situation_sub_region_has_county = root.capital_county
}
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_warm_nights_season
situation_sub_region_has_county = root.capital_county
}
}
}
any_vassal = {
is_available_ai = yes
trigger_if = {
limit = {
NOT = { has_character_flag = given_herd }
}
NOR = {
is_councillor_of = root
has_relation_blood_brother = root
has_relation_friend = root
has_relation_best_friend = root
}
}
domicile ?= {
herd > minor_herd_value
}
}
}
immediate = {
random_vassal = {
limit = {
is_available_ai = yes
trigger_if = {
limit = {
NOT = { has_character_flag = given_herd }
}
NOR = {
is_councillor_of = root
has_relation_blood_brother = root
has_relation_friend = root
has_relation_best_friend = root
}
}
domicile ?= {
herd > minor_herd_value
}
}
save_scope_as = rich_neighbour
}
}
option = { # Yes, I will buy herd from you.
name = mpo_nomads_season_events.0010.a
trigger = {
NOT = {
scope:rich_neighbour = {
has_character_flag = given_herd
}
}
}
pay_short_term_gold = {
target = scope:rich_neighbour
gold = medium_gold_value
}
scope:rich_neighbour = {
pay_herd = {
target = root
value = scope:rich_neighbour.domicile.minor_herd_value
}
}
stress_impact = {
greedy = medium_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_greed = -1
}
modifier = {
factor = 50
domicile ?= {
herd < minor_herd_value
}
}
modifier = {
gold <= major_gold_value
factor = 0
}
}
}
option = { # Forget the herd, I want you as my bro!
name = mpo_nomads_season_events.0010.c
trigger = {
scope:rich_neighbour = {
has_character_flag = given_herd
}
can_set_relation_blood_brother_trigger = { CHARACTER = scope:rich_neighbour }
}
add_internal_flag = special
reason = gave_herd
set_relation_blood_brother = {
reason = sworn_blood_brother
target = scope:rich_neighbour
}
stress_impact = {
paranoid = medium_stress_impact_gain
gregarious = medium_stress_impact_loss
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_sociability = 1
}
modifier = {
factor = 0
has_trait = paranoid
}
modifier = {
add = 50
has_trait = gregarious
}
}
}
option = { # Free herd? Yes please!
name = mpo_nomads_season_events.0010.b
trigger = {
scope:rich_neighbour = {
has_character_flag = given_herd
}
}
scope:rich_neighbour = {
pay_herd = {
target = root
value = scope:rich_neighbour.domicile.medium_herd_value
}
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_greed = 1
}
}
}
option = { # Give me your herd, or your head!
name = mpo_nomads_season_events.0010.d
trigger = {
NOT = {
scope:rich_neighbour = {
has_character_flag = given_herd
}
}
is_ai = no
}
duel = {
skill = prowess
target = scope:rich_neighbour
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
min = 5
desc = mpo_nomads_season_events.0010.d.tt.success
scope:rich_neighbour = {
pay_herd = {
target = root
value = scope:rich_neighbour.domicile.medium_herd_value
}
increase_wounds_effect = { REASON = fight }
}
send_interface_toast = {
title = mpo_nomads_season_events.0010.d.tt.success
left_icon = root
right_icon = scope:rich_neighbour
scope:rich_neighbour = {
add_opinion = {
target = root
modifier = stole_my_herd
}
}
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
min = 5
desc = mpo_nomads_season_events.0010.d.tt.failure
add_prestige = minor_prestige_loss
send_interface_toast = {
title = mpo_nomads_season_events.0010.d.tt.failure
left_icon = scope:rich_neighbour
reverse_add_opinion = {
target = scope:rich_neighbour
modifier = insult_opinion
opinion = -25
}
}
}
}
if = {
limit = {
can_set_relation_rival_trigger = { CHARACTER = scope:rich_neighbour }
}
progress_towards_rival_effect = {
REASON = stole_my_herd
CHARACTER = scope:rich_neighbour
OPINION = 0
}
}
stress_impact = {
just = medium_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_energy = 1
}
modifier = {
factor = 0
has_trait = just
}
modifier = {
factor = 50
prowess > mediocre_skill_rating
}
}
}
option = { # I have no need to trade.
name = mpo_nomads_season_events.0010.e
trigger = {
NOT = {
scope:rich_neighbour = {
has_character_flag = given_herd
}
}
}
reverse_add_opinion = {
target = scope:rich_neighbour
modifier = insulted_opinion
opinion = -15
}
ai_chance = {
base = 20
ai_value_modifier = {
ai_greed = 1
}
}
}
after = {
scope:rich_neighbour = {
if = {
limit = {
has_character_flag = given_herd
}
remove_character_flag = given_herd
}
}
}
}
mpo_nomads_season_events.0015 = { # Two Kurultai members fight over food
type = character_event
title = mpo_nomads_season_events.0015.t
desc = mpo_nomads_season_events.0015.desc
theme = nomads
override_background = { reference = mpo_campfire_steppe }
cooldown = { years = 10 }
left_portrait = {
character = scope:kurultai_1
animation = war_attacker
}
right_portrait = {
character = scope:kurultai_2
animation = aggressive_unarmed
}
trigger = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
is_available = yes
any_character_situation = {
NOR = {
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_abundant_grazing_season
situation_sub_region_has_county = root.capital_county
}
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_sky_blessing_season
situation_sub_region_has_county = root.capital_county
}
any_situation_sub_region = {
sub_region_current_phase = situation_steppe_warm_nights_season
situation_sub_region_has_county = root.capital_county
}
}
}
OR = {
domicile ?= {
herd <= minor_herd_value
}
}
any_councillor = {
count >= 2
is_kurultai_trigger = yes
is_available_ai = yes
NOT = { is_spouse_of = root }
}
}
immediate = {
random_councillor = {
limit = {
is_kurultai_trigger = yes
is_available_ai = yes
NOT = { is_spouse_of = root }
}
save_scope_as = kurultai_1
}
random_councillor = {
limit = {
is_kurultai_trigger = yes
is_available_ai = yes
NOT = {
this = scope:kurultai_1
is_spouse_of = root
}
}
save_scope_as = kurultai_2
}
}
option = { # Do not cry over spilled kumis.
name = mpo_nomads_season_events.0015.a
reverse_add_opinion = {
target = scope:kurultai_1
modifier = grateful_opinion
opinion = 30
}
add_prestige = minor_prestige_loss
stress_impact = {
calm = medium_stress_impact_loss
wrathful = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
factor = 20
has_trait = calm
}
modifier = {
factor = 0
has_trait = wrathful
}
}
}
option = { # Go on, fight! Entertain the rest of us.
name = mpo_nomads_season_events.0015.b
reverse_add_opinion = {
target = scope:kurultai_2
modifier = grateful_opinion
opinion = 30
}
scope:kurultai_2 = {
duel = {
skill = prowess
target = scope:kurultai_1
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
min = 5
desc = mpo_nomads_season_events.0015.b.tt.success
scope:kurultai_1 = {
add_trait = wounded_1
}
send_interface_toast = {
title = mpo_nomads_season_events.0015.b.tt.success
left_icon = scope:kurultai_1
}
}
50 = {
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
min = 5
desc = mpo_nomads_season_events.0015.b.tt.failure
scope:kurultai_2 = {
add_trait = wounded_1
}
send_interface_toast = {
title = mpo_nomads_season_events.0015.b.tt.failure
left_icon = scope:kurultai_2
}
}
}
}
stress_impact = {
wrathful = medium_stress_impact_loss
calm = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
factor = 20
has_trait = wrathful
}
modifier = {
factor = 0
has_trait = calm
}
}
}
option = { # Let it go, both of you.
name = mpo_nomads_season_events.0015.c
reverse_add_opinion = {
target = scope:kurultai_1
modifier = disappointed_opinion
opinion = -15
}
reverse_add_opinion = {
target = scope:kurultai_2
modifier = disappointed_opinion
opinion = -15
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_rationality = 1
}
}
}
}

View file

@ -1,835 +0,0 @@
namespace = mpo_temujin_flavor
# mpo_temujin_flavor.0001 - Become Blood Brothers with Jamukha
# mpo_temujin_flavor.0010 - Jamukha stops being your vassal
# mpo_temujin_flavor.0020 - Jamukha becomes your rival
# mpo_temujin_flavor.0030 - Borte announces she's pregnant
#######################
# Become Blood Brothers with Jamukha
#######################
mpo_temujin_flavor.0001 = {
type = character_event
title = mpo_temujin_flavor.0001.t
desc = mpo_temujin_flavor.0001.desc
theme = nomads
override_background = {
reference = mpo_campfire_steppe
}
left_portrait = {
character = root
animation = aggressive_dagger
}
right_portrait = {
character = scope:jamukha
animation = celebrate_dagger
}
trigger = {
NOR = {
has_variable = had_mpo_temujin_flavor_0001
has_variable = had_mpo_temujin_flavor_0010
has_variable = had_mpo_temujin_flavor_0020
}
is_physically_able = yes
character:mpo_mongol_1 = {
is_alive = yes
is_physically_able = yes
NOR = {
has_relation_blood_brother = root
has_relation_rival = root
}
}
}
immediate = {
play_music_cue = "mx_cue_touching_moment"
set_variable = had_mpo_temujin_flavor_0001
character:mpo_mongol_1 = {
save_scope_as = jamukha
save_scope_as = blood_bro
}
}
option = { # Yay
name = mpo_temujin_flavor.0001.a
if = {
limit = {
NOR = {
has_character_flag = had_warhorse_story
any_owned_story = {
story_type = story_cycle_martial_lifestyle_warhorse
exists = var:story_cycle_horse_name
}
}
scope:jamukha = {
NOR = {
has_character_flag = had_warhorse_story
any_owned_story = {
story_type = story_cycle_martial_lifestyle_warhorse
exists = var:story_cycle_horse_name
}
}
}
}
custom_tooltip = temujin_warhorse_tt
custom_tooltip = jamukha_warhorse_tt
if = {
limit = {
scope:jamukha = {
is_ai = yes
}
}
hidden_effect = {
start_warhorse_story_cycle_effect = yes
}
}
if = {
limit = {
scope:jamukha = {
is_ai = yes
}
}
hidden_effect = {
scope:jamukha = {
start_warhorse_story_cycle_effect = yes
}
}
}
}
if = {
limit = {
scope:jamukha = {
is_ai = yes
}
}
set_relation_blood_brother = {
target = scope:jamukha
reason = blood_brother_temujin_jamukha
}
add_character_modifier = blood_brother_warrior_modifier
scope:jamukha = {
add_character_modifier = blood_brother_warrior_modifier
}
}
else = {
custom_tooltip = jamukha_choose_blood_brother_tt
save_scope_as = temujin
scope:jamukha = {
trigger_event = mpo_jamukha_flavor.0001
}
show_as_tooltip = {
add_character_modifier = blood_brother_warrior_modifier
scope:jamukha = {
add_character_modifier = blood_brother_warrior_modifier
}
}
}
custom_tooltip = blood_brother_gains_hook_tt
custom_tooltip = blood_brother_gains_hook_other_tt
stress_impact = {
gregarious = medium_stress_impact_loss
callous = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Not a chance
name = mpo_temujin_flavor.0001.b
add_dread = minor_dread_gain
add_prestige = minor_prestige_gain
set_variable = rejected_jamukha_var
scope:jamukha = {
add_opinion = {
target = root
modifier = insult_opinion
opinion = -25
}
}
stress_impact = {
base = minor_stress_impact_gain
callous = medium_stress_impact_loss
gregarious = medium_stress_impact_gain
}
ai_chance = {
base = 0
}
}
after = {
hidden_effect = {
scope:jamukha = {
trigger_event = {
days = { 180 360 }
id = mpo_jamukha_flavor.0010
}
}
}
}
}
#######################
# Jamukha stops being your vassal
#######################
scripted_effect mpo_temujin_flavor_0010_jamukha_leaving_effect = {
if = {
limit = { scope:jamukha = { is_vassal_of = root } }
scope:jamukha = {
create_title_and_vassal_change = {
type = independency
save_scope_as = change
add_claim_on_loss = no
}
becomes_independent = {
change = scope:change
}
resolve_title_and_vassal_change = scope:change
}
}
else = {
scope:jamukha = { end_tributary = yes }
}
add_truce_both_ways = {
character = scope:jamukha
years = 5
name = temujin_jamukha_truce
}
hidden_effect = { # This will put him closer to Temujin
scope:jamukha = {
if = {
limit = {
current_military_strength < scope:temujin.current_military_strength
}
domicile ?= {
change_herd = {
value = scope:temujin.domicile.herd
multiply = 0.5
}
}
}
}
}
if = {
limit = {
exists = scope:togrul
}
scope:jamukha = {
custom_tooltip = negotiate_togrul_alliance_effect_tooltip
create_alliance = {
target = scope:togrul
allied_through_owner = scope:jamukha
allied_through_target = scope:togrul
}
hidden_effect = {
scope:togrul = {
add_opinion = {
target = scope:jamukha
modifier = event_negotiated_alliance_opinion
}
}
}
}
}
}
mpo_temujin_flavor.0010 = {
type = character_event
title = mpo_temujin_flavor.0010.t
desc = {
desc = mpo_temujin_flavor.0010.desc.intro
first_valid = {
triggered_desc = {
trigger = { has_variable = rejected_jamukha_var }
desc = mpo_temujin_flavor.0010.desc.rejected
}
triggered_desc = {
trigger = { has_relation_blood_brother = scope:jamukha }
desc = mpo_temujin_flavor.0010.desc.blood_brothers
}
desc = mpo_temujin_flavor.0010.desc.fallback
}
}
theme = nomads
override_background = {
reference = mpo_campfire_steppe
}
left_portrait = {
character = root
animation = personality_vengeful
}
right_portrait = {
character = scope:jamukha
animation = schadenfreude
}
lower_right_portrait = scope:togrul
trigger = {
has_variable = had_mpo_temujin_flavor_0001
NOR = {
has_variable = had_mpo_temujin_flavor_0010
has_variable = had_mpo_temujin_flavor_0020
}
is_alive = yes
is_ruler = yes
character:mpo_mongol_1 = {
is_alive = yes
OR = {
is_vassal_of = root
is_tributary_of = root
}
}
}
immediate = {
set_variable = {
name = had_mpo_temujin_flavor_0010
value = character:mpo_mongol_1
}
character:mpo_mongol_1 = {
save_scope_as = jamukha
}
mpo_temujin_flavor_0010_jamukha_leaving_effect = yes
}
option = { # I will kill you
name = mpo_temujin_flavor.0010.aa
trigger = { dread >= 100 }
if = {
limit = {
has_relation_blood_brother = scope:jamukha
}
custom_tooltip = {
text = mpo_temujin_flavor.0010.aa_remove_blood_brother
remove_relation_blood_brother = scope:jamukha
}
}
scope:jamukha = {
add_dread = major_dread_loss
add_prestige = medium_prestige_loss
}
every_vassal = {
limit = {
has_vassal_stance = belligerent
is_obedient = no
}
custom = every_belligerent_vassal
add_opinion = {
modifier = obedience_opinion
target = root
}
}
every_courtier = {
limit = {
is_obedient = no
NOR = {
has_trait = brave
has_trait = compassionate
}
}
custom = every_non_brave_compassionate_courtier
add_opinion = {
modifier = obedience_opinion
target = root
}
}
stress_impact = {
gregarious = medium_stress_impact_loss
callous = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Look at this clown
name = mpo_temujin_flavor.0010.a
duel = {
skill = diplomacy
target = scope:jamukha
50 = { # Your people are impressed
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
min = -49
}
min = 5
desc = mpo_temujin_flavor.0010.a.tt.success
send_interface_toast = {
title = mpo_temujin_flavor.0010.a.tt.success
left_icon = root
right_icon = scope:jamukha
add_prestige = medium_prestige_gain
scope:jamukha = { add_prestige = medium_prestige_loss }
}
}
50 = { # No one is impressed
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
min = -49
}
min = 5
desc = mpo_temujin_flavor.0010.a.tt.failure
send_interface_toast = {
title = mpo_temujin_flavor.0010.a.tt.failure
left_icon = root
add_prestige = minor_prestige_loss
}
}
}
stress_impact = {
gregarious = medium_stress_impact_loss
callous = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Try to force him to stay
name = mpo_temujin_flavor.0010.b
add_dread = minor_dread_gain
scope:jamukha = {
add_opinion = {
target = root
modifier = hurt_opinion
opinion = -30
}
}
stress_impact = {
callous = medium_stress_impact_loss
gregarious = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Let him go
name = mpo_temujin_flavor.0010.c
scope:jamukha = {
add_opinion = {
target = root
modifier = grateful_opinion
opinion = 20
}
}
stress_impact = {
generous = medium_stress_impact_loss
callous = major_stress_impact_gain
}
ai_chance = {
base = 100
}
}
after = {
hidden_effect = {
trigger_event = {
days = { 360 420 }
id = mpo_temujin_flavor.0020
}
}
}
}
#######################
# Jamukha becomes your rival -- now you must kill him
#######################
mpo_temujin_flavor.0020 = {
type = character_event
title = mpo_temujin_flavor.0020.t
desc = {
desc = mpo_temujin_flavor.0020.desc.intro
first_valid = {
triggered_desc = {
trigger = { has_relation_blood_brother = scope:jamukha }
desc = mpo_temujin_flavor.0020.desc.blood_brothers
}
triggered_desc = {
trigger = { has_relation_friend = scope:jamukha }
desc = mpo_temujin_flavor.0020.desc.friend
}
triggered_desc = {
trigger = { has_relation_rival = scope:jamukha }
desc = mpo_temujin_flavor.0020.desc.rival
}
desc = mpo_temujin_flavor.0020.desc.fallback
}
desc = mpo_temujin_flavor.0020.desc.outro
}
theme = nomads
override_background = {
reference = mpo_campfire_steppe
}
left_portrait = {
character = root
animation = anger
outfit_tags = { nightgown }
camera = camera_event_very_left
}
right_portrait = {
character = scope:jamukha
animation = horse_conversing_left
camera = camera_event_horse_right
}
window = scheme_conclusion_event_no_header
trigger = {
NOT = { has_variable = had_mpo_temujin_flavor_0020 }
OR = {
has_variable = had_mpo_temujin_flavor_0010
AND = {
NOT = { has_variable = had_mpo_temujin_flavor_0010 }
character:mpo_mongol_1 = {
NOR = {
is_vassal_of = root
is_tributary = root
}
}
}
}
is_alive = yes
is_ruler = yes
character:mpo_mongol_1 = {
is_alive = yes
in_diplomatic_range = root
is_ruler = yes
}
}
immediate = {
save_scope_as = temujin
play_music_cue = "mx_cue_murder"
set_variable = {
name = had_mpo_temujin_flavor_0020
value = character:mpo_mongol_1
}
character:mpo_mongol_1 = {
save_scope_as = jamukha
}
if = {
limit = {
current_military_strength < scope:jamukha.current_military_strength
}
domicile ?= {
change_herd = {
value = scope:jamukha.domicile.herd
multiply = 1.5
}
}
add_prestige = major_prestige_gain # For MAA maintenance, mainly
custom_tooltip = temujin_gain_from_defectors_tt
}
if = {
limit = {
has_relation_blood_brother = scope:jamukha
}
scope:jamukha = {
add_character_flag = {
flag = was_temujins_bro
years = 30
}
}
}
}
option = { # You who I once called brother
name = mpo_temujin_flavor.0020.a
reason = blood_brother
add_internal_flag = special
trigger = { has_relation_blood_brother = scope:jamukha }
custom_tooltip = {
text = mpo_temujin_flavor.0020.a_war_win
set_variable = temujin_jamukha_war_var
}
add_character_modifier = {
modifier = temujin_jamukha_war_modifier
years = 5
}
stress_impact = {
base = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # Murderrrrrrr
name = mpo_temujin_flavor.0020.b
custom_tooltip = {
text = mpo_temujin_flavor.0020.b_murder
set_variable = {
name = temujin_jamukha_murder_var
value = scope:jamukha
}
}
stress_impact = {
deceitful = massive_stress_impact_loss
sadistic = massive_stress_impact_loss
}
ai_chance = {
base = 0
}
}
option = { # I'm going to crush your skull
name = mpo_temujin_flavor.0020.c
trigger = {
NOT = { has_relation_blood_brother = scope:jamukha }
}
add_character_modifier = {
modifier = temujin_jamukha_war_smaller_modifier
years = 5
}
stress_impact = {
wrathful = massive_stress_impact_loss
vengeful = massive_stress_impact_loss
}
ai_chance = {
base = 100
}
}
after = {
if = { # Remove hooks
limit = {
scope:jamukha = {
has_hook = root
}
}
scope:jamukha = { remove_hook = { target = root } }
}
if = {
limit = {
has_hook = scope:jamukha
}
remove_hook = { target = scope:jamukha }
}
if = { # Remove Truce
limit = {
any_truce_target = { this = scope:jamukha }
}
cancel_truce_both_ways = scope:jamukha
}
custom_tooltip = mpo_temujin_flavor.0020.jamukha_gok_requirement
if = {
limit = { has_relation_blood_brother = scope:jamukha }
custom_tooltip = {
text = mpo_temujin_flavor.0010.aa_remove_blood_brother
remove_relation_blood_brother = scope:jamukha
}
}
else_if = {
limit = { has_relation_friend = scope:jamukha }
custom_tooltip = {
text = mpo_temujin_flavor.0020.remove_friend
remove_relation_friend = scope:jamukha
}
}
if = {
limit = { NOT = { has_relation_rival = scope:jamukha } }
set_relation_rival = {
target = scope:jamukha
reason = rival_temujin_jamukha
}
}
else_if = {
limit = { has_relation_rival = scope:jamukha }
set_relation_nemesis = {
target = scope:jamukha
reason = rival_temujin_jamukha
}
}
else = {
add_opinion = {
target = root
modifier = hate_opinion
opinion = -100
}
}
custom_tooltip = {
text = mpo_temujin_flavor.0020.cb.tt
add_to_variable_list = {
name = retaliation_cb_var_list
target = scope:jamukha
}
scope:jamukha = {
add_to_variable_list = {
name = retaliation_cb_var_list
target = root
}
}
}
scope:jamukha = {
trigger_event = mpo_jamukha_flavor.0020
}
}
}
#######################
# Borte announces she's pregnant
#######################
mpo_temujin_flavor.0030 = {
type = character_event
title = mpo_temujin_flavor.0030.t
desc = mpo_temujin_flavor.0030.desc
theme = pregnancy
left_portrait = {
character = root
animation = anger
}
right_portrait = {
character = scope:borte
animation = worry
}
lower_right_portrait = scope:mergid
trigger = {
NOT = { has_variable = had_mpo_temujin_flavor_0030 } # To make sure it triggers even if you migrate straight away and lose the event time window
character:172004 = {
is_alive = yes
is_spouse_of = root
is_pregnant = no
}
any_neighboring_top_liege_realm_owner = {
NOT = { has_relation_rival = root }
}
}
immediate = {
play_music_cue = "mx_cue_personal_negative"
set_variable = had_mpo_temujin_flavor_0030
character:172004 = {
save_scope_as = borte
}
if = {
limit = {
character:303116 = {
is_alive = yes
NOT = { has_relation_rival = root }
}
}
character:303116 = {
save_scope_as = mergid
}
}
else_if = {
limit = {
any_ruler = {
dynasty = dynasty:2001144
NOT = { has_relation_rival = root }
}
}
random_ruler = {
limit = {
dynasty = dynasty:2001144
NOT = { has_relation_rival = root }
}
save_scope_as = mergid
}
}
else = {
random_neighboring_top_liege_realm_owner = {
limit = { NOT = { has_relation_rival = root } }
save_scope_as = mergid
}
}
scope:borte = {
custom_tooltip = mpo_temujin_flavor.0030.pregnancy_tt
hidden_effect = {
make_pregnant = {
father = scope:mergid
}
}
set_variable = borte_first_child_var
}
}
option = { # I hate those guys
name = mpo_temujin_flavor.0030.a
set_relation_rival = {
target = scope:mergid
reason = rival_temujin_mergid
}
custom_tooltip = {
text = mpo_temujin_flavor.0030.a.tt
add_to_variable_list = {
name = retaliation_cb_var_list
target = scope:mergid
}
}
add_dread = medium_dread_gain
stress_impact = {
vengeful = major_stress_impact_loss
compassionate = medium_stress_impact_gain
}
ai_chance = {
base = 0 # To prevent AI Temüjin from being murdered immediately
}
}
option = { # Let's forget about that, you are more important
name = mpo_temujin_flavor.0030.b
if = {
limit = {
NOT = { has_relation_lover = scope:borte }
}
set_relation_lover = {
target = scope:borte
reason = lover_temujin_borte
}
}
else = {
scope:borte = {
add_opinion = {
target = root
modifier = grateful_opinion
opinion = 20
}
}
}
set_relation_wedding_very_good_fertility = scope:borte
stress_impact = {
compassionate = major_stress_impact_loss
vengeful = medium_stress_impact_gain
}
ai_chance = {
base = 100
}
}
option = { # I could not care less
name = mpo_temujin_flavor.0030.c
scope:borte = {
add_opinion = {
target = root
modifier = upset_opinion
opinion = -25
}
}
stress_impact = {
callous = major_stress_impact_loss
compassionate = major_stress_impact_gain
vengeful = major_stress_impact_gain
}
ai_chance = {
base = 0
}
}
}

View file

@ -141,7 +141,7 @@ tgp_ceremonial_liege_events.0001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
just = minor_stress_impact_loss just = minor_stress_impact_loss
@ -223,7 +223,7 @@ tgp_ceremonial_liege_events.0001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -322,7 +322,7 @@ tgp_ceremonial_liege_events.0010 = {
REASON = friend_took_lessons_to_heart REASON = friend_took_lessons_to_heart
} }
stress_impact = { stress_and_fulfillment_impact = {
humble = minor_stress_impact_loss humble = minor_stress_impact_loss
temperate = minor_stress_impact_loss temperate = minor_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
@ -389,7 +389,7 @@ tgp_ceremonial_liege_events.0010 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
shy = minor_stress_impact_loss shy = minor_stress_impact_loss
gregarious = minor_stress_impact_gain gregarious = minor_stress_impact_gain
} }
@ -421,7 +421,7 @@ tgp_ceremonial_liege_events.0010 = {
if = { if = {
limit = { limit = {
government_has_flag = government_is_administrative government_has_flag = government_has_influence
} }
change_influence = medium_influence_gain change_influence = medium_influence_gain
} }
@ -429,7 +429,7 @@ tgp_ceremonial_liege_events.0010 = {
add_prestige = medium_prestige_gain add_prestige = medium_prestige_gain
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_gain base = major_stress_impact_gain
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
@ -482,7 +482,7 @@ tgp_ceremonial_liege_events.0010 = {
title = tgp_ceremonial_liege_events.0010.tt.success title = tgp_ceremonial_liege_events.0010.tt.success
left_icon = root left_icon = root
right_icon = scope:spouse right_icon = scope:spouse
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
} }
@ -516,7 +516,7 @@ tgp_ceremonial_liege_events.0010 = {
opinion = -15 opinion = -15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain base = miniscule_stress_impact_gain
} }
} }
@ -663,7 +663,7 @@ tgp_ceremonial_liege_events.0020 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
ambitious = minor_stress_impact_loss ambitious = minor_stress_impact_loss
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
@ -721,7 +721,7 @@ tgp_ceremonial_liege_events.0020 = {
} }
if = { if = {
limit = { limit = {
government_has_flag = government_is_administrative government_has_flag = government_has_influence
} }
change_influence = minor_influence_gain change_influence = minor_influence_gain
} }
@ -757,7 +757,7 @@ tgp_ceremonial_liege_events.0020 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_loss ambitious = minor_stress_impact_loss
deceitful = minor_stress_impact_loss deceitful = minor_stress_impact_loss
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
@ -800,7 +800,7 @@ tgp_ceremonial_liege_events.0020 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
loyal = minor_stress_impact_loss loyal = minor_stress_impact_loss
@ -960,7 +960,7 @@ tgp_ceremonial_liege_events.0030 = {
} }
} }
add_learning_lifestyle_xp = minor_lifestyle_xp add_learning_lifestyle_xp = minor_lifestyle_xp
stress_impact = { stress_and_fulfillment_impact = {
patient = minor_stress_impact_loss patient = minor_stress_impact_loss
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
@ -978,7 +978,7 @@ tgp_ceremonial_liege_events.0030 = {
title = tgp_ceremonial_liege_events.0030.tt.failure title = tgp_ceremonial_liege_events.0030.tt.failure
left_icon = root left_icon = root
right_icon = scope:scholar right_icon = scope:scholar
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
wrathful = minor_stress_impact_gain wrathful = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
@ -1072,7 +1072,7 @@ tgp_ceremonial_liege_events.0030 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
wrathful = minor_stress_impact_loss wrathful = minor_stress_impact_loss
@ -1214,18 +1214,18 @@ tgp_ceremonial_liege_events.0040 = {
} }
if = { if = {
limit = { limit = {
faith = { trait_is_virtue = honest } rite = { trait_is_virtue_rite = honest }
} }
add_piety = minor_piety_loss add_piety = minor_piety_loss
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
} }
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
just = minor_stress_impact_gain just = minor_stress_impact_gain
honest = minor_stress_impact_gain honest = minor_stress_impact_gain
deceitful = minor_stress_impact_loss deceitful = minor_stress_impact_loss
@ -1266,12 +1266,12 @@ tgp_ceremonial_liege_events.0040 = {
add_prestige = minor_prestige_gain add_prestige = minor_prestige_gain
if = { if = {
limit = { limit = {
faith = { trait_is_virtue = honest } rite = { trait_is_virtue_rite = honest }
} }
add_piety = minor_piety_gain add_piety = minor_piety_gain
} }
stress_impact = { stress_and_fulfillment_impact = {
just = minor_stress_impact_loss just = minor_stress_impact_loss
humble = minor_stress_impact_loss humble = minor_stress_impact_loss
honest = minor_stress_impact_loss honest = minor_stress_impact_loss

File diff suppressed because it is too large Load diff

View file

@ -52,7 +52,7 @@ tgp_china_career.0001 = {
animation = reading animation = reading
} }
cooldown = { days = 1 } cooldown = { weeks = 1 }
trigger = { trigger = {
exists = top_liege exists = top_liege

View file

@ -28,14 +28,15 @@ scripted_effect set_up_local_examiner_effect = {
age = { 33 79 } age = { 33 79 }
location = root.location location = root.location
faith = scope:hegemon.faith faith = scope:hegemon.faith
rite = scope:hegemon.rite
culture = scope:hegemon.culture culture = scope:hegemon.culture
gender_female_chance = { gender_female_chance = {
if = { if = {
limit = { scope:hegemon.faith = { has_doctrine = doctrine_gender_male_dominated } } limit = { scope:hegemon.rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
add = 0 add = 0
} }
else_if = { else_if = {
limit = { scope:hegemon.faith = { has_doctrine = doctrine_gender_female_dominated } } limit = { scope:hegemon.rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
add = 100 add = 100
} }
else = { else = {
@ -114,7 +115,7 @@ tgp_china_decision.1000 = {
value = scope:duel_value value = scope:duel_value
multiplier = -3 multiplier = -3
} }
stress_impact = { base = medium_stress_impact_gain } stress_and_fulfillment_impact = { base = medium_stress_impact_gain }
} }
} }
ai_chance = { ai_chance = {
@ -266,7 +267,7 @@ tgp_china_decision.1001 = {
value = scope:duel_value value = scope:duel_value
multiplier = -3 multiplier = -3
} }
stress_impact = { base = medium_stress_impact_gain } stress_and_fulfillment_impact = { base = medium_stress_impact_gain }
} }
} }
ai_chance = { ai_chance = {
@ -419,7 +420,7 @@ tgp_china_decision.1002 = {
value = scope:duel_value value = scope:duel_value
multiplier = -3 multiplier = -3
} }
stress_impact = { base = medium_stress_impact_gain } stress_and_fulfillment_impact = { base = medium_stress_impact_gain }
} }
} }
ai_chance = { ai_chance = {

View file

@ -192,7 +192,7 @@ tgp_china_ministry.0004 = {
limit = { limit = {
scope:contributor = { scope:contributor = {
NOT = { NOT = {
any_character_war = { this = prev } any_character_war = { this = scope:grand_campaign_war }
} }
} }
} }
@ -296,7 +296,10 @@ tgp_china_ministry.0005 = {
trigger = { list_size:titles_won >= list_size:titles_lost } trigger = { list_size:titles_won >= list_size:titles_lost }
text = tgp_china_ministry.0005.a_win text = tgp_china_ministry.0005.a_win
} }
name = tgp_china_ministry.0005.a_lost name = {
trigger = { list_size:titles_won < list_size:titles_lost }
text = tgp_china_ministry.0005.a_lost
}
if = { if = {
limit = { limit = {
list_size:titles_won >= list_size:titles_lost list_size:titles_won >= list_size:titles_lost
@ -472,7 +475,10 @@ tgp_china_ministry.0008 = {
trigger = { list_size:titles_won >= list_size:titles_lost } trigger = { list_size:titles_won >= list_size:titles_lost }
text = tgp_china_ministry.0005.a_win text = tgp_china_ministry.0005.a_win
} }
name = tgp_china_ministry.0005.a_lost name = {
trigger = { list_size:titles_won < list_size:titles_lost }
text = tgp_china_ministry.0005.a_lost
}
show_as_tooltip = { show_as_tooltip = {
scope:owner = { scope:owner = {
if = { if = {
@ -506,6 +512,7 @@ tgp_china_ministry.0008 = {
} }
# Minister of Revenue - Budget events # Minister of Revenue - Budget events
# Top liege is enforced to enact a new budget # Top liege is enforced to enact a new budget
# NOTE: Also used for other Treasury budget using governments - Administrative & Meritocratic (not Ecclesiastical)
tgp_china_ministry.0100 = { tgp_china_ministry.0100 = {
type = character_event type = character_event
title = tgp_china_ministry.0100.t title = tgp_china_ministry.0100.t
@ -583,6 +590,10 @@ tgp_china_ministry.0100 = {
is_ai = yes is_ai = yes
is_travelling = no is_travelling = no
} }
# Exclude Church Treasury (it is simpler and gets auto-enacted yearly)
NOT = {
government_has_mechanic = theocracy
}
# You should enact a new budget if you fulfill ANY of these reasons # You should enact a new budget if you fulfill ANY of these reasons
OR = { OR = {
# The AI hasn't set a new budget recently # The AI hasn't set a new budget recently
@ -1269,78 +1280,78 @@ tgp_china_ministry.1000 = {
opinion = 50 opinion = 50
} }
add_character_modifier = tgp_personal_honors_modifier add_character_modifier = tgp_personal_honors_modifier
# if = { if = {
# limit = { limit = {
# has_title = title:e_minister_chancellor has_title = title:e_minister_chancellor
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_chancellor_modifier add_house_modifier = tgp_e_minister_chancellor_modifier
# } }
# } }
# else_if = { else_if = {
# limit = { limit = {
# has_title = title:e_minister_censor has_title = title:e_minister_censor
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_censor_modifier add_house_modifier = tgp_e_minister_censor_modifier
# } }
# } }
# else_if = { else_if = {
# limit = { limit = {
# has_title = title:e_minister_grand_marshal has_title = title:e_minister_grand_marshal
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_grand_marshal_modifier add_house_modifier = tgp_e_minister_grand_marshal_modifier
# } }
# } }
# else_if = { else_if = {
# limit = { limit = {
# has_title = title:e_minister_of_personnel has_title = title:e_minister_of_personnel
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_of_personnel_modifier add_house_modifier = tgp_e_minister_of_personnel_modifier
# } }
# } }
# else_if = { else_if = {
# limit = { limit = {
# has_title = title:e_minister_of_revenue has_title = title:e_minister_of_revenue
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_of_revenue_modifier add_house_modifier = tgp_e_minister_of_revenue_modifier
# } }
# } }
# else_if = { else_if = {
# limit = { limit = {
# has_title = title:e_minister_of_rites has_title = title:e_minister_of_rites
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_of_rites_modifier add_house_modifier = tgp_e_minister_of_rites_modifier
# } }
# } }
# else_if = { else_if = {
# limit = { limit = {
# has_title = title:e_minister_of_war has_title = title:e_minister_of_war
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_of_war_modifier add_house_modifier = tgp_e_minister_of_war_modifier
# } }
# } }
# else_if = { else_if = {
# limit = { limit = {
# has_title = title:e_minister_of_justice has_title = title:e_minister_of_justice
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_of_justice_modifier add_house_modifier = tgp_e_minister_of_justice_modifier
# } }
# } }
# else_if = { else_if = {
# limit = { limit = {
# has_title = title:e_minister_of_works has_title = title:e_minister_of_works
# } }
# house = { house = {
# add_house_modifier = tgp_e_minister_of_works_modifier add_house_modifier = tgp_e_minister_of_works_modifier
# } }
# } }
dynasty = { add_dynasty_prestige = 2000 } dynasty = { add_dynasty_prestige = 2000 }
} }
} }

View file

@ -72,7 +72,7 @@ tgp_china_yearly.0001 = {
} }
change_merit = minor_merit_gain change_merit = minor_merit_gain
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
generous = medium_stress_impact_loss generous = medium_stress_impact_loss
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
@ -128,7 +128,7 @@ tgp_china_yearly.0001 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_loss greedy = medium_stress_impact_loss
generous = medium_stress_impact_gain generous = medium_stress_impact_gain
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
@ -175,7 +175,7 @@ tgp_china_yearly.0001 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain base = miniscule_stress_impact_gain
lazy = medium_stress_impact_loss lazy = medium_stress_impact_loss
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
@ -333,7 +333,7 @@ tgp_china_yearly.0005 = {
#Is mentioned parent woman or man? #Is mentioned parent woman or man?
if = { if = {
limit = { limit = {
faith = { has_doctrine = doctrine_gender_equal } rite = { rite_has_doctrine = doctrine_gender_equal }
} }
random_list = { random_list = {
50 = { 50 = {
@ -346,13 +346,13 @@ tgp_china_yearly.0005 = {
} }
else_if = { else_if = {
limit = { limit = {
faith = { has_doctrine = doctrine_gender_female_dominated } rite = { rite_has_doctrine = doctrine_gender_female_dominated }
} }
scope:orphan_mother ?= { save_scope_as = parent } scope:orphan_mother ?= { save_scope_as = parent }
} }
else_if = { else_if = {
limit = { limit = {
faith = { has_doctrine = doctrine_gender_male_dominated } rite = { rite_has_doctrine = doctrine_gender_male_dominated }
} }
scope:orphan_father ?= { save_scope_as = parent } scope:orphan_father ?= { save_scope_as = parent }
} }
@ -414,7 +414,7 @@ tgp_china_yearly.0005 = {
change_influence = major_influence_loss change_influence = major_influence_loss
add_courtier = scope:grieving_child add_courtier = scope:grieving_child
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss compassionate = medium_stress_impact_loss
callous = medium_stress_impact_gain callous = medium_stress_impact_gain
} }
@ -436,7 +436,7 @@ tgp_china_yearly.0005 = {
change_merit = minor_merit_gain change_merit = minor_merit_gain
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain compassionate = medium_stress_impact_gain
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
} }
@ -483,7 +483,7 @@ tgp_china_yearly.0005 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain base = miniscule_stress_impact_gain
lazy = medium_stress_impact_loss lazy = medium_stress_impact_loss
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
@ -611,7 +611,7 @@ tgp_china_yearly.0010 = {
silent_disappearance_effect = yes silent_disappearance_effect = yes
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
} }
@ -625,7 +625,7 @@ tgp_china_yearly.0010 = {
years = 5 years = 5
} }
stress_impact = { ambitious = medium_stress_impact_loss } stress_and_fulfillment_impact = { ambitious = medium_stress_impact_loss }
} }
option = { #I wonder what the books say about this. option = { #I wonder what the books say about this.
@ -652,7 +652,7 @@ tgp_china_yearly.0010 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain base = miniscule_stress_impact_gain
lazy = medium_stress_impact_loss lazy = medium_stress_impact_loss
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
@ -720,6 +720,7 @@ tgp_china_yearly.0015 = {
location = root.location location = root.location
culture = root.culture culture = root.culture
faith = root.faith faith = root.faith
rite = root.rite
trait = honest trait = honest
trait = diligent trait = diligent
trait = honest trait = honest
@ -730,6 +731,7 @@ tgp_china_yearly.0015 = {
location = root.location location = root.location
culture = root.culture culture = root.culture
faith = root.faith faith = root.faith
rite = root.rite
trait = gluttonous trait = gluttonous
trait = greedy trait = greedy
trait = gregarious trait = gregarious
@ -756,7 +758,7 @@ tgp_china_yearly.0015 = {
name = tgp_china_yearly.0015.b name = tgp_china_yearly.0015.b
add_treasury_or_gold = medium_treasury_or_gold_value add_treasury_or_gold = medium_treasury_or_gold_value
change_merit = minor_merit_loss change_merit = minor_merit_loss
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_loss greedy = medium_stress_loss
diligent = medium_stress_gain diligent = medium_stress_gain
} }
@ -805,7 +807,7 @@ tgp_china_yearly.0015 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain base = miniscule_stress_impact_gain
lazy = medium_stress_impact_loss lazy = medium_stress_impact_loss
diligent = medium_stress_impact_gain diligent = medium_stress_impact_gain
@ -926,7 +928,7 @@ tgp_china_yearly.0020 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
ambitious = medium_stress_loss ambitious = medium_stress_loss
} }
@ -949,7 +951,7 @@ tgp_china_yearly.0020 = {
} }
} }
change_merit = minor_merit_gain change_merit = minor_merit_gain
stress_impact = { stress_and_fulfillment_impact = {
compassionate = medium_stress_loss compassionate = medium_stress_loss
} }
ai_chance = { ai_chance = {
@ -1044,7 +1046,7 @@ tgp_china_yearly.0020 = {
# any_councillor = { # any_councillor = {
# is_available_ai_adult = yes # is_available_ai_adult = yes
# NOT = { # NOT = {
# any_learning_councillor = { exists = this } # any_learning_councillor = {}
# } # }
# } # }
# } # }
@ -1052,7 +1054,7 @@ tgp_china_yearly.0020 = {
# limit = { # limit = {
# is_available_ai_adult = yes # is_available_ai_adult = yes
# NOT = { # NOT = {
# any_learning_councillor = { exists = this } # any_learning_councillor = {}
# } # }
# } # }
# weight = { # weight = {

View file

@ -101,6 +101,8 @@ author_book.0001 = {
} }
option = { option = {
name = author_book.0001.b #I will let my elder/spouse/other select one name = author_book.0001.b #I will let my elder/spouse/other select one
# The name and tooltip both name the influencer, so hide the option when nobody was found
trigger = { exists = scope:trusted_influencer }
custom_tooltip = author_book.0001.b.tt custom_tooltip = author_book.0001.b.tt
scope:trusted_influencer = { scope:trusted_influencer = {
add_opinion = { add_opinion = {
@ -119,7 +121,7 @@ author_book.0001 = {
id = author_book.1000 id = author_book.1000
days = 5 days = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
lifestyle_poet = minor_stress_impact_loss #offsets penalty a bit lifestyle_poet = minor_stress_impact_loss #offsets penalty a bit
@ -248,7 +250,7 @@ author_book.0004 = {
id = author_book.1000 id = author_book.1000
months = 6 months = 6
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
journaller = minor_stress_impact_loss #offsets penalty a bit journaller = minor_stress_impact_loss #offsets penalty a bit
@ -376,7 +378,7 @@ author_book.0005 = {
id = author_book.1000 id = author_book.1000
years = 1 years = 1
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_gain base = major_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
journaller = minor_stress_impact_loss #offsets penalty a bit journaller = minor_stress_impact_loss #offsets penalty a bit
@ -576,7 +578,7 @@ author_book.1000 = {
generate_ci_poem_title_effect = yes #We need a title generate_ci_poem_title_effect = yes #We need a title
} }
create_artifact = { create_artifact = {
name = ci_poem_name name = TODO #This is replaced below
type = miscellaneous type = miscellaneous
creator = root creator = root
description = TODO #This is replaced below description = TODO #This is replaced below
@ -766,6 +768,7 @@ author_book.1000 = {
} }
#Now we set the description: #Now we set the description:
scope:newly_created_artifact = { scope:newly_created_artifact = {
set_artifact_name = ci_poem_name
set_artifact_description = ci_poem_description_full set_artifact_description = ci_poem_description_full
#And now we give modifiers: #And now we give modifiers:
switch = { switch = {

View file

@ -44,6 +44,7 @@ tgp_dynastic_cycle.0001 = {
tgp_dynastic_cycle.0051 = { # BOOKMARK EVENT tgp_dynastic_cycle.0051 = { # BOOKMARK EVENT
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0051.t title = tgp_dynastic_cycle.0051.t
desc = { desc = {
first_valid = { first_valid = {
@ -218,6 +219,7 @@ tgp_dynastic_cycle.0051 = { # BOOKMARK EVENT
tgp_dynastic_cycle.0052 = { # JOINED MOVEMENT - Unaligned tgp_dynastic_cycle.0052 = { # JOINED MOVEMENT - Unaligned
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0052.t title = tgp_dynastic_cycle.0052.t
desc = { desc = {
desc = tgp_dynastic_cycle.0052.desc.intro desc = tgp_dynastic_cycle.0052.desc.intro
@ -307,6 +309,7 @@ tgp_dynastic_cycle.0052 = { # JOINED MOVEMENT - Unaligned
tgp_dynastic_cycle.0053 = { # JOINED MOVEMENT - Expansion tgp_dynastic_cycle.0053 = { # JOINED MOVEMENT - Expansion
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0053.t title = tgp_dynastic_cycle.0053.t
desc = { desc = {
desc = tgp_dynastic_cycle.0053.desc.intro desc = tgp_dynastic_cycle.0053.desc.intro
@ -396,6 +399,7 @@ tgp_dynastic_cycle.0053 = { # JOINED MOVEMENT - Expansion
tgp_dynastic_cycle.0054 = { # JOINED MOVEMENT - Advancement tgp_dynastic_cycle.0054 = { # JOINED MOVEMENT - Advancement
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0054.t title = tgp_dynastic_cycle.0054.t
desc = { desc = {
desc = tgp_dynastic_cycle.0054.desc.intro desc = tgp_dynastic_cycle.0054.desc.intro
@ -485,6 +489,7 @@ tgp_dynastic_cycle.0054 = { # JOINED MOVEMENT - Advancement
tgp_dynastic_cycle.0055 = { # JOINED MOVEMENT - Pro-Hegemon tgp_dynastic_cycle.0055 = { # JOINED MOVEMENT - Pro-Hegemon
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0055.t title = tgp_dynastic_cycle.0055.t
desc = { desc = {
desc = tgp_dynastic_cycle.0055.desc.intro desc = tgp_dynastic_cycle.0055.desc.intro
@ -575,6 +580,7 @@ tgp_dynastic_cycle.0055 = { # JOINED MOVEMENT - Pro-Hegemon
tgp_dynastic_cycle.0056 = { # JOINED MOVEMENT - Conservative tgp_dynastic_cycle.0056 = { # JOINED MOVEMENT - Conservative
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0056.t title = tgp_dynastic_cycle.0056.t
desc = { desc = {
desc = tgp_dynastic_cycle.0056.desc.intro desc = tgp_dynastic_cycle.0056.desc.intro
@ -666,6 +672,7 @@ tgp_dynastic_cycle.0056 = { # JOINED MOVEMENT - Conservative
tgp_dynastic_cycle.0061 = { tgp_dynastic_cycle.0061 = {
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0061.t title = tgp_dynastic_cycle.0061.t
desc = tgp_dynastic_cycle.0061.desc desc = tgp_dynastic_cycle.0061.desc
theme = dynastic_cycle theme = dynastic_cycle
@ -725,6 +732,7 @@ tgp_dynastic_cycle.0061 = {
tgp_dynastic_cycle.0062 = { # Notification for relevant people tgp_dynastic_cycle.0062 = { # Notification for relevant people
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0061.t title = tgp_dynastic_cycle.0061.t
desc = { desc = {
first_valid = { first_valid = {
@ -802,6 +810,7 @@ tgp_dynastic_cycle.0062 = { # Notification for relevant people
name = tgp_dynastic_cycle.0062.b name = tgp_dynastic_cycle.0062.b
clicksound = "event:/DLC/EP4/MX/CueTracks/mx_mtgp_dynastic_cycle_end" clicksound = "event:/DLC/EP4/MX/CueTracks/mx_mtgp_dynastic_cycle_end"
save_scope_as = actor save_scope_as = actor
save_scope_as = puppet_or_actor
title:h_china.holder = { title:h_china.holder = {
save_scope_as = recipient save_scope_as = recipient
} }
@ -818,6 +827,7 @@ tgp_dynastic_cycle.0062 = { # Notification for relevant people
tgp_dynastic_cycle.0071 = { tgp_dynastic_cycle.0071 = {
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0071.t title = tgp_dynastic_cycle.0071.t
desc = tgp_dynastic_cycle.0071.desc desc = tgp_dynastic_cycle.0071.desc
theme = dynastic_cycle theme = dynastic_cycle
@ -1041,6 +1051,7 @@ tgp_dynastic_cycle.0071 = {
tgp_dynastic_cycle.0072 = { # Notification for relevant people tgp_dynastic_cycle.0072 = { # Notification for relevant people
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0071.t title = tgp_dynastic_cycle.0071.t
desc = { desc = {
triggered_desc = { triggered_desc = {
@ -1143,6 +1154,7 @@ tgp_dynastic_cycle.0072 = { # Notification for relevant people
name = tgp_dynastic_cycle.0072.b name = tgp_dynastic_cycle.0072.b
clicksound = "event:/DLC/EP4/MX/CueTracks/mx_mtgp_dynastic_cycle_start" clicksound = "event:/DLC/EP4/MX/CueTracks/mx_mtgp_dynastic_cycle_start"
save_scope_as = actor save_scope_as = actor
save_scope_as = puppet_or_actor
title:h_china.holder = { title:h_china.holder = {
save_scope_as = recipient save_scope_as = recipient
} }
@ -1159,6 +1171,7 @@ tgp_dynastic_cycle.0072 = { # Notification for relevant people
tgp_dynastic_cycle.0081 = { tgp_dynastic_cycle.0081 = {
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0081.t title = tgp_dynastic_cycle.0081.t
desc = tgp_dynastic_cycle.0081.desc desc = tgp_dynastic_cycle.0081.desc
theme = dynastic_cycle theme = dynastic_cycle
@ -1229,6 +1242,7 @@ tgp_dynastic_cycle.0081 = {
tgp_dynastic_cycle.0082 = { # Notification for relevant people tgp_dynastic_cycle.0082 = { # Notification for relevant people
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0081.t title = tgp_dynastic_cycle.0081.t
desc = { desc = {
first_valid = { first_valid = {
@ -1394,6 +1408,7 @@ tgp_dynastic_cycle.0082 = { # Notification for relevant people
tgp_dynastic_cycle.0091 = { tgp_dynastic_cycle.0091 = {
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0091.t title = tgp_dynastic_cycle.0091.t
desc = tgp_dynastic_cycle.0091.desc desc = tgp_dynastic_cycle.0091.desc
theme = dynastic_cycle theme = dynastic_cycle
@ -1436,6 +1451,7 @@ tgp_dynastic_cycle.0091 = {
tgp_dynastic_cycle.0092 = { # Notification for relevant people tgp_dynastic_cycle.0092 = { # Notification for relevant people
type = character_event type = character_event
window = fullscreen_event window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
title = tgp_dynastic_cycle.0091.t title = tgp_dynastic_cycle.0091.t
desc = { desc = {
first_valid = { first_valid = {
@ -1699,8 +1715,8 @@ tgp_dynastic_cycle.9000 = {
current_date >= 960.1.1 current_date >= 960.1.1
} }
set_global_variable = { set_global_variable = {
name = chinese_fashion_change name = chinese_fashion
value = 1 value = flag:song
} }
} }
remove_character_flag = received_chinese_hegemonic_ascension_event remove_character_flag = received_chinese_hegemonic_ascension_event
@ -2280,8 +2296,8 @@ tgp_dynastic_cycle.9001 = {
current_date >= 960.1.1 current_date >= 960.1.1
} }
set_global_variable = { set_global_variable = {
name = chinese_fashion_change name = chinese_fashion
value = 1 value = flag:song
} }
} }
remove_character_flag = received_chinese_hegemonic_ascension_event remove_character_flag = received_chinese_hegemonic_ascension_event

File diff suppressed because it is too large Load diff

View file

@ -330,17 +330,7 @@ tgp_east_asia_decision_events.0030 = {
show_as_tooltip = { change_government = clan_government } show_as_tooltip = { change_government = clan_government }
} }
show_as_tooltip = { show_as_tooltip = {
if = { clan_convert_capital_effect = yes
limit = {
capital_province = {
NOR = {
has_holding_type = temple_citadel_holding
has_holding_type = castle_holding
}
}
}
capital_province = { set_holding_type = castle_holding }
}
change_government = clan_government change_government = clan_government
#Start off crown authorities #Start off crown authorities
if = { if = {

View file

@ -283,7 +283,7 @@ tgp_east_asia_interaction_events.1000 = {
change_to_mandala_interaction_effect = yes change_to_mandala_interaction_effect = yes
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain arrogant = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -374,7 +374,7 @@ tgp_east_asia_interaction_events.1001 = {
change_to_mandala_interaction_effect = yes change_to_mandala_interaction_effect = yes
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -476,7 +476,7 @@ tgp_east_asia_interaction_events.1002 = {
change_to_mandala_interaction_effect = yes change_to_mandala_interaction_effect = yes
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
} }
ai_chance = { ai_chance = {
@ -649,19 +649,19 @@ scripted_trigger is_root_faith_dominant_gender = {
OR = { OR = {
AND = { AND = {
is_male = yes is_male = yes
root.faith = { root.rite = {
OR = { OR = {
has_doctrine_parameter = male_dominated_law rite_has_parameter = male_dominated_law
has_doctrine_parameter = gender_equal_law rite_has_parameter = gender_equal_law
} }
} }
} }
AND = { AND = {
is_female = yes is_female = yes
root.faith = { root.rite = {
OR = { OR = {
has_doctrine_parameter = female_dominated_law rite_has_parameter = female_dominated_law
has_doctrine_parameter = gender_equal_law rite_has_parameter = gender_equal_law
} }
} }
} }
@ -1085,7 +1085,7 @@ tgp_east_asia_interaction_events.2000 = {
limit = { limit = {
has_execute_reason = scope:recipient has_execute_reason = scope:recipient
} }
stress_impact = { stress_and_fulfillment_impact = {
sadistic = medium_stress_impact_loss sadistic = medium_stress_impact_loss
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
@ -1093,7 +1093,7 @@ tgp_east_asia_interaction_events.2000 = {
} }
} }
else = { else = {
stress_impact = { stress_and_fulfillment_impact = {
sadistic = medium_stress_impact_loss sadistic = medium_stress_impact_loss
compassionate = major_stress_impact_gain compassionate = major_stress_impact_gain
forgiving = medium_stress_impact_gain forgiving = medium_stress_impact_gain
@ -1102,5 +1102,12 @@ tgp_east_asia_interaction_events.2000 = {
content = minor_stress_impact_gain content = minor_stress_impact_gain
} }
} }
# Benevolent Governance personal tenet: counted once for the purge, not once per body
if = {
limit = {
has_personal_tenet_flag = tenet_benevolent_governance_clemency_fulfillment
}
change_spiritual_fulfillment = massive_spiritual_fulfillment_loss
}
} }
} }

View file

@ -1,528 +0,0 @@
namespace = tgp_faction_events
scripted_effect faction_demand_japanese_regent_rejected_effect = {
# This effect should always be placed here, _before_ all the other effects in the block.
trigger_event = { on_action = on_faction_demand_rejected }
show_as_tooltip = {
scope:faction = {
faction_start_war = {}
}
}
}
# Ceremonial Regent Faction Demand
tgp_faction_events.0101 = {
type = letter_event
sender = scope:faction_leader
opening = "FACTION_JAPANESE_REPLACE_REGENT"
desc = {
first_valid = {
triggered_desc = {
trigger = { tgp_has_ceremonial_liege_title_trigger = yes }
desc = "FACTION_JAPANESE_REPLACE_RULER_DESC"
}
desc = "FACTION_JAPANESE_REPLACE_REGENT_DESC"
}
}
trigger = {
# May have ceased to exist by the time this triggers
exists = scope:faction
}
immediate = {
# Grab our scope for loc.
save_scope_as = faction_target
}
option = {
name = "FACTION_DEMAND_ACCEPT"
add_dread = medium_dread_loss
# LEGITIMACY LOSS FOR ACCEPTING FACTION DEMANDS
faction_accept_demand_legitimacy_effect = yes
add_prestige = -500
faction_demand_regent_transfer_effect = {
NEW_REGENT = scope:faction_leader
REASON = faction_demand
}
add_character_flag = {
flag = recent_replace_regent_faction_war
years = 10
}
scope:faction_leader = {
trigger_event = { id = tgp_faction_events.0102 }
}
# This effect should always be placed here, _after_ everything except the ai_chance.
trigger_event = { on_action = on_faction_demand_accepted }
ai_chance = {
base = 10
modifier = {
add = 90
scope:faction = { faction_power >= 100 }
}
modifier = {
add = 50
scope:faction = { faction_power >= 125 }
}
modifier = {
add = 50
scope:faction = { faction_power >= 150 }
}
modifier = {
add = 50
scope:faction = { faction_power >= 200 }
}
modifier = {
add = 50
any_character_war = {
is_war_leader = root
is_defender = root
}
}
modifier = {
factor = 0.1
any_ally = {
NOR = {
target_is_liege_or_above = root
target_is_vassal_or_below = root
}
max_military_strength > root.max_military_strength
}
}
modifier = {
add = 10000
scope:faction_leader = { is_yes_men_enabled = yes }
}
modifier = { # The Kampaku always fights
factor = 0
has_title = title:e_japan
government_has_flag = government_is_japan_administrative
}
}
}
option = {
name = "FACTION_DEMAND_REFUSE"
faction_demand_japanese_regent_rejected_effect = yes
scope:faction_leader = {
trigger_event = {
id = tgp_faction_events.0103
days = 1
}
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_boldness = 4.0
}
modifier = {
add = 50
scope:faction = { faction_power < 80 }
}
modifier = {
add = 100
scope:faction = { faction_power < 60 }
}
modifier = {
add = 1000
scope:faction = { faction_power < 40 }
}
modifier = {
add = 10000
scope:faction_leader = { is_no_men_enabled = yes }
}
}
}
}
# Japanese Regent Faction Demand Accepted
tgp_faction_events.0102 = {
type = letter_event
sender = scope:faction_target
opening = "FACTION_JAPANESE_REPLACE_REGENT_ACCEPTED"
desc = "FACTION_JAPANESE_REPLACE_REGENT_ACCEPTED_DESC"
immediate = {
show_as_tooltip = {
get_title = primary_title
if = {
limit = {
government_has_flag = government_is_japan_administrative
tgp_has_ceremonial_liege_title_trigger = no
NOT = {
has_realm_law = japanese_regency_succession_law
}
}
add_realm_law_skip_effects = japanese_regency_succession_law
}
else = {
add_realm_law_skip_effects = single_heir_succession_law
}
}
}
option = {
name = "FACTION_DEMAND_ACCEPTED_OPT"
}
}
# Japanese Regent Faction Demand Refused
tgp_faction_events.0103 = {
type = letter_event
sender = scope:faction_target
opening = "FACTION_JAPANESE_REPLACE_REGENT_REFUSED"
desc = "FACTION_JAPANESE_REPLACE_REGENT_REFUSED_DESC"
option = {
name = "FACTION_DEMAND_REFUSED_OPT"
scope:faction = {
faction_start_war = {}
every_faction_member = {
limit = {
NOT = { this = scope:faction.faction_leader }
}
trigger_event = tgp_faction_events.0104
}
}
}
}
# Japanese Regent Faction Demand Refused Member Notice
tgp_faction_events.0104 = {
type = letter_event
sender = scope:faction_target
opening = "FACTION_JAPANESE_REPLACE_REGENT_REFUSED"
desc = "FACTION_JAPANESE_REPLACE_REGENT_REFUSED_DESC"
option = { name = "FACTION_DEMAND_REFUSED_OPT" }
}
# Japanese Regent Faction Demand Send Notice
tgp_faction_events.0105 = {
type = letter_event
sender = scope:faction_leader
opening = "FACTION_JAPANESE_REPLACE_REGENT_SEND_DEMAND_NOTIFICATION"
desc = "FACTION_JAPANESE_REPLACE_REGENT_SEND_DEMAND_NOTIFICATION_DESC"
option = { name = "FACTION_DEMAND_SEND_DEMAND_NOTIFICATION_OPT" }
}
scripted_effect faction_demand_restore_emperor_rejected_effect = {
# This effect should always be placed here, _before_ all the other effects in the block.
trigger_event = { on_action = on_faction_demand_rejected }
show_as_tooltip = {
scope:faction = {
faction_start_war = {}
}
}
}
# Restore Emperor Faction Demand
tgp_faction_events.0201 = {
type = letter_event
sender = scope:faction_leader
opening = "FACTION_JAPANESE_RESTORE_EMPEROR"
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_DESC"
trigger = {
# May have ceased to exist by the time this triggers
exists = scope:faction
}
immediate = {
# Grab our scope for loc.
save_scope_as = faction_target
}
option = {
name = "FACTION_DEMAND_ACCEPT"
add_dread = medium_dread_loss
# LEGITIMACY LOSS FOR ACCEPTING FACTION DEMANDS
faction_accept_demand_legitimacy_effect = yes
add_prestige = -500
scope:faction = {
special_character = { save_scope_as = ceremonial_liege }
faction_leader = {
trigger_event = { id = tgp_faction_events.0202 }
}
if = {
limit = { exists = this }
destroy_faction = yes
}
}
show_as_tooltip = {
restore_ceremonial_liege_faction_combined_effect = yes
}
# This effect should always be placed here, _after_ everything except the ai_chance.
trigger_event = { on_action = on_faction_demand_accepted }
ai_chance = {
base = 10
modifier = {
add = 90
scope:faction = { faction_power >= 100 }
}
modifier = {
add = 50
scope:faction = { faction_power >= 125 }
}
modifier = {
add = 50
scope:faction = { faction_power >= 150 }
}
modifier = {
add = 50
scope:faction = { faction_power >= 200 }
}
modifier = {
add = 50
any_character_war = {
is_war_leader = root
is_defender = root
}
}
modifier = {
factor = 0.1
any_ally = {
NOR = {
target_is_liege_or_above = root
target_is_vassal_or_below = root
}
max_military_strength > root.max_military_strength
}
}
modifier = {
add = 10000
scope:faction_leader = { is_yes_men_enabled = yes }
}
}
}
option = {
name = {
trigger = {
scope:faction_leader = { tgp_has_ceremonial_liege_title_trigger = no }
}
text = tgp_faction_events.0201.b
}
name = {
trigger = {
scope:faction_leader = { tgp_has_ceremonial_liege_title_trigger = yes }
}
text = tgp_faction_events.0201.b.cm
}
faction_demand_restore_emperor_rejected_effect = yes
scope:faction_leader = {
trigger_event = {
id = tgp_faction_events.0203
days = 1
}
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_boldness = 4.0
}
modifier = {
add = 50
scope:faction = { faction_power < 80 }
}
modifier = {
add = 100
scope:faction = { faction_power < 60 }
}
modifier = {
add = 1000
scope:faction = { faction_power < 40 }
}
}
}
}
# Restore Emperor Faction Demand Accepted
tgp_faction_events.0202 = {
type = letter_event
sender = scope:faction_target
opening = "FACTION_JAPANESE_RESTORE_EMPEROR_ACCEPTED"
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_ACCEPTED_DESC"
immediate = {
save_scope_as = faction_restoration
scope:faction.special_character = { save_scope_as = ceremonial_monarch }
if = {
limit = { this = scope:ceremonial_monarch }
restore_ceremonial_liege_faction_combined_effect = yes
}
else = {
scope:faction_target = { save_scope_as = defender }
trigger_event = tgp_faction_events.0206
}
}
option = {
name = "FACTION_DEMAND_ACCEPTED_OPT"
}
}
# Restore Emperor Faction Demand Refused
tgp_faction_events.0203 = {
type = letter_event
sender = scope:faction_target
opening = "FACTION_JAPANESE_RESTORE_EMPEROR_REFUSED"
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_REFUSED_DESC"
option = {
name = "FACTION_DEMAND_REFUSED_OPT"
scope:faction = {
faction_start_war = {}
every_faction_member = {
limit = {
NOT = { this = scope:faction.faction_leader }
}
trigger_event = tgp_faction_events.0204
}
}
}
}
# Restore Emperor Faction Demand Refused Member Notice
tgp_faction_events.0204 = {
type = letter_event
sender = scope:faction_target
opening = "FACTION_JAPANESE_RESTORE_EMPEROR_REFUSED"
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_REFUSED_DESC"
option = { name = "FACTION_DEMAND_REFUSED_OPT" }
}
# Restore Emperor Faction Demand Send Notice
tgp_faction_events.0205 = {
type = letter_event
sender = scope:faction_leader
opening = "FACTION_JAPANESE_RESTORE_EMPEROR_SEND_DEMAND_NOTIFICATION"
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_SEND_DEMAND_NOTIFICATION_DESC"
option = { name = "FACTION_DEMAND_SEND_DEMAND_NOTIFICATION_OPT" }
}
# Restore Emperor Faction Aftermath
tgp_faction_events.0206 = {
type = character_event
title = tgp_faction_events.0206.t
desc = tgp_faction_events.0206.desc
override_background = { reference = throne_room_scope }
theme = war
left_portrait = {
character = root
animation = war_over_win
}
right_portrait = {
character = scope:ceremonial_liege
animation = war_over_tie
}
lower_center_portrait = scope:defender
trigger = {
tgp_realm_has_ceremonial_liege_trigger = yes
tgp_has_ceremonial_liege_title_trigger = no
}
on_trigger_fail = {
if = {
limit = { tgp_realm_has_ceremonial_liege_trigger = yes }
restore_ceremonial_liege_faction_combined_effect = yes
}
}
immediate = {
if = {
limit = { NOT = { exists = scope:attacker } }
save_scope_as = attacker
}
tgp_save_realm_ceremonial_liege_effect = yes
scope:ceremonial_liege = { save_scope_as = background_throne_room_scope }
}
option = {
name = tgp_faction_events.0206.a
restore_ceremonial_liege_faction_combined_effect = yes
add_hook = {
target = scope:ceremonial_liege
type = favor_hook
}
scope:ceremonial_liege = {
add_opinion = {
target = root
modifier = grateful_opinion
opinion = 50
}
}
every_in_list = {
list = attackers
limit = {
NOT = { this = root }
}
custom = faction_member_custom
add_opinion = {
target = root
modifier = respect_opinion
opinion = 25
}
}
stress_impact = {
ambitious = minor_stress_impact_gain
arbitrary = minor_stress_impact_gain
arrogant = minor_stress_impact_gain
}
ai_chance = {
base = 100
ai_value_modifier = {
ai_greed = -0.5
ai_boldness = -0.5
ai_honor = 0.5
}
}
}
option = {
name = tgp_faction_events.0206.b
faction_demand_regent_transfer_effect = {
NEW_REGENT = scope:attacker
REASON = faction_demand
}
add_tyranny = major_tyranny_gain
reverse_add_opinion = {
target = scope:ceremonial_liege
modifier = angry_opinion
opinion = -50
}
every_in_list = {
list = attackers
limit = {
NOR = {
this = root
house ?= root.house
}
}
custom = faction_member_custom
add_opinion = {
target = root
modifier = angry_opinion
opinion = -25
}
}
stress_impact = {
honest = minor_stress_impact_gain
just = minor_stress_impact_gain
content = minor_stress_impact_gain
humble = minor_stress_impact_gain
}
ai_chance = {
base = -50
ai_value_modifier = {
ai_greed = 0.5
ai_boldness = 0.5
ai_honor = -0.5
}
}
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,502 +0,0 @@
##########################
# GOVERNOR CONTRACT EVENTS
##########################
namespace = tgp_governor_contract_event
### Missing Equipment
# Intro event
tgp_governor_contract_event.2000 = {
type = character_event
title = tgp_governor_contract_event.2000.t
desc = tgp_governor_contract_event.2000.desc
theme = administrative
left_portrait = {
character = root
animation = worry
}
immediate = {
# Save the contract
random_character_active_contract = {
limit = {
has_task_contract_type = missing_equipment
}
save_scope_as = ongoing_contract
# Save the location
task_contract_location = {
save_scope_as = robbery_location
}
}
# Save the capital location
top_liege = {
capital_province = {
save_scope_as = capital_location
}
}
}
option = { # Let's pay the workshops a visit.
name = tgp_governor_contract_event.2000.a
# Travel to the capital and visit a workshop/production facility
custom_tooltip = {
text = tgp_governor_contract_event.2000.a_tt
governor_contract_travel_or_progress_effect = {
DESTINATION = scope:capital_location
ARRIVAL_EVENT = tgp_governor_contract_event.2001
}
}
ai_chance = {
base = 100
}
}
option = {
name = tgp_governor_contract_event.2000.b
scope:ongoing_contract = {
complete_task_contract = buy_replacements
}
ai_chance = {
base = 0
modifier = { # The AI may take this if they have A LOT of gold
add = 100
short_term_gold >= massive_gold_value
}
}
}
option = {
name = tgp_governor_contract_event.2000.c
scope:ongoing_contract = {
complete_task_contract = failure_standard
}
ai_chance = {
base = 0
modifier = { # Pick this only if necessary
add = 100
is_available = no
}
}
}
}
# Arrival at the workshop
tgp_governor_contract_event.2001 = {
type = character_event
title = tgp_governor_contract_event.2001.t
desc = tgp_governor_contract_event.2001.desc
theme = administrative
override_background = { reference = market }
left_portrait = {
character = root
animation = disapproval
}
right_portrait = {
character = scope:foreman
animation = reading
}
immediate = {
# Save the contract
random_character_active_contract = {
limit = {
has_task_contract_type = missing_equipment
}
save_scope_as = ongoing_contract
}
# Save the capital location
top_liege = {
capital_province = {
save_scope_as = capital_location
}
}
# Find/create a foreman for us to talk to
if = {
limit = {
any_pool_character = {
province = scope:capital_location
is_physically_able_ai_adult = yes
}
}
random_pool_character = {
province = scope:capital_location
limit = {
is_physically_able_ai_adult = yes
}
save_scope_as = foreman
}
}
else = {
create_character = {
template = scholar_character
culture = scope:capital_location.county.culture
faith = scope:capital_location.county.faith
location = scope:capital_location
gender_female_chance = root_faith_dominant_gender_female_chance
save_scope_as = foreman
}
}
# Check if you have an important relation at the imperial court
top_liege = {
if = {
limit = {
OR = {
has_relation_friend = root
has_relation_lover = root
is_close_or_extended_family_of = root
root = { has_hook = prev }
}
}
save_scope_as = court_relation
}
else_if = {
limit = {
cp:councillor_chancellor ?= {
OR = {
has_relation_friend = root
has_relation_lover = root
is_close_or_extended_family_of = root
root = { has_hook = prev }
}
}
}
cp:councillor_chancellor = { save_scope_as = court_relation }
}
else_if = {
limit = {
cp:councillor_marshal ?= {
OR = {
has_relation_friend = root
has_relation_lover = root
is_close_or_extended_family_of = root
root = { has_hook = prev }
}
}
}
cp:councillor_marshal = { save_scope_as = court_relation }
}
else_if = {
limit = {
cp:councillor_steward ?= {
OR = {
has_relation_friend = root
has_relation_lover = root
is_close_or_extended_family_of = root
root = { has_hook = prev }
}
}
}
cp:councillor_steward = { save_scope_as = court_relation }
}
else_if = {
limit = {
cp:councillor_spymaster ?= {
OR = {
has_relation_friend = root
has_relation_lover = root
is_close_or_extended_family_of = root
root = { has_hook = prev }
}
}
}
cp:councillor_spymaster = { save_scope_as = court_relation }
}
else_if = {
limit = {
cp:councillor_court_chaplain ?= {
OR = {
has_relation_friend = root
has_relation_lover = root
is_close_or_extended_family_of = root
root = { has_hook = prev }
}
}
}
cp:councillor_court_chaplain = { save_scope_as = court_relation }
}
}
hidden_effect = { # Delay the travel until the events are resolved
current_travel_plan ?= {
delay_travel_plan = { days = 180 }
}
}
}
option = { # A _clerical_ error? [relation] will hear about this...
name = tgp_governor_contract_event.2001.a
trigger = {
exists = scope:court_relation
}
custom_tooltip = {
text = tgp_governor_contract_event.2001.a.tt
trigger_event = {
id = tgp_governor_contract_event.2002
}
}
ai_chance = {
base = 100
}
}
option = { # Surely some additional compensation is in order?
name = tgp_governor_contract_event.2001.b
duel = {
skill = diplomacy
value = 10
50 = { # Success
desc = tgp_governor_contract_event.2001.tt_success_desc
compare_modifier = {
value = scope:duel_value
multiplier = 2.5
}
trigger_event = {
id = tgp_governor_contract_event.2002
}
custom_tooltip = tgp_governor_contract_event.2001.tt_success
}
50 = { # Failure
desc = tgp_governor_contract_event.2001.tt_failure_desc
compare_modifier = {
value = scope:duel_value
multiplier = -2.5
}
trigger_event = {
id = tgp_governor_contract_event.2003
}
custom_tooltip = tgp_governor_contract_event.2001.tt_failure
show_as_tooltip = { # Actual deduction is done in follow-up event
change_influence = medium_influence_loss
add_prestige = medium_prestige_loss
}
}
}
stress_impact = {
content = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
factor = 2
diplomacy >= good_skill_level
}
modifier = {
factor = 0
exists = scope:court_relation
}
modifier = {
factor = 0
has_trait = content
}
}
}
option = { # It would be unfortunate if your incompetence became public, no?
name = tgp_governor_contract_event.2001.c
duel = {
skill = intrigue
value = 10
50 = { # Success
desc = tgp_governor_contract_event.2001.tt_success_desc
compare_modifier = {
value = scope:duel_value
multiplier = 2.5
}
trigger_event = {
id = tgp_governor_contract_event.2002
}
custom_tooltip = tgp_governor_contract_event.2001.tt_success
}
50 = { # Failure
desc = tgp_governor_contract_event.2001.tt_failure_desc
compare_modifier = {
value = scope:duel_value
multiplier = -2.5
}
trigger_event = {
id = tgp_governor_contract_event.2003
}
custom_tooltip = tgp_governor_contract_event.2001.tt_failure
show_as_tooltip = { # Actual deduction is done in follow-up event
change_influence = medium_influence_loss
add_prestige = medium_prestige_loss
}
}
}
stress_impact = {
compassionate = medium_stress_impact_gain
}
ai_chance = {
base = 0
modifier = {
factor = 2
intrigue >= good_skill_level
}
modifier = {
factor = 1.2
has_trait = deceitful
}
modifier = {
factor = 0
has_trait = compassionate
}
}
}
option = { # Very well. Just make certain that it does.
name = tgp_governor_contract_event.2001.d
scope:ongoing_contract = {
complete_task_contract = offered_replacements
}
current_travel_plan ?= { resume_travel_plan = yes }
ai_chance = {
base = 50
modifier = {
factor = 2
has_trait = content
}
}
}
}
# Workship visit: Success
tgp_governor_contract_event.2002 = {
type = character_event
title = tgp_governor_contract_event.2002.t
desc = tgp_governor_contract_event.2002.desc
theme = administrative
override_background = { reference = market }
left_portrait = {
character = root
animation = schadenfreude
}
right_portrait = {
character = scope:foreman
animation = obsequious_bow
}
immediate = {
generate_governance_outcome_effect = { OPTIONS = 4 }
}
# Special governor trait option
option = { # Let's secure a number of shipments in the future.
name = tgp_governor_contract_event.2002.a
trigger = {
exists = scope:governance_option_a
}
scope:ongoing_contract = {
complete_task_contract = secure_future_deliveries
}
ai_chance = {
base = 100
}
}
option = { # Secure me your next #EMP two#! shipments.
name = tgp_governor_contract_event.2002.b
trigger = { exists = scope:governance_option_b }
scope:ongoing_contract = {
complete_task_contract = demand_extra_shipment
}
ai_chance = {
base = 25
}
}
option = { # A monetary compensation is in order.
name = tgp_governor_contract_event.2002.c
trigger = { exists = scope:governance_option_c }
scope:ongoing_contract = {
complete_task_contract = demand_gold
}
ai_chance = {
base = 25
}
}
option = { # Send me the best equipment you have available.
name = tgp_governor_contract_event.2002.d
trigger = { exists = scope:governance_option_d }
scope:ongoing_contract = {
complete_task_contract = demand_best_equipment
}
ai_chance = {
base = 25
}
}
after = {
current_travel_plan ?= { resume_travel_plan = yes }
}
}
# Workship visit: Failure
tgp_governor_contract_event.2003 = {
type = character_event
title = tgp_governor_contract_event.2003.t
desc = tgp_governor_contract_event.2003.desc
theme = administrative
override_background = { reference = market }
left_portrait = {
character = root
animation = disappointed
}
right_portrait = {
character = scope:foreman
animation = anger
}
immediate = {
}
option = { # Fine.
name = tgp_governor_contract_event.2003.a
scope:ongoing_contract = {
complete_task_contract = offered_replacements
}
change_influence = medium_influence_loss
add_prestige = medium_prestige_loss
}
after = {
current_travel_plan ?= { resume_travel_plan = yes }
}
}

View file

@ -1,176 +0,0 @@
namespace = tgp_house_blocs
# Message management
tgp_house_blocs.0001 = {
type = character_event
hidden = yes
trigger = { has_character_flag = bloc_message_flag }
immediate = {
# Notify all members about them leaving.
send_interface_message = {
type = msg_left_house_bloc
title = msg_left_bloc_root
desc = msg_left_bloc_desc_root
left_icon = scope:leaver.house
right_icon = scope:bloc.leading_house
custom_description = {
text = leave_house_bloc_effect
subject = house.house_head
}
}
every_player = {
limit = {
confederation ?= scope:bloc
NOT = { this = root }
}
send_interface_message = {
type = msg_left_house_bloc
title = msg_left_bloc
desc = msg_left_bloc_desc
left_icon = scope:leaver.house
right_icon = scope:bloc.leading_house
custom_description = {
text = leave_house_bloc_effect
subject = scope:leaver.house_head
}
}
}
remove_character_flag = bloc_message_flag
}
}
tgp_house_blocs.0002 = {
type = character_event
hidden = yes
trigger = { has_character_flag = bloc_message_flag }
immediate = {
# Notify all members about them leaving.
send_interface_message = {
type = msg_joined_house_bloc
title = msg_joined_bloc_root
desc = msg_joined_bloc_desc_root
left_icon = scope:joiner.house
right_icon = scope:bloc.leading_house
custom_description = {
text = join_house_bloc_effect
subject = scope:joiner
object = scope:bloc.leading_house.house_head
}
}
every_player = {
limit = {
confederation ?= scope:bloc
NOT = { this = root }
}
send_interface_message = {
type = msg_joined_house_bloc
title = msg_joined_bloc
desc = msg_joined_bloc_desc
left_icon = scope:joiner.house
right_icon = scope:bloc.leading_house
custom_description = {
text = join_house_bloc_effect
subject = scope:joiner
object = scope:bloc.leading_house.house_head
}
}
}
remove_character_flag = bloc_message_flag
}
}
tgp_house_blocs.0010 = {
type = character_event
hidden = yes
immediate = {
bloc_leader_change_aspiration_cohesion_effect = yes
}
}
# Strength Unlock
tgp_house_blocs.1001 = {
type = character_event
title = tgp_house_blocs.1001.t
desc = tgp_house_blocs.1001.desc
theme = war
left_portrait = {
character = root
animation = thinking
}
right_portrait = {
character = scope:bloc_leader
animation = japanese_war_fan
}
override_background = { reference = army_camp }
trigger = {
is_ruler = yes
exists = house.house_confederation
NOT = { is_at_war_with = house.house_confederation.leading_house.house_head }
}
immediate = {
house = {
house_confederation = {
leading_house.house_head = { save_scope_as = bloc_leader }
}
every_house_member = {
limit = {
is_landed = yes
top_liege = root.top_liege
OR = {
liege = scope:bloc_leader
liege = root
}
NOR = {
this = root
is_at_war_with = house.house_confederation.leading_house.house_head
}
}
add_to_list = war_joiners
}
}
}
option = {
name = tgp_house_blocs.1001.a
scope:war = {
add_attacker = root
}
every_in_list = {
list = war_joiners
save_temporary_scope_as = war_joiner_temp
scope:war = {
add_attacker = scope:war_joiner_temp
}
}
ai_chance = {
base = 100
}
}
option = {
name = tgp_house_blocs.1001.b
house = {
set_variable = {
name = bloc_leaving_reason
value = flag:reason_events
days = 4
}
tgp_leave_house_bloc_effect = {
OPINION = flag:yes
TRUCE = flag:yes
}
}
ai_chance = {
base = 0
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,125 +0,0 @@
###################################
# JAPAN CAREER EVENTS
###################################
namespace = tgp_japan_career
### EVENT LIST ####################################################################
## 0001 - Intro in 1066
## 0002 - Intro in 1178
###################################################################################
# Intro Event - Who are you playing as and what is your situation
# Also acts as an introduction when you start playing in Japan
tgp_japan_career.0001 = {
type = character_event
window = big_event_window
title = tgp_japan_career.0001.t
desc = {
desc = tgp_japan_career.0001.desc
first_valid = {
triggered_desc = {
trigger = { has_title = title:k_chrysanthemum_throne } #is tenno
desc = tgp_japan_career.0001.tenno_desc
}
triggered_desc = {
trigger = { has_title = title:e_japan } #is kampaku
desc = tgp_japan_career.0001.kampaku_desc
}
triggered_desc = {
trigger = { government_has_flag = government_is_japan_feudal } #is soryo
desc = tgp_japan_career.0001.soryo_desc
}
triggered_desc = {
trigger = { government_has_flag = government_is_japan_administrative } #is ritsuryo
desc = tgp_japan_career.0001.ritsuryo_desc
}
}
desc = tgp_japan_career.0001.desc_2
}
theme = diplomacy
override_icon = {
trigger = { government_has_flag = government_is_japan_feudal }
reference ="gfx/interface/icons/event_types/type_war.dds"
}
override_header_background = {
trigger = { government_has_flag = government_is_japan_feudal }
reference = "gfx/interface/window_event/event_header_red.dds"
}
override_background = {
trigger = {
has_title = title:k_chrysanthemum_throne
}
reference = tgp_garden_asia
}
override_background = {
trigger = {
has_title = title:e_japan
}
reference = tgp_study_japan
}
override_background = {
trigger = {
government_has_flag = government_is_japan_feudal
}
reference = tgp_crossroad_inn_asia
}
override_background = {
trigger = {
government_has_flag = government_is_japan_administrative
}
reference = bedchamber
}
left_portrait = {
character = root
triggered_animation = {
trigger = {
government_has_flag = government_is_japan_feudal #Soryo ruler should have their sword out
}
animation = inspect_weapon
}
animation = chancellor
}
right_portrait = {
character = player_heir
triggered_animation = {
trigger = {
government_has_flag = government_is_japan_feudal #Soryo ruler should have their sword out
}
animation = horse_archer_aggressive
camera = camera_event_scheme_vs_left_look_left
}
animation = holding_scrolls
}
trigger = {
has_tgp_dlc_trigger = yes
government_is_japanese_trigger = yes
}
immediate = {
# Scopes
save_scope_as = new_ruler
house ?= { save_scope_as = ruler_family }
top_liege = { save_scope_as = kampaku }
player_heir ?= { save_scope_as = heir }
}
option = {
name = tgp_japan_career.0001.a
add_character_modifier = {
modifier = tgp_japan_peace_modifier
years = 20
}
}
option = {
name = tgp_japan_career.0001.b
add_character_modifier = {
modifier = tgp_japan_war_modifier
years = 20
}
}
}

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

@ -136,7 +136,7 @@ tgp_japan_yearly_events.1000 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
brave = minor_stress_impact_loss brave = minor_stress_impact_loss
@ -210,7 +210,7 @@ tgp_japan_yearly_events.1000 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
impatient = minor_stress_impact_loss impatient = minor_stress_impact_loss
@ -234,7 +234,7 @@ tgp_japan_yearly_events.1000 = {
option = { option = {
name = tgp_japan_yearly_events.1000.c name = tgp_japan_yearly_events.1000.c
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
@ -369,12 +369,12 @@ tgp_japan_yearly_events.1010 = {
scope:buddhist_councillor_2.faith = { scope:buddhist_councillor_2.faith = {
change_fervor = { change_fervor = {
value = 1 value = trivial_fervor_gain
desc = fervor_gain_persecuted desc = fervor_gain_persecuted
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
} }
@ -437,12 +437,12 @@ tgp_japan_yearly_events.1010 = {
scope:buddhist_councillor_1.faith = { scope:buddhist_councillor_1.faith = {
change_fervor = { change_fervor = {
value = 1 value = trivial_fervor_gain
desc = fervor_gain_persecuted desc = fervor_gain_persecuted
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
} }
@ -488,7 +488,7 @@ tgp_japan_yearly_events.1010 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = minor_stress_impact_gain zealous = minor_stress_impact_gain
cynical = minor_stress_impact_loss cynical = minor_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
@ -720,7 +720,7 @@ tgp_japan_yearly_events.1020 = {
modifier = tgp_siren_yokai_love_modifier modifier = tgp_siren_yokai_love_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
lustful = minor_stress_impact_loss lustful = minor_stress_impact_loss
} }
} }
@ -741,7 +741,7 @@ tgp_japan_yearly_events.1020 = {
} }
stress_impact = { stress_and_fulfillment_impact = {
lifestyle_gardener = minor_stress_impact_loss lifestyle_gardener = minor_stress_impact_loss
lifestyle_herbalist = minor_stress_impact_loss lifestyle_herbalist = minor_stress_impact_loss
lifestyle_mystic = minor_stress_impact_loss lifestyle_mystic = minor_stress_impact_loss
@ -752,7 +752,7 @@ tgp_japan_yearly_events.1020 = {
modifier = tgp_shadow_yokai_imitation_modifier modifier = tgp_shadow_yokai_imitation_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
} }
@ -855,7 +855,7 @@ tgp_japan_yearly_events.1020 = {
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
architect = minor_stress_impact_loss architect = minor_stress_impact_loss
diligent = minor_stress_impact_loss diligent = minor_stress_impact_loss
} }
@ -865,7 +865,7 @@ tgp_japan_yearly_events.1020 = {
modifier = tgp_shadow_yokai_torch_modifier modifier = tgp_shadow_yokai_torch_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
} }
} }
@ -910,7 +910,7 @@ tgp_japan_yearly_events.1020 = {
add_piety = major_piety_gain add_piety = major_piety_gain
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain base = miniscule_stress_impact_gain
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
@ -983,7 +983,7 @@ tgp_japan_yearly_events.1030 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
} }
@ -999,13 +999,15 @@ tgp_japan_yearly_events.1030 = {
# Pray for your heirs/dynasty # Pray for your heirs/dynasty
option = { option = {
name = tgp_japan_yearly_events.1030.b name = tgp_japan_yearly_events.1030.b
trigger = {
is_lowborn = no
}
add_character_modifier = { add_character_modifier = {
modifier = tgp_shrine_heir_modifier modifier = tgp_shrine_heir_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
family_first = minor_stress_impact_loss family_first = minor_stress_impact_loss
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
} }
@ -1028,7 +1030,7 @@ tgp_japan_yearly_events.1030 = {
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
} }
@ -1056,7 +1058,7 @@ tgp_japan_yearly_events.1030 = {
add_piety = minor_piety_gain add_piety = minor_piety_gain
stress_impact = { stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
} }
@ -1073,7 +1075,7 @@ tgp_japan_yearly_events.1030 = {
name = tgp_japan_yearly_events.1030.e name = tgp_japan_yearly_events.1030.e
trigger = { has_trait = cynical } trigger = { has_trait = cynical }
stress_impact = { stress_and_fulfillment_impact = {
cynical = medium_stress_impact_loss cynical = medium_stress_impact_loss
} }
@ -1141,7 +1143,7 @@ tgp_japan_yearly_events.1040 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
@ -1170,7 +1172,7 @@ tgp_japan_yearly_events.1040 = {
delay_travel_plan = { days = 14 } delay_travel_plan = { days = 14 }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_loss arrogant = medium_stress_impact_loss
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
} }
@ -1197,7 +1199,7 @@ tgp_japan_yearly_events.1040 = {
years = 3 years = 3
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_loss paranoid = medium_stress_impact_loss
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
} }
@ -1284,7 +1286,7 @@ tgp_japan_yearly_events.1050 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = medium_stress_impact_loss generous = medium_stress_impact_loss
greedy = medium_stress_impact_gain greedy = medium_stress_impact_gain
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
@ -1317,7 +1319,7 @@ tgp_japan_yearly_events.1050 = {
title = tgp_japan_yearly_events.1050.tt.success title = tgp_japan_yearly_events.1050.tt.success
left_icon = root left_icon = root
right_icon = scope:messenger right_icon = scope:messenger
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
} }
@ -1339,7 +1341,7 @@ tgp_japan_yearly_events.1050 = {
target = liege target = liege
gold = minor_gold_value gold = minor_gold_value
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
} }
} }
@ -1380,7 +1382,7 @@ tgp_japan_yearly_events.1050 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
brave = minor_stress_impact_loss brave = minor_stress_impact_loss
} }
@ -1504,7 +1506,7 @@ tgp_japan_yearly_events.1060 = {
scope:prisoner = { death = { death_reason = death_execution killer = root } } scope:prisoner = { death = { death_reason = death_execution killer = root } }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
calm = minor_stress_impact_gain calm = minor_stress_impact_gain
@ -1539,7 +1541,7 @@ tgp_japan_yearly_events.1060 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
forgiving = minor_stress_impact_loss forgiving = minor_stress_impact_loss
} }
@ -1572,7 +1574,7 @@ tgp_japan_yearly_events.1060 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
sadistic = minor_stress_impact_loss sadistic = minor_stress_impact_loss
} }
@ -1602,7 +1604,7 @@ tgp_japan_yearly_events.1060 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
just = minor_stress_impact_loss just = minor_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
} }
@ -1678,7 +1680,7 @@ tgp_japan_yearly_events.1070 = {
add_piety = minor_piety_gain add_piety = minor_piety_gain
add_character_modifier = { modifier = tgp_temple_builder_modifier years = 3 } add_character_modifier = { modifier = tgp_temple_builder_modifier years = 3 }
stress_impact = { stress_and_fulfillment_impact = {
just = minor_stress_impact_loss just = minor_stress_impact_loss
zealous = medium_stress_impact_loss zealous = medium_stress_impact_loss
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
@ -1704,7 +1706,7 @@ tgp_japan_yearly_events.1070 = {
} }
add_character_modifier = { modifier = tgp_rebuilder_modifier years = 3 } add_character_modifier = { modifier = tgp_rebuilder_modifier years = 3 }
stress_impact = { stress_and_fulfillment_impact = {
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
zealous = medium_stress_impact_gain zealous = medium_stress_impact_gain
cynical = medium_stress_impact_loss cynical = medium_stress_impact_loss
@ -1735,7 +1737,7 @@ tgp_japan_yearly_events.1070 = {
days = { 25 35 } days = { 25 35 }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
} }
@ -1830,7 +1832,7 @@ tgp_japan_yearly_events.1071 = {
modifier = tgp_burned_yokai_modifier modifier = tgp_burned_yokai_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
} }
} }
@ -1839,7 +1841,7 @@ tgp_japan_yearly_events.1071 = {
modifier = tgp_burned_weather_modifier modifier = tgp_burned_weather_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_loss diligent = minor_stress_impact_loss
} }
} }
@ -1848,7 +1850,7 @@ tgp_japan_yearly_events.1071 = {
modifier = tgp_faith_defender_modifier modifier = tgp_faith_defender_modifier
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
} }
} }
@ -1859,7 +1861,7 @@ tgp_japan_yearly_events.1071 = {
value = scope:rival value = scope:rival
years = 2 years = 2
} }
stress_impact = { stress_and_fulfillment_impact = {
vengeful = minor_stress_impact_loss vengeful = minor_stress_impact_loss
} }
} }
@ -1891,7 +1893,7 @@ tgp_japan_yearly_events.1071 = {
option = { option = {
name = tgp_japan_yearly_events.1071.b name = tgp_japan_yearly_events.1071.b
stress_impact = { stress_and_fulfillment_impact = {
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
diligent = minor_stress_impact_gain diligent = minor_stress_impact_gain
@ -1981,7 +1983,7 @@ tgp_japan_yearly_events.1080 = {
years = 3 years = 3
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
gregarious = medium_stress_impact_loss gregarious = medium_stress_impact_loss
calm = medium_stress_impact_loss calm = medium_stress_impact_loss
@ -2017,7 +2019,7 @@ tgp_japan_yearly_events.1080 = {
title = tgp_japan_yearly_events.1080.tt.success title = tgp_japan_yearly_events.1080.tt.success
left_icon = root left_icon = root
right_icon = scope:fisherman right_icon = scope:fisherman
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
} }
if = { if = {
@ -2082,7 +2084,7 @@ tgp_japan_yearly_events.1080 = {
opinion = -15 opinion = -15
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
} }
} }
@ -2350,7 +2352,7 @@ tgp_japan_yearly_events.1090 = {
years = 10 years = 10
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_loss base = minor_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
cynical = minor_stress_impact_loss cynical = minor_stress_impact_loss
@ -2497,7 +2499,7 @@ tgp_japan_yearly_events.1100 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
just = minor_stress_impact_loss just = minor_stress_impact_loss
honest = minor_stress_impact_loss honest = minor_stress_impact_loss
@ -2531,7 +2533,7 @@ tgp_japan_yearly_events.1100 = {
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
deceitful = minor_stress_impact_loss deceitful = minor_stress_impact_loss
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
@ -2590,7 +2592,7 @@ tgp_japan_yearly_events.1110 = {
years = 5 years = 5
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
@ -2612,7 +2614,7 @@ tgp_japan_yearly_events.1110 = {
option = { option = {
name = tgp_japan_yearly_events.1110.b name = tgp_japan_yearly_events.1110.b
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
cynical = minor_stress_impact_gain cynical = minor_stress_impact_gain
@ -2628,7 +2630,7 @@ tgp_japan_yearly_events.1110 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
} }
@ -2677,7 +2679,7 @@ tgp_japan_yearly_events.1110 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
zealous = minor_stress_impact_gain zealous = minor_stress_impact_gain
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
@ -2787,7 +2789,7 @@ tgp_japan_yearly_events.1120 = {
INVALIDATION_EVENT = single_combat.1006 INVALIDATION_EVENT = single_combat.1006
} }
stress_impact = { stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain craven = medium_stress_impact_gain
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
brave = minor_stress_impact_loss brave = minor_stress_impact_loss
@ -2843,7 +2845,7 @@ tgp_japan_yearly_events.1120 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
} }
@ -2875,7 +2877,7 @@ tgp_japan_yearly_events.1120 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
impatient = minor_stress_impact_loss impatient = minor_stress_impact_loss
irritable = minor_stress_impact_loss irritable = minor_stress_impact_loss
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
@ -2903,7 +2905,7 @@ tgp_japan_yearly_events.1120 = {
delay_travel_plan = { days = 60 } delay_travel_plan = { days = 60 }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = minor_stress_impact_gain brave = minor_stress_impact_gain
} }
@ -3101,7 +3103,7 @@ tgp_japan_yearly_events.1130 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
lifestyle_poet = minor_stress_impact_loss lifestyle_poet = minor_stress_impact_loss
} }
@ -3157,7 +3159,7 @@ tgp_japan_yearly_events.1130 = {
add_diplomacy_skill = 1 add_diplomacy_skill = 1
} }
stress_impact = { stress_and_fulfillment_impact = {
diligent = minor_stress_impact_loss diligent = minor_stress_impact_loss
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
} }
@ -3255,7 +3257,7 @@ tgp_japan_yearly_events.1140 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
honest = minor_stress_impact_loss honest = minor_stress_impact_loss
just = minor_stress_impact_loss just = minor_stress_impact_loss
@ -3310,7 +3312,7 @@ tgp_japan_yearly_events.1140 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
humble = minor_stress_impact_gain humble = minor_stress_impact_gain
stubborn = minor_stress_impact_loss stubborn = minor_stress_impact_loss
@ -3351,7 +3353,7 @@ tgp_japan_yearly_events.1140 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
} }
@ -3394,6 +3396,7 @@ tgp_japan_yearly_events.1150 = {
title:e_japan.holder = { title:e_japan.holder = {
has_realm_law = japanese_bureaucracy_0 has_realm_law = japanese_bureaucracy_0
this != root this != root
exists = location.county
} }
any_held_title = { any_held_title = {
@ -3426,7 +3429,7 @@ tgp_japan_yearly_events.1150 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss generous = minor_stress_impact_loss
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
} }
@ -3479,7 +3482,7 @@ tgp_japan_yearly_events.1150 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_loss gregarious = minor_stress_impact_loss
generous = minor_stress_impact_loss generous = minor_stress_impact_loss
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
@ -3544,7 +3547,7 @@ tgp_japan_yearly_events.1150 = {
add_scheme_modifier = { type = bided_my_time } add_scheme_modifier = { type = bided_my_time }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
generous = minor_stress_impact_gain generous = minor_stress_impact_gain
patient = minor_stress_impact_loss patient = minor_stress_impact_loss
@ -3581,7 +3584,7 @@ tgp_japan_yearly_events.1150 = {
modifier = tgp_japan_poetic_to_the_powerful_modifier modifier = tgp_japan_poetic_to_the_powerful_modifier
years = { 10 20 } years = { 10 20 }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
gregarious = minor_stress_impact_loss gregarious = minor_stress_impact_loss
lifestyle_poet = minor_stress_impact_loss lifestyle_poet = minor_stress_impact_loss
@ -3686,7 +3689,7 @@ tgp_japan_yearly_events.1150 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
greedy = minor_stress_impact_loss greedy = minor_stress_impact_loss
@ -3858,7 +3861,7 @@ tgp_japan_yearly_events.1151 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
callous = minor_stress_impact_gain callous = minor_stress_impact_gain
fickle = minor_stress_impact_gain fickle = minor_stress_impact_gain
@ -3899,7 +3902,7 @@ tgp_japan_yearly_events.1151 = {
add_prestige = miniscule_prestige_gain add_prestige = miniscule_prestige_gain
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
fickle = minor_stress_impact_loss fickle = minor_stress_impact_loss
@ -3969,7 +3972,7 @@ tgp_japan_yearly_events.1151 = {
} }
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = minor_stress_impact_loss brave = minor_stress_impact_loss
vengeful = minor_stress_impact_loss vengeful = minor_stress_impact_loss
craven = minor_stress_impact_gain craven = minor_stress_impact_gain
@ -4033,7 +4036,7 @@ tgp_japan_yearly_events.1151 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
brave = minor_stress_impact_gain brave = minor_stress_impact_gain
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
craven = minor_stress_impact_loss craven = minor_stress_impact_loss
@ -4268,7 +4271,7 @@ tgp_japan_yearly_events.1160 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
vengeful = minor_stress_impact_gain vengeful = minor_stress_impact_gain
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
@ -4349,7 +4352,7 @@ tgp_japan_yearly_events.1160 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
vengeful = major_stress_impact_loss vengeful = major_stress_impact_loss
@ -4387,7 +4390,7 @@ tgp_japan_yearly_events.1160 = {
MURDERER = root MURDERER = root
} }
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
callous = medium_stress_impact_loss callous = medium_stress_impact_loss
@ -4526,7 +4529,7 @@ tgp_japan_yearly_events.1170 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
} }
@ -4552,7 +4555,7 @@ tgp_japan_yearly_events.1170 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
impatient = minor_stress_impact_loss impatient = minor_stress_impact_loss
irritable = minor_stress_impact_loss irritable = minor_stress_impact_loss
arrogant = minor_stress_impact_loss arrogant = minor_stress_impact_loss
@ -4586,7 +4589,7 @@ tgp_japan_yearly_events.1170 = {
add_learning_lifestyle_xp = minor_lifestyle_xp add_learning_lifestyle_xp = minor_lifestyle_xp
stress_impact = { stress_and_fulfillment_impact = {
lifestyle_poet = minor_stress_impact_loss lifestyle_poet = minor_stress_impact_loss
calm = minor_stress_impact_loss calm = minor_stress_impact_loss
} }
@ -4670,6 +4673,10 @@ tgp_japan_yearly_events.1180 = {
years = 10 years = 10
} }
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
}
ai_chance = { ai_chance = {
base = 100 base = 100
ai_value_modifier = { ai_zeal = 1 } ai_value_modifier = { ai_zeal = 1 }
@ -4779,7 +4786,7 @@ tgp_japan_yearly_events.1190 = {
option = { option = {
name = tgp_japan_yearly_events.1190.a name = tgp_japan_yearly_events.1190.a
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_gain base = major_stress_impact_gain
lazy = minor_stress_impact_gain lazy = minor_stress_impact_gain
} }
@ -4815,7 +4822,7 @@ tgp_japan_yearly_events.1190 = {
option = { option = {
name = tgp_japan_yearly_events.1190.b name = tgp_japan_yearly_events.1190.b
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
arrogant = minor_stress_impact_gain arrogant = minor_stress_impact_gain
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
@ -4857,7 +4864,7 @@ tgp_japan_yearly_events.1190 = {
option = { option = {
name = tgp_japan_yearly_events.1190.c name = tgp_japan_yearly_events.1190.c
stress_impact = { stress_and_fulfillment_impact = {
base = major_stress_impact_loss base = major_stress_impact_loss
lazy = minor_stress_impact_loss lazy = minor_stress_impact_loss
} }
@ -5130,7 +5137,7 @@ tgp_japan_yearly_events.1220 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
cynical = medium_stress_impact_loss cynical = medium_stress_impact_loss
zealous = minor_stress_impact_gain zealous = minor_stress_impact_gain
} }
@ -5145,7 +5152,7 @@ tgp_japan_yearly_events.1220 = {
option = { option = {
name = tgp_japan_yearly_events.1220.c name = tgp_japan_yearly_events.1220.c
stress_impact = { stress_and_fulfillment_impact = {
cynical = minor_stress_impact_loss cynical = minor_stress_impact_loss
zealous = minor_stress_impact_gain zealous = minor_stress_impact_gain
} }
@ -5179,6 +5186,7 @@ tgp_japan_yearly_events.1220 = {
title = tgp_japan_yearly_events.1220.tt_lose title = tgp_japan_yearly_events.1220.tt_lose
left_icon = root left_icon = root
right_icon = scope:monk right_icon = scope:monk
add_learning_lifestyle_xp = 150 add_learning_lifestyle_xp = 150
} }
} }
@ -5245,7 +5253,7 @@ tgp_japan_yearly_events.1230 = {
} }
show_as_unavailable = { always = yes } show_as_unavailable = { always = yes }
stress_impact = { stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain paranoid = minor_stress_impact_gain
zealous = minor_stress_impact_loss zealous = minor_stress_impact_loss
} }
@ -5280,7 +5288,7 @@ tgp_japan_yearly_events.1230 = {
destroy_artifact = scope:cursed_artifact destroy_artifact = scope:cursed_artifact
stress_impact = { stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss base = miniscule_stress_impact_loss
paranoid = minor_stress_impact_loss paranoid = minor_stress_impact_loss
lifestyle_mystic = minor_stress_impact_loss lifestyle_mystic = minor_stress_impact_loss
@ -5309,7 +5317,7 @@ tgp_japan_yearly_events.1230 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = minor_stress_impact_gain base = minor_stress_impact_gain
paranoid = medium_stress_impact_gain paranoid = medium_stress_impact_gain
cynical = minor_stress_impact_loss cynical = minor_stress_impact_loss
@ -5385,6 +5393,7 @@ tgp_japan_yearly_events.1240 = {
template = travel_messenger template = travel_messenger
culture = scope:ref_ruler.culture culture = scope:ref_ruler.culture
faith = scope:ref_ruler.faith faith = scope:ref_ruler.faith
rite = scope:ref_ruler.rite
location = root.location location = root.location
save_scope_as = traveler save_scope_as = traveler
after_creation = { add_trait = lifestyle_poet } after_creation = { add_trait = lifestyle_poet }
@ -5411,7 +5420,7 @@ tgp_japan_yearly_events.1240 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
greedy = minor_stress_impact_gain greedy = minor_stress_impact_gain
lifestyle_poet = minor_stress_impact_loss lifestyle_poet = minor_stress_impact_loss
compassionate = minor_stress_impact_loss compassionate = minor_stress_impact_loss
@ -5436,7 +5445,7 @@ tgp_japan_yearly_events.1240 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_loss base = medium_stress_impact_loss
compassionate = minor_stress_impact_gain compassionate = minor_stress_impact_gain
callous = minor_stress_impact_loss callous = minor_stress_impact_loss
@ -5478,7 +5487,7 @@ tgp_japan_yearly_events.1240 = {
} }
} }
stress_impact = { stress_and_fulfillment_impact = {
base = medium_stress_impact_gain base = medium_stress_impact_gain
lifestyle_poet = minor_stress_impact_loss lifestyle_poet = minor_stress_impact_loss
patient = minor_stress_impact_loss patient = minor_stress_impact_loss

View file

@ -1,180 +0,0 @@
namespace = tgp_korea_decision
# unify_goryeo_decision
tgp_korea_decision.9101 = { # Ruler
type = character_event
title = tgp_korea_decision.9101.t
desc = {
desc = tgp_korea_decision.9101.intro
desc = tgp_korea_decision.9101.desc
}
theme = realm
override_effect_2d = { reference = legend_glow }
override_background = { reference = throne_room_scope }
left_portrait = {
character = scope:king_of_goryeo
animation = holding_hu
}
immediate = {
play_music_cue = "mx_cue_epic_sacral_moment"
save_scope_as = background_throne_room_scope
korea_unify_goryeo_reward_effect = yes
}
option = { # Samhan
name = tgp_korea_decision.9101.a
# Rename Goryeo culture
hidden_effect = {
culture:goryeo = {
set_culture_name = {
noun = samhan_hybrid_name
collective_noun = samhan_hybrid_collective_noun
prefix = samhan_hybrid_prefix
}
}
}
ai_chance = {
base = 10
}
}
option = { # Goryeo
name = tgp_korea_decision.9101.b
trigger = { culture = culture:goguryeo }
custom_tooltip = {
text = tgp_korea_decision.9101.b.reason
title:e_goryeo = { set_title_name = "cn_goryeo" }
}
ai_chance = {
base = 100
}
}
after = {
# Inform Vassals
every_player = {
limit = { is_vassal_or_below_of = root }
trigger_event = tgp_korea_decision.9102
}
}
}
tgp_korea_decision.9102 = { # Vassal
type = character_event
title = tgp_korea_decision.9102.t
desc = {
desc = tgp_korea_decision.9101.intro
desc = tgp_korea_decision.9102.desc
}
theme = realm
override_effect_2d = { reference = legend_glow }
override_background = { reference = throne_room_scope }
left_portrait = {
character = scope:king_of_goryeo
animation = war_over_tie
}
immediate = {
show_as_tooltip = {
scope:king_of_goryeo = { korea_unify_goryeo_reward_effect = yes }
}
}
option = {
name = tgp_korea_decision.9101.a
}
}
# NEW CEREMONIAL REGENCY EVENT
#tgp_korea_decision.9201 = {
# orphan = yes # DEPRECATED
# type = character_event
# title = tgp_korea_decision.9201.t
# desc = tgp_korea_decision.9201.desc
# theme = crown
# left_portrait = {
# character = root
# animation = holding_hu
# }
# override_background = { reference = throne_room_scope }
#
# trigger = {
# OR = {
# exists = primary_title.previous_holder
# NOT = { primary_title = title:e_viet }
# }
# }
#
# immediate = {
# show_as_tooltip = {
# scope:founder = { get_title = scope:new_title }
# scope:regent_title.holder = { add_realm_law_skip_effects = single_heir_succession_law } # Regency inherited separately
# scope:new_title = { add_title_law = single_heir_succession_law }
# }
# every_player = {
# limit = {
# top_liege = root
# NOT = { this = root }
# }
# trigger_event = {
# id = tgp_korea_decision.9202
# delayed = yes
# }
# }
# }
# option = {
# name = tgp_korea_decision.9201.a
# ai_chance = {
# base = 100
# }
# }
#}
#tgp_korea_decision.9202 = {
# orphan = yes # DEPRECATED
# type = character_event
# title = tgp_korea_decision.9201.t
# desc = tgp_korea_decision.9202.desc
# theme = crown
# left_portrait = {
# character = root
# animation = throne_room_bow_1
# }
# right_portrait = {
# character = scope:founder
# animation = holding_hu
# }
# override_background = { reference = throne_room_scope }
# immediate = {
# show_as_tooltip = {
# scope:founder = { get_title = scope:new_title }
# scope:regent_title.holder = { add_realm_law_skip_effects = single_heir_succession_law } # Regency inherited separately
# scope:new_title = { add_title_law = single_heir_succession_law }
# }
# }
# option = { name = tgp_korea_decision.9202.a }
#}
#tgp_korea_decision.9203 = {
# orphan = yes # DEPRECATED
# hidden = yes
# type = character_event
# trigger = {
# government_has_flag = government_is_meritocratic
# is_independent_ruler = yes
# highest_held_title_tier >= tier_empire
# tgp_realm_has_ceremonial_liege_trigger = no
# }
# immediate = {
# save_scope_as = founder
# save_scope_as = background_throne_room_scope
# #tgp_create_ceremonial_regent_title_effect = { FOUNDER = root }
# trigger_event = {
# id = tgp_korea_decision.9201
# delayed = yes
# }
# }
#}

View file

@ -1 +0,0 @@
#

Some files were not shown because too many files have changed in this diff Show more