mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
*pain
AAWHG! Adds pain emote and respective sounds for male and female
This commit is contained in:
@@ -300,3 +300,24 @@
|
||||
user.nextsoundemote = world.time + 7
|
||||
var/sound = pick('sound/voice/slime_squish.ogg')
|
||||
playsound(user, sound, 50, 1, -1)
|
||||
|
||||
/datum/emote/living/pain
|
||||
key = "pain"
|
||||
key_third_person = "cries out in pain!"
|
||||
message = "cries out in pain!"
|
||||
emote_type = EMOTE_AUDIBLE
|
||||
muzzle_ignore = FALSE
|
||||
restraint_check = FALSE
|
||||
|
||||
/datum/emote/living/pain/run_emote(mob/living/user, params)
|
||||
if(!(. = ..()))
|
||||
return
|
||||
if(user.nextsoundemote >= world.time)
|
||||
return
|
||||
user.nextsoundemote = world.time + 7
|
||||
var/sound
|
||||
if(user.gender == MALE)
|
||||
sound = pick('modular_citadel/sound/voice/human_male_pain_1.ogg', 'modular_citadel/sound/voice/human_male_pain_2.ogg', 'modular_citadel/sound/voice/human_male_pain_3.ogg', 'modular_citadel/sound/voice/human_male_pain_rare.ogg')
|
||||
else
|
||||
sound = pick('modular_citadel/sound/voice/human_female_pain_1.ogg', 'modular_citadel/sound/voice/human_female_pain_2.ogg', 'modular_citadel/sound/voice/human_female_pain_3.ogg')
|
||||
playsound(user, sound, 50, 0, 0)
|
||||
BIN
modular_citadel/sound/voice/human_female_pain_1.ogg
Normal file
BIN
modular_citadel/sound/voice/human_female_pain_1.ogg
Normal file
Binary file not shown.
BIN
modular_citadel/sound/voice/human_female_pain_2.ogg
Normal file
BIN
modular_citadel/sound/voice/human_female_pain_2.ogg
Normal file
Binary file not shown.
BIN
modular_citadel/sound/voice/human_female_pain_3.ogg
Normal file
BIN
modular_citadel/sound/voice/human_female_pain_3.ogg
Normal file
Binary file not shown.
BIN
modular_citadel/sound/voice/human_male_pain_1.ogg
Normal file
BIN
modular_citadel/sound/voice/human_male_pain_1.ogg
Normal file
Binary file not shown.
BIN
modular_citadel/sound/voice/human_male_pain_2.ogg
Normal file
BIN
modular_citadel/sound/voice/human_male_pain_2.ogg
Normal file
Binary file not shown.
BIN
modular_citadel/sound/voice/human_male_pain_3.ogg
Normal file
BIN
modular_citadel/sound/voice/human_male_pain_3.ogg
Normal file
Binary file not shown.
BIN
modular_citadel/sound/voice/human_male_pain_rare.ogg
Normal file
BIN
modular_citadel/sound/voice/human_male_pain_rare.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user