Fixing bugs

This commit is contained in:
Heidesommer 2026-05-19 01:49:56 -04:00
parent cefd82dd96
commit e2686cdbab
9 changed files with 92 additions and 64 deletions

View file

@ -227,14 +227,12 @@ innovation_repeating_crossbow = {
has_dlc = "All Under Heaven" has_dlc = "All Under Heaven"
} }
OR = { OR = {
this = culture:tangut
has_cultural_parameter = unlock_shenbigong_innovation has_cultural_parameter = unlock_shenbigong_innovation
} }
} }
trigger_else = { trigger_else = {
OR = { OR = {
has_cultural_pillar = heritage_chinese has_cultural_pillar = heritage_chinese
this = culture:tangut
} }
} }
} }
@ -259,12 +257,7 @@ innovation_pole_vault = {
icon = @weapons_and_armor_01 icon = @weapons_and_armor_01
potential = { potential = {
OR = { always = no
this = culture:guanches
any_parent_culture_or_above = {
this = culture:guanches
}
}
} }
unlock_maa = guanch_vaulter unlock_maa = guanch_vaulter

View file

@ -1121,14 +1121,14 @@ GetActualBishopTitle = {
highest_held_title_tier >= tier_kingdom highest_held_title_tier >= tier_kingdom
faith.religion = faith:folketro.religion faith.religion = faith:folketro.religion
} }
localization_key = councillor_court_chaplain_folkgerman_religion_kingdom localization_key = councillor_court_chaplain_germanic_religion_kingdom
} }
text = { text = {
trigger = { trigger = {
highest_held_title_tier >= tier_duchy highest_held_title_tier >= tier_duchy
faith.religion = faith:folketro.religion faith.religion = faith:folketro.religion
} }
localization_key = councillor_court_chaplain_folkgerman_religion_duchy localization_key = councillor_court_chaplain_germanic_religion_duchy
} }
text = { text = {
trigger = { trigger = {
@ -1140,7 +1140,7 @@ GetActualBishopTitle = {
} }
} }
} }
localization_key = councillor_court_chaplain_folkgerman_religion_county localization_key = councillor_court_chaplain_germanic_religion_county
} }
text = { text = {
trigger = { trigger = {
@ -1152,7 +1152,7 @@ GetActualBishopTitle = {
} }
} }
} }
localization_key = councillor_court_chaplain_folkgerman_religion_county_female localization_key = councillor_court_chaplain_germanic_religion_county_female
} }
#Dualism #Dualism
@ -1984,14 +1984,14 @@ GetActualBishopTitlePossessive = {
highest_held_title_tier >= tier_kingdom highest_held_title_tier >= tier_kingdom
faith.religion = faith:folketro.religion faith.religion = faith:folketro.religion
} }
localization_key = councillor_court_chaplain_folkgerman_religion_kingdom_possessive localization_key = councillor_court_chaplain_germanic_religion_kingdom_possessive
} }
text = { text = {
trigger = { trigger = {
highest_held_title_tier >= tier_duchy highest_held_title_tier >= tier_duchy
faith.religion = faith:folketro.religion faith.religion = faith:folketro.religion
} }
localization_key = councillor_court_chaplain_folkgerman_religion_duchy_possessive localization_key = councillor_court_chaplain_germanic_religion_duchy_possessive
} }
text = { text = {
trigger = { trigger = {
@ -2003,7 +2003,7 @@ GetActualBishopTitlePossessive = {
} }
} }
} }
localization_key = councillor_court_chaplain_folkgerman_religion_county_possessive localization_key = councillor_court_chaplain_germanic_religion_county_possessive
} }
text = { text = {
trigger = { trigger = {
@ -2015,7 +2015,7 @@ GetActualBishopTitlePossessive = {
} }
} }
} }
localization_key = councillor_court_chaplain_folkgerman_religion_county_female_possessive localization_key = councillor_court_chaplain_germanic_religion_county_female_possessive
} }
#Dualism #Dualism

View file

@ -126,9 +126,9 @@ GetFaithSacredLanguage = {
text = { #Could also be Vedic & Old Tamil text = { #Could also be Vedic & Old Tamil
trigger = { trigger = {
OR = { OR = {
religion = religion:hinduism_religion # religion = religion:hinduism_religion
religion = religion:buddhism_religion religion = religion:buddhism_religion
religion = religion:jainism_religion # religion = religion:jainism_religion
} }
} }
localization_key = language_sanskrit_name #Sanskrit localization_key = language_sanskrit_name #Sanskrit
@ -158,31 +158,27 @@ GetFaithSacredLanguageCharacter = {
trigger = { trigger = {
OR = { OR = {
religion = religion:catholic_religion religion = religion:catholic_religion
faith = faith:conversos
faith = faith:lollard
faith = faith:insular_celtic
faith = faith:mozarabic_church
} }
} }
localization_key = language_latin_name #Latin localization_key = language_latin_name #Latin
} }
text = { # text = {
trigger = { # trigger = {
faith = faith:cathar # faith = faith:cathar
} # }
localization_key = language_occitano_romance_name #Occitan # localization_key = language_occitano_romance_name #Occitan
} # }
text = { # text = {
trigger = { faith = faith:nestorian } # trigger = { faith = faith:nestorian }
localization_key = language_aramaic_name #Armaic # localization_key = language_aramaic_name #Armaic
} # }
text = { # text = {
trigger = { faith = faith:armenian_apostolic } # trigger = { faith = faith:armenian_apostolic }
localization_key = language_armenian_name #Armenian # localization_key = language_armenian_name #Armenian
} # }
text = { text = {
trigger = { trigger = {
@ -241,9 +237,9 @@ GetFaithSacredLanguageCharacter = {
text = { #Could also be Vedic & Old Tamil text = { #Could also be Vedic & Old Tamil
trigger = { trigger = {
OR = { OR = {
religion = religion:hinduism_religion # religion = religion:hinduism_religion
religion = religion:buddhism_religion religion = religion:buddhism_religion
religion = religion:jainism_religion # religion = religion:jainism_religion
} }
} }
localization_key = language_sanskrit_name #Sanskrit localization_key = language_sanskrit_name #Sanskrit

View file

@ -921,7 +921,7 @@ empire_theocracy_christianity_religion_orthodox = {
# Dualism (same as Christianity) # Dualism (same as Christianity)
# Germanic # Germanic
baron_theocracy_male_folkgerman_religion = { baron_theocracy_male_germanic_religion = {
type = character type = character
gender = male gender = male
special = holder special = holder
@ -933,7 +933,7 @@ baron_theocracy_male_folkgerman_religion = {
governments = { theocracy_government } governments = { theocracy_government }
religions = { folkgerman_religion } religions = { folkgerman_religion }
} }
baron_theocracy_female_folkgerman_religion = { baron_theocracy_female_germanic_religion = {
type = character type = character
gender = female gender = female
special = holder special = holder
@ -945,7 +945,7 @@ baron_theocracy_female_folkgerman_religion = {
governments = { theocracy_government } governments = { theocracy_government }
religions = { folkgerman_religion } religions = { folkgerman_religion }
} }
barony_theocracy_folkgerman_religion = { barony_theocracy_germanic_religion = {
type = title type = title
tier = barony tier = barony
flavourization_rules = { flavourization_rules = {
@ -955,7 +955,7 @@ barony_theocracy_folkgerman_religion = {
holding = church_holding holding = church_holding
religions = { folkgerman_religion hellenism_religion taoism_religion zunism_religion } religions = { folkgerman_religion hellenism_religion taoism_religion zunism_religion }
} }
count_theocracy_male_folkgerman_religion = { count_theocracy_male_germanic_religion = {
type = character type = character
gender = male gender = male
special = holder special = holder
@ -967,7 +967,7 @@ count_theocracy_male_folkgerman_religion = {
governments = { theocracy_government } governments = { theocracy_government }
religions = { folkgerman_religion } religions = { folkgerman_religion }
} }
count_theocracy_female_folkgerman_religion = { count_theocracy_female_germanic_religion = {
type = character type = character
gender = female gender = female
special = holder special = holder
@ -979,7 +979,7 @@ count_theocracy_female_folkgerman_religion = {
governments = { theocracy_government } governments = { theocracy_government }
religions = { folkgerman_religion } religions = { folkgerman_religion }
} }
county_theocracy_folkgerman_religion = { county_theocracy_germanic_religion = {
type = title type = title
tier = county tier = county
flavourization_rules = { flavourization_rules = {
@ -989,7 +989,7 @@ county_theocracy_folkgerman_religion = {
governments = { theocracy_government } governments = { theocracy_government }
religions = { folkgerman_religion hellenism_religion taoism_religion zoroastrianism_religion zunism_religion } religions = { folkgerman_religion hellenism_religion taoism_religion zoroastrianism_religion zunism_religion }
} }
king_theocracy_male_folkgerman_religion = { king_theocracy_male_germanic_religion = {
type = character type = character
gender = male gender = male
special = holder special = holder
@ -1001,7 +1001,7 @@ king_theocracy_male_folkgerman_religion = {
governments = { theocracy_government } governments = { theocracy_government }
religions = { folkgerman_religion hellenism_religion } religions = { folkgerman_religion hellenism_religion }
} }
king_theocracy_female_folkgerman_religion = { king_theocracy_female_germanic_religion = {
type = character type = character
gender = female gender = female
special = holder special = holder
@ -1013,7 +1013,7 @@ king_theocracy_female_folkgerman_religion = {
governments = { theocracy_government } governments = { theocracy_government }
religions = { folkgerman_religion hellenism_religion } religions = { folkgerman_religion hellenism_religion }
} }
emperor_theocracy_male_folkgerman_religion = { emperor_theocracy_male_germanic_religion = {
type = character type = character
gender = male gender = male
special = holder special = holder
@ -1025,7 +1025,7 @@ emperor_theocracy_male_folkgerman_religion = {
governments = { theocracy_government } governments = { theocracy_government }
religions = { folkgerman_religion hellenism_religion } religions = { folkgerman_religion hellenism_religion }
} }
emperor_theocracy_female_folkgerman_religion = { emperor_theocracy_female_germanic_religion = {
type = character type = character
gender = female gender = female
special = holder special = holder

View file

@ -4256,10 +4256,6 @@ on_game_start_after_lobby = {
name = fully_landlocked_nomad_cultures name = fully_landlocked_nomad_cultures
target = culture:kirghiz target = culture:kirghiz
} }
add_to_global_variable_list = {
name = fully_landlocked_nomad_cultures
target = culture:tangut
}
add_to_global_variable_list = { add_to_global_variable_list = {
name = fully_landlocked_nomad_cultures name = fully_landlocked_nomad_cultures
target = culture:bashkir target = culture:bashkir

View file

@ -27,7 +27,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -64,7 +64,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -100,7 +100,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -136,7 +136,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -219,7 +219,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -256,7 +256,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -292,7 +292,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -354,7 +354,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -392,7 +392,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -429,7 +429,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level
@ -465,7 +465,7 @@
multiply = piety_level multiply = piety_level
} }
} }
scope:liege = { scope:liege.dynasty = {
add = { add = {
value = 0.1 value = 0.1
multiply = dynasty_prestige_level multiply = dynasty_prestige_level

View file

@ -1778,6 +1778,45 @@ beards = {
} }
} }
} }
### SP5 Beard ###
sp5_western_beards = {
dna_modifiers = {
accessory = {
mode = add
gene = beards
template = sp5_western_beards
range = { 0 1 } # For the randomness to work correctly
}
}
weight = {
base = 0
modifier = {
add = 15
OR = {
NOT = { exists = this }
has_gene = {
category = gene_hair_type
template = hair_curly
}
has_gene = {
category = gene_hair_type
template = hair_wavy
}
}
OR = {
portrait_western_clothing_trigger = yes
portrait_byzantine_clothing_trigger = yes
}
has_sp5_dlc_triggers = yes
}
modifier = {
factor = 0
portrait_western_clothing_trigger = no
}
}
}
} }
@ -1785,3 +1824,5 @@ beards = {

View file

@ -207,7 +207,7 @@
} }
###c_terschelling ###c_terschelling
2412 = { 2412 = {
holding = none holding = castle_holding
culture = frisian culture = frisian
religion = mariner religion = mariner
} }

View file

@ -1789,6 +1789,8 @@
} }
###c_wiesbaden ###c_wiesbaden
2693 = { 2693 = {
culture = palatine
religion = einblicker
holding = castle_holding holding = castle_holding
} }
2854 = { 2854 = {