Skip to content

Commit

Permalink
[MIRROR] new ghost verb
Browse files Browse the repository at this point in the history
  • Loading branch information
cuddleandtea authored and SierraHelper committed Nov 19, 2023
1 parent 5c830c6 commit 6c12b58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/mob/observer/ghost/ghost.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6c12b58

Please sign in to comment.