killer messages
Incorporate various killer message grammar fixes suggested by <Someone>.
Mostly these deal with using the proper killer_format and prefix ("the" or
no "the") for unique and type_is_pname monsters, or death to to eating
their corpses.
One case is handled by a general fix to name_to_mon to allow it to deal
with "Croesus' corpse".
The pre-3.4.1 topten behavior for "starved to death" messages is also restored.
This commit is contained in:
11
src/mhitu.c
11
src/mhitu.c
@@ -1151,8 +1151,17 @@ dopois:
|
||||
&& !(poly_when_stoned(youmonst.data) &&
|
||||
polymon(PM_STONE_GOLEM))) {
|
||||
Stoned = 5;
|
||||
killer_format = KILLED_BY_AN;
|
||||
delayed_killer = mtmp->data->mname;
|
||||
if (mtmp->data->geno & G_UNIQ) {
|
||||
if (!type_is_pname(mtmp->data)) {
|
||||
static char buf[BUFSZ];
|
||||
|
||||
/* "the" buffer may be reallocated */
|
||||
Strcpy(buf, the(delayed_killer));
|
||||
delayed_killer = buf;
|
||||
}
|
||||
killer_format = KILLED_BY;
|
||||
} else killer_format = KILLED_BY_AN;
|
||||
return(1);
|
||||
/* You("turn to stone..."); */
|
||||
/* done_in_by(mtmp); */
|
||||
|
||||
Reference in New Issue
Block a user