mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Fixes a few things
This commit is contained in:
@@ -108,9 +108,13 @@
|
|||||||
|
|
||||||
if(istype(I, /obj/item/weapon/material/ashtray))
|
if(istype(I, /obj/item/weapon/material/ashtray))
|
||||||
var/obj/item/weapon/material/ashtray/A = I
|
var/obj/item/weapon/material/ashtray/A = I
|
||||||
user << "\blue You empty the [A.name]."
|
if(A.contents.len == 0)
|
||||||
|
user.visible_message("<span class='notice'>\The [user] places \the [A.name] into [src].</span>")
|
||||||
|
I.forceMove(src)
|
||||||
|
else
|
||||||
|
user.visible_message("<span class='notice'>\The [user] empties \the [A.name] into [src].</span>")
|
||||||
for(var/obj/item/O in A.contents)
|
for(var/obj/item/O in A.contents)
|
||||||
O.loc = src
|
O.forceMove(src)
|
||||||
A.update_icon()
|
A.update_icon()
|
||||||
update()
|
update()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user