/tg/ Station 13 - Modules - Types — Define Details

modular_aphelion/modules/language_understanding/code/language_understanding.dm

LANGUAGE_UNDERSTANDING_MINThe least of a language one only understood can be set to follow: Common Second Language's lowest setting.
LANGUAGE_UNDERSTANDING_STEPThe steps a level moves in.
LANGUAGE_UNDERSTANDING_SAMPLEThe line the Languages page shows as a character would hear it, at the level they follow.
/proc/sanitize_language_understandingSaved levels read back: known language types only, each snapped to a step and kept within range. Null if none.
/proc/snap_language_understandingA level snapped to a whole step, between the least allowed and all of it.
/proc/language_understanding_sampleA sample line in a language, as heard by someone who follows this much of it. Kept, so a level's sample stays put.
/datum/preference_middleware/language_understandingA language a character only understands can be followed in part, from LANGUAGE_UNDERSTANDING_MIN to all of it; the level is granted as the language holder's partial understanding, which catches that share of words, more of the common ones. See /datum/language_holder/proc/adjust_languages_to_prefs(). Speaking a language means following it.

Define Details

LANGUAGE_UNDERSTANDING_MIN

The least of a language one only understood can be set to follow: Common Second Language's lowest setting.

LANGUAGE_UNDERSTANDING_SAMPLE

The line the Languages page shows as a character would hear it, at the level they follow.

LANGUAGE_UNDERSTANDING_STEP

The steps a level moves in.