Invisibility GM tool and Glamour Mob (#18095)

* Invisibility GM tool and Glamour Mob

Added a new plane for event use, with the intent of making it so that only specific players can see things on it.

Added two new buttons to player effects, one to make something move to  the new invisible plane and another to allow a player to see things on that plane.

Added a new mob that takes advantage of this new plane to be only visible to one player at a time.

* Wrong way round.

* Catalogue
This commit is contained in:
SatinIsle
2025-08-04 02:53:22 +01:00
committed by GitHub
parent d60a0e1546
commit ec44f9afc8
8 changed files with 241 additions and 1 deletions
+22
View File
@@ -604,6 +604,28 @@
var/mob/living/silicon/robot/Tar = target
add_verb(Tar, /mob/living/silicon/robot/proc/ColorMate)
if("be_event_invis")
var/mob/living/Tar = target
if(!istype(Tar)) //Technically does not need this restriction, but prevents ghosts accidentally being placed in mob layer
return
if(Tar.plane != PLANE_INVIS_EVENT)
Tar.plane = PLANE_INVIS_EVENT
if(!(VIS_EVENT_INVIS in Tar.vis_enabled))
Tar.plane_holder.set_vis(VIS_EVENT_INVIS,TRUE)
Tar.vis_enabled += VIS_EVENT_INVIS
else
Tar.plane = MOB_LAYER
if(VIS_EVENT_INVIS in Tar.vis_enabled)
Tar.plane_holder.set_vis(VIS_EVENT_INVIS,FALSE)
Tar.vis_enabled -= VIS_EVENT_INVIS
if("see_event_invis")
if(!(VIS_EVENT_INVIS in target.vis_enabled))
target.plane_holder.set_vis(VIS_EVENT_INVIS,TRUE)
target.vis_enabled += VIS_EVENT_INVIS
else if(VIS_EVENT_INVIS in target.vis_enabled)
target.plane_holder.set_vis(VIS_EVENT_INVIS,FALSE)
target.vis_enabled -= VIS_EVENT_INVIS
////////INVENTORY//////////////