| 59 | |
| 60 | |
| 61 | staticfn boolean |
| 62 | beehive_mon_sound(struct monst *mtmp) |
| 63 | { |
| 64 | if ((mtmp->data->mlet == S_ANT && is_flyer(mtmp->data)) |
| 65 | && mon_in_room(mtmp, BEEHIVE)) { |
| 66 | int hallu = Hallucination ? 1 : 0; |
| 67 | |
| 68 | switch (rn2(2) + hallu) { |
| 69 | case 0: |
| 70 | Soundeffect(se_low_buzzing, 30); |
| 71 | You_hear("a low buzzing."); |
| 72 | break; |
| 73 | case 1: |
| 74 | Soundeffect(se_angry_drone, 100); |
| 75 | You_hear("an angry drone."); |
| 76 | break; |
| 77 | case 2: |
| 78 | Soundeffect(se_bees, 100); |
| 79 | You_hear("bees in your %sbonnet!", |
| 80 | uarmh ? "" : "(nonexistent) "); |
| 81 | break; |
| 82 | } |
| 83 | return TRUE; |
| 84 | } |
| 85 | return FALSE; |
| 86 | } |
| 87 | |
| 88 | staticfn boolean |
| 89 | morgue_mon_sound(struct monst *mtmp) |
nothing calls this directly
no test coverage detected