| 2628 | RESTORE_WARNINGS |
| 2629 | |
| 2630 | staticfn void |
| 2631 | you_aggravate(struct monst *mtmp) |
| 2632 | { |
| 2633 | pline("For some reason, %s presence is known to you.", |
| 2634 | s_suffix(noit_mon_nam(mtmp))); |
| 2635 | cls(); |
| 2636 | #ifdef CLIPPING |
| 2637 | cliparound(mtmp->mx, mtmp->my); |
| 2638 | #endif |
| 2639 | show_glyph(mtmp->mx, mtmp->my, mon_to_glyph(mtmp, rn2_on_display_rng)); |
| 2640 | display_self(); |
| 2641 | You_feel("aggravated at %s.", noit_mon_nam(mtmp)); |
| 2642 | display_nhwindow(WIN_MAP, TRUE); |
| 2643 | docrt(); |
| 2644 | if (unconscious()) { |
| 2645 | gm.multi = -1; |
| 2646 | gn.nomovemsg = "Aggravated, you are jolted into full consciousness."; |
| 2647 | } |
| 2648 | newsym(mtmp->mx, mtmp->my); |
| 2649 | if (!canspotmon(mtmp)) |
| 2650 | map_invisible(mtmp->mx, mtmp->my); |
| 2651 | } |
| 2652 | |
| 2653 | int |
| 2654 | rnd_misc_item(struct monst *mtmp) |
no test coverage detected