re-adds splatting, but simplified

This commit is contained in:
Kyep
2020-08-12 20:32:26 -07:00
parent e647433537
commit e4bb9d6561
4 changed files with 6 additions and 0 deletions
+1
View File
@@ -64,6 +64,7 @@
var/mob/living/simple_animal/mouse/M = target
visible_message("<span class='danger'>SPLAT!</span>")
M.death()
M.splat()
playsound(loc, 'sound/effects/snap.ogg', 50, 1)
layer = MOB_LAYER - 0.2
armed = FALSE
@@ -124,6 +124,7 @@
if(!M.stat && Adjacent(M))
custom_emote(1, "splats \the [M]!")
M.death()
M.splat()
movement_target = null
stop_automated_movement = 0
break
@@ -101,6 +101,10 @@
desc = "It's toast."
death()
/mob/living/simple_animal/mouse/proc/splat()
icon_dead = "mouse_[mouse_color]_splat"
icon_state = "mouse_[mouse_color]_splat"
/mob/living/simple_animal/mouse/death(gibbed)
// Only execute the below if we successfully died
playsound(src, squeak_sound, 40, 1)