More commenting things out

This commit is contained in:
Heidesommer 2026-05-30 04:14:43 -04:00
parent 4618ca7ce3
commit fc88308bc8
22 changed files with 13251 additions and 508 deletions

View file

@ -1228,314 +1228,314 @@ ep3_emperor_yearly.8030 = {
}
# Iconoclasm
ep3_emperor_yearly.8040 = {
type = character_event
title = ep3_emperor_yearly.8040.t
desc = {
desc = ep3_emperor_yearly.8040.intro
first_valid = {
triggered_desc = {
trigger = { exists = scope:truce_target }
desc = ep3_emperor_yearly.8040.truce_target
}
triggered_desc = {
trigger = { exists = scope:truce_holder }
desc = ep3_emperor_yearly.8040.truce_holder
}
triggered_desc = {
trigger = { exists = scope:epidemic }
desc = ep3_emperor_yearly.8040.plague
}
triggered_desc = {
trigger = {
any_in_list = {
variable = formerly_infected_counties
this = title:c_byzantion
}
}
desc = ep3_emperor_yearly.8040.past_plague
}
desc = ep3_emperor_yearly.8040.debt
}
desc = ep3_emperor_yearly.8040.desc
first_valid = {
triggered_desc = {
trigger = { exists = scope:family }
desc = ep3_emperor_yearly.8040.family
}
triggered_desc = {
trigger = { exists = scope:predecessor }
desc = ep3_emperor_yearly.8040.predecessor
}
desc = ep3_emperor_yearly.8040.leo
}
}
theme = emperor
override_background = { reference = ep3_hagia_sophia }
left_portrait = {
character = root
animation = worry
}
right_portrait = {
character = scope:priest
triggered_animation = {
trigger = { faith = faith:iconoclast }
animation = admiration
}
animation = disapproval
}
lower_right_portrait = scope:leo
cooldown = { years = 50 }
trigger = {
OR = {
static_group_filter = {
group = ep3_emperor_yearly.8040
match = 0.2
}
has_trait = cynical
}
has_ep3_dlc_trigger = yes
# Ensure you are l'empereur
has_title = title:e_byzantium
# You are not an Iconoclast
faith = faith:orthodox
# Something bad has happened
OR = {
# Won war recently to powerful enemy
any_truce_holder = { highest_held_title_tier >= tier_kingdom }
# Lost war recently to powerful enemy
any_truce_target = { highest_held_title_tier >= tier_kingdom }
# In debt
gold < -100
# Epidemic
capital_province = {
any_province_epidemic = { }
}
any_in_list = {
variable = formerly_infected_counties
title_province = root.capital_province
}
}
# Never twice
NOT = { has_character_flag = ep3_iconoclast_cooldown }
}
weight_multiplier = {
base = 1
modifier = {
factor = 2
# Constantinopolis is Iconoclast
capital_province.faith = faith:iconoclast
}
modifier = {
factor = 2
# Iconoclasm is about
any_sub_realm_county = { faith = faith:iconoclast }
}
modifier = {
factor = 2
# Won war recently to powerful enemy
any_truce_holder = { highest_held_title_tier >= tier_kingdom }
}
modifier = {
factor = 2
# Lost war recently to powerful enemy
any_truce_target = { highest_held_title_tier >= tier_kingdom }
}
modifier = {
factor = 2
# In debt
gold < -100
}
modifier = {
factor = 2
capital_province = {
any_province_epidemic = { }
}
}
modifier = {
factor = 2
any_in_list = {
variable = formerly_infected_counties
title_province = root.capital_province
}
}
}
immediate = {
add_character_flag = ep3_iconoclast_cooldown
capital_province = { save_scope_as = constantinople }
character:70502 = { save_scope_as = leo }
title:e_byzantium.previous_holder ?= {
if = {
limit = { faith = faith:iconoclast }
save_scope_as = predecessor
}
}
if = {
limit = {
any_close_family_member = {
faith = faith:iconoclast
OR = {
is_parent_of = root
is_grandparent_of = root
}
}
}
random_close_family_member = {
limit = {
sex_same_as = root
is_parent_of = root
faith = faith:iconoclast
}
alternative_limit = {
is_parent_of = root
faith = faith:iconoclast
}
alternative_limit = {
sex_same_as = root
is_grandparent_of = root
faith = faith:iconoclast
}
alternative_limit = {
is_grandparent_of = root
faith = faith:iconoclast
}
save_scope_as = family
}
}
if = {
limit = {
title:k_orthodox.holder = { is_vassal_of = root }
}
title:k_orthodox.holder = { save_scope_as = priest }
}
else = {
ordered_vassal = {
limit = {
OR = {
is_clergy = yes
is_theocratic_lessee = yes
government_has_flag = government_is_theocracy
}
}
order_by = highest_held_title_tier
save_scope_as = priest
}
}
# Fallback
if = {
limit = { NOT = { exists = scope:priest } }
cp:councillor_court_chaplain ?= { save_scope_as = priest }
}
if = {
limit = {
# Lost war recently to powerful enemy
any_truce_target = { highest_held_title_tier >= tier_kingdom }
}
ordered_truce_target = {
order_by = max_military_strength
save_scope_as = truce_target
}
}
if = {
limit = {
# Won war recently to powerful enemy
any_truce_holder = { highest_held_title_tier >= tier_kingdom }
}
ordered_truce_holder = {
order_by = max_military_strength
save_scope_as = truce_holder
}
}
scope:constantinople = {
if = {
limit = {
any_province_epidemic = { }
}
random_province_epidemic = {
limit = { outbreak_intensity = apocalyptic }
alternative_limit = { outbreak_intensity = major }
alternative_limit = { outbreak_intensity = minor }
save_scope_as = epidemic
}
}
}
}
option = { # Convert
name = ep3_emperor_yearly.8040.a
add_piety = major_piety_gain
set_character_faith_with_conversion = faith:iconoclast
if = {
limit = {
faith:iconoclast = { has_doctrine = doctrine_monotheist }
}
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
}
add_character_modifier = {
modifier = ep3_iconoclast_modifier
years = 15
}
if = {
limit = { ep3_iconoclast_vassal_count > 0 }
change_influence = {
value = 25
multiply = ep3_iconoclast_vassal_count
}
}
scope:priest = {
if = {
limit = { faith != faith:iconoclast }
add_opinion = {
target = root
modifier = angry_opinion
opinion = -30
}
}
else = {
add_opinion = {
target = root
modifier = pleased_opinion
opinion = 15
}
}
}
stress_impact = {
stubborn = medium_stress_impact_gain
lazy = medium_stress_impact_gain
arrogant = medium_stress_impact_gain
brave = medium_stress_impact_gain
}
ai_chance = {
base = 1
ai_value_modifier = {
ai_boldness = 0.5
ai_zeal = 0.5
}
}
}
option = { # Stay the course
name = ep3_emperor_yearly.8040.b
change_influence = medium_influence_gain
stress_impact = {
fickle = medium_stress_impact_gain
zealous = medium_stress_impact_gain
humble = medium_stress_impact_gain
craven = medium_stress_impact_gain
}
ai_chance = {
base = 2
ai_value_modifier = {
ai_energy = -0.5
ai_rationality = 0.5
}
}
}
}
#
#ep3_emperor_yearly.8040 = {
# type = character_event
# title = ep3_emperor_yearly.8040.t
# desc = {
# desc = ep3_emperor_yearly.8040.intro
# first_valid = {
# triggered_desc = {
# trigger = { exists = scope:truce_target }
# desc = ep3_emperor_yearly.8040.truce_target
# }
# triggered_desc = {
# trigger = { exists = scope:truce_holder }
# desc = ep3_emperor_yearly.8040.truce_holder
# }
# triggered_desc = {
# trigger = { exists = scope:epidemic }
# desc = ep3_emperor_yearly.8040.plague
# }
# triggered_desc = {
# trigger = {
# any_in_list = {
# variable = formerly_infected_counties
# this = title:c_byzantion
# }
# }
# desc = ep3_emperor_yearly.8040.past_plague
# }
# desc = ep3_emperor_yearly.8040.debt
# }
# desc = ep3_emperor_yearly.8040.desc
# first_valid = {
# triggered_desc = {
# trigger = { exists = scope:family }
# desc = ep3_emperor_yearly.8040.family
# }
# triggered_desc = {
# trigger = { exists = scope:predecessor }
# desc = ep3_emperor_yearly.8040.predecessor
# }
# desc = ep3_emperor_yearly.8040.leo
# }
# }
# theme = emperor
# override_background = { reference = ep3_hagia_sophia }
# left_portrait = {
# character = root
# animation = worry
# }
# right_portrait = {
# character = scope:priest
# triggered_animation = {
# trigger = { faith = faith:iconoclast }
# animation = admiration
# }
# animation = disapproval
# }
# lower_right_portrait = scope:leo
# cooldown = { years = 50 }
#
# trigger = {
# OR = {
# static_group_filter = {
# group = ep3_emperor_yearly.8040
# match = 0.2
# }
# has_trait = cynical
# }
# has_ep3_dlc_trigger = yes
# # Ensure you are l'empereur
# has_title = title:e_byzantium
# # You are not an Iconoclast
# faith = faith:orthodox
# # Something bad has happened
# OR = {
# # Won war recently to powerful enemy
# any_truce_holder = { highest_held_title_tier >= tier_kingdom }
# # Lost war recently to powerful enemy
# any_truce_target = { highest_held_title_tier >= tier_kingdom }
# # In debt
# gold < -100
# # Epidemic
# capital_province = {
# any_province_epidemic = { }
# }
# any_in_list = {
# variable = formerly_infected_counties
# title_province = root.capital_province
# }
# }
# # Never twice
# NOT = { has_character_flag = ep3_iconoclast_cooldown }
# }
#
# weight_multiplier = {
# base = 1
# modifier = {
# factor = 2
# # Constantinopolis is Iconoclast
# capital_province.faith = faith:iconoclast
# }
# modifier = {
# factor = 2
# # Iconoclasm is about
# any_sub_realm_county = { faith = faith:iconoclast }
# }
# modifier = {
# factor = 2
# # Won war recently to powerful enemy
# any_truce_holder = { highest_held_title_tier >= tier_kingdom }
# }
# modifier = {
# factor = 2
# # Lost war recently to powerful enemy
# any_truce_target = { highest_held_title_tier >= tier_kingdom }
# }
# modifier = {
# factor = 2
# # In debt
# gold < -100
# }
# modifier = {
# factor = 2
# capital_province = {
# any_province_epidemic = { }
# }
# }
# modifier = {
# factor = 2
# any_in_list = {
# variable = formerly_infected_counties
# title_province = root.capital_province
# }
# }
# }
#
# immediate = {
# add_character_flag = ep3_iconoclast_cooldown
# capital_province = { save_scope_as = constantinople }
# character:70502 = { save_scope_as = leo }
# title:e_byzantium.previous_holder ?= {
# if = {
# limit = { faith = faith:iconoclast }
# save_scope_as = predecessor
# }
# }
# if = {
# limit = {
# any_close_family_member = {
# faith = faith:iconoclast
# OR = {
# is_parent_of = root
# is_grandparent_of = root
# }
# }
# }
# random_close_family_member = {
# limit = {
# sex_same_as = root
# is_parent_of = root
# faith = faith:iconoclast
# }
# alternative_limit = {
# is_parent_of = root
# faith = faith:iconoclast
# }
# alternative_limit = {
# sex_same_as = root
# is_grandparent_of = root
# faith = faith:iconoclast
# }
# alternative_limit = {
# is_grandparent_of = root
# faith = faith:iconoclast
# }
# save_scope_as = family
# }
# }
# if = {
# limit = {
# title:k_orthodox.holder = { is_vassal_of = root }
# }
# title:k_orthodox.holder = { save_scope_as = priest }
# }
# else = {
# ordered_vassal = {
# limit = {
# OR = {
# is_clergy = yes
# is_theocratic_lessee = yes
# government_has_flag = government_is_theocracy
# }
# }
# order_by = highest_held_title_tier
# save_scope_as = priest
# }
# }
# # Fallback
# if = {
# limit = { NOT = { exists = scope:priest } }
# cp:councillor_court_chaplain ?= { save_scope_as = priest }
# }
# if = {
# limit = {
# # Lost war recently to powerful enemy
# any_truce_target = { highest_held_title_tier >= tier_kingdom }
# }
# ordered_truce_target = {
# order_by = max_military_strength
# save_scope_as = truce_target
# }
# }
# if = {
# limit = {
# # Won war recently to powerful enemy
# any_truce_holder = { highest_held_title_tier >= tier_kingdom }
# }
# ordered_truce_holder = {
# order_by = max_military_strength
# save_scope_as = truce_holder
# }
# }
# scope:constantinople = {
# if = {
# limit = {
# any_province_epidemic = { }
# }
# random_province_epidemic = {
# limit = { outbreak_intensity = apocalyptic }
# alternative_limit = { outbreak_intensity = major }
# alternative_limit = { outbreak_intensity = minor }
# save_scope_as = epidemic
# }
# }
# }
# }
#
# option = { # Convert
# name = ep3_emperor_yearly.8040.a
# add_piety = major_piety_gain
# set_character_faith_with_conversion = faith:iconoclast
# if = {
# limit = {
# faith:iconoclast = { has_doctrine = doctrine_monotheist }
# }
# custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
# }
# add_character_modifier = {
# modifier = ep3_iconoclast_modifier
# years = 15
# }
# if = {
# limit = { ep3_iconoclast_vassal_count > 0 }
# change_influence = {
# value = 25
# multiply = ep3_iconoclast_vassal_count
# }
# }
# scope:priest = {
# if = {
# limit = { faith != faith:iconoclast }
# add_opinion = {
# target = root
# modifier = angry_opinion
# opinion = -30
# }
# }
# else = {
# add_opinion = {
# target = root
# modifier = pleased_opinion
# opinion = 15
# }
# }
# }
# stress_impact = {
# stubborn = medium_stress_impact_gain
# lazy = medium_stress_impact_gain
# arrogant = medium_stress_impact_gain
# brave = medium_stress_impact_gain
# }
# ai_chance = {
# base = 1
# ai_value_modifier = {
# ai_boldness = 0.5
# ai_zeal = 0.5
# }
# }
# }
#
# option = { # Stay the course
# name = ep3_emperor_yearly.8040.b
# change_influence = medium_influence_gain
# stress_impact = {
# fickle = medium_stress_impact_gain
# zealous = medium_stress_impact_gain
# humble = medium_stress_impact_gain
# craven = medium_stress_impact_gain
# }
# ai_chance = {
# base = 2
# ai_value_modifier = {
# ai_energy = -0.5
# ai_rationality = 0.5
# }
# }
# }
#}
# Norse raiders