Shopkeeper bills for use of a land mine or bear trap they own */
| 6098 | |
| 6099 | /* Shopkeeper bills for use of a land mine or bear trap they own */ |
| 6100 | void |
| 6101 | use_unpaid_trapobj(struct obj *otmp, coordxy x, coordxy y) |
| 6102 | { |
| 6103 | if (otmp->unpaid) { |
| 6104 | if (!Deaf) { |
| 6105 | struct monst *shkp = find_objowner(otmp, x, y); |
| 6106 | |
| 6107 | if (shkp && !muteshk(shkp)) { |
| 6108 | SetVoice(shkp, 0, 80, 0); |
| 6109 | verbalize("You set it, you buy it!"); |
| 6110 | } |
| 6111 | } |
| 6112 | bill_dummy_object(otmp); |
| 6113 | } |
| 6114 | } |
| 6115 | |
| 6116 | #undef PAY_BUY |
| 6117 | #undef PAY_CANT |
no test coverage detected