Home

[Package Index | Mudlib Index | Effect Index]

File /obj/mineral.c

This method returns 1 if the object is a mineral object.

Inherits

This class inherits the following classes /obj/food.c

Includes

This class includes the following files /include/mineral.h

Method index

Public Functions

These are functions that everyone can access.

.

    check_tool
    int check_tool(object * tools,
                   string * needed)
    

    This method checks the tools to see if the can be used to do whatever the required task is. This is used to pulverise the items, for example.
    • Parameters:
      tools - the tools to check
      needed - the needed types of tools
    do_chip
    int do_chip(object * tools)
    
      do_eat
      int do_eat()
      
        do_pulverise
        int do_pulverise(object * tools)
        
          do_smash
          int do_smash(object * tools)
          
            do_sprinkle
            int do_sprinkle(object * obs)
            
              int_query_static_auto_load
              mapping int_query_static_auto_load()
              
                long
                string long(string words,
                            int dark)
                
                  make_mineral
                  varargs void make_mineral(string word,
                                            mixed number,
                                            string * inputs)
                  

                  This method makes a mineral from a specific set of inputs. This is mostly called by the state changer system.
                  • Parameters:
                    word - the mineral type to make
                    number - the size of the mineral
                    inputs - ({ name, short, long, plural, main plural })
Valid HTML 4.01 Transitional
Valid CSS!
Read More