Empty RPED in disposals

This commit is contained in:
Markolie
2014-12-22 17:50:46 +01:00
parent 266b4cb113
commit 1f87145c0b
2 changed files with 11 additions and 2 deletions
+10 -1
View File
@@ -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))