… | |
… | |
539 | { |
539 | { |
540 | return this; |
540 | return this; |
541 | } |
541 | } |
542 | |
542 | |
543 | /* This returns TRUE if the object is something that |
543 | /* This returns TRUE if the object is something that |
544 | * should be displayed in the floorbox/inventory window |
544 | * a client might want to know about. |
545 | */ |
545 | */ |
546 | MTH bool client_visible () const |
546 | MTH bool client_visible () const |
547 | { |
547 | { |
548 | return !invisible && type != PLAYER; |
548 | return !invisible && type != PLAYER; |
549 | } |
549 | } |
… | |
… | |
630 | MTH static archetype *find (const_utf8_string name); |
630 | MTH static archetype *find (const_utf8_string name); |
631 | |
631 | |
632 | MTH void link (); |
632 | MTH void link (); |
633 | MTH void unlink (); |
633 | MTH void unlink (); |
634 | |
634 | |
|
|
635 | MTH static object *get (const char *name); // find()->instance() |
635 | MTH object *instance (); |
636 | MTH object *instance (); |
636 | |
637 | |
637 | object_vector_index ACC (RW, archid); // index in archvector |
638 | object_vector_index ACC (RW, archid); // index in archvector |
638 | shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */ |
639 | shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */ |
639 | |
640 | |