NAME
/std/lib.c - a library of objects
FUNCTIONS
make
query_makeable_items
DESCRIPTION
This object was created to make it easier to create the 'boring stuff'
needed for a good area.
=============================================================================
NAME
make - create an object
SYNTAX
object "/std/lib"->make(string what);
DESCRIPTION
This function returns simple standard objects, as orcs, swords,
shovels, etc. etc. The argument is an identifier that tells make
what to create and return.
There are also automatic ways to use this feature in /std/room's
add_object and the clone command. See 'man room' and 'man clone'
respectively for more information.
EXAMPLE
/* This returns an orc, just like those in orc valley and moves
* it to this object
*/
move_object("/std/lib"->make("orc"),this_object());
=============================================================================
NAME
query_makeable_items - check what can be made
SYNTAX
string *"/std/lib"->query_makeable_items();
DESCRIPTION
This function returns an array of those strings that can be
used as identifiers to the make() function.
=============================================================================
Help topics available:
| board.doc | box.doc | door.doc | hidden_door.doc | lib.doc |
| remote | sequence.doc | simple_armour.doc | simple_container.doc | simple_weapon.doc |
You are guest number 142 since April 2020.
This file was last modified: June 2000.