mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Changes teleportation scroll and spellbook to be only usable by wizards
This commit is contained in:
@@ -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>"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user