fix #S14678 - livelog of bribery when hallucinat
If hallucinating hero bribes a demon lord, report its true identity for livelog/#chronicle. Unlike with the similar change for genocide, this does give away information if the player checks #chronicle. Again, the report via the web contact form was misclassified as spam.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 minion.c $NHDT-Date: 1624322864 2021/06/22 00:47:44 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.60 $ */
|
||||
/* NetHack 3.7 minion.c $NHDT-Date: 1762727599 2025/11/09 14:33:19 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.81 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2008. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -346,8 +346,12 @@ demon_talk(struct monst *mtmp)
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
/* if 'mtmp' is unrecognizable due to hero's hallucination,
|
||||
#chronicle will reveal its true identity -- just live with that;
|
||||
also, avoid random hallucinatory currency() units */
|
||||
livelog_printf(LL_UMONST, "bribed %s with %ld %s for safe passage",
|
||||
Amonnam(mtmp), offer, currency(offer));
|
||||
x_monnam(mtmp, ARTICLE_A, (char *) 0, EXACT_NAME, FALSE),
|
||||
offer, (offer == 1L) ? "zorkmid" : "zorkmids");
|
||||
mongone(mtmp);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user