From 5673b2f680ec6b6ec924a8a24046e0b7747702a5 Mon Sep 17 00:00:00 2001 From: Thakia Date: Tue, 20 Oct 2026 12:49:35 -0300 Subject: [PATCH] Animations and Templates Fix --- .../06_genes_special_accessories_headgear.txt | 317 ++++- .../07_genes_special_accessories_misc.txt | 202 ++- .../portrait_animations/animations.txt | 361 ++---- .../portrait_modifiers/01_headgear_base.txt | 1107 ++--------------- 4 files changed, 631 insertions(+), 1356 deletions(-) diff --git a/common/genes/06_genes_special_accessories_headgear.txt b/common/genes/06_genes_special_accessories_headgear.txt index 706264fdd..03cc86c86 100644 --- a/common/genes/06_genes_special_accessories_headgear.txt +++ b/common/genes/06_genes_special_accessories_headgear.txt @@ -388,13 +388,13 @@ special_genes = { 1 = f_headgear_ccp9_lia_lo_01 1 = f_headgear_ccp9_lia_nob_01 1 = f_headgear_ccp9_sil_roy_01 - 1 = f_headgear_ccp9_uyg_roy_01 - 1 = f_headgear_ccp9_uyg_nob_01 - 1 = f_headgear_ccp9_tan_nob_01 + 1 = f_headgear_ccp9_uyg_roy_01 + 1 = f_headgear_ccp9_uyg_nob_01 + 1 = f_headgear_ccp9_tan_nob_01 1 = f_headgear_ccp9_tan_roy_01 1 = f_headgear_ccp9_jur_nob_01 1 = f_headgear_ccp9_min_nob_01 - + #N3OW 1 = female_headgear_neow_eastern_royalty_01 1 = female_headgear_neow_western_royalty_01 @@ -671,7 +671,9 @@ special_genes = { 1 = male_headgear_religious_dde_catholic_high_01 } female = { - 1 = female_headgear_religious_catholic_devoted_01 + 2 = female_headgear_religious_catholic_high_01 + 1 = female_headgear_religious_dde_catholic_high_01 + 1 = female_headgear_religious_dde_catholic_high_01 } boy = male girl = female @@ -683,7 +685,7 @@ special_genes = { 1 = male_headgear_religious_catholic_head_01 } female = { - 1 = female_headgear_religious_catholic_devoted_01 + 1 = female_headgear_religious_catholic_head_01 } boy = male girl = female @@ -1282,7 +1284,7 @@ special_genes = { } female = { - 1 = female_headgear_religious_catholic_devoted_01 + 1 = female_headgear_religious_orthodox_high_01 } boy = male @@ -1296,7 +1298,7 @@ special_genes = { } female = { - 1 = female_headgear_religious_catholic_devoted_01 + 1 = female_headgear_religious_orthodox_head_01 } boy = male @@ -2855,7 +2857,7 @@ special_genes = { boy = male girl = female } - + sp4_rus_royalty = { index = 173 male = { @@ -2968,7 +2970,7 @@ special_genes = { boy = male girl = female } - + tgp_chinese_era1_war_nobility = { index = 182 male = { @@ -3091,7 +3093,7 @@ special_genes = { boy = male girl = female - } + } tgp_shinto_priest = { index = 191 @@ -3104,7 +3106,7 @@ special_genes = { boy = male girl = female - + } tgp_japanese_war_nobility = { @@ -3241,7 +3243,7 @@ special_genes = { female = { 1 = f_headgear_sec_tgp_southeast_roy_01 } - + boy = male girl = female } @@ -3275,7 +3277,7 @@ special_genes = { boy = male girl = female } - + tgp_korean_commoner = { index = 204 male = { @@ -3287,10 +3289,10 @@ special_genes = { boy = male girl = female - } ### CCP 5 ### + ccp5_english_era3_war_nobility = { index = 205 male = { @@ -3374,7 +3376,7 @@ special_genes = { boy = male girl = female } - + ccp5_french_era3_war_com = { index = 208 male = { @@ -3456,7 +3458,6 @@ special_genes = { boy = male girl = female } - ccp5_french_era4_war_nobility = { index = 211 @@ -3503,7 +3504,7 @@ special_genes = { boy = male girl = female } - + ccp5_western_war_nobility = { index = 213 male = { @@ -3674,72 +3675,72 @@ special_genes = { ### ccp9 ###### - ccp9_commoner_headgear = { + ccp9_commoner_headgear = { index = 222 male = { } female = { - 1 = f_headgear_ccp9_lia_lo_01 + 1 = f_headgear_ccp9_lia_lo_01 } boy = male girl = female } - ccp9_low_nobility_headgear = { + ccp9_low_nobility_headgear = { index = 223 male = { - 1 = m_headgear_ccp9_dal_lo_01 - 1 = m_headgear_ccp9_jur_nob_01 + 1 = m_headgear_ccp9_dal_lo_01 + 1 = m_headgear_ccp9_jur_nob_01 } female = { - 1 = f_headgear_sec_tgp_chinese_roy_01 - 1 = f_headgear_ccp9_uyg_nob_01 - 1 = f_headgear_ccp9_jur_nob_01 - 1 = f_headgear_ccp9_min_nob_01 + 1 = f_headgear_sec_tgp_chinese_roy_01 + 1 = f_headgear_ccp9_uyg_nob_01 + 1 = f_headgear_ccp9_jur_nob_01 + 1 = f_headgear_ccp9_min_nob_01 } boy = male girl = female } - ccp9_high_nobility_headgear = { - index = 224 + ccp9_high_nobility_headgear = { + index = 224 male = { 1 = m_headgear_ccp9_lia_hi_01 - 1 = m_headgear_ccp9_dal_hi_01 - 1 = m_headgear_ccp9_uyg_hi_01 + 1 = m_headgear_ccp9_dal_hi_01 + 1 = m_headgear_ccp9_uyg_hi_01 } female = { - 1 = f_headgear_ccp9_lia_hi_01 - 1 = f_headgear_ccp9_lia_nob_01 - 1 = f_headgear_ccp9_uyg_nob_01 - 1 = f_headgear_ccp9_tan_nob_01 + 1 = f_headgear_ccp9_lia_hi_01 + 1 = f_headgear_ccp9_lia_nob_01 + 1 = f_headgear_ccp9_uyg_nob_01 + 1 = f_headgear_ccp9_tan_nob_01 } boy = male girl = female } - ccp9_royalty_headgear = { + ccp9_royalty_headgear = { index = 225 male = { - 1 = m_headgear_ccp9_sil_roy_01 - 1 = m_headgear_ccp9_uyg_roy_01 + 1 = m_headgear_ccp9_sil_roy_01 + 1 = m_headgear_ccp9_uyg_roy_01 } female = { 1 = f_headgear_ccp9_sil_roy_01 - 1 = f_headgear_ccp9_uyg_roy_01 - 1 = f_headgear_ccp9_tan_roy_01 + 1 = f_headgear_ccp9_uyg_roy_01 + 1 = f_headgear_ccp9_tan_roy_01 } boy = male girl = female - } + } ### sp5 ###### - sp5_crowns = { + sp5_crowns = { index = 226 male = { 1 = m_headgear_sec_sp5_byzantine_roy_01 - 1 = m_headgear_sec_sp5_western_roy_01 + 1 = m_headgear_sec_sp5_western_roy_01 } female = { 1 = f_headgear_sec_sp5_byzantine_roy_01 @@ -3750,8 +3751,8 @@ special_genes = { girl = female } - sp5_byzantine_imperial = { - index = 230 + sp5_byzantine_imperial = { + index = 227 male = { 1 = m_headgear_sec_sp5_byzantine_roy_01 } @@ -3760,24 +3761,24 @@ special_genes = { } boy = male girl = female - } + } - sp5_western_royalty = { - index = 231 + sp5_western_royalty = { + index = 228 male = { - 1 = m_headgear_sec_sp5_western_roy_01 + 1 = m_headgear_sec_sp5_western_roy_01 } female = { 1 = f_headgear_sec_sp5_western_roy_01 } boy = male girl = female - } + } - sp5_western_high_nobility = { - index = 232 + sp5_western_high_nobility = { + index = 229 male = { - 1 = empty + 1 = empty } female = { 1 = f_headgear_sec_sp5_western_roy_02 @@ -3786,10 +3787,208 @@ special_genes = { girl = female } + ## PAM ## + + pam_nun_crown_01 = { + index = 230 + male = { + # 1 = m_headgear_rel_pam_crown_01 + } + female = { + 1 = f_headgear_rel_pam_crown_01 + } + + boy = male + girl = female + } + + catholic_archbishop_mitre = { + index = 231 + male = { + 1 = male_headgear_religious_dde_catholic_high_01 + } + female = { + 1 = female_headgear_religious_catholic_high_01 + } + boy = male + girl = female + } + + catholic_bishop_mitre = { + index = 232 + male = { + 1 = male_headgear_religious_catholic_high_01 + } + female = { + 1 = female_headgear_religious_catholic_high_01 + } + boy = male + girl = female + } + + # This is a copy of the male one, and should only be used in one specific event as a "costume prop". + catholic_head_costume_prop_female = { + index = 233 + male = { + 1 = male_headgear_religious_catholic_head_01 + } + female = { + 1 = female_headgear_religious_catholic_head_01 + } + boy = male + girl = female + } + + catholic_cardinal_hat = { + index = 234 + male = { + 1 = m_headgear_rel_pam_cardinal + } + female = { + 1 = f_headgear_rel_pam_cardinal + } + boy = male + girl = female + } + + catholic_bishop_mitre_early = { + index = 235 + male = { + 1 = m_headgear_rel_pam_christian_priest_bishop_01 + } + female = { + 1 = f_headgear_rel_pam_christian_priest_bishop_01 + } + boy = male + girl = female + } + + catholic_bishop_mitre_late = { + index = 236 + male = { + 1 = m_headgear_rel_pam_christian_priest_bishop_02 + } + female = { + 1 = f_headgear_rel_pam_christian_priest_bishop_02 + } + boy = male + girl = female + } + + # Basegame mitre rides along so the basegame-versus-PAM roll happens here, not in the weights + # Female pools are basegame only - the PAM mitres have no female variant + catholic_archbishop_mitre_pam_early = { + index = 241 + male = { + 25 = male_headgear_religious_dde_catholic_high_01 + 75 = m_headgear_rel_pam_christian_priest_bishop_01 + } + female = { + 1 = female_headgear_religious_catholic_high_01 + } + boy = male + girl = female + } + + catholic_archbishop_mitre_pam_late = { + index = 242 + male = { + 25 = male_headgear_religious_dde_catholic_high_01 + 75 = m_headgear_rel_pam_christian_priest_bishop_02 + } + female = { + 1 = female_headgear_religious_catholic_high_01 + } + boy = male + girl = female + } + + catholic_bishop_mitre_pam_early = { + index = 243 + male = { + 25 = male_headgear_religious_catholic_high_01 + 75 = m_headgear_rel_pam_christian_priest_bishop_01 + } + female = { + 1 = female_headgear_religious_catholic_high_01 + } + boy = male + girl = female + } + + catholic_bishop_mitre_pam_late = { + index = 244 + male = { + 25 = male_headgear_religious_catholic_high_01 + 75 = m_headgear_rel_pam_christian_priest_bishop_02 + } + female = { + 1 = female_headgear_religious_catholic_high_01 + } + boy = male + girl = female + } + + # Veils from the additive_headgear era pools, minus empties + clergy_veils_western = { + index = 237 + male = { + } + female = { + 10 = female_headgear_secular_western_nobility_01 + 10 = female_headgear_secular_western_nobility_01_2 + 10 = female_headgear_secular_western_nobility_02 + 10 = female_headgear_secular_western_nobility_03 + } + boy = male + girl = female + } + + clergy_veils_ep2_western_era1 = { + index = 238 + male = { + } + female = { + 10 = f_headgear_sec_ep2_western_era1_com_01 + 10 = f_headgear_sec_ep2_western_era1_com_02 + 10 = f_headgear_sec_ep2_western_era1_nob_01 + 10 = f_headgear_sec_ep2_western_era1_nob_02 + } + boy = male + girl = female + } + + clergy_veils_ep2_western_era3 = { + index = 239 + male = { + } + female = { + 10 = female_headgear_secular_western_nobility_01 + 10 = female_headgear_secular_western_nobility_01_2 + 10 = female_headgear_secular_western_nobility_02 + 10 = female_headgear_secular_western_nobility_03 + 10 = female_headgear_secular_dde_hre_common_01 + 10 = female_headgear_secular_dde_hre_common_02 + } + boy = male + girl = female + } + + clergy_veils_orthodox = { + index = 240 + male = { + } + female = { + 10 = female_headgear_secular_byzantine_common_01 + } + boy = male + girl = female + } + ### N3OW Originals ###### neow_eastern_royalty_01 = { - index = 233 + index = 250 male = { 1 = male_headgear_neow_eastern_royalty_01 } @@ -3801,7 +4000,7 @@ special_genes = { } neow_western_royalty_01 = { - index = 234 + index = 251 male = { 1 = male_headgear_neow_western_royalty_01 } @@ -3813,7 +4012,6 @@ special_genes = { } } - #-------------------------------------------------------------------------------------------------------- secondary_headgears = { @@ -3862,7 +4060,7 @@ special_genes = { boy = male girl = female } - + } @@ -3990,7 +4188,7 @@ special_genes = { boy = male girl = female } - + coa_crest = { index = 9 @@ -4039,11 +4237,10 @@ special_genes = { female = { 1 = female_hoods } - + boy = male girl = female } - } } } diff --git a/common/genes/07_genes_special_accessories_misc.txt b/common/genes/07_genes_special_accessories_misc.txt index 4dc4acdf5..c2baf5c4c 100644 --- a/common/genes/07_genes_special_accessories_misc.txt +++ b/common/genes/07_genes_special_accessories_misc.txt @@ -769,6 +769,18 @@ accessory_genes = { boy = male girl = female } + + pam_cloak_catholic_hi_01 = { + index = 24 + male = { + 1 = m_cloaks_rel_pam_catholic_hi_01 + } + female = { +# 1 = + } + boy = male + girl = female + } } @@ -1718,8 +1730,90 @@ props_left = { boy = male girl = female } - ccp5_french_marshal_sword_left = { + pam_crozier_orthodox_basic_01 = { index = 102 + male = { + 1 = pam_crozier_orthodox_basic_01_portrait + } + female = male + boy = male + girl = female + } + pam_crozier_orthodox_ornate_01 = { + index = 103 + male = { + 1 = pam_crozier_orthodox_ornate_01_portrait + } + female = male + boy = male + girl = female + } + pam_crozier_catholic_basic_01 = { + index = 104 + male = { + 1 = pam_crozier_catholic_basic_01_portrait + 1 = pam_crozier_catholic_basic_02_portrait + } + female = male + boy = male + girl = female + } + pam_crozier_catholic_ornate_01 = { + index = 105 + male = { + 1 = pam_crozier_catholic_ornate_01_portrait + } + female = male + boy = male + girl = female + } + ep1_indian_book_big_left = { + index = 106 + male = { + 1 = ep1_indian_book_big_01_left + } + female = male + boy = male + girl = female + } + ep1_mediterranean_book_big_left = { + index = 107 + male = { + 1 = ep1_mediterranean_book_big_01_left + } + female = male + boy = male + girl = female + } + ep1_mena_book_big_left = { + index = 108 + male = { + 1 = ep1_mena_book_big_01_left + } + female = male + boy = male + girl = female + } + ep1_western_book_big_left = { + index = 109 + male = { + 1 = ep1_western_book_big_01_left + } + female = male + boy = male + girl = female + } + tgp_chinese_book_closed_left = { + index = 110 + male = { + 1 = tgp_chinese_book_01_closed_left + } + female = male + boy = male + girl = female + } + ccp5_french_marshal_sword_left = { + index = 111 male = { 3 = ccp5_french_marshal_sword_01_left 3 = ccp5_french_marshal_sword_02_left @@ -1730,7 +1824,7 @@ props_left = { girl = female } pdt_crutch_01_a = { - index = 103 + index = 112 male = { 1 = pdt_crutch_01_a_portrait } @@ -1738,8 +1832,35 @@ props_left = { boy = male girl = female } + pam_situla_01_a = { + index = 113 + male = { + 1 = pam_situla_01_a_portrait + } + female = male + boy = male + girl = female + } + pam_bible_ornate_01_a_left = { + index = 114 + male = { + 1 = pam_bible_ornate_01_a_portrait_left + } + female = male + boy = male + girl = female + } + pam_bible_ornate_open_01_left = { + index = 115 + male = { + 1 = pam_bible_ornate_open_01_a_left + } + female = male + boy = male + girl = female + } coronation_crown_nistrenia_imperial_gene = { - index = 110 + index = 150 male = { 1 = coronation_crown_nistrenia_imperial } @@ -1748,7 +1869,7 @@ props_left = { girl = female } coronation_crown_britannia_imperial_gene = { - index = 111 + index = 151 male = { 1 = coronation_crown_britannia_imperial } @@ -2820,6 +2941,79 @@ props_left = { boy = male girl = female } + pam_thurible_01_a = { + index = 114 + male = { + 1 = pam_thurible_01_a_portrait + } + female = male + boy = male + girl = female + } + pam_whip_01_a = { + index = 115 + male = { + 1 = pam_whip_01_a_portrait + } + female = male + boy = male + girl = female + } + pam_crozier_orthodox_basic_01_right = { + index = 116 + male = { + 1 = pam_crozier_orthodox_basic_01_portrait_right + } + female = male + boy = male + girl = female + } + pam_crozier_orthodox_ornate_01_right = { + index = 117 + male = { + 1 = pam_crozier_orthodox_ornate_01_portrait_right + } + female = male + boy = male + girl = female + } + pam_crozier_catholic_basic_01_right = { + index = 118 + male = { + 1 = pam_crozier_catholic_basic_01_portrait_right + 1 = pam_crozier_catholic_basic_02_portrait_right + } + female = male + boy = male + girl = female + } + pam_crozier_catholic_ornate_01_right = { + index = 119 + male = { + 1 = pam_crozier_catholic_ornate_01_portrait_right + } + female = male + boy = male + girl = female + } + pam_bible_ornate_open_01_right = { + index = 120 + male = { + 1 = pam_bible_ornate_open_01_a_right + } + female = male + boy = male + girl = female + } + pam_bible_ornate_01_portrait = { + index = 121 + male = { + 1 = pam_bible_ornate_01_a_portrait + } + female = male + boy = male + girl = female + } neow_ak_mace_gene = { index = 150 male = { diff --git a/gfx/portraits/portrait_animations/animations.txt b/gfx/portraits/portrait_animations/animations.txt index 7796abc62..1c8056d8b 100644 --- a/gfx/portraits/portrait_animations/animations.txt +++ b/gfx/portraits/portrait_animations/animations.txt @@ -761,10 +761,6 @@ idle = { } weight = { base = 0 - modifier = { - add = 5000 - this = character:83355 - } } } @@ -789,10 +785,6 @@ idle = { animation = { head = "council_marshal" torso = "council_marshal" } weight = { base = 0 - modifier = { - add = 5000 - this = character:1128 - } } portrait_modifier_pack = one_handed_sword } @@ -801,20 +793,6 @@ idle = { animation = { head = "council_marshal" torso = "council_marshal" } weight = { base = 0 -# modifier = { -# add = 5000 -# OR = { -# this = character:easteregg_henry_of_skalitz -# this = character:easteregg_henry_kobyla -# this = character:easteregg_henry_kobyla_late -# AND = { -# is_ruler = yes -# government_has_flag = government_is_military_holy_order -# religion = religion:christianity_religion -# is_at_war = yes -# } -# } -# } } portrait_modifier_pack = long_swords } @@ -830,10 +808,6 @@ idle = { } weight = { base = 0 - modifier = { - add = 5000 - this = character:3924 - } } } @@ -929,11 +903,6 @@ idle = { } weight = { base = 0 - modifier = { - add = 100 - is_eastern_roman_emperor_primary_title_trigger = yes - faith.religion = religion:christianity_religion - } } } @@ -951,21 +920,13 @@ idle = { } } -# idle_emperor = { -# animation = { head = "emperor" torso = "emperor" } -# portrait_modifier_pack = hu -# weight = { -# base = 0 -# modifier = { -# add = 100 -# OR = { -# primary_title = title:h_china -# has_title = title:k_chrysanthemum_throne -# has_title = title:k_yongson_throne -# } -# } -# } -# } + idle_emperor = { + animation = { head = "emperor" torso = "emperor" } + portrait_modifier_pack = hu + weight = { + base = 0 + } + } idle_writing = { animation = { head = "writing" torso = "writing" } @@ -1010,122 +971,18 @@ idle = { portrait_modifier_pack = one_handed_sword } -# holding_hu_1 = { -# animation = { head = "holding_hu_1" torso = "holding_hu_1" } -# weight = { -# base = 0 -# modifier = { -# is_adult = yes -# asian_variants = yes -# government_allows = administrative -# NOT = { has_trait = devoted } -# merit_level > 0 -# add = {70 110} -# } -# modifier = { -# AND = { -# is_female = yes -# faith = { has_doctrine = doctrine_gender_male_dominated } -# } -# factor = 0 -# } -# modifier = { -# AND = { -# is_male = yes -# faith = { has_doctrine = doctrine_gender_female_dominated } -# } -# factor = 0 -# } -# } -# portrait_modifier_pack = hu -# } -# -# holding_hu_2 = { -# animation = { head = "holding_hu_2" torso = "holding_hu_2" } -# weight = { -# base = 0 -# modifier = { -# is_adult = yes -# asian_variants = yes -# government_allows = administrative -# NOT = { has_trait = devoted } -# merit_level > 0 -# add = {80 120} -# } -# modifier = { -# AND = { -# is_female = yes -# faith = { has_doctrine = doctrine_gender_male_dominated } -# } -# factor = 0 -# } -# modifier = { -# AND = { -# is_male = yes -# faith = { has_doctrine = doctrine_gender_female_dominated } -# } -# factor = 0 -# } -# } -# portrait_modifier_pack = hu -# } -# -# holding_hu_3 = { -# animation = { head = "holding_hu_3" torso = "holding_hu_3" } -# weight = { -# base = 0 -# modifier = { -# is_adult = yes -# asian_variants = yes -# government_allows = administrative -# NOT = { has_trait = devoted } -# merit_level > 0 -# add = {90 130} -# } -# modifier = { -# AND = { -# is_female = yes -# faith = { has_doctrine = doctrine_gender_male_dominated } -# } -# factor = 0 -# } -# modifier = { -# AND = { -# is_male = yes -# faith = { has_doctrine = doctrine_gender_female_dominated } -# } -# factor = 0 -# } -# } -# portrait_modifier_pack = hu -# } + holding_hu_1 = { + animation = { head = "holding_hu_1" torso = "holding_hu_1" } + weight = { + base = 0 + } + portrait_modifier_pack = hu + } holding_hu_2 = { animation = { head = "holding_hu_2" torso = "holding_hu_2" } weight = { base = 0 - modifier = { - is_adult = yes - asian_variants = yes - government_has_mechanic = administrative - NOT = { has_trait = devoted } - merit_level > 0 - add = {80 120} - } - modifier = { - AND = { - is_female = yes - rite = { rite_has_doctrine = doctrine_gender_male_dominated } - } - factor = 0 - } - modifier = { - AND = { - is_male = yes - rite = { rite_has_doctrine = doctrine_gender_female_dominated } - } - factor = 0 - } } portrait_modifier_pack = hu } @@ -1134,28 +991,6 @@ idle = { animation = { head = "holding_hu_3" torso = "holding_hu_3" } weight = { base = 0 - modifier = { - is_adult = yes - asian_variants = yes - government_has_mechanic = administrative - NOT = { has_trait = devoted } - merit_level > 0 - add = {90 130} - } - modifier = { - AND = { - is_female = yes - rite = { rite_has_doctrine = doctrine_gender_male_dominated } - } - factor = 0 - } - modifier = { - AND = { - is_male = yes - rite = { rite_has_doctrine = doctrine_gender_female_dominated } - } - factor = 0 - } } portrait_modifier_pack = hu } @@ -1165,19 +1000,6 @@ idle = { portrait_modifier_pack = long_swords weight = { base = 0 - modifier = { - add = 100 - culture = { has_cultural_pillar = heritage_japonic } - portrait_wear_armor_currently_in_army_trigger = yes - OR = { - is_ai = no - static_group_filter = { - group = japanese_pose - match = 0.25 - } - } - NOT = { has_trait = pregnant } - } } } @@ -1760,10 +1582,6 @@ idle = { should_use_fat_dwarf_animation = no NOT = { has_trait = pregnant } } - modifier = { - add = -100 - this = character:7757 - } } portrait_modifier = { animations = AI_rational_decal @@ -2043,13 +1861,6 @@ idle = { should_use_fat_dwarf_animation = no NOT = { has_trait = pregnant } } -# modifier = { -# add = 5000 -# OR = { -# this = character:7757 -# this = character:41702 -# } -# } } portrait_modifier = { animations = AI_zealous_decal @@ -2764,17 +2575,13 @@ frontend_center_idle = { } } -# frontEnd_emperor = { -# animation = { head = "emperor" torso = "emperor" } -# portrait_modifier_pack = hu -# weight = { -# base = 0 -# modifier = { -# add = 100 -# primary_title = title:h_china -# } -# } -# } + frontEnd_emperor = { + animation = { head = "emperor" torso = "emperor" } + portrait_modifier_pack = hu + weight = { + base = 0 + } + } frontEnd_middle = { animation = { head = "frontEnd_middle_entry" torso = "frontEnd_middle_entry" } @@ -8886,15 +8693,15 @@ throne_room_ruler_3 = { } } -#throne_room_ruler_hu = { -# default = { -# default = { head = "throneRoom_ruler_hu" torso = "throneRoom_ruler_hu" } -# throne_room_ruler_hu = { -# animation = { head = "throneRoom_ruler_hu" torso = "throneRoom_ruler_hu" } -# portrait_modifier_pack = hu -# } -# } -#} +throne_room_ruler_hu = { + default = { + default = { head = "throneRoom_ruler_hu" torso = "throneRoom_ruler_hu" } + throne_room_ruler_hu = { + animation = { head = "throneRoom_ruler_hu" torso = "throneRoom_ruler_hu" } + portrait_modifier_pack = hu + } + } +} throne_room_ruler_jp = { default = { @@ -8906,51 +8713,51 @@ throne_room_ruler_jp = { } } -#emperor = { -# default = { -# default = { head = "emperor" torso = "emperor" } -# emperor = { -# animation = { head = "emperor" torso = "emperor" } -# portrait_modifier_pack = hu -# } -# } -#} +emperor = { + default = { + default = { head = "emperor" torso = "emperor" } + emperor = { + animation = { head = "emperor" torso = "emperor" } + portrait_modifier_pack = hu + } + } +} -#holding_hu = { -# default = { -# default = { head = "holding_hu_1" torso = "holding_hu_1" } -# holding_hu_1 = { -# animation = { head = "holding_hu_1" torso = "holding_hu_1" } -# weight = { -# base = 50 -# modifier = { -# add = {0 100} -# } -# } -# portrait_modifier_pack = hu -# } -# holding_hu_2 = { -# animation = { head = "holding_hu_2" torso = "holding_hu_2" } -# weight = { -# base = 50 -# modifier = { -# add = {0 100} -# } -# } -# portrait_modifier_pack = hu -# } -# holding_hu_3 = { -# animation = { head = "holding_hu_3" torso = "holding_hu_3" } -# weight = { -# base = 50 -# modifier = { -# add = {0 100} -# } -# } -# portrait_modifier_pack = hu -# } -# } -#} +holding_hu = { + default = { + default = { head = "holding_hu_1" torso = "holding_hu_1" } + holding_hu_1 = { + animation = { head = "holding_hu_1" torso = "holding_hu_1" } + weight = { + base = 50 + modifier = { + add = {0 100} + } + } + portrait_modifier_pack = hu + } + holding_hu_2 = { + animation = { head = "holding_hu_2" torso = "holding_hu_2" } + weight = { + base = 50 + modifier = { + add = {0 100} + } + } + portrait_modifier_pack = hu + } + holding_hu_3 = { + animation = { head = "holding_hu_3" torso = "holding_hu_3" } + weight = { + base = 50 + modifier = { + add = {0 100} + } + } + portrait_modifier_pack = hu + } + } +} throne_room_chancellor = { default = { @@ -9251,16 +9058,16 @@ gongshou = { } } -#gongshou_with_hu = { -# default = { -# # Not for use in burials and other areas where it should use the opposite overlapping hands! -# default = { head = "gongshou_start" torso = "gongshou_start" } -# gongshou_with_hu = { -# animation = { head = "gongshou_start" torso = "gongshou_start" } -# portrait_modifier_pack = hu -# } -# } -#} +gongshou_with_hu = { + default = { + # Not for use in burials and other areas where it should use the opposite overlapping hands! + default = { head = "gongshou_start" torso = "gongshou_start" } + gongshou_with_hu = { + animation = { head = "gongshou_start" torso = "gongshou_start" } + portrait_modifier_pack = hu + } + } +} wu_shu_bao_quan_li = { # Military/martial diff --git a/gfx/portraits/portrait_modifiers/01_headgear_base.txt b/gfx/portraits/portrait_modifiers/01_headgear_base.txt index 0dddd7439..62f6121f0 100644 --- a/gfx/portraits/portrait_modifiers/01_headgear_base.txt +++ b/gfx/portraits/portrait_modifiers/01_headgear_base.txt @@ -52,32 +52,19 @@ headgear_base = { } } -# sp5_byzantine_imperial = { -# dna_modifiers = { -# accessory = { -# mode = add -# gene = headgear -# template = sp5_byzantine_imperial -# range = { 0 1 } # For the randomness to work correctly -# } -# } -# weight = { -# base = 0 -# modifier = { -# add = 50 -# has_sp5_dlc_triggers = yes -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = byzantine -# } -# } -# modifier = { -# factor = 0 -# NOT = { -# has_title = title:e_byzantium -# } -# } -# } -# } + sp5_byzantine_imperial = { + dna_modifiers = { + accessory = { + mode = add + gene = headgear + template = sp5_byzantine_imperial + range = { 0 1 } # For the randomness to work correctly + } + } + weight = { + base = 0 + } + } @@ -94,27 +81,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 30 -# has_sp4_dlc_trigger = yes -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = mena -# } -# } -# modifier = { -# add = 60 -# has_sp4_dlc_trigger = yes -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = turkic -# } -# } -# modifier = { -# factor = 0 # Should NOT show up if we're not in the right era -# OR = { -# portrait_era1_trigger = yes -# portrait_era2_trigger = yes -# } -# } } } @@ -129,24 +95,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 100 -# has_sp4_dlc_trigger = yes -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = rus -# } -# } -# modifier = { -# add = -50 -# has_pol_dlc_trigger = yes -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = west_slavic -# } -# OR = { -# portrait_era3_trigger = yes -# portrait_era4_trigger = yes -# } -# } } } @@ -161,20 +109,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# has_sp4_dlc_trigger = yes -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = western -# } -# } -# modifier = { -# factor = 0 # Should NOT show up if we're not in the right era -# OR = { -# portrait_era1_trigger = yes -# portrait_era2_trigger = yes -# } -# } } } @@ -197,37 +131,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 100 -# has_dlc_feature = couture_of_the_capets -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = western -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = french -# } -# } -# modifier = { -# add = 90 -# has_dlc_feature = couture_of_the_capets -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = western -# } -# } -# modifier = { -# factor = 0 # Should NOT show up if EP2 is active and we're not in the right era -# has_ep2_dlc_trigger = yes -# OR = { -# portrait_era1_trigger = yes -# portrait_era2_trigger = yes -# } -# NAND = { -# portrait_era1_trigger = no -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = french -# } -# } -# } } } @@ -242,28 +145,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# is_female = no -# has_dlc_feature = couture_of_the_capets -# portrait_high_nobles_headgear_trigger = { -# CULTURE_INPUT = western -# } -# } -# modifier = { -# factor = 0 -# has_ep2_dlc_trigger = yes -# OR = { -# portrait_era1_trigger = yes -# portrait_era2_trigger = yes -# } -# NAND = { -# portrait_era1_trigger = no -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = french -# } -# } -# } } } @@ -278,22 +159,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# is_female = yes -# has_dlc_feature = couture_of_the_capets -# portrait_low_nobles_clothing_trigger = { -# CULTURE_INPUT = western -# } -# } -# modifier = { -# factor = 0 -# has_ep2_dlc_trigger = yes -# NOR = { -# portrait_era3_trigger = yes -# portrait_era4_trigger = yes -# } -# } } } @@ -316,62 +181,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 90 -# has_dlc_feature = elegance_of_the_empire -# OR = { -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = western -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# } -# } -# modifier = { -# add = 90 -# has_dlc_feature = elegance_of_the_empire -# OR = { -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = western -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = western -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# } -# is_female = yes -# } -# modifier = { -# factor = 0 # Should NOT show up if EP2 is active and we're not in the right era -# has_ep2_dlc_trigger = yes -# NOT = { -# portrait_era1_trigger = yes -# } -# } } } @@ -392,62 +201,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 90 -# has_dlc_feature = elegance_of_the_empire -# OR = { -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = western -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# } -# } -# modifier = { -# add = 90 -# has_dlc_feature = elegance_of_the_empire -# OR = { -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = western -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = western -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# } -# is_female = yes -# } -# modifier = { -# factor = 0 # Should NOT show up if EP2 is active and we're not in the right era -# has_ep2_dlc_trigger = yes -# NOT = { -# portrait_era2_trigger = yes -# } -# } } } @@ -616,29 +369,25 @@ headgear_base = { } # Reichskrone -# dde_hre_imperial = { -# dna_modifiers = { -# accessory = { -# mode = add -# gene = headgear -# template = dde_hre_imperial -# range = { 0 1 } # For the randomness to work correctly -# } -# accessory = { # Can be combined with veils -# mode = add -# gene = additive_headgear -# template = ep2_western_era2_veils -# range = { 0 1 } # For the randomness to work correctly -# } -# } -# weight = { -# base = 0 -# modifier = { -# add = 100 # always pick the HRE crown over the western one -# portrait_reichskrone_trigger = yes -# } -# } -# } + dde_hre_imperial = { + dna_modifiers = { + accessory = { + mode = add + gene = headgear + template = dde_hre_imperial + range = { 0 1 } # For the randomness to work correctly + } + accessory = { # Can be combined with veils + mode = add + gene = additive_headgear + template = ep2_western_era2_veils + range = { 0 1 } # For the randomness to work correctly + } + } + weight = { + base = 0 + } + } ## Western ## @@ -1144,25 +893,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = western -# } -# } -# modifier = { -# factor = 0 -# NOT = { -# has_ep1_dlc_trigger = yes -# } -# } -# modifier = { -# factor = 0 # Should NOT show up if EP2 is active and we're not in the right era -# has_ep2_dlc_trigger = yes -# NOT = { -# portrait_era1_trigger = yes -# } -# } } } @@ -1183,14 +913,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = western -# } -# has_ep2_dlc_trigger = yes -# portrait_era1_trigger = yes -# } } } @@ -1304,14 +1026,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = western -# } -# has_ce1_dlc_trigger = yes -# portrait_era2_trigger = yes -# } } } @@ -1332,28 +1046,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = western -# } -# NOT = { has_ep2_dlc_trigger = yes } -# } -# modifier = { -# add = 50 -# OR = { -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# } -# NOT = { has_ep2_dlc_trigger = yes } -# } } } @@ -1374,30 +1066,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = western -# } -# has_ep2_dlc_trigger = yes -# portrait_era1_trigger = yes -# } -# modifier = { -# add = 50 -# OR = { -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# } -# has_ep2_dlc_trigger = yes -# portrait_era1_trigger = yes -# } } } @@ -1418,36 +1086,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = western -# } -# has_ep2_dlc_trigger = yes -# OR = { -# portrait_era2_trigger = yes -# portrait_era3_trigger = yes -# } -# } -# modifier = { -# add = 50 -# OR = { -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# } -# has_ep2_dlc_trigger = yes -# OR = { -# portrait_era2_trigger = yes -# portrait_era3_trigger = yes -# } -# } } } @@ -1468,34 +1106,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = western -# } -# has_ep2_dlc_trigger = yes -# OR = { -# portrait_era4_trigger = yes -# } -# } -# modifier = { -# add = 50 -# OR = { -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = northern -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = sami -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = ugro_permian -# } -# } -# has_ep2_dlc_trigger = yes -# OR = { -# portrait_era4_trigger = yes -# } -# } } } @@ -1651,22 +1261,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# court_fashion_level_4_headgear_trigger = { -# CULTURE_INPUT = byzantine -# } -# has_ep3_dlc_trigger = yes -# portrait_era1_trigger = yes -# } -# modifier = { -# add = 50 -# portrait_low_nobles_clothing_trigger = { -# CULTURE_INPUT = byzantine -# } -# has_ep3_dlc_trigger = yes -# portrait_era1_trigger = yes -# } } } @@ -1860,14 +1454,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 85 -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = byzantine -# } -# has_ep3_dlc_trigger = yes -# portrait_era1_trigger = yes -# } } } @@ -1882,18 +1468,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 85 -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = byzantine -# } -# has_ep3_dlc_trigger = yes -# OR = { -# portrait_era2_trigger = yes -# portrait_era3_trigger = yes -# portrait_era4_trigger = yes -# } -# } } } @@ -1932,32 +1506,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = byzantine -# } -# } -# modifier = { -# factor = 0 -# NOT = { -# has_title = title:e_byzantium -# } -# } -# modifier = { -# factor = 0 -# NOT = { -# has_ep1_dlc_trigger = yes -# } -# } -# modifier = { -# factor = 0 -# has_ep3_dlc_trigger = yes -# OR = { -# portrait_era3_trigger = yes -# portrait_era4_trigger = yes -# } -# } } } @@ -2115,40 +1663,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 100 -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = indian -# } -# culture = { -# has_cultural_pillar = heritage_burman -# } -# has_ep1_dlc_trigger = yes -# } -# modifier = { -# add = 20000 -# has_character_flag = wear_makuta -# } -# modifier = { -# add = 50 -# OR = { -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = southeast_asian -# } -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = southeast_asian -# } -# } -# } -# modifier = { -# add = 50 -# OR = { -# portrait_high_nobles_headgear_trigger = { -# CULTURE_INPUT = southeast_asian -# } -# } -# has_tgp_dlc_trigger = no -# } } } @@ -2163,12 +1677,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 50 -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = indian -# } -# } } } @@ -2183,16 +1691,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 100 -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = indian -# } -# culture = { -# has_cultural_pillar = heritage_burman -# } -# has_ep1_dlc_trigger = yes -# } } } @@ -4143,20 +3641,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 80 - portrait_commoner_headgear_fallback_trigger = { - CULTURE_INPUT = chinese - } - has_tgp_dlc_trigger = yes - } - modifier = { - add = 21 - portrait_commoner_clothing_trigger = { - CULTURE_INPUT = chinese - } - has_tgp_dlc_trigger = yes - } } } @@ -4171,16 +3655,6 @@ headgear_base = { } weight = { base = 0 - court_fashion_level_4_headgear_modifier = { INPUT_PARAMETER = chinese } - modifier = { - add = 50 - is_merit_based_official = no - portrait_low_nobles_clothing_trigger = { - CULTURE_INPUT = chinese - } - has_tgp_dlc_trigger = yes - global_var:chinese_fashion ?= flag:tang - } } } @@ -4195,43 +3669,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 100 - is_ruler = yes - is_landed = no - highest_held_title_tier <= tier_duchy - is_house_head = yes - OR = { - portrait_low_nobles_clothing_trigger = { - CULTURE_INPUT = chinese - } - portrait_high_nobles_clothing_trigger = { - CULTURE_INPUT = chinese - } - } - has_tgp_dlc_trigger = yes - global_var:chinese_fashion ?= flag:song - # Korean handling - trigger_if = { - limit = { - OR = { - liege.culture = { has_clothing_gfx = korean_clothing_gfx } - culture = { has_clothing_gfx = korean_clothing_gfx } - } - } - is_merit_based_official = no - } - } - modifier = { #For Tangut King - add = 120 - government_has_flag = government_has_merit - highest_held_title_tier >= tier_duchy - portrait_high_nobles_clothing_trigger = { - CULTURE_INPUT = tangut - } - has_tgp_dlc_trigger = yes - has_cp9_dlc_trigger = yes - } } } @@ -4246,19 +3683,6 @@ headgear_base = { } weight = { base = 0 - court_fashion_level_4_headgear_modifier = { INPUT_PARAMETER = chinese } - modifier = { - add = 51 - OR = { - portrait_low_nobles_clothing_trigger = { - CULTURE_INPUT = chinese - } - portrait_high_nobles_clothing_trigger = { - CULTURE_INPUT = chinese - } - } - has_tgp_dlc_trigger = no - } } } @@ -4273,56 +3697,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 101 - is_alive = no - tgp_primary_title_is_ministry = yes - highest_held_title_tier = tier_empire - has_tgp_dlc_trigger = yes - year_of_birth < 960 - } - modifier = { - add = 51 - is_merit_based_official = yes - OR = { - liege.culture = { - OR = { - has_clothing_gfx = chinese_clothing_gfx - has_clothing_gfx = korean_clothing_gfx - } - } - culture = { - OR = { - has_clothing_gfx = chinese_clothing_gfx - has_clothing_gfx = korean_clothing_gfx - } - } - } - OR = { - global_var:chinese_fashion ?= flag:tang - # Korean handling - trigger_if = { - limit = { - OR = { - liege.culture = { has_clothing_gfx = korean_clothing_gfx } - culture = { has_clothing_gfx = korean_clothing_gfx } - } - } - OR = { - # Silla used Tang-style Bokdu (Putou) - portrait_era1_trigger = yes - # Low ranking officials in Korea use the Tang-style Bokdu (Putou) - AND = { - korea_high_rank_trigger = no - royal_councillor_or_regent_trigger = no - } - } - } - trigger_else = { - portrait_era4_trigger = yes # for Ming style - } - } - } } } @@ -4337,51 +3711,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 100 - is_alive = no - tgp_primary_title_is_ministry = yes - highest_held_title_tier = tier_empire - has_tgp_dlc_trigger = yes - } - modifier = { - add = 51 - is_merit_based_official = yes - OR = { - liege.culture = { - OR = { - has_clothing_gfx = chinese_clothing_gfx - has_clothing_gfx = korean_clothing_gfx - } - } - culture = { - OR = { - has_clothing_gfx = chinese_clothing_gfx - has_clothing_gfx = korean_clothing_gfx - } - } - } - has_tgp_dlc_trigger = yes - # Korean handling - trigger_if = { - limit = { - OR = { - liege.culture = { has_clothing_gfx = korean_clothing_gfx } - culture = { has_clothing_gfx = korean_clothing_gfx } - } - } - # Silla used Tang-style Bokdu (Putou) - NOT = { portrait_era1_trigger = yes } - # High rank officials only - OR = { - korea_high_rank_trigger = yes - royal_councillor_or_regent_trigger = yes - } - } - trigger_else = { - global_var:chinese_fashion ?= flag:song - } - } } } @@ -4396,13 +3725,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 100 - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = chinese - } - has_tgp_dlc_trigger = yes - } } } @@ -4417,26 +3739,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 100 - is_independent_ruler = yes - government_has_flag = government_has_merit - NOT = { - government_has_flag = government_is_celestial - } - OR = { - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = chinese - } - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = korean - } - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = viet - } - } - has_tgp_dlc_trigger = yes - } } } @@ -4451,36 +3753,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 100 - is_independent_ruler = yes - government_has_flag = government_has_merit - NOT = { - government_has_flag = government_is_celestial - } - OR = { - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = chinese - } - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = korean - } - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = viet - } - } - NOT = { - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = dali - } - } - has_tgp_dlc_trigger = yes - global_var:chinese_fashion ?= flag:song - trigger_if = { - limit = { is_alive = no } - tgp_primary_title_is_ministry = no - } - } } } @@ -4495,130 +3767,36 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 100 - is_independent_ruler = yes - highest_held_title_tier >= tier_empire - government_has_flag = government_has_merit - NOT = { - government_has_flag = government_is_celestial - } - OR = { - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = chinese - } - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = korean - } - portrait_royalty_headgear_trigger = { - CULTURE_INPUT = viet - } - } - has_tgp_dlc_trigger = yes - global_var:chinese_fashion ?= flag:song - trigger_if = { - limit = { is_alive = no } - tgp_primary_title_is_ministry = no - } - } } } -# chinese_imperial_headgear_tang = { # Intentionally included as free content -# dna_modifiers = { -# accessory = { -# mode = add -# gene = headgear -# template = tgp_chinese_imperial -# accessory = m_headgear_sec_tgp_chinese_imp_02 -# } -# } -# weight = { -# base = 0 -# modifier = { -# add = 110 -# OR = { -# primary_spouse.primary_title ?= title:h_china -# primary_title ?= title:h_china -# } -# global_var:chinese_fashion ?= flag:tang -# } -# modifier = { -# add = 110 -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = khitan -# } -# government_has_flag = government_has_merit -# } -# modifier = { -# add = 100 -# OR = { -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = chinese -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = chinese -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = korean -# } -# } -# NOT = { primary_title ?= title:h_china } -# } -# modifier = { -# add = 110 -# OR = { -# primary_title ?= title:h_china -# portrait_imperial_nobles_headgear_trigger = { -# CULTURE_INPUT = korean -# } -# } -# has_tgp_dlc_trigger = no -# } -# modifier = { -# add = -1000 -# is_landed = no -# tgp_primary_title_is_ministry = yes -# } -# } -# } + chinese_imperial_headgear_tang = { # Intentionally included as free content + dna_modifiers = { + accessory = { + mode = add + gene = headgear + template = tgp_chinese_imperial + accessory = m_headgear_sec_tgp_chinese_imp_02 + } + } + weight = { + base = 0 + } + } -# chinese_imperial_headgear_song = { -# dna_modifiers = { -# accessory = { -# mode = add -# gene = headgear -# template = tgp_chinese_era2_imperial -# accessory = m_headgear_sec_tgp_chinese_imp_01 -# } -# } -# weight = { -# base = 0 -# modifier = { -# add = 110 -# OR = { -# primary_title ?= title:h_china -# primary_spouse.primary_title ?= title:h_china -# } -# has_tgp_dlc_trigger = yes -# global_var:chinese_fashion ?= flag:song -# } -# modifier = { -# add = 110 -# OR = { -# portrait_imperial_headgear_trigger = { -# CULTURE_INPUT = jurchen -# } -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = tangut -# } -# } -# is_ruler = yes -# government_has_flag = government_has_merit -# has_tgp_dlc_trigger = yes -# } -# } -# } + chinese_imperial_headgear_song = { + dna_modifiers = { + accessory = { + mode = add + gene = headgear + template = tgp_chinese_era2_imperial + accessory = m_headgear_sec_tgp_chinese_imp_01 + } + } + weight = { + base = 0 + } + } ## TGP - Japanese ## @@ -4633,20 +3811,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 80 - portrait_commoner_headgear_fallback_trigger = { - CULTURE_INPUT = japanese - } - has_tgp_dlc_trigger = yes - } - modifier = { - add = 21 - portrait_commoner_clothing_trigger = { - CULTURE_INPUT = japanese - } - has_tgp_dlc_trigger = yes - } } } @@ -4661,13 +3825,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 51 -# portrait_low_nobles_clothing_trigger = { -# CULTURE_INPUT = japanese -# } -# has_tgp_dlc_trigger = yes -# } } } @@ -4682,13 +3839,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 51 -# portrait_high_nobles_headgear_trigger = { -# CULTURE_INPUT = japanese -# } -# has_tgp_dlc_trigger = yes -# } } } @@ -4703,22 +3853,6 @@ headgear_base = { } weight = { base = 0 -# modifier = { -# add = 250 -# portrait_royalty_headgear_trigger = { -# CULTURE_INPUT = japanese -# } -# has_tgp_dlc_trigger = yes -# } -# modifier = { -# add = 1000 -# has_tgp_dlc_trigger = yes -# is_alive = yes -# is_adult = yes -# culture = { has_clothing_gfx = japanese_clothing_gfx } -# tgp_is_in_ceremonial_house_trigger = yes -# top_liege.primary_title.var:administrative_ui_special_title.current_heir ?= this -# } } } @@ -4733,60 +3867,22 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 151 - government_is_japanese_trigger = yes - OR = { - tgp_is_ceremonial_regent_trigger = yes # Not 'actual' ruler - trigger_if = { - limit = { exists = top_liege } - is_councillor_of = top_liege - } - AND = { - is_house_head = yes - is_landed = yes - liege = top_liege - has_same_government = top_liege - trigger_if = { - limit = { exists = top_liege } - is_councillor_of = top_liege - } - trigger_else = { always = no } - } - } - NOT = { tgp_is_ceremonial_liege_trigger = yes } - has_tgp_dlc_trigger = yes - } } } -# japanese_imperial_headgear = { -# dna_modifiers = { -# accessory = { -# mode = add -# gene = headgear -# template = tgp_japanese_imperial -# range = { 0 1 } # For the randomness to work correctly -# } -# } -# weight = { -# base = 0 -# modifier = { -# add = 51 -# portrait_imperial_nobles_headgear_trigger = { -# CULTURE_INPUT = japanese -# } -# has_tgp_dlc_trigger = yes -# } -# modifier = { -# add = 1000 -# has_title = title:k_chrysanthemum_throne -# portrait_imperial_nobles_headgear_trigger = { -# CULTURE_INPUT = japanese -# } -# } -# } -# } + japanese_imperial_headgear = { + dna_modifiers = { + accessory = { + mode = add + gene = headgear + template = tgp_japanese_imperial + range = { 0 1 } # For the randomness to work correctly + } + } + weight = { + base = 0 + } + } ## TGP - Korean ## @@ -4801,19 +3897,6 @@ headgear_base = { } weight = { base = 0 - modifier = { - add = 51 - is_merit_based_official = yes - OR = { - portrait_low_nobles_clothing_trigger = { - CULTURE_INPUT = korean - } - portrait_high_nobles_headgear_trigger = { - CULTURE_INPUT = korean - } - } - has_tgp_dlc_trigger = yes - } } } @@ -5245,32 +4328,26 @@ headgear_base = { } } -# ccp9_silla_royalty_headgear = { -# dna_modifiers = { -# accessory = { -# mode = add -# gene = headgear -# template = ccp9_royalty_headgear -# accessory = m_headgear_ccp9_sil_roy_01 -# } -# accessory = { -# mode = add -# gene = headgear -# template = ccp9_royalty_headgear -# accessory = f_headgear_ccp9_sil_roy_01 -# type = female -# } -# } -# weight = { -# base = 0 -# modifier = { -# add = 110 -# primary_title ?= title:k_silla -# portrait_era1_trigger = yes -# has_cp9_dlc_trigger = yes -# } -# } -# } + ccp9_silla_royalty_headgear = { + dna_modifiers = { + accessory = { + mode = add + gene = headgear + template = ccp9_royalty_headgear + accessory = m_headgear_ccp9_sil_roy_01 + } + accessory = { + mode = add + gene = headgear + template = ccp9_royalty_headgear + accessory = f_headgear_ccp9_sil_roy_01 + type = female + } + } + weight = { + base = 0 + } + } ccp9_uyghur_low_nobility_headgear = { dna_modifiers = { @@ -5523,4 +4600,4 @@ headgear_base = { } } } -} \ No newline at end of file +}