]> granicus.if.org Git - nethack/commit
partial fix for #H38 - hallucination of personal names (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 9 Feb 2006 06:12:00 +0000 (06:12 +0000)
committernethack.rankin <nethack.rankin>
Thu, 9 Feb 2006 06:12:00 +0000 (06:12 +0000)
commit5d732c47a3eed3e54e73d3af0dc206fba67d392a
tree652976a4071115c3ad5149378689f50f7d68e759
parent3f493c251873884ebb9c0a06933626e36fed0277
partial fix for #H38 - hallucination of personal names (trunk only)

     This fixes the monnam() family of functions so that hallucinated
personal names, such as Barney, won't be prefixed by "the".  It uses the
same hack as is used for shopkeeper names:  single character prefix on
names which warrant some handling other than the default.  rndmonnam()
strips that off, so unmodified callers (which is almost all of them...)
retain the same behavior has before.

     There are several capitalized names that I have no idea whether need
to be treated as personal names:
  Evil Iggy - name, or type of monster named after someone?
  Totoro    - no clue
  Invid     - ditto
  Vorlon    - just guessing that it's a species rather than an individual.
I couldn't remember whether Godzilla was baby Godzilla's mother or father,
so I went with female there.  So far, no callers of rndmonnam() care about
gender so it doesn't make any difference.  Because of that, I didn't look
though the non-capitalized names to see whether any should be all male or
all female and need one of the other prefix codes.

     I've added "were-rabbit" from the Wallace & Gromit movie.  The recent
ads for its DVD release reminded me that I was going to add that back when
the movie first came out.  I haven't seen it but the creature name fits.

     I also fixed Smokey Bear.  Smokey the Bear is a common misspelling;
I thought we had fixed that ages ago, back when people still had some clue
as to who in the world he was.
doc/fixes35.0
include/extern.h
src/do_name.c
src/priest.c