Merge pull request #11334 from Arkatos1/BorgDeathSound

Adds deathsound for Silicons
This commit is contained in:
variableundefined
2019-04-30 09:57:16 +08:00
committed by GitHub
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.