… | |
… | |
757 | return weight + carrying; |
757 | return weight + carrying; |
758 | } |
758 | } |
759 | |
759 | |
760 | MTH struct region *region () const; |
760 | MTH struct region *region () const; |
761 | |
761 | |
762 | void statusmsg (const_utf8_string msg, int color = NDI_BLACK); |
762 | MTH void statusmsg (const_utf8_string msg, int color = NDI_BLACK); |
763 | void failmsg (const_utf8_string msg, int color = NDI_RED); |
763 | MTH void failmsg (const_utf8_string msg, int color = NDI_RED); |
764 | void failmsgf (const_utf8_string format, ...); // always NDI_RED... |
764 | void failmsgf (const_utf8_string format, ...); // always NDI_RED... |
765 | |
765 | |
766 | const_utf8_string query_inventory (object *who = 0, const_utf8_string indent = ""); |
766 | MTH const_utf8_string query_inventory (object *who = 0, const_utf8_string indent = ""); |
767 | |
767 | |
768 | MTH const_octet_string ref () const; // creates and returns a consistent persistent object reference |
768 | MTH const_octet_string ref () const; // creates and returns a consistent persistent object reference |
769 | static object *deref (const_octet_string ref); // returns the object from the generated refreence, if possible |
769 | static object *deref (const_octet_string ref); // returns the object from the generated reference, if possible |
770 | |
770 | |
771 | // make some noise with given item into direction dir, |
771 | // make some noise with given item into direction dir, |
772 | // currently only used for players to make them temporarily visible |
772 | // currently only used for players to make them temporarily visible |
773 | // when they are invisible. |
773 | // when they are invisible. |
774 | MTH void make_noise (); |
774 | MTH void make_noise (); |