[Package Index | Mudlib Index | Effect Index]
.
int no_types_in_long()
int query_capacity()This method returns the number of weapons it can hold as a maximum. The * default is 1, but can be adjusted via using set_capacity(). * @return The number of weapons the scabbard can hold * @see set_capacity
int query_dynamic()This method returns whether or not its dimensions adjust dynamically if a larger weapon is placed inside.
int query_dynamic_length()This method returns the default length a scabbard would be if it was * dynamically adjusted * @return The base length of the scabbard
int query_dynamic_width()This method returns the default width a scabbard would be if it was * dynamically adjusted * @return The base width of the scabbard
string query_loop_short()This method returns the description for what each of the pockets are * called for a scabbard that can hold multiple pockets. If undefined the * default value is 'loop'. See set_capacity to change the value. * @see set_capacity
int query_scabbard()This method determines if the object is a scabbard or not.
string * query_types()This method returns the types of weapons that can be sheathed in the scabbard.
varargs void set_capacity(int i,
string description)
This method allows a scabbard to hold multiple weapons. The description
* of what each pocket is called is optional, and if undefined is just 'loop'.
* @param i The maximum number of weapons the scabbard can hold
* @param description The description for each pocket
void set_dynamic_dimensions(int length,
int width)
This method sets the scabbard as one which would adjust length and width
depending if the weapon sheathed inside is larger than the scabbard itself.
int set_no_types_in_long(int val)
void set_types(string * words)This method sets the types of weapons that can be sheathed in the scabbard.
void setup_scabbard(int number)This method sets up the scabbards current condition.