Repath a bunch of things to /mob/abstract childtypes (#4111)

* Repaths eyes, observers, dview, and new_players to /mob/abstract subtypes.

* Adds /mob/abstract, a base type for 'abstract' mobs that aren't meant to be directly affected by the game world.
This commit is contained in:
Lohikar
2018-01-24 11:27:14 +01:00
committed by Werner
parent 03dbee0220
commit 0abc1d2a65
139 changed files with 456 additions and 436 deletions
+2 -2
View File
@@ -112,7 +112,7 @@
// Splatter anything under us that survived the explosion.
if(value != SD_EMPTY_TILE && T.contents.len)
for(var/atom/movable/AM in T)
if(AM.simulated && !istype(AM, /mob/dead))
if(AM.simulated && !istype(AM, /mob/abstract))
qdel(AM)
// Also spawn doors and loot.
@@ -173,7 +173,7 @@
else
var/list/candidates = list()
for(var/client/player in clients)
if(player.mob && istype(player.mob, /mob/dead/observer))
if(player.mob && istype(player.mob, /mob/abstract/observer))
candidates |= player
if(!candidates.len)