mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
Rewrite examine() to pass a list around
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user