Fixes Nico-Tine Box (#13968)

This commit is contained in:
Wowzewow (Wezzy)
2022-05-16 21:30:13 +02:00
committed by GitHub
parent 4d2df3f9c0
commit 6f6fcb0043
2 changed files with 45 additions and 2 deletions
@@ -172,7 +172,10 @@
use_sound = 'sound/items/storage/box.ogg'
/obj/item/storage/box/fancy/chewables/tobacco/update_icon()
icon_state = "[initial(icon_state)][contents.len]"
if(opened) //use the open icon.
icon_state = "[initial(icon_state)][contents.len]"
else
icon_state = "[initial(icon_state)]" // closed
//loose leaf
@@ -211,4 +214,3 @@
starts_with = list(/obj/item/reagent_containers/food/snacks/grown/dried_tobacco/pure = 8)
icon_state = "roll_nico"
item_state = "Epacket"