Ticket #749 (new task)
A uniform way to access player knowledge of player state
| Reported by: | stefanor@… | Owned by: | |
|---|---|---|---|
| Milestone: | 3.1.3 | Keywords: | cleanup |
| Cc: |
Description
In the trunk at the time of writing, you can examine a red worm mass to find out if you are wearing unidentified fire resistance equipment. There's currently code in files.c to extract known resistances, but it's interwoven with the code for displaying the ability tables and thus of no use. One solution (stolen from Crawl) is to add a bool known_only parameter to calc_bonuses; I'd like a second opinion before implementing this. Side benefit: we can get rid of p_ptr->state.dis_to_h and friends.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
