Files
CHOMPStation2/code/game/objects/effects/blockers_yw.dm
2020-08-12 21:50:42 -04:00

12 lines
382 B
Plaintext

//simple mob blocker to use in VR to stop mobs from going through
/obj/effect/mobblocker
name = "Mob blocker"
desc = "Blocks simple mobs from going through"
icon = 'icons/effects/effects.dmi'
icon_state = "directional_shield"
anchored = TRUE
/obj/effect/mobblocker/CanPass(atom/movable/mover, turf/target)
if(istype(mover, /mob/living/simple_mob))
return FALSE
return TRUE