| 292 | }; |
| 293 | |
| 294 | staticfn void |
| 295 | choke_dialogue(void) |
| 296 | { |
| 297 | long i = (Strangled & TIMEOUT); |
| 298 | |
| 299 | if (i > 0 && i <= SIZE(choke_texts)) { |
| 300 | if (Breathless || !rn2(50)) { |
| 301 | urgent_pline(choke_texts2[SIZE(choke_texts2) - i], |
| 302 | body_part(NECK)); |
| 303 | } else { |
| 304 | const char *str = choke_texts[SIZE(choke_texts) - i]; |
| 305 | |
| 306 | if (strchr(str, '%')) |
| 307 | urgent_pline(str, hcolor(NH_BLUE)); |
| 308 | else |
| 309 | urgent_pline("%s", str); |
| 310 | stop_occupation(); |
| 311 | } |
| 312 | } |
| 313 | exercise(A_STR, FALSE); |
| 314 | } |
| 315 | |
| 316 | static NEARDATA const char *const sickness_texts[] = { |
| 317 | "Your illness feels worse.", |
no test coverage detected