// Noise "language", for audible emotes. /datum/language/noise name = "Noise" desc = "Noises" key = "" flags = RESTRICTED|NONGLOBAL|INNATE|NO_TALK_MSG|NO_STUTTER /datum/language/noise/format_message(message, verb) return "[message]" /datum/language/noise/format_message_plain(message, verb) return message /datum/language/noise/format_message_radio(message, verb) return "[message]" /datum/language/noise/get_talkinto_msg_range(message) // if you make a loud noise (screams etc), you'll be heard from 4 tiles over instead of two return (copytext(message, length(message)) == "!") ? 4 : 2 // 'basic' language; spoken by default. /datum/language/common name = LANGUAGE_TCB desc = "The common galactic tongue." speech_verb = "says" whisper_verb = "whispers" key = "0" flags = RESTRICTED syllables = list("blah","blah","blah","bleh","meh","neh","nah","wah") //TODO flag certain languages to use the mob-type specific say_quote and then get rid of these. /datum/language/common/get_spoken_verb(var/msg_end) switch(msg_end) if("!") return pick("exclaims","shouts","yells") //TODO: make the basic proc handle lists of verbs. if("?") return ask_verb return speech_verb // Galactic common languages (systemwide accepted standards). /datum/language/trader name = LANGUAGE_TRADEBAND desc = "Maintained by the various trading cartels in major systems, this elegant, structured language is used for bartering and bargaining." speech_verb = "enunciates" colour = "say_quote" key = "2" space_chance = 100 syllables = list("lorem", "ipsum", "dolor", "sit", "amet", "consectetur", "adipiscing", "elit", "sed", "do", "eiusmod", "tempor", "incididunt", "ut", "labore", "et", "dolore", "magna", "aliqua", "ut", "enim", "ad", "minim", "veniam", "quis", "nostrud", "exercitation", "ullamco", "laboris", "nisi", "ut", "aliquip", "ex", "ea", "commodo", "consequat", "duis", "aute", "irure", "dolor", "in", "reprehenderit", "in", "voluptate", "velit", "esse", "cillum", "dolore", "eu", "fugiat", "nulla", "pariatur", "excepteur", "sint", "occaecat", "cupidatat", "non", "proident", "sunt", "in", "culpa", "qui", "officia", "deserunt", "mollit", "anim", "id", "est", "laborum") // Criminal language. /datum/language/gutter name = LANGUAGE_GUTTER desc = "Much like Standard, this crude pidgin tongue descended from numerous languages and serves as Tradeband for criminal elements." speech_verb = "growls" colour = "rough" key = "3" syllables = list ("slo","nik","ko","zels","het","zlo","nis","iv","da","ati","yib","ban","dup","sha","ansh","nou","nec","zby", "ci") // Sign language /datum/language/sign name = LANGUAGE_SIGN desc = "A signed version of Standard, though its intent is primarily to help out people who are deaf and mute, " speech_verb = "signs" signlang_verb = list("signs", "gestures") colour = "i" key = "4" flags = NO_STUTTER|SIGNLANG // Helper /proc/get_lang_name(var/datum/language/language) if (!language || !istype(language)) return "Unknown" return language.name