unique voice text colour for soghun, skrell and taj

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2013-02-10 22:36:23 +10:00
parent 28b5096ab3
commit 0dde35b385
2 changed files with 7 additions and 5 deletions
+4 -4
View File
@@ -75,11 +75,11 @@
//tcomms code is still runtiming somewhere here
var/ending = copytext(text, length(text))
if (is_speaking_soghun)
return "hisses, \"<span class='species'>[text]</span>\"";
return "hisses, \"<span class='soghun'>[text]</span>\"";
if (is_speaking_skrell)
return "warbles, \"<span class='species'>[text]</span>\"";
return "warbles, \"<span class='skrell'>[text]</span>\"";
if (is_speaking_tajaran)
return "mrowls, \"<span class='species'>[text]</span>\"";
return "mrowls, \"<span class='tajaran'>[text]</span>\"";
//Needs Virus2
// if (src.disease_symptoms & DISEASE_HOARSE)
// return "rasps, \"[text]\"";
@@ -115,4 +115,4 @@
return "1"
else if (ending == "!")
return "2"
return "0"
return "0"
+3 -1
View File
@@ -52,7 +52,9 @@ h1.alert, h2.alert {color: #000000;}
.mod {color: #735638; font-weight: bold;}
.modooc {color: #184880; font-weight: bold;}
.adminmod {color: #402A14; font-weight: bold;}
.species {color: #803B56;}
.tajaran {color: #803B56;}
.skrell {color: #00CED1;}
.soghun {color: #228B22;}
.interface {color: #330033;}
</style>"}