[Package Index | Mudlib Index | Effect Index]
Includes
This class includes the following files /include/parse_command.h and /include/obj_parser.hMethod index
- modify_item_by_index(int, mixed)
This method non-destructively modifies the items values.
- modify_item_by_name(string, mixed)
This method non-destructively modifies the items values.
- print_stuff()
- query_count()
- query_creator_room()
- query_cur_desc()
This returns the currently matching indexes for the item object.
- query_gather()
This method figures out what gatherables are available for the
current description set.
- query_lng()
This method returns all the long descriptions for the item object.
- query_plurals()
This method returns the plurals mapping used in the item object.
- query_short_array()
This method returns the base array of shorts to be processed in the
other short methods.
- query_shrt()
This method returns all the short descriptions for the item object.
- query_verbs()
This method returns the verbs mapping used in the item object.
- remove_item_by_index(int)
This method removes an item by the returned index number from the
add_item method.
- remove_item_by_name(string)
This method removes an item by the short description.
- setup_item(mixed, mixed, int)
This method setups the item initially.
Public Functions
These are functions that everyone can access.
.
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.
- Parameters:
str - the name to reference the object by
long - the long bits to change on the item
- Returns:
1 on success, 0 on failure
- See also:
/std/room->modify_item_by_name()
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.