[Package Index | Mudlib Index | Effect Index]
.
int modify_item_by_index(int index, mixed long)This method non-destructively modifies the items values. It will not remove the value for this item, remember this! If you add again and again you will end up with multiple of the same object.
int modify_item_by_name(string str, mixed long)This method non-destructively modifies the items values. It will not remove the value for this item, remember this! If you add again and again you will end up with multiple of the same object.
void print_stuff()
int query_count()
string query_creator_room()
int * query_cur_desc()This returns the currently matching indexes for the item object.
mixed * query_gather()This method figures out what gatherables are available for the current description set. The array contains the values passed into the add_item stuff with the "gather" index.
string * query_lng()This method returns all the long descriptions for the item object. The positions in the array correspond to the index used to reference the items.
mapping query_plurals()This method returns the plurals mapping used in the item object.
string * query_short_array()This method returns the base array of shorts to be processed in the other short methods. This is the short without the leading 'the', 'a' whatever...
string * query_shrt()This method returns all the short descriptions for the item object. The positions in the array correspond to the index used to reference the items.
mapping query_verbs()This method returns the verbs mapping used in the item object.
int remove_item_by_index(int index)This method removes an item by the returned index number from the add_item method.
int _item_number; void bing { _item_numer = add_item("frog", "It wombles!"); } /* bing() */ void remove_bing() { remove_item(_item_number); } /* remove_bing() */
int remove_item_by_name(string str)This method removes an item by the short description.
int setup_item(mixed nam, mixed long, int no_plural)This method setups the item initially. This is called by the add_item method in the room itself.