As I said before idk how inheriting names mechanics wise works (hopefully someone explains it)
Names are assigned randomly to offspring from a predefined list in
com.lilithsthrone.game.character.persona.Name
. Demons/elementals are handled differently, and use a list of masculine/feminine prefixes and suffixes (though at this time the suffix list is the same for both). A random prefix is paired with a random suffix. Reindeer and horses morphs use their own special lists. For everybody else, it uses a generic name pool, albeit with a 10% chance of pulling a name from the prostitute name pool.
Surnames are inherited from the mother. The game iterates through the mother's side of the family tree until the last one is found (the mother, then the mother's mother, then the mother's mother's mother, etc, until it runs out of NPCs to loop through), then uses that surname.
Demons are handled a bit differently. The list of mothers is iterated until it finds the last one in the chain. If said mother is a Lilin or Elder Lilin, the game checks to see if the generated character is a direct descendant of them. If so, their firstborn will have their surname with a "marturabitu" suffix attached. If they are a direct descendant but are not firstborn, they will have the "martuilani" suffix. If they are related but not a direct descendant, their surname will have the "martu" prefix.
Finally, if the NPC is randomly generated and doesn't technically have a mother, the name is randomly generated from a predefined list, with a special list of names being used for youko (fox ascendants) and demons/elementals.
The game stores all names as triplets, comprising a masculine, androgynous, and feminine name. The name pools have three names for each, well…name. One name triplet has "Daniel" as the masculine name, "Danny" as the androgynous name, and "Dani" as the feminine name. The game looks at the character's femininity stat to determine which name to pull. If the stat is 0-39 (very masculine to masculine) the masculine variant is displayed, 40-59 for androgynous, and 60-100 (feminine to very feminine) for the feminine form.
Much like other cases, demons and elementals are handled somewhat differently. Since the names are generated from a random prefix/suffix pairing, there isn't a cut and dry list of name pairings. Instead, the game randomly generates a feminine and masculine name pair. It then checks the list of masculine prefixes to see if any start with the same letter as the generated feminine name. If not, the generated masculine name is used. If so, the name is added to a list (with a random suffix) and the final name is drawn from that. No androgynous names are generated for demons. If a demon is androgynous, their feminine name will be used.
As you might expect, the use of name triplets does mean that names can change over time. This is why giving Brax the shewolf potion and bimbo potions turns him from Brax, to Bree, to Brandi. It's not a special case by any means. If you were take an NPC named Dani and feed her potions to make her more masculine, the game will eventually begin to call her Danny, then Daniel.
(i believe in the game children are more likely to inherent the traits of the parent who is more feminine)
This is correct. I wrote a
post detailing down how bodies are generated back in January, and the odds of a child inheriting a trait from the more feminine parent (even if they're the father) is 75%, versus 25% for the more masculine partner.