Function getClassicRaceNamePatternSet

  • Gets a name generator pattern set for a classic fantasy race.

    It supports the following values for name:

    • dragonborn
    • dwarf
    • elf
    • gnome
    • goblin
    • half-elf
    • half-orc
    • halfling
    • human
    • orc
    • tiefling
    • troll

    Parameters

    • name: string

      The name of the race.

    Returns NameGeneratorPatternSet

    The name generator pattern set for the race.

    Throws

    Error if the race name is unknown.