mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Adds examine boxes. (#18370)
* Adds examine boxes. * lint * what kind of dreams did you dream? * unlimited * midgardsormr * sdsd * fixes --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -274,13 +274,13 @@
|
||||
update_icon()
|
||||
user.visible_message("\The [user] [concealed ? "conceals" : "reveals"] their hand.")
|
||||
|
||||
/obj/item/hand/examine(mob/user)
|
||||
/obj/item/hand/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
|
||||
. = ..()
|
||||
if((!concealed || src.loc == user) && cards.len)
|
||||
if(cards.len > 1)
|
||||
to_chat(user, "It contains: ")
|
||||
. += "It contains: "
|
||||
for(var/datum/playingcard/P in cards)
|
||||
to_chat(user, "The [P.name]. [P.desc ? "<i>[P.desc]</i>" : ""]")
|
||||
. += "The [P.name]. [P.desc ? "<i>[P.desc]</i>" : ""]"
|
||||
|
||||
/obj/item/hand/update_icon(var/direction = 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user