1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 06:16:00 +00:00

new sound effects

This commit is contained in:
Zeno Rogue
2020-07-07 21:24:56 +02:00
parent 0ced76c4f2
commit f900ec7443
10 changed files with 13 additions and 1 deletions

View File

@@ -251,6 +251,7 @@ EX bool collectItem(cell *c2, bool telekinesis IS(false)) {
if(ch == '*') playSound(c2, "pickup-gem");
else if(ch == '$' || ch == 'x') playSound(c2, "pickup-gold");
else if(ch == '%' || ch == ';') playSound(c2, "pickup-potion");
else if(c2->item == itApple) playSound(c2, "apple");
else playSound(c2, "pickup-scroll");
}
}
@@ -460,6 +461,7 @@ EX void gainItem(eItem it) {
gainItem(itElemental);
gainItem(itElemental);
addMessage(XLAT("You construct some Elemental Gems!", it) + itemcounter(items[itElemental]));
playSound(cwt.at, "elementalgem");
}
if(it == itBounty)