ID:174248
 
Let's say I kill somebody... And I want the person I killed (M), to drop all of their contents in their location.. How would I go about doing this?
Thanks in advance^_^
if(M.Health<=0)
if(M.contents.len!=0)
for(var/obj/O in M.contents)
O.Move(M.loc)

Simple as that!
In response to Buzzyboy
Wow, thanks for the fast reply :).