Command reference

NameCulture

HeritageBuilder · builder

Command words: nameculture, nc
Permission: Admin

Naming cultures are used by cultures to determine what valid names an individual can have. They contain rules about the number and type of names, as well as rules for how they are combined in different circumstances.

The correct syntax for this command is as follows:

nameculture list - lists all of the name cultures
nameculture edit <which> - begins editing a name culture
nameculture edit new <name> - begins editing a new name culture
nameculture clone <old> <new> - clones an existing name culture to a new one
nameculture close - stops editing a name culture
nameculture show <which> - views information about a name culture
nameculture show - views information about your currently editing name culture
nameculture set name <name> - renames the naming culture
nameculture set regex <regex> - sets the regex for the naming culture
nameculture set pattern <which> <pattern> - sets the naming pattern for a particular context
nameculture set element add <type> - adds a new naming element of the specified type
nameculture set element remove <type> - removes a naming element of the specified type
nameculture set element <type> name <name> - renames an element
nameculture set element <type> min <min> - sets the minimum number of picks for an element
nameculture set element <type> max <max> - sets the maximum number of picks for an element
nameculture set element <type> blurb - drops into an editor for the chargen blurb

Note 1 - Regex Rules

For the regular expression, each of the name elements should be captured as a group, with the name being the string representation of the name element type (not the name). So for example a BirthName element type should be captured in a group like (?<birthname>...)

Note 2 - Patterns

In the pattern you use the text $ElementType to refer to each of the elements. For example, $BirthName for a Birth Name element.

You can also use a pattern in the form ?ElementType[true][false] to show the true or false text if the name has one or more of the specified element.
For example, ?Nickname[ a.k.a "$Nickname"][]

← Back to Command reference