From the NannyMUD documentation
2000-12-11
NAME
inherit - inherit the functions and variables of another objectSYNTAX
inherit "filename";DESCRIPTION
This is not a function in the normal manner, but merely a way to make all functions and variables from an object available to your object without copying it entirely. The filename counts from the root and not, like the include statement, from the current directory. If you wish to make a function with the same name as one in the inherited object you can still access the inherited one using two colons in front of the function name:reset(arg) { ::reset(arg);This will call reset(arg) in the inherited object. If you inherit more than one file you reach the functions in them by prepending the filename before '::' :inherit "/std/simple_monster"; inherit "/players/test/file"; reset(arg) { simple_monster::reset(arg); etc.which will call reset(arg) in /std/simple_monster.NOTE
Although it isn't necessary to start the file name of the inherit file with a '/', it does not hurt to do so; in this manner include and inherit statements look the same, and you will make fewer mistakes.