code/modules/mob_spawn/mob_spawn.dm

/obj/effect/mob_spawn/ghost_role | these mob spawn subtypes do not trigger until attacked by a ghost. |
---|---|
/obj/effect/mob_spawn/corpse | these mob spawn subtypes trigger immediately (New or Initialize) and are not player controlled... since they're dead, you know? |