Merge pull request #9675 from Yoshax/furtherwizardfixes

Changes teleportation scroll and spellbook to be only usable by wizards
This commit is contained in:
PsiOmegaDelta
2015-06-04 21:30:08 +02:00
3 changed files with 9 additions and 1 deletions
@@ -11,6 +11,10 @@
origin_tech = list(TECH_BLUESPACE = 4)
/obj/item/weapon/teleportation_scroll/attack_self(mob/user as mob)
if((user.mind && !wizards.is_antagonist(user.mind)))
usr << "<span class='warning'>You stare at the scroll but cannot make sense of the markings!</span>"
return
user.set_machine(src)
var/dat = "<B>Teleportation Scroll:</B><BR>"
dat += "Number of uses: [src.uses]<BR>"
+4
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)
+1 -1
View File
@@ -2,4 +2,4 @@ author: Yoshax
delete-after: True
changes:
- tweak: "Makes the special wizard projectile staffs, Animate, Change, Focus and any future ones only usable by wizards.."
- tweak: "Makes the special wizard projectile staffs, Animate, Change, Focus and any future ones only usable by wizards. Also makes it so only wizards can use spellbooks and teleportation scrolls."