growth feedback

Fido grows up into a large dog.
     The soldier becomes a sargeant.

Similar feedback was previously given only when the monster was going to be
killed off due to its new form having been genocided.
This commit is contained in:
nethack.rankin
2006-10-03 05:28:54 +00:00
parent 5dc9c9e43a
commit 1299e2f3b1
2 changed files with 5 additions and 0 deletions

View File

@@ -1507,6 +1507,10 @@ struct monst *mtmp, *victim;
set_mon_data(mtmp, ptr, -1); /* keep mvitals[] accurate */
mondied(mtmp);
return (struct permonst *)0;
} else if (canspotmon(mtmp)) {
pline("%s %s %s.", Monnam(mtmp),
humanoid(ptr) ? "becomes" : "grows up into",
an(ptr->mname));
}
set_mon_data(mtmp, ptr, 1); /* preserve intrinsics */
newsym(mtmp->mx, mtmp->my); /* color may change */