Added language name to speech.

This commit is contained in:
Zuhayr
2013-08-10 22:57:36 -07:00
parent 6e81952c20
commit e04a5a6ce6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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)