]> granicus.if.org Git - nethack/commit
chatting with grunting monsters
authornethack.rankin <nethack.rankin>
Sun, 6 May 2007 00:57:49 +0000 (00:57 +0000)
committernethack.rankin <nethack.rankin>
Sun, 6 May 2007 00:57:49 +0000 (00:57 +0000)
commitcb5504b38e9359db6d860575fca7a15971223ff4
tree4d6ad7961b728283cd57d32cc3d105401977395c
parentcfdc51dbdee17942457e79037eaf09f5c51853fe
chatting with grunting monsters

     From the newsgroup:  attempting to #chat to a gnome elicited "the
gnome grunts" (because gnomes have MS_ORC sound, and MS_ORC is just a
synonym for MS_GRUNT) even when the hero was a gnome.  This patch makes
MS_ORC (orcs, gnomes, kobolds, a couple of named demons) or MS_GRUNT
(ogres, ettins, trolls, gargoyles) behave as MS_HUMANOID when the hero
has same race.  That by itself wasn't quite enough; hostile MS_HUMANOID
monsters other than fake players wouldn't respond, so this gives those
a generic message (threatening the hero).  In a somewhat similar case,
peaceful MS_CUSS monsters wouldn't respond; now they say something too.
doc/fixes34.4
src/sounds.c