Dead bodies are on you!!! I can kill a dead body! in Developer Help
When I make it so that killing an enemy makes a dead body appear I can still attack the corpse.
I also want a way to loot the corpse.
atom/proc/loot(var/mob/looter) if(contents.len == 0) looter << "There is nothing to loot" else for(var/obj/O in contents) O.Move(looter)
if(this.body.dead) //if this body is dead world<<"Leave the dead be [usr.name]!"
mob/verb/Attack(atom/M in oview(1)) if(!M.attackable) usr<<"[M] is not attackable." if(M.attackable) //attack stuff.