Makes no_den_usage only on door wand again

This commit is contained in:
Daylight
2020-05-02 15:46:59 +03:00
parent ac0c227b21
commit 83ab08bae9
+3 -1
View File
@@ -42,7 +42,7 @@
to_chat(user, "<span class='warning'>You know better than to violate the security of The Den, best wait until you leave to use [src].</span>")
return
else
no_den_usage = 0
no_den_usage = FALSE
zap_self(user)
else
..()
@@ -119,6 +119,7 @@
ammo_type = /obj/item/ammo_casing/magic/teleport
icon_state = "telewand"
max_charges = 10 //10, 5, 5, 4
no_den_usage = TRUE
fire_sound = 'sound/magic/wand_teleport.ogg'
/obj/item/gun/magic/wand/teleport/zap_self(mob/living/user)
@@ -140,6 +141,7 @@
fire_sound = 'sound/magic/staff_door.ogg'
icon_state = "doorwand"
max_charges = 20 //20, 10, 10, 7
no_den_usage = TRUE
/obj/item/gun/magic/wand/door/zap_self(mob/living/user)
to_chat(user, "<span class='notice'>You feel vaguely more open with your feelings.</span>")