steamhiss sound

This commit is contained in:
Zeno Rogue 2017-10-10 14:59:19 +02:00
parent 135e3cd336
commit 680db1be32
3 changed files with 5 additions and 1 deletions

View File

@ -2467,9 +2467,12 @@ void checkTide(cell *c) {
int id = alchemyval(c, 0);
if(id < 96) {
if(c->wall == waNone || isWateryOrBoat(c) || c->wall == waVinePlant) {
if(isWateryOrBoat(c))
playSound(c, "steamhiss");
c->wall = waMagma;
if(itemBurns(c->item)) {
addMessage(XLAT("%The1 burns!", c->item)), c->item = itNone;
playSound(c, "steamhiss", 30);
}
}
}
@ -5296,11 +5299,11 @@ void moverefresh(bool turn = true) {
else if(c->wall == waMagma) {
if(c->monst == moSalamander) c->stuntime = max<int>(c->stuntime, 1);
else if(c->monst && !survivesPoison(c->monst, c->wall)) {
playSound(c, "splash"+pick12());
if(isNonliving(c->monst))
addMessage(XLAT("%The1 is destroyed by lava!", c->monst));
else
addMessage(XLAT("%The1 is killed by lava!", c->monst));
playSound(c, "steamhiss", 70);
fallMonster(c, AF_FALL);
}
}

View File

@ -66,6 +66,7 @@ click: https://www.freesound.org/people/KorgMS2000B/sounds/54406/
pickup-mirror: https://www.freesound.org/people/wjl/sounds/267889/
message-roar: https://www.freesound.org/people/JoelAudio/sounds/85568/
opengate: https://www.freesound.org/people/Qat/sounds/107640/
steamhiss: http://freesound.org/people/toiletrolltube/sounds/181488/
from Freesounds, under the CC BY 3.0 license:
=============================================

BIN
sounds/steamhiss.ogg Normal file

Binary file not shown.