mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Moves update_icon(). Adds crayons.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user