mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-10 23:47:16 +01:00
*chirp and *caw for avians.
emotes.
This commit is contained in:
@@ -75,3 +75,4 @@
|
||||
user.nextsoundemote = world.time + 7
|
||||
playsound(user, 'modular_citadel/sound/voice/speen.ogg', 50, 1, -1)
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
/datum/emote/living/chirp
|
||||
key = "chirp"
|
||||
key_third_person = "chirps!"
|
||||
message = "chirps!"
|
||||
emote_type = EMOTE_AUDIBLE
|
||||
muzzle_ignore = FALSE
|
||||
restraint_check = FALSE
|
||||
mob_type_allowed_typecache = list(/mob/living/carbon, /mob/living/silicon/pai)
|
||||
|
||||
/datum/emote/living/chirp/run_emote(mob/living/user, params)
|
||||
if(!(. = ..()))
|
||||
return
|
||||
if(user.nextsoundemote >= world.time)
|
||||
return
|
||||
user.nextsoundemote = world.time + 7
|
||||
playsound(user, 'sound/voice/chirp.ogg', 50, 1, -1)
|
||||
|
||||
/datum/emote/living/caw
|
||||
key = "caw"
|
||||
key_third_person = "caws!"
|
||||
message = "caws!"
|
||||
emote_type = EMOTE_AUDIBLE
|
||||
muzzle_ignore = FALSE
|
||||
restraint_check = FALSE
|
||||
mob_type_allowed_typecache = list(/mob/living/carbon, /mob/living/silicon/pai)
|
||||
|
||||
/datum/emote/living/chirp/run_emote(mob/living/user, params)
|
||||
if(!(. = ..()))
|
||||
return
|
||||
if(user.nextsoundemote >= world.time)
|
||||
return
|
||||
user.nextsoundemote = world.time + 7
|
||||
playsound(user, 'sound/voice/caw.ogg', 50, 1, -1)
|
||||
Binary file not shown.
Binary file not shown.
@@ -3064,6 +3064,7 @@
|
||||
#include "hyperstation\code\hyperbot\hyperbot.dm"
|
||||
#include "hyperstation\code\mobs\carrion.dm"
|
||||
#include "hyperstation\code\mobs\dancer.dm"
|
||||
#include "hyperstation\code\mobs\emote.dm"
|
||||
#include "hyperstation\code\mobs\hugbot.dm"
|
||||
#include "hyperstation\code\mobs\mimic.dm"
|
||||
#include "hyperstation\code\mobs\werewolf.dm"
|
||||
|
||||
Reference in New Issue
Block a user