| 623 | } |
| 624 | |
| 625 | void |
| 626 | probe_monster(struct monst *mtmp) |
| 627 | { |
| 628 | mstatusline(mtmp); |
| 629 | if (gn.notonhead) |
| 630 | return; /* don't show minvent for long worm tail */ |
| 631 | |
| 632 | if (mtmp->minvent) { |
| 633 | probe_objchain(mtmp->minvent); |
| 634 | (void) display_minventory(mtmp, MINV_ALL | MINV_NOLET | PICK_NONE, |
| 635 | (char *) 0); |
| 636 | } else { |
| 637 | pline("%s is not carrying anything%s.", noit_Monnam(mtmp), |
| 638 | engulfing_u(mtmp) ? " besides you" : ""); |
| 639 | } |
| 640 | } |
| 641 | |
| 642 | /* |
| 643 | * Return the object's physical location. This only makes sense for |
no test coverage detected