Merge pull request #6727 from listerla/dwoop

Adds a *dwoop emote
This commit is contained in:
Atermonera
2020-02-24 13:12:32 -08:00
committed by VirgoBot
parent bfa123c1f0
commit 940ca147be
3 changed files with 23 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
m_type = 1 m_type = 1
//Machine-only emotes //Machine-only emotes
if("ping", "beep", "buzz", "yes", "ye", "no", "rcough", "rsneeze") if("ping", "beep", "buzz", "yes", "ye", "dwoop", "no", "rcough", "rsneeze")
if(!isSynthetic()) if(!isSynthetic())
to_chat(src, "<span class='warning'>You are not a synthetic.</span>") to_chat(src, "<span class='warning'>You are not a synthetic.</span>")
@@ -56,6 +56,9 @@
else if(act == "yes" || act == "ye") else if(act == "yes" || act == "ye")
display_msg = "emits an affirmative blip" display_msg = "emits an affirmative blip"
use_sound = 'sound/machines/synth_yes.ogg' use_sound = 'sound/machines/synth_yes.ogg'
else if(act == "dwoop")
display_msg = "chirps happily"
use_sound = 'sound/machines/dwoop.ogg'
else if(act == "no") else if(act == "no")
display_msg = "emits a negative blip" display_msg = "emits a negative blip"
use_sound = 'sound/machines/synth_no.ogg' use_sound = 'sound/machines/synth_no.ogg'
@@ -729,7 +732,7 @@
to_chat(src, "blink, blink_r, blush, bow-(none)/mob, burp, choke, chuckle, clap, collapse, cough, cry, custom, deathgasp, drool, eyebrow, fastsway/qwag, \ to_chat(src, "blink, blink_r, blush, bow-(none)/mob, burp, choke, chuckle, clap, collapse, cough, cry, custom, deathgasp, drool, eyebrow, fastsway/qwag, \
frown, gasp, giggle, glare-(none)/mob, grin, groan, grumble, handshake, hug-(none)/mob, laugh, look-(none)/mob, moan, mumble, nod, pale, point-atom, \ frown, gasp, giggle, glare-(none)/mob, grin, groan, grumble, handshake, hug-(none)/mob, laugh, look-(none)/mob, moan, mumble, nod, pale, point-atom, \
raise, salute, scream, sneeze, shake, shiver, shrug, sigh, signal-#1-10, slap-(none)/mob, smile, sneeze, sniff, snore, stare-(none)/mob, stopsway/swag, sway/wag, swish, tremble, twitch, \ raise, salute, scream, sneeze, shake, shiver, shrug, sigh, signal-#1-10, slap-(none)/mob, smile, sneeze, sniff, snore, stare-(none)/mob, stopsway/swag, sway/wag, swish, tremble, twitch, \
twitch_v, vomit, whimper, wink, yawn. Synthetics: beep, buzz, yes, no, rcough, rsneeze, ping") twitch_v, vomit, whimper, wink, yawn. Synthetics: beep, buzz, yes, no, rcough, rsneeze, ping, dwoop")
else else
to_chat(src, "<font color='blue'>Unusable emote '[act]'. Say *help or *vhelp for a list.</font>") //VOREStation Edit, mention *vhelp for Virgo-specific emotes located in emote_vr.dm. to_chat(src, "<font color='blue'>Unusable emote '[act]'. Say *help or *vhelp for a list.</font>") //VOREStation Edit, mention *vhelp for Virgo-specific emotes located in emote_vr.dm.

View File

@@ -202,6 +202,23 @@
playsound(src.loc, 'sound/machines/synth_yes.ogg', 50, 0) playsound(src.loc, 'sound/machines/synth_yes.ogg', 50, 0)
m_type = 1 m_type = 1
if("dwoop")
var/M = null
if(param)
for (var/mob/A in view(null, null))
M = A
break
if(!M)
param = null
if (param)
message = "chirps happily at [param]"
else
message = "chirps happily."
playsound(src.loc, 'sound/machines/dwoop.ogg', 50, 0)
m_type = 1
if("no") if("no")
var/M = null var/M = null
if(param) if(param)
@@ -238,7 +255,7 @@
to_chat(src, "You are not security.") to_chat(src, "You are not security.")
if ("help") if ("help")
to_chat(src, "salute, bow-(none)/mob, clap, flap, aflap, twitch, twitch_s, nod, deathgasp, glare-(none)/mob, stare-(none)/mob, look, beep, ping, \nbuzz, law, halt, yes, no") to_chat(src, "salute, bow-(none)/mob, clap, flap, aflap, twitch, twitch_s, nod, deathgasp, glare-(none)/mob, stare-(none)/mob, look, beep, ping, \nbuzz, law, halt, yes, dwoop, no")
else else
to_chat(src, "<font color='blue'>Unusable emote '[act]'. Say *help for a list.</font>") to_chat(src, "<font color='blue'>Unusable emote '[act]'. Say *help for a list.</font>")

BIN
sound/machines/dwoop.ogg Normal file

Binary file not shown.