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
+1
View File
@@ -193,6 +193,7 @@
seffect(squeak_G), seffect(squeak_G),
seffect(squeak_G_sharp), seffect(squeak_G_sharp),
seffect(squeal), seffect(squeal),
seffect(squelch),
seffect(stone_breaking), seffect(stone_breaking),
seffect(stone_crumbling), seffect(stone_crumbling),
seffect(swoosh), seffect(swoosh),
+4 -2
View File
@@ -286,8 +286,10 @@ dosit(void)
if (obj->otyp == CORPSE && amorphous(&mons[obj->corpsenm])) if (obj->otyp == CORPSE && amorphous(&mons[obj->corpsenm]))
pline("It's squishy..."); pline("It's squishy...");
else if (obj->otyp == CREAM_PIE) { else if (obj->otyp == CREAM_PIE) {
if (!Deaf) if (!Deaf) {
pline("Squelch!"); Soundeffect(se_squelch, 30);
pline("Squelch!");
}
useupf(obj, obj->quan); useupf(obj, obj->quan);
} else if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH)) } else if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH))
pline("It's not very comfortable..."); pline("It's not very comfortable...");