Skip to content

Commit

Permalink
Merge pull request ParadiseSS13#11334 from Arkatos1/BorgDeathSound
Browse files Browse the repository at this point in the history
Adds deathsound for Silicons
  • Loading branch information
variableundefined authored Apr 30, 2019
2 parents 0cb8fd2 + 918bee3 commit cb3ba0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/modules/mob/living/silicon/death.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions code/modules/mob/living/silicon/silicon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Binary file added sound/voice/borg_deathsound.ogg
Binary file not shown.

0 comments on commit cb3ba0f

Please sign in to comment.