From 6316f945d0e12255e666bea6922f31c67ef453ef Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 23 Apr 2017 06:26:43 +0100 Subject: [PATCH] Uses [src] instead of [name] --- code/game/objects/structures/dresser.dm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/code/game/objects/structures/dresser.dm b/code/game/objects/structures/dresser.dm index 3747eb59fe3..db5cf7f9a82 100644 --- a/code/game/objects/structures/dresser.dm +++ b/code/game/objects/structures/dresser.dm @@ -61,32 +61,32 @@ if(iswrench(W)) if(anchored) playsound(loc, W.usesound, 100, 1) - user.visible_message("[user] is loosening the [name]'s bolts.", \ - "You are loosening the [name]'s bolts...") + user.visible_message("[user] is loosening the [src]'s bolts.", \ + "You are loosening the [src]'s bolts...") if(do_after(user, 40 * W.toolspeed, target = src)) if(!loc || !anchored) return - user.visible_message("[user] loosened the [name]'s bolts!", \ - "You loosen the [name]'s bolts!") + user.visible_message("[user] loosened the [src]'s bolts!", \ + "You loosen the [src]'s bolts!") anchored = 0 else if(!isfloorturf(loc)) user.visible_message("A floor must be present to secure the [name]!") return playsound(loc, W.usesound, 100, 1) - user.visible_message("[user] is securing the [name]'s bolts...", \ - "You are securing the [name]'s bolts...") + user.visible_message("[user] is securing the [src]'s bolts...", \ + "You are securing the [src]'s bolts...") if(do_after(user, 40 * W.toolspeed, target = src)) if(!loc || anchored) return - user.visible_message("[user] has secured the [name]'s bolts.", \ - "You have secured the [name]'s bolts.") + user.visible_message("[user] has secured the [src]'s bolts.", \ + "You have secured the [src]'s bolts.") anchored = 1 else if(iscrowbar(W) && !anchored) playsound(loc, W.usesound, 100, 1) - user.visible_message("[user] is attempting to dismantle the [name].", \ - "You begin to dismantle the [name]...") + user.visible_message("[user] is attempting to dismantle the [src].", \ + "You begin to dismantle the [src]...") if(do_after(user, 40 * W.toolspeed, target = src)) new /obj/item/stack/sheet/wood (loc, 30) qdel(src)