[MIRROR] Invisibility GM tool and Glamour Mob (#11296)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-04 15:36:30 -07:00
committed by GitHub
parent ffcfc7b170
commit 399e4948e8
8 changed files with 241 additions and 1 deletions

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//////////////