Default babies to mother's last name instead of father's

This commit is contained in:
lutepickle 2022-03-09 18:04:18 -08:00
parent eff3d8177a
commit 6e0d6d691b
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View file

@ -210,13 +210,12 @@ namespace RJW_Menstruation
{ {
melanin = ChildRelationUtility.GetRandomChildSkinColor(father.story?.melanin ?? 0f, mother.story?.melanin ?? 0f); melanin = ChildRelationUtility.GetRandomChildSkinColor(father.story?.melanin ?? 0f, mother.story?.melanin ?? 0f);
//melanin = (mother.story?.melanin ?? 0f + father.story?.melanin ?? 0f) / 2; //melanin = (mother.story?.melanin ?? 0f + father.story?.melanin ?? 0f) / 2;
lastname = NameTriple.FromString(father.Name.ToStringFull).Last;
} }
else else
{ {
melanin = mother.story?.melanin ?? 0f; melanin = mother.story?.melanin ?? 0f;
lastname = NameTriple.FromString(mother.Name.ToStringFull).Last;
} }
lastname = NameTriple.FromString(mother.Name.ToStringFull).Last;
} }
else if (xxx.is_human(father)) else if (xxx.is_human(father))
{ {