mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
12 lines
382 B
Plaintext
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 |