Die Sistem
if(src.health <= 0)//the person has died for(var/obj/item in src.contents) item.loc = locate(src.x, src.y, src.z)
Something along those lines.