Skip to content

Commit 60d46f2

Browse files
authored
Merge pull request #1871 from redmushie/moth-wing-flap
Port moth wing flapping sound from Goobstation
2 parents 9f64ee1 + 4f71f92 commit 60d46f2

6 files changed

Lines changed: 59 additions & 3 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- files:
2+
- moth_flapwings.ogg
3+
license: "CC0-1.0"
4+
copyright: "Originally sourced from https://freesound.org/people/Godowan/sounds/240476/, converted to mono by @deltanedas (GitHub), and leading silence trimmed and slightly amplified by @redmushie (GitHub)"
5+
source: "https://freesound.org/people/Godowan/sounds/240476/"
8.91 KB
Binary file not shown.

Resources/Locale/en-US/_Starlight/chat/emotes.ftl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ chat-emote-name-squawk = Squawk
1313
chat-emote-name-lizardpurr = Purr
1414
chat-emote-name-lizardhiss = Hiss
1515
chat-emote-name-lizardrattle = Rattle
16+
chat-emote-name-flap-wings = Flap wings
1617
1718
# Emote Messages
1819
chat-emote-msg-mew = mews
@@ -32,4 +33,5 @@ chat-emote-msg-call = calls
3233
chat-emote-msg-squawk = squawks
3334
chat-emote-msg-lurr = purrs
3435
chat-emote-msg-liss = hisses
35-
chat-emote-msg-rattle = rattles
36+
chat-emote-msg-rattle = rattles
37+
chat-emote-msg-flap-wings = flaps {POSS-ADJ($entity)} wings.

Resources/Prototypes/Entities/Mobs/Species/moth.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
accent: zombieMoth
3838
- type: Speech
3939
speechVerb: Moth
40-
allowedEmotes: ['Chitter', 'Squeak']
40+
allowedEmotes: ['Chitter', 'Squeak', 'FlapWings']
4141
- type: TypingIndicator
4242
proto: moth
4343
- type: Butcherable
@@ -60,6 +60,8 @@
6060
Male: UnisexMoth
6161
Female: UnisexMoth
6262
Unsexed: UnisexMoth
63+
- type: BodyEmotes # Starlight: Add separate sound set for Moth bodies
64+
soundsId: MothBodyEmotes
6365
- type: MovementSpeedModifier
6466
baseWeightlessAcceleration: 1.5 # Move around more easily in space.
6567
baseWeightlessFriction: 1

Resources/Prototypes/Voice/speech_emote_sounds.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,24 @@
757757
Salute:
758758
collection: Salutes
759759

760+
# Starlight BEGIN: Moths used to just use GenericBodyEmotes
761+
- type: emoteSounds
762+
id: MothBodyEmotes
763+
sounds:
764+
FlapWings: # Starlight: Flap wings
765+
path: /Audio/_Starlight/Voice/Moth/moth_flapwings.ogg
766+
Clap:
767+
collection: Claps
768+
ClapSingle:
769+
collection: ClapSingle
770+
Snap:
771+
collection: Snaps
772+
params:
773+
volume: -6
774+
Salute:
775+
collection: Salutes
776+
# Starlight END
777+
760778
# mobs
761779
- type: emoteSounds
762780
id: Zombie

Resources/Prototypes/_StarLight/Voice/speech_emotes.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,4 +356,33 @@
356356
- rattles
357357
- rattles.
358358
- rattles!
359-
- rattles?
359+
- rattles?
360+
361+
- type: emote
362+
id: FlapWings
363+
name: chat-emote-name-flap-wings
364+
category: Hands
365+
available: false
366+
icon:
367+
sprite: Clothing/Neck/Cloaks/moth.rsi
368+
state: icon
369+
blacklist:
370+
components:
371+
- BorgChassis
372+
chatMessages: ["chat-emote-msg-flap-wings"]
373+
chatTriggers:
374+
- flaps
375+
- flaps.
376+
- flaps!
377+
- flaps his wings
378+
- flaps his wings.
379+
- flaps his wings!
380+
- flaps her wings
381+
- flaps her wings.
382+
- flaps her wings!
383+
- flaps their wings
384+
- flaps their wings.
385+
- flaps their wings!
386+
- flaps its wings
387+
- flaps its wings.
388+
- flaps its wings!

0 commit comments

Comments
 (0)