Bugs fixing

This commit is contained in:
Heidesommer 2026-05-24 05:01:46 -04:00
parent cb926c39aa
commit ebc206bb1c
117 changed files with 59950 additions and 11056 deletions

File diff suppressed because it is too large Load diff

View file

@ -2098,17 +2098,6 @@ mpo_greatest_of_khans.0030 = {
}
add = -50
}
modifier = {
culture = {
any_parent_culture_or_above = {
OR = {
this = culture:han
this = culture:greek
}
}
}
add = 100
}
}
}
#Convert to feudal government

File diff suppressed because it is too large Load diff

View file

@ -872,15 +872,14 @@ scripted_effect bp2_learn_lithurgical_language_effect = {
}
else_if = {
limit = {
scope:activity.activity_location.county.faith = faith:catholic
scope:activity.activity_location.county.faith.religion = religion:catholic_religion
}
learn_language = language_latin
}
else_if = {
limit = {
OR = {
scope:activity.activity_location.county.faith = faith:orthodox
scope:activity.activity_location.county.faith = faith:coptic
scope:activity.activity_location.county.faith.religion = religion:eastern_orthodox_religion
}
}
learn_language = language_greek
@ -914,10 +913,8 @@ bp2_adult_education.1011 = {
OR = {
scope:activity.activity_location.county.faith.religion = religion:islam_religion
scope:activity.activity_location.county.faith.religion = religion:judaism_religion
scope:activity.activity_location.county.faith = faith:catholic
scope:activity.activity_location.county.faith = faith:orthodox
scope:activity.activity_location.county.faith = faith:coptic
scope:activity.activity_location.county.faith = faith:nestorian
scope:activity.activity_location.county.faith.religion = religion:eastern_orthodox_religion
scope:activity.activity_location.county.faith.religion = religion:catholic_religion
}
trigger_if = {
limit = {
@ -929,23 +926,19 @@ bp2_adult_education.1011 = {
limit = {
OR = {
scope:activity.activity_location.county.faith.religion = religion:judaism_religion
scope:activity.activity_location.county.faith = faith:nestorian
}
}
NOT = { knows_language = language_aramaic }
}
trigger_else_if = {
limit = {
scope:activity.activity_location.county.faith = faith:catholic
scope:activity.activity_location.county.faith.religion = religion:catholic_religion
}
NOT = { knows_language = language_latin }
}
trigger_else_if = {
limit = {
OR = {
scope:activity.activity_location.county.faith = faith:orthodox
scope:activity.activity_location.county.faith = faith:coptic
}
scope:activity.activity_location.county.faith.religion = religion:eastern_orthodox_religion
}
NOT = { knows_language = language_greek }
}

View file

@ -5868,12 +5868,7 @@ ep3_emperor_yearly.2230 = {
# An obnoxious "scholar" close to you keeps quoting the Classics out of place
scripted_trigger ep3_valid_greek_culture_trigger = {
OR = {
has_cultural_pillar = heritage_byzantine
has_cultural_pillar = heritage_caucasian
this = culture:greek
any_parent_culture_or_above = { this = culture:greek }
}
has_cultural_pillar = heritage_greek
}
scripted_trigger ep3_2240_valid_courtier_trigger = {

View file

@ -5278,87 +5278,87 @@ ep3_governor_yearly.3060 = {
}
desc = ep3_governor_yearly.3060.desc_regent_acclaim
}
triggered_desc = {
trigger = {
scope:emperor = {
religion = {
OR = {
this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
}
}
primary_title = {
this = title:e_byzantium
}
#is either a Byzantine themselves or has a byzantine around to indicate any interest in Byzantine traditions
OR = {
culture = {
has_cultural_pillar = heritage_byzantine
OR = {
any_parent_culture_or_above = {
this = culture:greek
}
this = culture:greek
}
}
any_vassal = {
culture = {
OR = {
has_cultural_pillar = heritage_byzantine
any_parent_culture_or_above = {
this = culture:greek
}
this = culture:greek
}
}
}
}
is_female = no
}
}
desc = ep3_governor_yearly.3060.desc_byzantine
}
triggered_desc = {
trigger = {
scope:emperor = {
religion = {
OR = {
this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
}
}
primary_title = {
this = title:e_byzantium
}
OR = {
culture = {
has_cultural_pillar = heritage_byzantine
OR = {
any_parent_culture_or_above = {
this = culture:greek
}
this = culture:greek
}
}
any_vassal = {
culture = {
OR = {
has_cultural_pillar = heritage_byzantine
any_parent_culture_or_above = {
this = culture:greek
}
this = culture:greek
}
}
}
}
is_female = yes
}
}
desc = ep3_governor_yearly.3060.desc_byzantine_femme
}
# triggered_desc = {
# trigger = {
# scope:emperor = {
# religion = {
# OR = {
# this = religion:eastern_orthodox_religion
# this = religion:catholic_religion
# this = religion:protestant_religion
# }
# }
# primary_title = {
# this = title:e_byzantium
# }
# #is either a Byzantine themselves or has a byzantine around to indicate any interest in Byzantine traditions
# OR = {
# culture = {
# has_cultural_pillar = heritage_byzantine
# OR = {
# any_parent_culture_or_above = {
# this = culture:greek
# }
# this = culture:greek
# }
# }
# any_vassal = {
# culture = {
# OR = {
# has_cultural_pillar = heritage_byzantine
# any_parent_culture_or_above = {
# this = culture:greek
# }
# this = culture:greek
# }
# }
# }
# }
# is_female = no
# }
# }
# desc = ep3_governor_yearly.3060.desc_byzantine
# }
# triggered_desc = {
# trigger = {
# scope:emperor = {
# religion = {
# OR = {
# this = religion:eastern_orthodox_religion
# this = religion:catholic_religion
# this = religion:protestant_religion
# }
# }
# primary_title = {
# this = title:e_byzantium
# }
# OR = {
# culture = {
# has_cultural_pillar = heritage_byzantine
# OR = {
# any_parent_culture_or_above = {
# this = culture:greek
# }
# this = culture:greek
# }
# }
# any_vassal = {
# culture = {
# OR = {
# has_cultural_pillar = heritage_byzantine
# any_parent_culture_or_above = {
# this = culture:greek
# }
# this = culture:greek
# }
# }
# }
# }
# is_female = yes
# }
# }
# desc = ep3_governor_yearly.3060.desc_byzantine_femme
# }
desc = ep3_governor_yearly.3060.desc_generic
}
#Emperor's legitimacy

View file

@ -639,7 +639,7 @@ ep3_laamp_decision_event.1000 = {
scope:visiting_location = {
geographical_region = world_europe
NOT = { geographical_region = world_europe_north }
faith = { religion_tag = christianity_religion }
NEOW_religion_is_broadly_christian_trigger = yes
}
}
desc = ep3_laamp_decision_event.1000.desc_outro_regional_europe_returned_03
@ -1868,7 +1868,7 @@ ep3_laamp_decision_event.1001 = {
scope:visiting_location = {
geographical_region = world_europe
NOT = { geographical_region = world_europe_north }
faith = { religion_tag = christianity_religion }
NEOW_religion_is_broadly_christian_trigger = yes
}
}
desc = ep3_laamp_decision_event.1000.desc_outro_regional_europe_returned_03

View file

@ -502,11 +502,7 @@ ep3_travel_events.3001 = {
scripted_trigger ep3_travel_events_3002_byzantine_root_trigger = {
culture = {
has_cultural_pillar = heritage_byzantine
OR = {
any_parent_culture_or_above = { this = culture:greek }
this = culture:greek
}
has_cultural_pillar = heritage_greek
}
}
@ -1094,18 +1090,8 @@ ep3_travel_events.3003 = {
scripted_trigger ep3_travel_events_3010_anatolian_native_trigger = {
OR = {
has_cultural_pillar = heritage_byzantine
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
has_cultural_pillar = heritage_greek
has_cultural_pillar = heritage_turkish
}
}

View file

@ -30,7 +30,7 @@ ep3_yearly.1010 = {
desc = {
desc = ep3_yearly.1010.intro
triggered_desc = {
trigger = { culture = culture:greek }
trigger = { culture = { has_cultural_pillar = heritage_greek }}
desc = ep3_yearly.1010.greek_flavor
}
desc = ep3_yearly.1010.outro

View file

@ -91,22 +91,22 @@ fp3_misc_decisions.0010 = {
desc = {
desc = fp3_misc_decisions.0010.desc_intro
# If the Persian Struggle is still ongoing, comment on that
triggered_desc = {
trigger = {
exists = struggle:persian_struggle
scope:actor ?= title:d_sunni.holder
}
desc = fp3_misc_decisions.0010.desc_struggle
}
# triggered_desc = {
# trigger = {
# exists = struggle:persian_struggle
# scope:actor ?= title:d_sunni.holder
# }
# desc = fp3_misc_decisions.0010.desc_struggle
# }
}
sender = scope:recipient
immediate = {
show_as_tooltip = {
if = {
limit = { scope:piety_cost_reduction ?= yes }
add_piety = massive_piety_loss
}
# if = {
# limit = { scope:piety_cost_reduction ?= yes }
# add_piety = massive_piety_loss
# }
add_hook = {
target = scope:recipient
type = caliphal_submission_hook

View file

@ -758,9 +758,7 @@ mpo_events_tova.0003 = { #Peasants mock ruler and face deadly consequences.
if = {
limit = {
root.faith = {
religion_tag = christianity_religion
}
NEOW_religion_is_broadly_christian_trigger = yes
has_trait = zealous
}
add_stress = medium_stress_loss

View file

@ -2879,7 +2879,7 @@ nomad_events.0140 = {
location = root.location
template = merchant_template
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
faith = faith:ashari
faith = faith:aqlani
culture = culture:bolghar
save_scope_as = merchant
}
@ -5038,7 +5038,7 @@ nomad_events.0250 = {
random_list = {
10 = {
trigger = {
NOT = { faith = faith:ashari }
NOT = { faith = faith:aqlani }
NOT = { any_character_situation = { this = situation:game_rule_extra_nomads_sami } }
}
modifier = {
@ -5049,7 +5049,7 @@ nomad_events.0250 = {
location = root.location
template = priest_character_template
gender_female_chance = root_faith_clergy_gender_female_chance
faith = faith:ashari
faith = faith:aqlani
culture = culture:bolghar
save_scope_as = priest
}

View file

@ -934,13 +934,13 @@ tgp_japan_yearly_events.1030 = {
character = root
triggered_animation = {
trigger = {
faith.religion ?= religion:christianity_religion
NEOW_religion_is_broadly_christian_trigger = yes
}
animation = prayer
}
triggered_animation = {
trigger = {
NOT = { faith.religion ?= religion:christianity_religion }
NEOW_religion_is_broadly_christian_trigger = no
}
animation = personality_zealous
}

View file

@ -640,124 +640,39 @@ learning_medicine.2010 = { #by Mathilda Bjarnehed
random_valid = {
triggered_desc = {
trigger = {
is_valid_for_east_asian_events_trigger = no
NOR = {
has_culture = culture:greek
scope:court_physician = { has_culture = culture:greek }
culture = { has_cultural_parameter = anglic_group_language_param }
scope:court_physician = { culture = { has_cultural_parameter = anglic_group_language_param } }
}
}
desc = learning_medicine.2010.galen.desc
}
triggered_desc = {
trigger = {
is_valid_for_east_asian_events_trigger = no
NOR = {
has_culture = culture:greek
scope:court_physician = { has_culture = culture:greek }
}
}
desc = learning_medicine.2010.hippocrates.desc
}
triggered_desc = {
trigger = {
is_valid_for_east_asian_events_trigger = no
NOR = {
has_culture = culture:greek
scope:court_physician = { has_culture = culture:greek }
}
}
desc = learning_medicine.2010.herophilus.desc
}
triggered_desc = {
trigger = {
OR = {
is_valid_for_east_asian_events_trigger = yes # Culture is Japanese, Chinese or Korean
scope:court_physician = { is_valid_for_east_asian_events_trigger = yes }
}
NOR = {
culture = { has_cultural_pillar = heritage_chinese }
scope:court_physician.culture = { has_cultural_pillar = heritage_chinese }
}
}
desc = learning_medicine.2010.bianque.desc
}
triggered_desc = {
trigger = {
OR = {
culture = { has_cultural_pillar = heritage_chinese }
scope:court_physician.culture = { has_cultural_pillar = heritage_chinese }
}
}
desc = learning_medicine.2010.sun_simiao.desc
}
triggered_desc = {
trigger = {
OR = {
culture = { has_cultural_pillar = heritage_chinese }
scope:court_physician.culture = { has_cultural_pillar = heritage_chinese }
}
}
desc = learning_medicine.2010.zhan_zhongjing.desc
}
triggered_desc = {
trigger = {
OR = {
location = { geographical_region = world_asia }
is_valid_for_east_asian_events_trigger = yes # Culture is Japanese, Chinese or Korean
scope:court_physician.culture = { is_valid_for_east_asian_events_trigger = yes }
}
}
desc = learning_medicine.2010.hua_tuo.desc
}
triggered_desc = {
trigger = {
current_date >= 984.1.1
OR = {
culture = { has_cultural_pillar = heritage_japonic }
scope:court_physician.culture = { has_cultural_pillar = heritage_japonic }
}
}
desc = learning_medicine.2010.tamba_yasuyori.desc
}
triggered_desc = {
trigger = {
current_date >= 1120.1.1
location = {
geographical_region = world_europe
}
}
desc = learning_medicine.2010.hildegard.desc
}
triggered_desc = {
trigger = {
current_date >= 1316.12.30
location = {
geographical_region = world_europe
}
}
desc = learning_medicine.2010.mundinus.desc
desc = learning_medicine.2010.grey.desc
}
triggered_desc = {
trigger = {
NOR = {
culture = { has_cultural_pillar = heritage_arabic }
scope:court_physician = { culture = { has_cultural_pillar = heritage_arabic } }
faith = { religion_tag = islam_religion }
scope:court_physician.faith = { religion_tag = islam_religion }
culture = { has_cultural_parameter = anglic_group_language_param }
scope:court_physician = { culture = { has_cultural_parameter = anglic_group_language_param } }
}
current_date >= 1225.1.1
}
desc = learning_medicine.2010.avicenna.desc
desc = learning_medicine.2010.schwartz.desc
}
triggered_desc = {
trigger = {
NOR = {
has_culture = culture:italian
scope:court_physician = { has_culture = culture:italian }
culture = { has_cultural_parameter = anglic_group_language_param }
scope:court_physician = { culture = { has_cultural_parameter = anglic_group_language_param } }
}
current_date >= 1150.1.1
}
desc = learning_medicine.2010.trota.desc
desc = learning_medicine.2010.cecil.desc
}
triggered_desc = {
trigger = {
NOR = {
culture = { has_cultural_parameter = anglic_group_language_param }
scope:court_physician = { culture = { has_cultural_parameter = anglic_group_language_param } }
}
}
desc = learning_medicine.2010.merck.desc
}
}
desc = learning_medicine.2010.fallback.desc

View file

@ -232,7 +232,7 @@ yearly_saharan.0001 = {
#Not syncretised with Christianity.
AND = {
root.faith = { has_doctrine_parameter = christian_syncretic_actor_opinion_active }
scope:source_county.faith = { religion_tag = christianity_religion }
scope:source_county = { NEOW_religion_is_broadly_christian_trigger = yes }
}
#Not syncretised with Islam.
AND = {