ID:170110
 
I'm using an applied version of Wizkidd0123's equipment demo in a little game I'm making. I was wondering what sort of proc I would need in order to make a player drop all their stuff, equipped or not, whenever they die.

I was thinking of maybe looping through their contents and calling the drop() proc for each item, but I don't know if that'll work, plus, I have no idea of how to do that... help please :(
mob/proc/Die()
for(var/obj/O in src)
if(O.suffix)O.Remove_Equip()
O.Move(src.loc)