mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Cleaned up language handling, fixed mouse speech understanding.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
/datum/language
|
||||
var/name = "an unknown language" // Fluff name of language if any.
|
||||
var/desc = "A language." // Short description for 'Check Languages'.
|
||||
var/speech_verb = "says" // 'says', 'hisses', 'farts'.
|
||||
var/colour = "say_quote" // CSS style to use for strings in this language.
|
||||
var/key = "x" // Character used to speak in language eg. :o for Unathi.
|
||||
@@ -12,69 +13,56 @@
|
||||
|
||||
/datum/language/unathi
|
||||
name = "Sinta'unathi"
|
||||
desc = "The common language of Moghes, composed of sibilant hisses and rattles. Spoken natively by Unathi."
|
||||
speech_verb = "hisses"
|
||||
colour = "soghun"
|
||||
key = "o"
|
||||
native = "Unathi"
|
||||
flags = RESTRICTED
|
||||
key = "una"
|
||||
flags = WHITELISTED
|
||||
|
||||
/datum/language/tajaran
|
||||
name = "Siik'tjar"
|
||||
name = "Siik'tajr"
|
||||
desc = "An expressive language that combines yowls and chirps with posture, tail and ears. Native to the Tajaran."
|
||||
speech_verb = "mrowls"
|
||||
colour = "tajaran"
|
||||
key = "j"
|
||||
native = "Tajaran"
|
||||
flags = RESTRICTED
|
||||
key = "taj"
|
||||
flags = WHITELISTED
|
||||
|
||||
/datum/language/skrell
|
||||
name = "Skrellian"
|
||||
desc = "A melodic and complex language spoken by the Skrell of Qerrbalak. Some of the notes are inaudible to humans."
|
||||
speech_verb = "warbles"
|
||||
colour = "skrell"
|
||||
key = "k"
|
||||
native = "Skrell"
|
||||
flags = RESTRICTED
|
||||
key = "skr"
|
||||
flags = WHITELISTED
|
||||
|
||||
/datum/language/vox
|
||||
name = "Vox-pidgin"
|
||||
desc = "The common tongue of the various Vox ships making up the Shoal. It sounds like chaotic shrieking to everyone else."
|
||||
speech_verb = "shrieks"
|
||||
colour = "vox"
|
||||
key = "v"
|
||||
native = "Vox"
|
||||
key = "vox"
|
||||
flags = RESTRICTED
|
||||
|
||||
/*
|
||||
/datum/language/human
|
||||
name = "Sol Common"
|
||||
key = "1"
|
||||
native = "Human"
|
||||
desc = "A bastardized hybrid of informal English and elements of Mandarin Chinese; the common language of the Sol system."
|
||||
key = "hum"
|
||||
flags = RESTRICTED
|
||||
|
||||
//Pidgin languages, imperfectly speakable by people not a member of the core species.
|
||||
|
||||
/datum/language/unathi/common
|
||||
name = "Common Unathi"
|
||||
flags = WHITELISTED
|
||||
|
||||
/datum/language/tajaran/common
|
||||
name = "Siik'mas"
|
||||
flags = WHITELISTED
|
||||
|
||||
/datum/language/skrell/common
|
||||
name = "Common Skrell"
|
||||
flags = WHITELISTED
|
||||
|
||||
/datum/language/human/common
|
||||
name = "Common Human"
|
||||
flags = WHITELISTED
|
||||
|
||||
// Galactic common languages (systemwide accepted standards).
|
||||
|
||||
/datum/language/trader
|
||||
name = "Tradeband"
|
||||
desc = "Maintained by the various trading cartels in major systems, this elegant, structured language is used for bartering and bargaining."
|
||||
speech_verb = "enunciates"
|
||||
key = "tra"
|
||||
|
||||
/datum/language/gutter
|
||||
name = "Gutter"
|
||||
desc = "Much like Standard, this crude pidgin tongue descended from numerous languages and serves as Tradeband for criminal elements."
|
||||
speech_verb = "growls"
|
||||
key = "gut"
|
||||
*/
|
||||
|
||||
// Language handling.
|
||||
/mob/proc/add_language(var/language)
|
||||
|
||||
Reference in New Issue
Block a user