Adds deathsound for Silicons

This commit is contained in:
Arkatos1
2019-04-19 22:04:33 +02:00
parent 617b8835d7
commit 918bee37d3
3 changed files with 7 additions and 0 deletions
+6
View File
@@ -42,3 +42,9 @@
animation.icon = 'icons/mob/mob.dmi'
animation.master = src
QDEL_IN(animation, 15)
/mob/living/silicon/death(gibbed)
. = ..()
if(!gibbed)
if(death_sound)
playsound(get_turf(src), death_sound, 200, 1)
@@ -19,6 +19,7 @@
var/speak_exclamation = "declares"
var/speak_query = "queries"
var/pose //Yes, now AIs can pose too.
var/death_sound = 'sound/voice/borg_deathsound.ogg'
//var/sensor_mode = 0 //Determines the current HUD.