From 6c12b58f64a771859d49c9185baa93fb0974f27c Mon Sep 17 00:00:00 2001 From: cuddleandtea <105150564+cuddleandtea@users.noreply.github.com> Date: Sun, 19 Nov 2023 16:12:15 +0300 Subject: [PATCH] [MIRROR] new ghost verb --- code/modules/mob/observer/ghost/ghost.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/mob/observer/ghost/ghost.dm b/code/modules/mob/observer/ghost/ghost.dm index 01ea6a7d8b7e9..edc35e49ecd79 100644 --- a/code/modules/mob/observer/ghost/ghost.dm +++ b/code/modules/mob/observer/ghost/ghost.dm @@ -472,6 +472,13 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp updateghostsight() to_chat(src, "You [(ghostvision?"now":"no longer")] have ghost vision.") +/mob/observer/ghost/verb/set_ghost_alpha() + set name = "Set Ghost Alpha" + set desc = "Giving you option to enter value for custom ghost transparency" + set category = "Ghost" + alpha = alpha == 127 ? 0 : 127 + mouse_opacity = alpha ? 1 : 0 + /mob/observer/ghost/verb/toggle_darkness() set name = "Toggle Darkness" set category = "Ghost"