Moves update_icon(). Adds crayons.

This commit is contained in:
bgobandit
2015-07-24 09:38:13 -04:00
parent 0f6e66502f
commit ab9668dd3d
2 changed files with 6 additions and 5 deletions
+6 -1
View File
@@ -42,7 +42,7 @@
/obj/structure/closet/body_bag/attackby(obj/item/I, mob/user, params)
if (istype(I, /obj/item/weapon/pen))
if (istype(I, /obj/item/weapon/pen) || istype(I, /obj/item/toy/crayon))
var/t = stripped_input(user, "What would you like the label to be?", name, null, 53)
if(user.get_active_hand() != I)
return
@@ -62,6 +62,11 @@
overlays.Cut()
tagged = 0
/obj/structure/closet/body_bag/update_icon()
..()
if (tagged)
overlays += "bodybag_label"
/obj/structure/closet/body_bag/close()
if(..())
@@ -46,10 +46,6 @@
overlays += "unlocked"
else
overlays += "off"
if(istype(src, /obj/structure/closet/body_bag)) // GUESS WHAT BODY BAGS ARE CLOSETS
var/obj/structure/closet/body_bag/B = src
if (B.tagged)
overlays += "bodybag_label"
else
if(icon_door_override)