From 7b678241e458c81a193cd8526c76a843dcdb36e6 Mon Sep 17 00:00:00 2001 From: JJRcop Date: Tue, 7 Jan 2014 11:20:19 -0500 Subject: [PATCH] Adds a visible_message to the nuke toy when it is used --- code/game/objects/items/toys.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 9c0cd8a2cf5..6e1b222b691 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -544,6 +544,8 @@ /obj/item/toy/nuke/attack_self(mob/user) if (cooldown < world.time) cooldown = world.time + 3000 //5 minutes + user.visible_message("[user] presses a button on [src]", "You activate [src], it plays a loud noise!", "You hear the click of a button.") + sleep(5) icon_state = "nuketoy" for (var/mob/M in hearers(world.view, user)) //I'm doing this because playsound's dampening/stereo ruins the effect if (M.client && !M.ear_deaf)