used to decide whether the context-sensitive inventory action menu for item 'otmp' should include the "/ - look up this item" choice */
| 804 | /* used to decide whether the context-sensitive inventory action menu for |
| 805 | item 'otmp' should include the "/ - look up this item" choice */ |
| 806 | boolean |
| 807 | ia_checkfile(struct obj *otmp) |
| 808 | { |
| 809 | char itemnam[BUFSZ]; |
| 810 | |
| 811 | /* singular() of xname() of otmp is what "/i" looks up */ |
| 812 | Strcpy(itemnam, singular(otmp, xname)); |
| 813 | return checkfile(itemnam, (struct permonst *) 0, |
| 814 | chkfilIaCheck | chkfilDontAsk, (char *) 0); |
| 815 | } |
| 816 | |
| 817 | /* |
| 818 | * Look in the "data" file for more info. Called if the user typed in the |
no test coverage detected