Rewrite examine() to pass a list around

This commit is contained in:
Aronai Sieyes
2020-04-29 16:42:50 -04:00
committed by VirgoBot
parent 8c5c0a7cfb
commit 6ebd249748
214 changed files with 2021 additions and 1120 deletions
+3 -3
View File
@@ -348,11 +348,11 @@
user.visible_message("<span class = 'notice'>\The [user] [concealed ? "conceals" : "reveals"] their hand.</span>")
/obj/item/weapon/hand/examine(mob/user)
..(user)
. = ..()
if((!concealed) && cards.len)
to_chat(user,"It contains: ")
. += "It contains: "
for(var/datum/playingcard/P in cards)
to_chat(user,"\The [P.name].")
. += "\The [P.name]."
/obj/item/weapon/hand/verb/Removecard()