mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Phylactery and holy water additions (#4153)
-picking up a phylactery now gives a message of how this thing might be bad and flickers the lights around you -holy water will now set the undead on fire
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
light_color = "#6633CC"
|
||||
light_power = 3
|
||||
light_range = 4
|
||||
|
||||
|
||||
var/lich = null
|
||||
|
||||
/obj/item/phylactery/Initialize()
|
||||
@@ -150,14 +150,14 @@
|
||||
world_phylactery -= src
|
||||
lich = null
|
||||
return ..()
|
||||
|
||||
|
||||
/obj/item/phylactery/examine(mob/user)
|
||||
..(user)
|
||||
if(!lich)
|
||||
user << "The heart is inert."
|
||||
else
|
||||
user << "The heart is pulsing slowly."
|
||||
|
||||
|
||||
/obj/item/phylactery/attackby(var/obj/item/I, var/mob/user)
|
||||
..()
|
||||
if(istype(I, /obj/item/weapon/nullrod))
|
||||
@@ -165,3 +165,9 @@
|
||||
gibs(src.loc)
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
/obj/item/phylactery/pickup(mob/living/user as mob)
|
||||
if(!user.is_wizard() && src.lich)
|
||||
user << "<span class='warning'>As you pick up \the [src], you feel a wave of dread wash over you.</span>"
|
||||
for(var/obj/machinery/light/P in view(7, user))
|
||||
P.flicker(1)
|
||||
Reference in New Issue
Block a user