new composite status conditions: weaponstatus,\

armorstatus, and terrainstatus

This adds three special status items to show at a glance what the hero
is wielding, wearing, and standing on.

Each of the three items has its own boolean option rather than try to
fix them in with the existing opttional status conditions.  After a
lot of testing, I think the weapon and armor ones will prove useful
but the terrain one probably won't be.

Presently it is implemented for tty and curses.  When I developed it
six years ago, it was also working for X11 but I'm not able to test
the resurrection of that part so have left it out.
This commit is contained in:
PatR
2026-04-16 13:35:08 -07:00
parent 45e8305918
commit 84ddf85cb4
20 changed files with 659 additions and 72 deletions

View File

@@ -3,6 +3,7 @@ Boolean options not under specific compile flags (with default values in []):
option setting, which is reached via the 'O' command.)
acoustics can your character hear anything [True]
armorstatus show extra status field summarizing worn armor [False]
autodescribe describe the terrain under cursor [False]
autodig dig if moving and wielding digging tool [False]
autoopen walking into a door attempts to open it [True]
@@ -73,6 +74,7 @@ sparkle display sparkly effect for resisted magical [True]
attacks (e.g. fire attack on fire-resistant monster)
standout use standout mode for --More-- on messages [False]
status_updates update the status lines [True]
terrainstatus show extra status field describing current location [False]
time display elapsed game time, in moves [False]
tips show some helpful tips during gameplay [True]
tombstone print tombstone when you die [True]
@@ -83,6 +85,7 @@ travel enables travelling via mouse click if supported; [True]
use_darkgray use bold black instead of blue for black glyphs. [True]
use_inverse display detected monsters in highlighted manner [False]
verbose print more commentary during the game [True]
weaponstatus show extra status field listing wielded weapon(s) [False]
whatis_menu show menu when getting a map location [False]
whatis_moveskip skip same glyphs when getting a map location [False]