Add asp sound effects

This commit is contained in:
Aylana 2021-07-15 20:15:36 +02:00
parent ad2cf88e33
commit a3da5b31d6
6 changed files with 33 additions and 0 deletions

View File

@ -1045,5 +1045,24 @@
],
threshold: 1.0,
),
Utterance(Angry, Asp): (
files: [
"voxygen.audio.sfx.utterance.asp_angry1",
"voxygen.audio.sfx.utterance.asp_angry2",
],
threshold: 1.0,
),
Utterance(Calm, Asp): (
files: [
"voxygen.audio.sfx.utterance.asp_calm1",
],
threshold: 1.0,
),
Utterance(Hurt, Asp): (
files: [
"voxygen.audio.sfx.utterance.asp_hurt1",
],
threshold: 1.0,
),
}
)

BIN
assets/voxygen/audio/sfx/utterance/asp_angry1.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/sfx/utterance/asp_angry2.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/sfx/utterance/asp_calm1.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/sfx/utterance/asp_hurt1.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -211,6 +211,7 @@ pub enum VoiceKind {
Cat,
Goat,
Mandragora,
Asp,
}
fn body_to_voice(body: &Body) -> Option<VoiceKind> {
@ -222,6 +223,7 @@ fn body_to_voice(body: &Body) -> Option<VoiceKind> {
Body::QuadrupedLow(body) => match body.species {
quadruped_low::Species::Maneater => VoiceKind::Maneater,
quadruped_low::Species::Alligator => VoiceKind::Alligator,
quadruped_low::Species::Asp => VoiceKind::Asp,
_ => return None,
},
Body::QuadrupedSmall(body) => match body.species {