| 345 | } |
| 346 | |
| 347 | staticfn void |
| 348 | dog_starve(struct monst *mtmp) |
| 349 | { |
| 350 | if (mtmp->mleashed && mtmp != u.usteed) |
| 351 | Your("leash goes slack."); |
| 352 | else if (cansee(mtmp->mx, mtmp->my)) |
| 353 | pline_mon(mtmp, "%s starves.", Monnam(mtmp)); |
| 354 | else |
| 355 | You_feel("%s for a moment.", |
| 356 | Hallucination ? "bummed" : "sad"); |
| 357 | mondied(mtmp); |
| 358 | } |
| 359 | |
| 360 | /* hunger effects -- returns TRUE on starvation */ |
| 361 | staticfn boolean |