| 448 | } |
| 449 | |
| 450 | staticfn void |
| 451 | prisoner_speaks(struct monst *mtmp) |
| 452 | { |
| 453 | if (mtmp->data == &mons[PM_PRISONER] |
| 454 | && (mtmp->mstrategy & STRAT_WAITMASK)) { |
| 455 | /* Awaken the prisoner */ |
| 456 | if (canseemon(mtmp)) |
| 457 | pline("%s speaks:", Monnam(mtmp)); |
| 458 | SetVoice(mtmp, 0, 80, 0); |
| 459 | verbalize("I'm finally free!"); |
| 460 | mtmp->mstrategy &= ~STRAT_WAITMASK; |
| 461 | mtmp->mpeaceful = 1; |
| 462 | |
| 463 | /* Your god is happy... */ |
| 464 | adjalign(3); |
| 465 | |
| 466 | /* ...But the guards are not */ |
| 467 | (void) angry_guards(FALSE); |
| 468 | } |
| 469 | return; |
| 470 | } |
| 471 | |
| 472 | void |
| 473 | quest_chat(struct monst *mtmp) |
no test coverage detected