mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Empty RPED in disposals
This commit is contained in:
@@ -101,7 +101,16 @@
|
||||
T.update_icon()
|
||||
update()
|
||||
return
|
||||
|
||||
|
||||
if(istype(I, /obj/item/weapon/storage/part_replacer))
|
||||
var/obj/item/weapon/storage/part_replacer/P = I
|
||||
if(P.contents.len)
|
||||
user << "\blue You empty the RPED's contents."
|
||||
for(var/obj/item/O in P.contents)
|
||||
P.remove_from_storage(O,src)
|
||||
update()
|
||||
return
|
||||
|
||||
var/obj/item/weapon/grab/G = I
|
||||
if(istype(G)) // handle grabbed mob
|
||||
if(ismob(G.affecting))
|
||||
|
||||
Reference in New Issue
Block a user