fix #H2694 - egg hatching feedback

A bug report from ten and half years ago...
If a carried egg hatches, the message is
|<foo> drops from your pack.
and if tame, is followed by
|Its cries sound like {mommy,daddy}.
The latter was issued even when <foo> has no speech capability.

Replace "its cries sound like" with "its <vocalize>ing sounds like"
for suitable value of <vocalize>.

This adds two new monster sounds, MS_BELLOW and MS_CHIRP, also two
new sound effect codes, se_chirp and se_croc_bellow.

We had MS_SILENT for crocodile.  On wikipedia, crocodile is described
as the most vocal reptile.  Adult males make a load bellowing noise
and hatchlings make a chirping noise.

This changes crocodile, titanothere, and baluchitherium from MS_SILENT
to MS_BELLOW and baby crocodile from MS_SILENT to MS_CHIRP.  Chirp
might be appropriate for lizards and lizard-like amphibians but I've
left those as MS_SILENT.

[Noticed but not changed:  lizards and lizard-like amphibians aren't
flagged as oviparous.  Shouldn't they be?]
This commit is contained in:
PatR
2023-02-25 07:02:19 -08:00
parent 52c2ce0caf
commit 4fd7d51cb2
6 changed files with 174 additions and 104 deletions

View File

@@ -309,33 +309,35 @@ enum sound_effect_entries {
se_buzz = 166,
se_squeek = 167,
se_squawk = 168,
se_squeal = 169,
se_screech = 170,
se_equine_neigh = 171,
se_equine_whinny = 172,
se_equine_whicker = 173,
se_bovine_moo = 174,
se_bovine_bellow = 175,
se_wail = 176,
se_groan = 177,
se_grunt = 178,
se_gurgle = 179,
se_elephant_trumpet = 180,
se_snake_rattle = 181,
se_yelp = 182,
se_jabberwock_burble = 183,
se_shriek = 184,
se_bone_rattle = 185,
se_orc_grunt = 186,
se_avian_screak = 187,
se_paranoid_confirmation = 188,
se_bars_whang = 189,
se_bars_whap = 190,
se_bars_flapp = 191,
se_bars_clink = 192,
se_bars_clonk = 193,
se_boomerang_klonk = 194,
se_bang_weapon_side = 195,
se_chirp = 169,
se_squeal = 170,
se_screech = 171,
se_equine_neigh = 172,
se_equine_whinny = 173,
se_equine_whicker = 174,
se_bovine_moo = 175,
se_bovine_bellow = 176,
se_croc_bellow = 177,
se_wail = 178,
se_groan = 179,
se_grunt = 180,
se_gurgle = 181,
se_elephant_trumpet = 182,
se_snake_rattle = 183,
se_yelp = 184,
se_jabberwock_burble = 185,
se_shriek = 186,
se_bone_rattle = 187,
se_orc_grunt = 188,
se_avian_screak = 189,
se_paranoid_confirmation = 190,
se_bars_whang = 191,
se_bars_whap = 192,
se_bars_flapp = 193,
se_bars_clink = 194,
se_bars_clonk = 195,
se_boomerang_klonk = 196,
se_bang_weapon_side = 197,
number_of_se_entries
};