grammar bit
From the newsgroup recently: cause of death on tombstone and in log file was "slipped while mounting a saddled Stockholm" (with horse named after city). This fix will produce "slipped while mounting a saddled horse called Stockholm" in that case.
This commit is contained in:
@@ -355,6 +355,7 @@ drop alternate weapon to terminate twoweapon combat if the alternate
|
|||||||
restore monster creation sanity checks to wizard mode ^G command
|
restore monster creation sanity checks to wizard mode ^G command
|
||||||
prevent recoil from hurtling you through narrow areas that you wouldn't
|
prevent recoil from hurtling you through narrow areas that you wouldn't
|
||||||
be able to move through intentionally
|
be able to move through intentionally
|
||||||
|
grammar in cause of death when killed by slipping while mounting named steed
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+6
-10
@@ -1,4 +1,4 @@
|
|||||||
/* SCCS Id: @(#)steed.c 3.4 2002/10/10 */
|
/* SCCS Id: @(#)steed.c 3.4 2003/01/10 */
|
||||||
/* Copyright (c) Kevin Hugo, 1998-1999. */
|
/* Copyright (c) Kevin Hugo, 1998-1999. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -319,15 +319,11 @@ mount_steed(mtmp, force)
|
|||||||
}
|
}
|
||||||
You("slip while trying to get on %s.", mon_nam(mtmp));
|
You("slip while trying to get on %s.", mon_nam(mtmp));
|
||||||
|
|
||||||
/* Unfortunately we don't have a version of the monster-naming
|
Sprintf(buf, "slipped while mounting %s",
|
||||||
* function that works well with "a" and "the" but ignores
|
/* "a saddled mumak" or "a saddled pony called Dobbin" */
|
||||||
* hallucination. Fortunately, we know the monster must be saddled
|
x_monnam(mtmp, ARTICLE_A, (char *)0,
|
||||||
* at this point, and that it can't have type_is_pname(), so we
|
SUPPRESS_IT|SUPPRESS_INVISIBLE|SUPPRESS_HALLUCINATION,
|
||||||
* don't need to worry about the special cases such a function
|
TRUE));
|
||||||
* would have to consider.
|
|
||||||
*/
|
|
||||||
Sprintf(buf, "slipped while mounting a saddled %s",
|
|
||||||
m_monnam(mtmp));
|
|
||||||
losehp(rn1(5,10), buf, NO_KILLER_PREFIX);
|
losehp(rn1(5,10), buf, NO_KILLER_PREFIX);
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user