Merge pull request #9696 from Yoshax/morewizardfixes

Makes scrying orb only usable by wizards
This commit is contained in:
Zuhayr
2015-06-06 05:03:50 +09:30

View File

@@ -13,7 +13,11 @@
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)))
user << "<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'>[user] 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.")
return return