| 122 | } |
| 123 | |
| 124 | void |
| 125 | artitouch(struct obj *obj) |
| 126 | { |
| 127 | if (!Qstat(touched_artifact)) { |
| 128 | /* in case we haven't seen the item yet (ie, currently blinded), |
| 129 | this quest message describes it by name so mark it as seen */ |
| 130 | observe_object(obj); |
| 131 | /* only give this message once */ |
| 132 | Qstat(touched_artifact) = TRUE; |
| 133 | qt_pager("gotit"); |
| 134 | exercise(A_WIS, TRUE); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | /* external hook for do.c (level change check) */ |
| 139 | boolean |
no test coverage detected