/tg/ Station 13 - Modules - TypesVar Details - Proc Details

language

Datum based languages. Easily editable and modular.

Vars

always_use_default_namelistIf 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_countBy default, random names picks this many names
default_name_syllable_maxBy default, random names picks this many syllables (max)
default_name_syllable_minBy default, random names picks this many syllables (min)
default_priorityThe language that an atom knows with the highest "default_priority" is selected by default.
descShort description for 'Check Languages'.
flagsVarious language flags.
iconIcon displayed in the chat window when speaking this language. if you are seeing someone speak popcorn language, then something is wrong.
icon_stateIcon state displayed in the chat window when speaking this language.
keyCharacter used to speak in language If key is null, then the language isn't real or learnable.
nameFluff name of language if any.
random_name_spacerWhat char to place in between randomly generated names
scramble_cacheCache of recently scrambled text This allows commonly reused words to not require a full re-scramble every time.
sentence_chanceLikelihood of making a new sentence after each syllable.
space_chanceLikelihood of getting a space in the random scramble string
spansSpans to apply from this language
special_charactersList of characters that will randomly be inserted between syllables.
syllablesUsed when scrambling text for a non-speaker.

Procs

default_nameSimple helper for getting a default firstname lastname
display_iconChecks whether we should display the language icon to the passed hearer.
get_iconReturns the icon to display in the chat window when speaking this language.
get_random_nameGenerates a random name this language would use.
get_random_unique_nameGenerates 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.

get_random_unique_name

Generates a random name, and attempts to ensure it is unique (IE, no other mob in the world has it)