… | |
… | |
379 | destroy (); |
379 | destroy (); |
380 | } |
380 | } |
381 | |
381 | |
382 | // recursively destroy all objects in inventory, optionally dropping them to the ground instead |
382 | // recursively destroy all objects in inventory, optionally dropping them to the ground instead |
383 | MTH void destroy_inv (bool drop_to_ground = false); |
383 | MTH void destroy_inv (bool drop_to_ground = false); |
|
|
384 | MTH void destroy_inv_fast (); // like destroy_inv (false), but only works when *this is destroyed, too |
384 | MTH object *insert (object *item); // insert into inventory |
385 | MTH object *insert (object *item); // insert into inventory |
385 | MTH void play_sound (faceidx sound) const; |
386 | MTH void play_sound (faceidx sound) const; |
386 | MTH void say_msg (const_utf8_string msg) const; |
387 | MTH void say_msg (const_utf8_string msg) const; |
387 | |
388 | |
388 | void do_remove (); |
389 | void do_remove (); |