language
Datum based languages. Easily editable and modular.
Vars | |
always_use_default_namelist | If TRUE, when generating names, we will always use the default human namelist, even if we have syllables set. This is to be used for languages with very outlandish syllable lists (like pirates). |
---|---|
default_name_count | By default, random names picks this many names |
default_name_syllable_max | By default, random names picks this many syllables (max) |
default_name_syllable_min | By default, random names picks this many syllables (min) |
default_priority | The language that an atom knows with the highest "default_priority" is selected by default. |
desc | Short description for 'Check Languages'. |
flags | Various language flags. |
icon | Icon displayed in the chat window when speaking this language. if you are seeing someone speak popcorn language, then something is wrong. |
icon_state | Icon state displayed in the chat window when speaking this language. |
key | Character used to speak in language If key is null, then the language isn't real or learnable. |
name | Fluff name of language if any. |
random_name_spacer | What char to place in between randomly generated names |
scramble_cache | Cache of recently scrambled text This allows commonly reused words to not require a full re-scramble every time. |
sentence_chance | Likelihood of making a new sentence after each syllable. |
space_chance | Likelihood of getting a space in the random scramble string |
spans | Spans to apply from this language |
special_characters | List of characters that will randomly be inserted between syllables. |
syllables | Used when scrambling text for a non-speaker. |
Procs | |
default_name | Simple helper for getting a default firstname lastname |
display_icon | Checks whether we should display the language icon to the passed hearer. |
get_icon | Returns the icon to display in the chat window when speaking this language. |
get_random_name | Generates a random name this language would use. |
get_random_unique_name | Generates a random name, and attempts to ensure it is unique (IE, no other mob in the world has it) |
Var Details
always_use_default_namelist
If TRUE, when generating names, we will always use the default human namelist, even if we have syllables set. This is to be used for languages with very outlandish syllable lists (like pirates).
default_name_count
By default, random names picks this many names
default_name_syllable_max
By default, random names picks this many syllables (max)
default_name_syllable_min
By default, random names picks this many syllables (min)
default_priority
The language that an atom knows with the highest "default_priority" is selected by default.
desc
Short description for 'Check Languages'.
flags
Various language flags.
icon
Icon displayed in the chat window when speaking this language. if you are seeing someone speak popcorn language, then something is wrong.
icon_state
Icon state displayed in the chat window when speaking this language.
key
Character used to speak in language If key is null, then the language isn't real or learnable.
name
Fluff name of language if any.
random_name_spacer
What char to place in between randomly generated names
scramble_cache
Cache of recently scrambled text This allows commonly reused words to not require a full re-scramble every time.
sentence_chance
Likelihood of making a new sentence after each syllable.
space_chance
Likelihood of getting a space in the random scramble string
spans
Spans to apply from this language
special_characters
List of characters that will randomly be inserted between syllables.
syllables
Used when scrambling text for a non-speaker.
Proc Details
default_name
Simple helper for getting a default firstname lastname
display_icon
Checks whether we should display the language icon to the passed hearer.
get_icon
Returns the icon to display in the chat window when speaking this language.
get_random_name
Generates a random name this language would use.
- gender: What gender to generate from, if neuter / plural coin flips between male and female
- name_count: How many names to generate in, by default 2, for firstname lastname
- syllable_count: How many syllables to generate in each name, min
- syllable_max: How many syllables to generate in each name, max
- force_use_syllables: If the name should be generated from the syllables list. Only used for subtypes which implement custom name lists. Also requires the language has syllables set.
get_random_unique_name
Generates a random name, and attempts to ensure it is unique (IE, no other mob in the world has it)