Removing many instances of the no longer used second argument of message_admins() proc.

Replacing "for(var/mob/M in viewers()) M.show_message()" by "visible_message()" or audible_message()" in many places.
Changing a few span classes.
This commit is contained in:
phil235
2014-10-05 01:29:30 +02:00
parent 0f5fd59c0c
commit 537280b4b9
52 changed files with 199 additions and 242 deletions
+5 -9
View File
@@ -144,8 +144,7 @@
O.loc = src.loc
if (user != O)
for(var/mob/B in viewers(user, 3))
if ((B.client && !( B.blinded )))
B << text("<span class='danger'>[] stuffs [] into []!</span>", user, O, src)
B.show_message("<span class='danger'>[user] stuffs [O] into [src]!</span>", 1)
return
@@ -235,13 +234,11 @@
return //don't let you cremate something twice or w/e
if(contents.len <= 1)
for (var/mob/M in viewers(src))
M.show_message("<span class='danger'>You hear a hollow crackle.</span>", 1)
return
audible_message("<span class='danger'>You hear a hollow crackle.</span>")
return
else
for (var/mob/M in viewers(src))
M.show_message("<span class='danger'>You hear a roar as the crematorium activates.</span>", 1)
audible_message("<span class='danger'>You hear a roar as the crematorium activates.</span>")
cremating = 1
locked = 1
@@ -324,8 +321,7 @@
O.loc = src.loc
if (user != O)
for(var/mob/B in viewers(user, 3))
if ((B.client && !( B.blinded )))
B << text("<span class='danger'>[] stuffs [] into []!</span>", user, O, src)
B.show_message("<span class='danger'>[user] stuffs [O] into [src]!</span>", 1)
//Foreach goto(99)
return
@@ -64,8 +64,7 @@
var/aforce = W.force
health = max(0, health - aforce)
playsound(loc, 'sound/effects/attackblob.ogg', 100, 1)
for(var/mob/M in viewers(src, 7))
M.show_message("<span class='warning'>[user] hits [src] with [W]!</span>", 1)
visible_message("<span class='danger'>[user] hits [src] with [W]!</span>")
healthcheck()
/obj/structure/stool/bed/nest/proc/healthcheck()