[MIRROR] Borg clientside door electrification indicator (#12636)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-04-06 04:54:34 -04:00
committed by GitHub
co-authored by Will Cameron Lennox
parent cd1809249d
commit 0a7b224d2f
5 changed files with 27 additions and 3 deletions
@@ -18,6 +18,5 @@
// Mostly for motion echos, but someone will probably find another use for it... So parent type gets it instead!
/image/client_only/proc/place_from_root(var/turf/At)
var/rand_limit = 12
pixel_x += ((At.x - loc.x) * 32) + rand(-rand_limit,rand_limit)
pixel_y += ((At.y - loc.y) * 32) + rand(-rand_limit,rand_limit)
pixel_x = ((At.x - loc.x) * 32)
pixel_y = ((At.y - loc.y) * 32)
@@ -0,0 +1,13 @@
/image/client_only/electrify_notice
plane = PLANE_FULLSCREEN
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
appearance_flags = (RESET_COLOR|PIXEL_SCALE|KEEP_APART)
/image/client_only/electrify_notice/New(icon, loc, icon_state, layer, dir)
. = ..()
QDEL_IN(src, 1 SECOND)
/image/client_only/electrify_notice/place_from_root(var/turf/At)
. = ..()
pixel_y += 8
animate(src, pixel_y = 32, alpha = 0, time = 1 SECOND)
+6
View File
@@ -6,3 +6,9 @@
/image/client_only/motion_echo/New(icon, loc, icon_state, layer, dir)
. = ..()
QDEL_IN(src, 2 SECONDS)
/image/client_only/motion_echo/place_from_root(var/turf/At)
. = ..()
var/rand_limit = 12
pixel_x += rand(-rand_limit,rand_limit)
pixel_y += rand(-rand_limit,rand_limit)