From the NannyMUD documentation
2003-05-01
NAME
query_body_parts - Return the body parts of the monster.LOCATION
Any monster object.SYNTAX
string *query_body_parts();DESCRIPTION
In most cases, the body parts given automatically by the race of a monster, filtered through morphologyd, is sufficient. When it is not, you can define this function in your monster. The function must return an array with the body parts of a monster. The array cannot be empty.EXAMPLE
// A cripple. He has no legs. inherit "/std/monster"; reset(arg) { ::reset(arg); if (!arg) { set_name("cripple"); set_def_name("the cripple"); set_indef_name("a cripple"); set_short("a cripple"); set_long("The cripple is an old man. He has lost many "+ "things in his life. For example, he lost "+ "his legs at sea."); set_level(3); set_gender(1); } } // reset query_body_parts() { return ({ "head", "arm", "chest", "back", "abdomen" }); }SEE ALSO
morphologyd in daemon/morphologydSEE ALSO
morphology in daemon/morphologyd