Make tamedog give a message

People seemed to be confused when a monster next to them was tame
after stepping on a magic trap; this is also an accessibility issue.
This commit is contained in:
Pasi Kallinen
2024-03-23 18:37:09 +02:00
parent e0cb6e2206
commit 4d206c1c40

View File

@@ -1085,6 +1085,9 @@ tamedog(struct monst *mtmp, struct obj *obj)
return FALSE;
/* worst case, at least it'll be peaceful. */
if (!mtmp->mpeaceful && canspotmon(mtmp))
pline("%s seems %s.", Monnam(mtmp),
Hallucination ? "really chill" : "more amiable");
mtmp->mpeaceful = 1;
set_malign(mtmp);
if (flags.moonphase == FULL_MOON && night() && rn2(6) && obj