From 8e98ab5b370eb04793f822c2adfd83b9d6bc7267 Mon Sep 17 00:00:00 2001
From: Greenjoe12345 <33647525+Greenjoe12345@users.noreply.github.com>
Date: Mon, 18 Sep 2023 22:43:33 +0100
Subject: [PATCH] makes white cane use message use item's name
---
code/game/objects/items/weapons/canes.dm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/game/objects/items/weapons/canes.dm b/code/game/objects/items/weapons/canes.dm
index cd435d630e..efc4e6d5be 100644
--- a/code/game/objects/items/weapons/canes.dm
+++ b/code/game/objects/items/weapons/canes.dm
@@ -112,7 +112,7 @@
/obj/item/cane/white/attack(mob/M as mob, mob/user as mob)
if(user.a_intent == I_HELP)
- user.visible_message("\The [user] has lightly tapped [M] on the ankle with their white cane!")
+ user.visible_message("\The [user] has lightly tapped [M] on the ankle with their [name]!")
return TRUE
else
. = ..()
@@ -174,4 +174,4 @@
unfoldverb = "unfold"
foldverb = "fold"
unfoldicon = "whitecane2out"
- foldicon = "whitecane2in"
\ No newline at end of file
+ foldicon = "whitecane2in"