| 3332 | #if 0 /* unfortunately mfrozen covers temporary sleep and being busy |
| 3333 | * (donning armor, for instance) as well as paralysis */ |
| 3334 | else if (mtmp->mfrozen) |
| 3335 | Strcat(info, ", paralyzed"); |
| 3336 | #else |
| 3337 | else if (mtmp->mfrozen || !mtmp->mcanmove) |
| 3338 | Strcat(info, ", can't move"); |
| 3339 | #endif |
| 3340 | /* [arbitrary reason why it isn't moving] */ |
| 3341 | else if ((mtmp->mstrategy & STRAT_WAITMASK) != 0) |
| 3342 | Strcat(info, ", meditating"); |
| 3343 | if (mtmp->mflee) |
| 3344 | Strcat(info, ", scared"); |
| 3345 | if (mtmp->mtrapped) |
| 3346 | Strcat(info, ", trapped"); |
| 3347 | if (mtmp->mspeed) |
| 3348 | Strcat(info, (mtmp->mspeed == MFAST) ? ", fast" |
| 3349 | : (mtmp->mspeed == MSLOW) ? ", slow" |
| 3350 | : ", [? speed]"); |
| 3351 | if (mtmp->minvis) |
| 3352 | Strcat(info, ", invisible"); |
| 3353 | if (mtmp == u.ustuck) { |
| 3354 | struct permonst *pm = u.ustuck->data; |
| 3355 | |
| 3356 | /* being swallowed/engulfed takes priority over sticks(youmonst); |
| 3357 | this used to have that backwards and checked sticks() first */ |
| 3358 | Strcat(info, u.uswallow ? (digests(pm) |
| 3359 | ? ", digesting you" |
| 3360 | /* note: the "swallowing you" case won't |
| 3361 | happen because all animal engulfers |
| 3362 | either digest their victims (purple |
| 3363 | worm) or enfold them (trappers and |
| 3364 | lurkers above) */ |
| 3365 | : (is_animal(pm) && !enfolds(pm)) |
| 3366 | ? ", swallowing you" |
| 3367 | : ", engulfing you") |
| 3368 | /* !u.uswallow; if both youmonst and ustuck are holders, |
| 3369 | youmonst wins */ |
| 3370 | : (!sticks(gy.youmonst.data) ? ", holding you" |
| 3371 | : ", held by you")); |
| 3372 | } |
| 3373 | if (mtmp == u.usteed) { |
| 3374 | Strcat(info, ", carrying you"); |
| 3375 | if (Wounded_legs) { |