recent sound addition bit

This commit is contained in:
nhmall
2023-10-16 09:11:05 -04:00
parent 72016b1f17
commit 42348ac299
2 changed files with 5 additions and 2 deletions

View File

@@ -193,6 +193,7 @@
seffect(squeak_G),
seffect(squeak_G_sharp),
seffect(squeal),
seffect(squelch),
seffect(stone_breaking),
seffect(stone_crumbling),
seffect(swoosh),

View File

@@ -286,8 +286,10 @@ dosit(void)
if (obj->otyp == CORPSE && amorphous(&mons[obj->corpsenm]))
pline("It's squishy...");
else if (obj->otyp == CREAM_PIE) {
if (!Deaf)
pline("Squelch!");
if (!Deaf) {
Soundeffect(se_squelch, 30);
pline("Squelch!");
}
useupf(obj, obj->quan);
} else if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH))
pline("It's not very comfortable...");