… | |
… | |
284 | MTH void destroy (bool destroy_inventory = false); |
284 | MTH void destroy (bool destroy_inventory = false); |
285 | |
285 | |
286 | // recursively destroy all objects in inventory, optionally dropping them to the ground instead |
286 | // recursively destroy all objects in inventory, optionally dropping them to the ground instead |
287 | MTH void destroy_inv (bool drop_to_ground = false); |
287 | MTH void destroy_inv (bool drop_to_ground = false); |
288 | MTH object *insert (object *item); // insert into inventory |
288 | MTH object *insert (object *item); // insert into inventory |
|
|
289 | MTH void play_sound (faceidx sound) const; |
|
|
290 | |
289 | void do_remove (); |
291 | void do_remove (); |
290 | MTH void remove () |
292 | MTH void remove () |
291 | { |
293 | { |
292 | if (!flag [FLAG_REMOVED]) |
294 | if (!flag [FLAG_REMOVED]) |
293 | do_remove (); |
295 | do_remove (); |