Adds a squeak emote (#7871)
* Adds a squeak emote Adds a cute squeak for insects * Update cit_emotes.dm * tabbed up last line, changed emote message. * Changed spaces from tabs, fixed compiling issues I don't know why they were spaces, should fix Compiling issues * Fixed tab stuff AGAIN Compiling should work now?? * Made audio file louder It was too quiet * Delete mothsqueak.ogg * Fixed the audio on the .ogg was too quiet * Fixed / at the end and removed if human * fixed indentation stuff again again
This commit is contained in:
committed by
kevinz000
parent
4c904ee5e6
commit
e6b9c9c441
@@ -194,4 +194,19 @@
|
||||
user.apply_damage(20, BRUTE, def_zone)
|
||||
if(luck >= 95)
|
||||
user.adjustBrainLoss(100)
|
||||
. = ..()
|
||||
. = ..()
|
||||
|
||||
|
||||
/datum/emote/living/mothsqueak
|
||||
key = "msqueak"
|
||||
key_third_person = "lets out a tiny squeak"
|
||||
message = "lets out a tiny squeak!"
|
||||
emote_type = EMOTE_AUDIBLE
|
||||
mob_type_allowed_typecache = list(/mob/living/carbon)
|
||||
|
||||
/datum/emote/living/mothsqueak/run_emote(mob/living/user, params)
|
||||
if(user.nextsoundemote >= world.time)
|
||||
return
|
||||
user.nextsoundemote = world.time + 7
|
||||
playsound(user, 'modular_citadel/sound/voice/mothsqueak.ogg', 50, 1, -1)
|
||||
. = ..()
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user