| 572 | }; |
| 573 | |
| 574 | staticfn void |
| 575 | knows_object(int obj, boolean override_pauper) |
| 576 | { |
| 577 | if (u.uroleplay.pauper && !override_pauper) |
| 578 | return; |
| 579 | /* mark as known, but not yet encountered */ |
| 580 | discover_object(obj, TRUE, FALSE, FALSE); |
| 581 | } |
| 582 | |
| 583 | /* Know ordinary (non-magical) objects of a certain class, |
| 584 | like all gems except the loadstone and luckstone. */ |
no test coverage detected