The Rollable Cigs and Chews Update (#7631)

This commit is contained in:
Wowzewow (Wezzy)
2019-12-20 23:48:17 +01:00
committed by Werner
parent 203b4a92a8
commit ff25557eb8
30 changed files with 563 additions and 118 deletions
@@ -41,7 +41,7 @@
/obj/item/material/ashtray/attackby(obj/item/W as obj, mob/user as mob)
if (health <= 0)
return
if (istype(W,/obj/item/cigbutt) || istype(W,/obj/item/clothing/mask/smokable/cigarette) || istype(W, /obj/item/flame/match))
if (istype(W,/obj/item/trash/cigbutt) || istype(W,/obj/item/clothing/mask/smokable/cigarette) || istype(W, /obj/item/flame/match))
if (contents.len >= max_butts)
to_chat(user, "\The [src] is full.")
return