15.3.3. Rules
There's one last string that's contained within the structure:
rules
It is mandatory, so not defining it will trigger an error. It defines how the generator should join the supplied data in order to generate a name. This string uses a syntax of its own, which is also used when specifying a rule when generating a custom name (see chapter 16.2).
The rules are parsed pretty much the same way as all other strings, so all rules regarding separators and special characters apply as well. However, you can additionally use a set of wildcards and frequency markers. Each wildcard is preceded by the dollar sign ('$'), while frequency markers are preceded by the per cent sign ('%'). Here's the complete wildcard list:
Wildcard | Example | Description |
---|---|---|
$[INT]P | $P, $25P | Use a random Pre syllable. The optional integer value denotes the per cent chance of adding the syllable. |
$[INT]s | $s, $25s | Use a random Start syllable. |
$[INT]m | $m, $25m | Use a random Middle syllable. |
$[INT]e | $e, $25e | Use a random End syllable. |
$[INT]p | $p, $25p | Use a random Post syllable. |
$[INT]v | $v, $25v | Use a random vocal. |
$[INT]c | $c, $25c | Use a random consonant. |
$[INT]? | $?, $25? | Use a random phoneme (vocal or consonant). |
%INT | %50, %25 | Frequency marker. Denotes the per cent chance for the rule to be accepted if it's picked. If the rule is not accepted, another roll is made to choose a name generation rule. It's used to reduce the frequency a given rule is chosen with. This marker may only appear at the beginning of a rule. |