mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Allows ashtrays to go in the trash.
This commit is contained in:
@@ -108,10 +108,7 @@
|
||||
|
||||
if(istype(I, /obj/item/weapon/material/ashtray))
|
||||
var/obj/item/weapon/material/ashtray/A = I
|
||||
if(A.contents.len == 0)
|
||||
user.visible_message("<span class='notice'>\The [user] places \the [A.name] into [src].</span>")
|
||||
I.forceMove(src)
|
||||
else
|
||||
if(A.contents.len > 0)
|
||||
user.visible_message("<span class='notice'>\The [user] empties \the [A.name] into [src].</span>")
|
||||
for(var/obj/item/O in A.contents)
|
||||
O.forceMove(src)
|
||||
|
||||
Reference in New Issue
Block a user