| 103 | } |
| 104 | |
| 105 | void |
| 106 | mon_yells(struct monst *mon, const char *shout) |
| 107 | { |
| 108 | if (Deaf) { |
| 109 | if (canspotmon(mon)) |
| 110 | /* Sidenote on "A watchman angrily waves her arms!" |
| 111 | * Female being called watchman is correct (career name). |
| 112 | */ |
| 113 | pline_mon(mon, "%s angrily %s %s %s!", |
| 114 | Amonnam(mon), |
| 115 | nolimbs(mon->data) ? "shakes" : "waves", |
| 116 | mhis(mon), |
| 117 | nolimbs(mon->data) ? mbodypart(mon, HEAD) |
| 118 | : makeplural(mbodypart(mon, ARM))); |
| 119 | } else { |
| 120 | if (canspotmon(mon)) { |
| 121 | pline_mon(mon, "%s yells:", Amonnam(mon)); |
| 122 | } else { |
| 123 | /* Soundeffect(se_someone_yells, 75); */ |
| 124 | You_hear("someone yell:"); |
| 125 | } |
| 126 | SetVoice(mon, 0, 80, 0); |
| 127 | verbalize1(shout); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | /* can monster mtmp break boulders? */ |
| 132 | boolean |
no test coverage detected