Initial languages commit - compiles

This commit is contained in:
D3athrow
2015-05-04 16:42:20 -05:00
parent 8be957dd8d
commit 0540f7a37b
81 changed files with 720 additions and 222 deletions

View File

@@ -14,7 +14,9 @@
blinded = 0
anchored = 1 // don't get pushed around
invisibility = INVISIBILITY_OBSERVER
languages = ALL
universal_understand = 1
universal_speak = 1
//languages = ALL
// For Aghosts dicking with telecoms equipment.
var/obj/item/device/multitool/ghostMulti = null
@@ -653,7 +655,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(host)
if(config.uneducated_mice)
languages = NONE
host.universal_understand = 0
host.ckey = src.ckey
host << "<span class='info'>You are now a mouse. Try to avoid interaction with players, and do not give hints away that you are more than a simple rodent.</span>"

View File

@@ -4,7 +4,8 @@
if (!message)
return
log_say("Ghost/[src.key] (@[src.x],[src.y],[src.z]): [message]")
var/turf/T = get_turf(src)
log_say("[key_name(src)] (@[T.x],[T.y],[T.z]) Ghost: [message]")
if (src.client)
if(src.client.prefs.muted & MUTE_DEADCHAT)
@@ -26,7 +27,7 @@
return "[pick("whines", "cries", "spooks", "complains", "drones", "mutters")], \"[text]\"";
/mob/dead/observer/Hear(message, atom/movable/speaker, message_langs, raw_message, radio_freq)
/mob/dead/observer/Hear(message, atom/movable/speaker, var/datum/language/speaking, raw_message, radio_freq)
if (isnull(client))
return