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:
Ryll Ryll
2020-09-23 01:53:55 -04:00
committed by GitHub
parent 783012d868
commit 80cefef747
15 changed files with 190 additions and 91 deletions
@@ -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)