more work

This commit is contained in:
Metis
2024-09-13 01:50:58 -04:00
parent 8fd779ef02
commit 7b0780804f
320 changed files with 12185 additions and 161 deletions
+17
View File
@@ -0,0 +1,17 @@
/obj/item/ashtray
name = "ashtray"
icon = 'hyperstation/icons/obj/objects.dmi'
icon_state = "ashtray"
/obj/item/ashtray/attackby(obj/item/I, mob/user, params)
if (istype(I,/obj/item/clothing/mask/cigarette/))
var/obj/item/clothing/mask/cigarette/cig = I
if (cig.lit == 1)
src.visible_message("[user] crushes [cig] in \the [src], putting it out.")
else if (cig.lit == 0)
to_chat(user, "You place [cig] in [src].")
qdel(cig) //drop it in.
if (istype(I,/obj/item/cigbutt))
to_chat(user, "You place [I] in [src].")
qdel(I) //drop it in.