3.7: fix #9397 - pronouns when hallucinating
Developed for 3.6 but deferred to 3.7. Most of the testing was with the earlier incarnation. Report was that pronouns were accurate for the underlying monsters when hallucination was describing something random, and also that the gender prefix flag from bogusmon.txt wasn't being used. The latter is still the case, but pronouns are now chosen at random while under the influence of hallucination. One of the choices is plural and an attempt is made to make the monster name and verb fit that usage. |The homunculus picks up a wand of speed monster. |The large cats zap themselves with a wand of speed monster! |The blue dragon is suddenly moving faster. There is no attempt to match gender for the singular cases; you might get |The succubus zaps himself [...] or |The incubus zaps herself [...]
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 role.c $NHDT-Date: 1547086250 2019/01/10 02:10:50 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.56 $ */
|
||||
/* NetHack 3.6 role.c $NHDT-Date: 1574648943 2019/11/25 02:29:03 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.65 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985-1999. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -701,7 +701,9 @@ const struct Race races[] = {
|
||||
const struct Gender genders[] = {
|
||||
{ "male", "he", "him", "his", "Mal", ROLE_MALE },
|
||||
{ "female", "she", "her", "her", "Fem", ROLE_FEMALE },
|
||||
{ "neuter", "it", "it", "its", "Ntr", ROLE_NEUTER }
|
||||
{ "neuter", "it", "it", "its", "Ntr", ROLE_NEUTER },
|
||||
/* used by pronoun_gender() when hallucinating */
|
||||
{ "group", "they", "them", "their", "Grp", 0 },
|
||||
};
|
||||
|
||||
/* Table of all alignments */
|
||||
|
||||
Reference in New Issue
Block a user