[ Package Index | Mudlib Index | Effect Index ]

Inherits

This class inherits the following classes /std/container.c and /std/basic/wearable.c

Includes

This class includes the following files /include/virtual.h and /include/move_failures.h

Method index

 o no_types_in_long()
 o query_scabbard()
This method determines if the object is a scabbard or not.
 o query_types()
This method returns the types of weapons that can be sheathed in the scabbard.
 o set_no_types_in_long(int)
 o set_types(string *)
This method sets the types of weapons that can be sheathed in the scabbard.
 o setup_scabbard(int)
This method sets up the scabbards current condition.
 o test_type_ok(object, int)

Public Functions

These are functions that everyone can access.

.
 * no_types_in_long
int no_types_in_long()
 * query_scabbard
int query_scabbard()
This method determines if the object is a scabbard or not.

Returns:
always returns 1 for a scabbard
 * query_types
string * query_types()
This method returns the types of weapons that can be sheathed in the scabbard.

Returns:
the types that can be sheathed
 * set_no_types_in_long
int set_no_types_in_long(int val)
 * set_types
void set_types(string * words)
This method sets the types of weapons that can be sheathed in the scabbard.

Parameters:
words - the array of types that can be sheathed
 * setup_scabbard
void setup_scabbard(int number)
This method sets up the scabbards current condition.

Parameters:
number - the current condition fo the scabbard
 * test_type_ok
int test_type_ok(object thing,
                 int flag)

Discworld MUD's distribution world wide web pages.
brought to you by
Cut Me Own Throat Dibbler's Sensational Sausages; buy one while they are hot.
File last modified: Wed, 29 Oct 2003 14:29:59 GMT

Lost? Try Discworld's home page.