Mobs can be incorporeal (#6791)

* Mobs can be incorporeal

Prevents step noises, getting shot, etc. Basically living ghosts. Feel free to add more places this should check, but I think this is a majority.

* Fix missing incorporeal floatyness
This commit is contained in:
Aronai Sieyes
2020-03-11 01:33:38 -04:00
committed by GitHub
parent 50f798dcc2
commit d391d9ab12
28 changed files with 318 additions and 262 deletions

View File

@@ -185,6 +185,8 @@ steam.start() -- spawns the effect
qdel(src)
/obj/effect/effect/smoke/Crossed(mob/living/carbon/M as mob )
if(M.is_incorporeal())
return
..()
if(istype(M))
affect(M)