monk's to-hit penalty for wearing a suit

If hero is a monk who is wearing a suit, have ^X mention the to-hit
penalty for that in the status section even though it isn't a normal
status line item.  Combat feedback makes it annoyingly obvious, but
player might forget if MSGTYPE=hide is used to suppress the "Your
armor is rather cumbersome..." message.
This commit is contained in:
PatR
2020-07-20 03:00:28 -07:00
parent 22cbabde8d
commit afbcf3f9a9
4 changed files with 26 additions and 5 deletions

View File

@@ -238,6 +238,7 @@ struct instance_flags {
* disable to avoid excessive noise when using
* a screen reader (use ^X to review status) */
boolean toptenwin; /* ending list in window instead of stdout */
boolean tux_penalty; /* True iff hero is a monk and wearing a suit */
boolean use_background_glyph; /* use background glyph when appropriate */
boolean use_menu_color; /* use color in menus; only if wc_color */
#ifdef STATUS_HILITES