[ Package Index | Mudlib Index | Effect Index ]

Inherits

This class inherits the following classes /std/object.c

Includes

This class includes the following files /include/money.h, /include/move_failures.h, /include/obj_parser.h and /include/shops/bank.h

Method index

 o adjust_money(mixed, string)
 o check_adjectives()
This method goes through the coins and sets up all the adjectives and plurals it needs to.
 o find_best_fit(mixed)
 o fixup_money_weight()
This method fixes up the weight of the money object to be what it should be.
 o force_no_join()
 o group_object()
 o init_dynamic_arg(mapping, )
 o merge_coins()
This method merges two coin object together.
 o new_money_object(mixed, string)
This method creates a new money object from the current object.
 o query_already_joined()
 o query_collective()
 o query_dynamic_auto_load()
 o query_merger()
 o query_money(string)
This method returns the amount of type of money there is in the array.
 o query_money_array()
 o query_no_join()
 o query_number_coins()
This method returns the number of coins in the object.
 o reset_already_joined()
 o reset_no_join()
 o set_already_joined()
 o set_money_array(mixed *)
 o set_no_join()
 o stats()

Public Functions

These are functions that everyone can access.

.
 * adjust_money
varargs int adjust_money(mixed amount,
                         string type)
 * check_adjectives
void check_adjectives()
This method goes through the coins and sets up all the adjectives and plurals it needs to.

 * find_best_fit
int find_best_fit(mixed word)
 * fixup_money_weight
void fixup_money_weight()
This method fixes up the weight of the money object to be what it should be.

 * force_no_join
void force_no_join()
 * group_object
int group_object()
 * init_dynamic_arg
void init_dynamic_arg(mapping map,
                       object)
 * merge_coins
object merge_coins()
This method merges two coin object together. Or attempts to anyway. This will occur whenever a coin object moves.

Returns:
the merged coin object
 * new_money_object
object new_money_object(mixed number,
                        string type)
This method creates a new money object from the current object. It uses the current objects values to make the money and removes the avlues from the coins.

Parameters:
number - the number of coins to remove
type - the type of coins to remove
Returns:
the new money object
 * query_already_joined
int query_already_joined()
 * query_collective
int query_collective()
 * query_dynamic_auto_load
mapping query_dynamic_auto_load()
 * query_merger
int query_merger()
 * query_money
int query_money(string type)
This method returns the amount of type of money there is in the array.

Parameters:
type - the type of money to check
Returns:
the number of coins of that type
 * query_money_array
mixed * query_money_array()
 * query_no_join
int query_no_join()
 * query_number_coins
int query_number_coins()
This method returns the number of coins in the object.

Returns:
the number of coins
 * reset_already_joined
void reset_already_joined()
 * reset_no_join
void reset_no_join()
 * set_already_joined
void set_already_joined()
 * set_money_array
void set_money_array(mixed * new_array)
 * set_no_join
void set_no_join()
 * stats
mixed * stats()

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: Tue, 14 Oct 2003 17:48:15 GMT

Lost? Try Discworld's home page.