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

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
}
}
}
}