aligned cleric corpse
I was looking into "The Lord Surtur's corpse" and got side-tracked by something else: move a priest hack for avoiding "aligned" in a corpse description from corpse_xname() to obj_pmname(). The old variation always picked "priest corpse" over "priestess corpse". The new one will use either one of those if the corpse is flagged as such, or use "cleric corpse" (avoiding "aligned cleric corpse") if it's flagged as random.
This commit is contained in:
@@ -1560,11 +1560,6 @@ corpse_xname(
|
||||
mnam = OBJ_NAME(objects[otmp->otyp]); /* "glob of <monster>" */
|
||||
} else if (omndx == NON_PM) { /* paranoia */
|
||||
mnam = "thing";
|
||||
/* [Possible enhancement: check whether corpse has monster traits
|
||||
attached in order to use priestname() for priests and minions.] */
|
||||
} else if (omndx == PM_ALIGNED_CLERIC) {
|
||||
/* avoid "aligned priest"; it just exposes internal details */
|
||||
mnam = "priest";
|
||||
} else {
|
||||
mnam = obj_pmname(otmp);
|
||||
if (the_unique_pm(&mons[omndx]) || type_is_pname(&mons[omndx])) {
|
||||
|
||||
Reference in New Issue
Block a user