mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
Ashtray Emptying + Tweaks (#10798)
This commit is contained in:
@@ -163,6 +163,12 @@
|
||||
update()
|
||||
return
|
||||
|
||||
else if (istype (I, /obj/item/material/ashtray) && user.a_intent != I_HURT)
|
||||
var/obj/item/material/ashtray/A = I
|
||||
if(A.emptyout(get_turf(src)))
|
||||
user.visible_message("<b>[user]</b> pours [I] out into [src].", SPAN_NOTICE("You pour [I] out into [src]."))
|
||||
return
|
||||
|
||||
else if (istype (I, /obj/item/device/lightreplacer))
|
||||
var/count = 0
|
||||
var/obj/item/device/lightreplacer/R = I
|
||||
|
||||
Reference in New Issue
Block a user