mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-07-19 03:56:32 +01: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 |