From the NannyMUD documentation
2000-12-16
lib - A library of objects.
make query_makeable_items
This object was created to make it easier to create the 'boring stuff' needed for a good area.
NAME
make - create an objectSYNTAX
varargs object "/std/lib" -> make(string what, mixed arg);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. The optional second argument is passed to some of the object-makers to produce some optional features in the object. This is only valid for objects produced by /std/constructors. See /std/constructors/key.c for an example of a make() call with an optional argument. 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()); /* This returns a key, of type steel, with code example1 and * moves it to this object */ move_object("/std/lib"->make("key","\btype:steel\bcode:example1"), this_object());
FUNCTION
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.