Create the audible_message() proc to replace most instance of " for(var/mob/M in hearers(...) show_message(..., 2)"

fixing typos and missing emotes in emote lists.
This commit is contained in:
phil235
2014-09-14 01:15:15 +02:00
parent 304b89bdc0
commit 87d7c9e91e
27 changed files with 89 additions and 91 deletions
@@ -250,7 +250,7 @@
if(!lastbang)
lastbang = 1
for (var/mob/M in hearers(src, null))
M << text("<FONT size=[]>BANG, bang!</FONT>", max(0, 5 - get_dist(src, M)))
M.show_message("<FONT size=[max(0, 5 - get_dist(src, M))]>BANG, bang!</FONT>", 2)
spawn(30)
lastbang = 0
@@ -96,7 +96,7 @@
if(world.time > lastbang+5)
lastbang = world.time
for(var/mob/M in hearers(src, null))
M << "<FONT size=[max(0, 5 - get_dist(src, M))]>BANG, bang!</FONT>"
M.show_message("<FONT size=[max(0, 5 - get_dist(src, M))]>BANG, bang!</FONT>", 2)
return
/obj/structure/closet/secure_closet/attack_hand(mob/user as mob)