mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 11:31:51 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user