mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
Adds atom/movable cloaking framework
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user