Changes teleportation scroll and spellbook to be only usable by wizards

This commit is contained in:
Yoshax
2015-06-04 20:21:31 +01:00
parent 93f9bf7b33
commit c960fad48e
3 changed files with 9 additions and 1 deletions

View File

@@ -14,6 +14,10 @@
/obj/item/weapon/spellbook/attack_self(mob/user = usr)
if(!user)
return
if((user.mind && !wizards.is_antagonist(user.mind)))
usr << "<span class='warning'>You stare at the book but cannot make sense of the markings!</span>"
return
user.set_machine(src)
var/dat
if(temp)