From 8de3503b13d4c3f549bd3c2ea1d796ba0b0de275 Mon Sep 17 00:00:00 2001 From: Archie Date: Fri, 4 Jun 2021 15:50:47 -0300 Subject: [PATCH] Revert "broken" This reverts commit b1cb8dc08336c23da4bc61696905d56efb59b822. --- code/game/objects/items/storage/fancy.dm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/code/game/objects/items/storage/fancy.dm b/code/game/objects/items/storage/fancy.dm index 32bf2823..8754a2cc 100644 --- a/code/game/objects/items/storage/fancy.dm +++ b/code/game/objects/items/storage/fancy.dm @@ -281,7 +281,6 @@ w_class = WEIGHT_CLASS_TINY icon = 'icons/obj/cigarettes.dmi' icon_state = "cig_paper_pack" - ///The value in here has NOTHING to do with icons. It needs to be this for the proper examine. icon_type = "rolling paper" spawn_type = /obj/item/rollingpaper price = 2 @@ -292,14 +291,10 @@ STR.max_items = 10 STR.can_hold = typecacheof(list(/obj/item/rollingpaper)) -///Overrides to do nothing because fancy boxes are fucking insane. -/obj/item/storage/fancy/rollingpapers/update_icon_state() - return - -/obj/item/storage/fancy/rollingpapers/update_overlays() - . = ..() +/obj/item/storage/fancy/rollingpapers/update_icon() + cut_overlays() if(!contents.len) - . += "[icon_state]_empty" + add_overlay("[icon_state]_empty") ///////////// //CIGAR BOX//