mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Fixes projectile impacts + messages, embedding, adds deployable landmines (#53436)
* icon and alert anim * hmm * projectile and embed fixes * cap mine * clean up, fix some issues with projectile embeds * light * doc * icon * awkward * icon again
This commit is contained in:
@@ -52,12 +52,13 @@
|
||||
if(!L.stat)
|
||||
if(!L.incapacitated(ignore_restraints = 1))
|
||||
L.face_atom(src)
|
||||
L.do_alert_animation(L)
|
||||
L.do_alert_animation()
|
||||
playsound(loc, 'sound/machines/chime.ogg', 50, FALSE, -5)
|
||||
|
||||
/mob/living/proc/do_alert_animation(atom/A)
|
||||
var/image/I = image('icons/obj/closet.dmi', A, "cardboard_special", A.layer+1)
|
||||
flick_overlay_view(I, A, 8)
|
||||
/// Does the MGS ! animation
|
||||
/atom/proc/do_alert_animation()
|
||||
var/image/I = image('icons/obj/closet.dmi', src, "cardboard_special", layer+1)
|
||||
flick_overlay_view(I, src, 8)
|
||||
I.alpha = 0
|
||||
animate(I, pixel_z = 32, alpha = 255, time = 5, easing = ELASTIC_EASING)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user