mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 08:29:57 +01:00
Added language name to speech.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
/datum/language
|
||||
var/name = "an unknown language" // Fluff name of language if any.
|
||||
var/speech_verb = "says" // 'says', 'hisses', 'farts'.
|
||||
var/colour = "" // CSS style to use for strings in this language.
|
||||
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.
|
||||
var/flags = 0 // Various language flags.
|
||||
var/native // If set, non-native speakers will have trouble speaking.
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
var/ending = copytext(text, length(text))
|
||||
|
||||
if (speaking)
|
||||
return "<span class='say_quote'>[speaking.speech_verb]</span>, \"<span class='[speaking.colour]'>[text]</span>\"";
|
||||
return "<span class='say_quote'>[speaking.speech_verb] in [speaking.name]</span>, \"<span class='[speaking.colour]'>[text]</span>\"";
|
||||
|
||||
//Needs Virus2
|
||||
// if (src.disease_symptoms & DISEASE_HOARSE)
|
||||
|
||||
Reference in New Issue
Block a user