Datumizes Wizards (#24702)

* fucking wizards

* this too

* this

* i think thats it

* okay lets do this

* remove commented code

* gdn review

* welp

* fix runtime

* yes

* lewc review
This commit is contained in:
Contrabang
2024-03-21 20:56:55 +00:00
committed by GitHub
parent f947204550
commit 323d23acc9
21 changed files with 417 additions and 399 deletions
+2 -2
View File
@@ -150,7 +150,7 @@
/obj/item/dice/d20/fate/diceroll(mob/user)
. = ..()
if(!used)
if(!ishuman(user) || !user.mind || (user.mind in SSticker.mode.wizards))
if(!ishuman(user) || !user.mind || iswizard(user))
to_chat(user, "<span class='warning'>You feel the magic of the dice is restricted to ordinary humans!</span>")
return
@@ -163,7 +163,7 @@
addtimer(CALLBACK(src, PROC_REF(effect), user, .), 1 SECONDS)
/obj/item/dice/d20/fate/equipped(mob/user, slot)
if(!ishuman(user) || !user.mind || (user.mind in SSticker.mode.wizards))
if(!ishuman(user) || !user.mind || iswizard(user))
to_chat(user, "<span class='warning'>You feel the magic of the dice is restricted to ordinary humans! You should leave it alone.</span>")
user.unEquip(src)
+1 -1
View File
@@ -58,7 +58,7 @@
..()
/obj/item/staff/broom/dropped(mob/user)
if((user.mind in SSticker.mode.wizards) && user.flying)
if(iswizard(user) && user.flying)
user.flying = FALSE
..()