Only show the '/' menu choice for context-sensitive inventory item action if data.base look up for the item will find something. Lack of '/' is as informative as "you don't know anything about that". Harder to implement than expected but seems to be working ok. This also changes the menu for the '/' command, replacing cryptic /^ and /" with /t and /T so that listing near traps or all traps is more like listing near|all objects|monsters. I put caret and double-quote in as group accelerators; double-quote works on tty, caret gets intercepted as "menu first page" so doesn't. I didn't check other interfaces since supporting that doesn't seem to be worth the bother. Also a little bit of reformatting.
135 KiB
135 KiB