- Moved another proc from datums/disease.dm to mob.dm so doubleclicking /mob actually gets you to the mob's definition.

- Two new admin verbs. "toggle hear radio" and "toggle hear deadcast". These don't care if you're a ghost or what you had for breakfast, they work because they're tied to your client, not your mob. To non-admins it might seem silly that this is needed but when dealing with multiple adminhelps you don't want text to move at lightning speed, so anything that you can disable is good.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2259 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-09-23 22:47:00 +00:00
parent d069b81ccd
commit 00d055d7f6
7 changed files with 217 additions and 240 deletions
-50
View File
@@ -314,57 +314,7 @@
for (var/mob/M in heard_a)
M.show_message(rendered, 2)
/*
if(M.client)
spawn()
var/isbot = ""
if(istype(src, /mob/living/silicon))
isbot = "bot"
var/speechtype = "say"
var/ending = copytext(message, length(message))
if (ending == "?")
speechtype = "question"
else if (ending == "!")
speechtype = "exclamation"
if(istype(M, /mob/living))
if(M:ear_deaf && speechtype == "question")
speechtype = "say"
var/obj/speech_bubble/B = new/obj/speech_bubble
B.icon = 'speechbubble.dmi'
B.parent = src
B.mouse_opacity = 0
B.invisibility = invisibility
B.layer = 10
if(!M.client.bubbles || M == src)
var/image/I = image('speechbubble.dmi', B, "override")
I.override = 1
M << I
flick("[isbot][speechtype]", B)
if(istype(loc, /turf))
B.loc = loc
else
B.loc = loc.loc
sleep(11)
del(B)
*/
/*
for(var/obj/O in M) // This is terribly costly for such a unique circumstance, should probably do this a different way in the future -- TLE
if(istype(O, /obj/item/device/aicard))
for(var/mob/M2 in O)
M2.show_message(rendered, 2)
break
break
*/
if (length(heard_b))
var/message_b
+2 -1
View File
@@ -43,7 +43,8 @@
if (istype(M, /mob/new_player))
continue
if (M.stat == 2 || (M.client && M.client.holder && M.client.deadchat)) //admins can toggle deadchat on and off. This is a proc in admin.dm and is only give to Administrators and above
M.show_message(rendered, 2)
if(M.client && !M.client.STFU_ghosts) //Admin shut-off for ghosts chatter
M.show_message(rendered, 2)
/mob/proc/say_understands(var/mob/other)
if (src.stat == 2)