Skip to content

Commit ad0b103

Browse files
Absolucynotghosti
authored andcommitted
hnnnngh colonel im trying to stealthmin but my ghost is DUMMY THICC and the clap of my asscheeks are alerting the griefers (Monkestation#4630)
1 parent e61ab53 commit ad0b103

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

code/modules/admin/admin_verbs.dm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,9 @@ GLOBAL_PROTECT(admin_verbs_poll)
551551
mob.alpha = 0 //JUUUUST IN CASE
552552
mob.name = " "
553553
mob.mouse_opacity = MOUSE_OPACITY_TRANSPARENT
554+
var/image/invisible = image(icon = 'icons/mob/simple/mob.dmi', icon_state = null, loc = mob)
555+
invisible.override = TRUE
556+
mob.add_alt_appearance(/datum/atom_hud/alternate_appearance/basic/actually_everyone, "stealthmin", invisible)
554557

555558
ADD_TRAIT(mob, TRAIT_ORBITING_FORBIDDEN, STEALTH_MODE_TRAIT)
556559
QDEL_NULL(mob.orbiters)
@@ -561,6 +564,7 @@ GLOBAL_PROTECT(admin_verbs_poll)
561564
/client/proc/disable_stealth_mode()
562565
holder.fakekey = null
563566
if(isobserver(mob))
567+
mob.remove_alt_appearance("stealthmin")
564568
mob.invisibility = initial(mob.invisibility)
565569
mob.alpha = initial(mob.alpha)
566570
if(mob.mind)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/datum/atom_hud/alternate_appearance/basic/actually_everyone
2+
3+
/datum/atom_hud/alternate_appearance/basic/actually_everyone/mobShouldSee(mob/M)
4+
return TRUE

tgstation.dme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6011,6 +6011,7 @@
60116011
#include "monkestation\code\datums\wires\mulebot.dm"
60126012
#include "monkestation\code\datums\wires\particle_accelerator.dm"
60136013
#include "monkestation\code\datums\wires\vending.dm"
6014+
#include "monkestation\code\game\alternate_appearance.dm"
60146015
#include "monkestation\code\game\atom.dm"
60156016
#include "monkestation\code\game\say.dm"
60166017
#include "monkestation\code\game\sound.dm"

0 commit comments

Comments
 (0)