This commit is contained in:
Fishedotjpg 2026-03-11 22:50:02 +00:00
parent fd65a8d161
commit c0de8d85ec
5 changed files with 808 additions and 31 deletions

View file

@ -313,6 +313,29 @@ one_handed_sword = {
animations = female_prop_fix_additive
}
portrait_modifier = { # CCP5
trigger = {
AND = {
has_dlc_feature = high_medieval_warfare_attire
OR = {
portrait_commoner_armor_trigger = {
CULTURE_INPUT = french
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = norman
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = breton
}
}
portrait_era3_trigger = yes
}
}
animations_props = marshal_ccp5_french_prop
animations = council_marshal_decal
animations = cloak_additive
}
portrait_modifier = { # POL
trigger = {
AND = {
@ -724,6 +747,29 @@ lefthanded_one_handed_sword = {
animations = female_prop_fix_additive
}
portrait_modifier = { # CCP5
trigger = {
AND = {
has_dlc_feature = high_medieval_warfare_attire
OR = {
portrait_commoner_armor_trigger = {
CULTURE_INPUT = french
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = norman
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = breton
}
}
portrait_era3_trigger = yes
}
}
animations_props = marshal_ccp5_french_prop_left
animations = council_marshal_decal
animations = cloak_additive
}
portrait_modifier = { # POL
trigger = {
AND = {
@ -1382,6 +1428,29 @@ council_marshal = {
animations = female_prop_fix_additive
}
portrait_modifier = { # CCP5
trigger = {
AND = {
has_dlc_feature = high_medieval_warfare_attire
OR = {
portrait_commoner_armor_trigger = {
CULTURE_INPUT = french
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = norman
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = breton
}
}
portrait_era3_trigger = yes
}
}
animations_props = marshal_ccp5_french_prop
animations = council_marshal_decal
animations = cloak_additive
}
portrait_modifier = { # POL
trigger = {
AND = {
@ -1717,6 +1786,29 @@ council_marshal_shield = {
animations = dwarf_additive
}
portrait_modifier = { # CCP5
trigger = {
AND = {
has_dlc_feature = high_medieval_warfare_attire
OR = {
portrait_commoner_armor_trigger = {
CULTURE_INPUT = french
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = norman
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = breton
}
}
portrait_era3_trigger = yes
}
}
animations_props = marshal_ccp5_french_prop
animations = council_marshal_decal
animations = cloak_additive
}
portrait_modifier = { # POL
trigger = {
has_dlc_feature = west_slavic_attire
@ -1973,6 +2065,29 @@ throneRoom_one_handed_passive_1 = {
animations = female_prop_fix_additive
}
portrait_modifier = { # CCP5
trigger = {
AND = {
has_dlc_feature = high_medieval_warfare_attire
OR = {
portrait_commoner_armor_trigger = {
CULTURE_INPUT = french
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = norman
}
portrait_commoner_armor_trigger = {
CULTURE_INPUT = breton
}
}
portrait_era3_trigger = yes
}
}
animations_props = marshal_ccp5_french_prop
animations = council_marshal_decal
animations = cloak_additive
}
portrait_modifier = { # POL
trigger = {
culture = { has_clothing_gfx = west_slavic_clothing_gfx }

View file

@ -7,6 +7,150 @@
template = no_headgear
}
##ccp9
add_accessory_modifiers = {
gene = headgear
template = ccp9_liao_high_nobility_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_liao_commoner_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_dali_low_nobility_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_dali_high_nobility_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_silla_royalty_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_uyghur_low_nobility_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_uyghur_royalty_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_uyghur_high_nobility_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_tangut_high_nobility_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_tangut_royalty_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_jurchen_nobility_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp9_ming_nobility_headgear
is_valid_custom = {
has_cp9_dlc_trigger = yes
}
}
## CCP7 Emishi Ainu ##
add_accessory_modifiers = {
gene = headgear
template = ccp7_emishi_com
is_valid_custom = {
has_cp7_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp7_emishi_lo_nob
is_valid_custom = {
has_cp7_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp7_emishi_hi_nob
is_valid_custom = {
has_cp7_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp7_ainu_sapanpe
is_valid_custom = {
has_cp7_dlc_trigger = yes
}
}
add_accessory_modifiers = {
gene = headgear
template = ccp7_emishi_war_nob
is_valid_custom = {
has_cp7_dlc_trigger = yes
}
}
## CCP7 Nivkh ##
add_accessory_modifiers = {
gene = headgear
template = ccp7_nivkh_com
is_valid_custom = {
has_cp7_dlc_trigger = yes
}
}
## TGP Chinese ##
add_accessory_modifiers = {
@ -1489,5 +1633,5 @@
gene = special_headgear_spectacles
template = spectacles
}
}
}

View file

@ -48,12 +48,6 @@ beards = {
exists = character:easteregg_daan_broekhof
this = character:easteregg_daan_broekhof
}
modifier = {
add = 2000
exists = this
exists = character:france_bonaparte_isildur_i
this = character:france_bonaparte_isildur_i
}
modifier = {
add = 1000
exists = this
@ -1656,6 +1650,133 @@ beards = {
portrait_ainu_clothing_trigger = yes
}
}
}
cp7_beards_emishi_straight = { # very similar to tgp ainu stuff above but checks for hair type genes - i made this before the gene tgp gene was added so i consolidated them together for cp7 --aj
dna_modifiers = {
accessory = {
mode = add
gene = beards
template = cp7_emishi_ainu_beards_straight
range = { 0 1 } # For the randomness to work correctly
}
}
weight = {
base = 0
modifier = {
add = 170
exists = this
portrait_emishi_clothing_trigger = yes
has_gene = {
category = gene_hair_type
template = hair_straight
}
}
modifier = { # Muslims should always have a beard
add = 200
OR = {
scope:faith.religion = religion:islam_religion
is_culture_or_descended_from_trigger = { CULTURE = culture:emishi }
}
portrait_emishi_clothing_trigger = yes
}
}
}
cp7_beards_emishi_wavy = {
dna_modifiers = {
accessory = {
mode = add
gene = beards
template = cp7_emishi_ainu_beards_wavy
range = { 0 1 } # For the randomness to work correctly
}
}
weight = {
base = 0
modifier = {
add = 170
exists = this
portrait_emishi_clothing_trigger = yes
has_gene = {
category = gene_hair_type
template = hair_wavy
}
}
modifier = { # Muslims should always have a beard
add = 200
OR = {
scope:faith.religion = religion:islam_religion
is_culture_or_descended_from_trigger = { CULTURE = culture:emishi }
}
portrait_emishi_clothing_trigger = yes
}
}
}
cp7_beards_emishi_curly = {
dna_modifiers = {
accessory = {
mode = add
gene = beards
template = cp7_emishi_ainu_beards_curly
range = { 0 1 } # For the randomness to work correctly
}
}
weight = {
base = 0
modifier = {
add = 170
exists = this
portrait_emishi_clothing_trigger = yes
OR = {
has_gene = {
category = gene_hair_type
template = hair_curly
}
has_gene = {
category = gene_hair_type
template = hair_afro
}
}
}
modifier = { # Muslims should always have a beard
add = 200
OR = {
scope:faith.religion = religion:islam_religion
is_culture_or_descended_from_trigger = { CULTURE = culture:emishi }
}
portrait_emishi_clothing_trigger = yes
}
}
}
cp7_beards_emishi_straight_thin = {
dna_modifiers = {
accessory = {
mode = add
gene = beards
template = tgp_chinese_beards
range = { 0 1 } # For the randomness to work correctly
}
}
weight = {
base = 0
modifier = {
add = 170
exists = this
portrait_emishi_clothing_trigger = yes
has_gene = {
category = gene_hair_type
template = hair_straight_thin_beard
}
}
modifier = { # Muslims should always have a beard
add = 200
OR = {
scope:faith.religion = religion:islam_religion
is_culture_or_descended_from_trigger = { CULTURE = culture:emishi }
}
portrait_emishi_clothing_trigger = yes
}
}
}
}