Skip to content

Commit

Permalink
Darwin now gets a beard when he is older
Browse files Browse the repository at this point in the history
  • Loading branch information
LordR19 committed Dec 17, 2023
1 parent 4dc3b2d commit d6a4049
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changelog Ferrari
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Manzoni
- Added Irredenta Decision for Italy which gives claims on Corsica, Malta, Dalmatia and the Ionian Islands.

Characters
- Charles Darwin will get his iconic beard when he is older
- Johann Conrad Fischer (starting leader of the industrialists in Switzerland)
- Johannes Niederer (starting leader of the Trade Unions in Switzerland)
- Constantin Siegwart-Müller (starting leader of the Devout in Switzerland)
Expand Down
2 changes: 1 addition & 1 deletion common/dna_data/bem_darwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
gene_eyebrows_shape={ "avg_spacing_high_thickness" 238 "far_spacing_avg_thickness" 238 }
gene_eyebrows_fullness={ "layer_2_high_thickness" 255 "layer_2_lower_thickness" 182 }
hairstyles={ "european_hairstyles" 150 "european_hairstyles" 80 }
beards={ "european_beards" 187 "no_beard" 209 }
beards={ "no_beard" 187 "no_beard" 209 }
mustaches={ "no_mustache" 107 "no_mustache" 107 }
props={ "no_prop" 0 "no_prop" 0 }
eye_accessory={ "normal_eyes" 0 "normal_eyes" 0 }
Expand Down
46 changes: 46 additions & 0 deletions gfx/portraits/portrait_modifiers/mr_beards.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
mr_beards = {
usage = game
selection_behavior = weighted_random

#Beards for young and old Darwin
mr_charles_darwin_young = {
dna_modifiers = {
accessory = {
mode = add
gene = beards
template = european_beards
accessory = male_beard_european_12
}
}
weight = {
base = 0
modifier = {
add = 100000
scope:character ?= {
has_template = mr_gbr_darwin_charles_character_template
age < 58
}
}
}
}
mr_charles_darwin_old = {
dna_modifiers = {
accessory = {
mode = add
gene = beards
template = full_beards
accessory = male_beard_indian_04
}
}
weight = {
base = 0
modifier = {
add = 100001
scope:character ?= {
has_template = mr_gbr_darwin_charles_character_template
age >= 58
}
}
}
}
}
3 changes: 2 additions & 1 deletion gfx/portraits/portrait_modifiers/mr_hairstyles.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
hairstyles = {
mr_hairstyles = {
usage = game
selection_behavior = weighted_random

#Replaces hairstyle because of wrong Trigger in Vanilla file
mr_siegwart_muller_hairstyle = {
dna_modifiers = {
accessory = {
Expand Down

0 comments on commit d6a4049

Please sign in to comment.