YMonnam(monst)

Replace several upstart(y_monnam(mon)) with new YMonnam(mon) to
produce "Your little dog" and such.

Also change one or two Monnam(mon) to YMonnam(mon) and one pline(...)
to pline_mon(mon, ...).
This commit is contained in:
PatR
2024-07-04 14:27:28 -07:00
parent 0e46439814
commit a33f1edd24
7 changed files with 48 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
/* NetHack 3.7 steed.c $NHDT-Date: 1702274036 2023/12/11 05:53:56 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.115 $ */
/* NetHack 3.7 steed.c $NHDT-Date: 1720128167 2024/07/04 21:22:47 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.121 $ */
/* Copyright (c) Kevin Hugo, 1998-1999. */
/* NetHack may be freely redistributed. See license for details. */
@@ -869,12 +869,12 @@ stucksteed(boolean checkfeeding)
if (steed) {
/* check whether steed can move */
if (helpless(steed)) {
pline("%s won't move!", upstart(y_monnam(steed)));
pline("%s won't move!", YMonnam(steed));
return TRUE;
}
/* optionally check whether steed is in the midst of a meal */
if (checkfeeding && steed->meating) {
pline("%s is still eating.", upstart(y_monnam(steed)));
pline("%s is still eating.", YMonnam(steed));
return TRUE;
}
}