Examining an ore box you are adjacent to shows its contents.

This commit is contained in:
CitadelStationBot
2017-06-15 20:26:14 -05:00
parent f0f6341588
commit db01827ede
+5
View File
@@ -28,6 +28,11 @@
else
return ..()
/obj/structure/ore_box/examine(mob/living/user)
if(Adjacent(user) && istype(user))
show_contents(user)
. = ..()
/obj/structure/ore_box/attack_hand(mob/user)
if(Adjacent(user))
show_contents(user)