Completely get rid of hard-coded ghosts. A default creature is defined, which new players spawn as. Each creature can become any specific creature upon death (players only). Creatures with the "reincarnate" property can possess mobs.