Does some stuff
Merge pull request #473 from Niknakflak/AIcoredeath

AIs. New core, AI death specific.