From 7195b5bc033e56f50a8e42269d4a92547b5b2595 Mon Sep 17 00:00:00 2001 From: Lucy Date: Fri, 20 Dec 2024 17:31:59 -0500 Subject: [PATCH] hnnnngh colonel im trying to stealthmin but my ghost is DUMMY THICC and the clap of my asscheeks are alerting the griefers --- code/modules/admin/admin_verbs.dm | 4 ++++ monkestation/code/game/alternate_appearance.dm | 4 ++++ tgstation.dme | 1 + 3 files changed, 9 insertions(+) create mode 100644 monkestation/code/game/alternate_appearance.dm diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 21a8ed975fdd..1c5bd2a86d9f 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -551,6 +551,9 @@ GLOBAL_PROTECT(admin_verbs_poll) mob.alpha = 0 //JUUUUST IN CASE mob.name = " " mob.mouse_opacity = MOUSE_OPACITY_TRANSPARENT + var/image/invisible = image(icon = 'icons/mob/simple/mob.dmi', icon_state = null, loc = mob) + invisible.override = TRUE + mob.add_alt_appearance(/datum/atom_hud/alternate_appearance/basic/actually_everyone, "stealthmin", invisible) ADD_TRAIT(mob, TRAIT_ORBITING_FORBIDDEN, STEALTH_MODE_TRAIT) QDEL_NULL(mob.orbiters) @@ -561,6 +564,7 @@ GLOBAL_PROTECT(admin_verbs_poll) /client/proc/disable_stealth_mode() holder.fakekey = null if(isobserver(mob)) + mob.remove_alt_appearance("stealthmin") mob.invisibility = initial(mob.invisibility) mob.alpha = initial(mob.alpha) if(mob.mind) diff --git a/monkestation/code/game/alternate_appearance.dm b/monkestation/code/game/alternate_appearance.dm new file mode 100644 index 000000000000..13e355f60e43 --- /dev/null +++ b/monkestation/code/game/alternate_appearance.dm @@ -0,0 +1,4 @@ +/datum/atom_hud/alternate_appearance/basic/actually_everyone + +/datum/atom_hud/alternate_appearance/basic/actually_everyone/mobShouldSee(mob/M) + return TRUE diff --git a/tgstation.dme b/tgstation.dme index 56fa38aa8976..72f3359a4660 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -6009,6 +6009,7 @@ #include "monkestation\code\datums\wires\mulebot.dm" #include "monkestation\code\datums\wires\particle_accelerator.dm" #include "monkestation\code\datums\wires\vending.dm" +#include "monkestation\code\game\alternate_appearance.dm" #include "monkestation\code\game\atom.dm" #include "monkestation\code\game\say.dm" #include "monkestation\code\game\sound.dm"