Suit refactor, fixes and general cleanup (#9862)

This commit is contained in:
Wowzewow (Wezzy)
2020-09-07 16:27:33 +08:00
committed by GitHub
parent bf0e434c9f
commit 2caaaa6f5e
24 changed files with 134 additions and 421 deletions
+1 -3
View File
@@ -53,7 +53,5 @@
if (coat)
if(istype(coat, /obj/item/clothing/suit/storage/toggle))
var/obj/item/clothing/suit/storage/toggle/T = coat
if(T.icon_state == T.icon_open) // avoid icon conflicts
T.icon_state = T.icon_closed
T.item_state = T.icon_closed
T.icon_state = initial(T.icon_state)
add_overlay("coat_[coat.icon_state]")
@@ -348,7 +348,7 @@
/obj/structure/closet/secure_closet/detective/fill()
//Appearance
new /obj/item/clothing/suit/storage/toggle/det_jacket(src)
new /obj/item/clothing/suit/storage/det_jacket(src)
new /obj/item/clothing/under/det(src)
new /obj/item/clothing/under/det/black(src)
new /obj/item/clothing/under/det/classic(src)