Adds atom/movable cloaking framework

This commit is contained in:
Aronai Sieyes
2020-03-23 21:34:32 -04:00
parent afa6aa785e
commit c93c5afefa
11 changed files with 150 additions and 23 deletions
+2 -2
View File
@@ -67,7 +67,7 @@
if(timer > 0)
timer--
if(timer == 20)
uncloak()
reveal()
if(corpse)
new /obj/effect/effect/smoke/chem(corpse.loc)
qdel(corpse)
@@ -86,7 +86,7 @@
makeacorpse(watchowner)
return
/obj/item/weapon/deadringer/proc/uncloak()
/obj/item/weapon/deadringer/proc/reveal()
if(watchowner)
watchowner.alpha = 255
playsound(get_turf(src), 'sound/effects/uncloak.ogg', 35, 1, -1)