Home

[Package Index | Mudlib Index | Effect Index]

Inherits

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

Includes

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

Class Index

Method index

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.
        create_proxy_object_minus
        object create_proxy_object_minus(class proxy_data * input)
        

        This creates a proxy object with the various bits of money removed from it.
        • Parameters:
          data - the data to remove from us
        • Returns:
          a new proxy object
    find_best_fit
    int find_best_fit(string name)
    
      find_best_fit_with_plural
      int * find_best_fit_with_plural(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.
          fixup_reversed_array
          void fixup_reversed_array()
          

          ignore yes
            force_no_join
            void force_no_join()
            
              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
Valid HTML 4.01 Transitional
Valid CSS!
Read More