27 lines
986 B
Plaintext
27 lines
986 B
Plaintext
//Marks the point at which "no man's land" begins on Reebe. Servants can't pass beyond this point in any way.
|
|
/obj/effect/clockwork/servant_blocker
|
|
name = "glowing arrow"
|
|
desc = "A faintly glowing image of an arrow on the ground. Convenient!"
|
|
icon_state = "servant_blocker"
|
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
|
density = TRUE
|
|
|
|
/obj/effect/clockwork/servant_blocker/Destroy(force)
|
|
if(!force)
|
|
return
|
|
. = ..()
|
|
|
|
/obj/effect/clockwork/servant_blocker/CanPass(atom/movable/M, turf/target)
|
|
var/list/target_contents = M.GetAllContents() + M
|
|
for(var/mob/living/L in target_contents)
|
|
if(is_servant_of_ratvar(L) && get_dir(M, src) != dir) //Unless we're on the side the arrow is pointing directly away from, no-go
|
|
to_chat(L, "<span class='danger'>The space beyond here can't be accessed by you or other servants.</span>")
|
|
return
|
|
return TRUE
|
|
|
|
/obj/effect/clockwork/servant_blocker/singularity_act()
|
|
return
|
|
|
|
/obj/effect/clockwork/servant_blocker/singularity_pull()
|
|
return
|