mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
13 lines
383 B
Plaintext
13 lines
383 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
|