lookat() trapped detail

<email deleted>
Sent: Thursday, June 13, 2002 12:03 PM
Subject: Beta 1 comments
>A minor thing, but it'd be nice if the "trapped" now in lookat()
>had a defsyms[trap_to_defsym(tt)].explanation to tell you _how_
>the monster's trapped.
This commit is contained in:
nethack.allison
2002-06-30 00:52:49 +00:00
parent 2fc940d51e
commit 65325f4067

View File

@@ -127,8 +127,10 @@ lookat(x, y, buf, monbuf)
/* newsym lets you know of the trap, so mention it here */
if (tt == BEAR_TRAP || tt == PIT ||
tt == SPIKED_PIT ||tt == WEB)
Strcat(buf, ", trapped");
tt == SPIKED_PIT ||tt == WEB) {
Strcat(buf, ", trapped in ");
Strcat(buf, defsyms[trap_to_defsym(tt)].explanation);
}
}
{