Makes scrying orb only usable by wizards

This commit is contained in:
Yoshax
2015-06-05 18:35:19 +01:00
parent 989f34ad04
commit afe081d836

View File

@@ -13,6 +13,10 @@
hitsound = 'sound/items/welder2.ogg' hitsound = 'sound/items/welder2.ogg'
/obj/item/weapon/scrying/attack_self(mob/user as mob) /obj/item/weapon/scrying/attack_self(mob/user as mob)
if((user.mind && !wizards.is_antagonist(user.mind)))
usr << "<span class='warning'>You stare into the orb and see nothing but your own reflection.</span>"
return
user << "<span class='info'>You can see... everything!</span>" user << "<span class='info'>You can see... everything!</span>"
visible_message("<span class='danger'>[usr] stares into [src], their eyes glazing over.</span>") visible_message("<span class='danger'>[usr] stares into [src], their eyes glazing over.</span>")
announce_ghost_joinleave(user.ghostize(1), 1, "You feel that they used a powerful artifact to [pick("invade","disturb","disrupt","infest","taint","spoil","blight")] this place with their presence.") announce_ghost_joinleave(user.ghostize(1), 1, "You feel that they used a powerful artifact to [pick("invade","disturb","disrupt","infest","taint","spoil","blight")] this place with their presence.")