Skip to content

Commit

Permalink
Merge pull request #432 from Glyphee/goblintime
Browse files Browse the repository at this point in the history
Goblintime
  • Loading branch information
dwasint authored Oct 9, 2023
2 parents 82d0881 + 6c1e549 commit 14213c5
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,33 @@
/mob/living/carbon/human/species/goblin
race = /datum/species/goblin

/datum/species/goblin/get_scream_sound(mob/living/carbon/human/human)
if(human.gender == MALE)
if(prob(1))
return 'sound/voice/human/wilhelm_scream.ogg'
return pick(
'sound/voice/human/malescream_1.ogg',
'sound/voice/human/malescream_2.ogg',
'sound/voice/human/malescream_3.ogg',
'sound/voice/human/malescream_4.ogg',
'sound/voice/human/malescream_5.ogg',
'sound/voice/human/malescream_6.ogg',
)

return pick(
'sound/voice/human/femalescream_1.ogg',
'sound/voice/human/femalescream_2.ogg',
'sound/voice/human/femalescream_3.ogg',
'sound/voice/human/femalescream_4.ogg',
'sound/voice/human/femalescream_5.ogg',
)

/datum/species/goblin/get_laugh_sound(mob/living/carbon/human/human)
if(human.gender == MALE)
return pick('sound/voice/human/manlaugh1.ogg', 'sound/voice/human/manlaugh2.ogg')
else
return 'sound/voice/human/womanlaugh.ogg'

/datum/language_holder/goblin
understood_languages = list(/datum/language/common = list(LANGUAGE_ATOM),
/datum/language/goblin = list(LANGUAGE_ATOM))
Expand Down

0 comments on commit 14213c5

Please sign in to comment.