more sleeping monster
Extend the PR#660 change that shows whether a monster is asleep when examined by farlook/quicklook/autodescribe to monsters that aren't moving due to timed sleep as well as those that are asleep for an unspecified amount of time. Unfortunately 'mfrozen' isn't specific about why a monster can't move so the phrasing is less than ideal.
This commit is contained in:
+4
-2
@@ -2882,8 +2882,8 @@ mstatusline(struct monst *mtmp)
|
||||
Strcat(info, ", stunned");
|
||||
if (mtmp->msleeping)
|
||||
Strcat(info, ", asleep");
|
||||
#if 0 /* unfortunately mfrozen covers temporary sleep and being busy \
|
||||
(donning armor, for instance) as well as paralysis */
|
||||
#if 0 /* unfortunately mfrozen covers temporary sleep and being busy
|
||||
* (donning armor, for instance) as well as paralysis */
|
||||
else if (mtmp->mfrozen)
|
||||
Strcat(info, ", paralyzed");
|
||||
#else
|
||||
@@ -2924,6 +2924,8 @@ mstatusline(struct monst *mtmp)
|
||||
Sprintf(eos(info), ", injured %s", what);
|
||||
}
|
||||
}
|
||||
if (mtmp->mleashed)
|
||||
Strcat(info, ", leashed");
|
||||
|
||||
/* avoid "Status of the invisible newt ..., invisible" */
|
||||
/* and unlike a normal mon_nam, use "saddled" even if it has a name */
|
||||
|
||||
Reference in New Issue
Block a user