New eat sound (CC BY 3.0) for pets by InspectorJ...

Source: https://freesound.org/people/InspectorJ/sounds/412068/
This commit is contained in:
Jordan Irwin 2019-10-08 22:25:34 -07:00
parent 0a2db48dd5
commit 2bca40ccf5
5 changed files with 5 additions and 2 deletions

BIN
data/sounds/eat-01.flac Normal file

Binary file not shown.

BIN
data/sounds/eat-01.ogg Normal file

Binary file not shown.

View file

@ -49,6 +49,7 @@ Changelog
- sheep
- Added clang-dull-1 to combat "block" sounds
- Added new wind ambiance to Ados Mountain/Rock & Kikareukin maps
- New eat sound for pets
1.31

View file

@ -50,6 +50,7 @@ dog-small-bark-1.* nfrae; CC0; http://freesound.org/people/nfrae/sounds/1
dog-small-bark-2.* nfrae; CC0; http://freesound.org/people/nfrae/sounds/100032/
dog-snarl-1.ogg Lisa Redfern; public domain; http://soundbible.com/2034-Growling-Snarling-Dogs.html
dog-snarl-2.ogg Lisa Redfern; public domain; http://soundbible.com/2034-Growling-Snarling-Dogs.html
eat-01.* Jonathan Shaw (InspectorJ); CC BY 3.0; https://freesound.org/people/InspectorJ/sounds/412068/
elephant-1.* vataaa; CC0; http://www.freesound.org/people/vataaa/sounds/148873/
elephant-2.* vataaa; CC0; http://www.freesound.org/people/vataaa/sounds/148873/
fire-1.* Jordan Irwin (AntumDeluge); CC0; https://opengameart.org/node/16327

View file

@ -12,6 +12,7 @@
***************************************************************************/
package games.stendhal.client.entity;
import games.stendhal.common.constants.SoundLayer;
import marauroa.common.game.RPObject;
/**
@ -57,7 +58,7 @@ public abstract class DomesticAnimal extends NPC {
public void initialize(final RPObject object) {
super.initialize(object);
// TODO: addSounds(SoundLayer.CREATURE_NOISE.groupName, "eat", "eat-1");
addSounds(SoundLayer.CREATURE_NOISE.groupName, "eat", "eat-01");
/*
* Weight
@ -93,7 +94,7 @@ public abstract class DomesticAnimal extends NPC {
weight = changes.getInt("weight");
if (weight > oldWeight) {
// TODO: playRandomSoundFromCategory(SoundLayer.CREATURE_NOISE.groupName, "eat");
playRandomSoundFromCategory(SoundLayer.CREATURE_NOISE.groupName, "eat");
}
fireChange(PROP_WEIGHT);