blob: 7914facc8a0a7c20c7b1f9f6677e33103c877eeb [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 mixed inherit_file (string file, string compiled_file)
3
4DESCRIPTION
5 Generate the pathname of an inherited object.
6
7 Arguments:
8 previous_object(): The object causing the compile.
9 file : The name given in the inherit directive.
10 compiled_file : The object file which is just compiled.
11 (compat: name given without leading "/")
12
13 Result:
14 0: use the given filename as it is.
15
16 <path>: the full absolute pathname of the file to inherit,
17 without parentdir parts ("/../"). Leading slashes ("/")
18 are ignored.
19
20 else: The inherit directive is not legal.
21
22HISTORY
23 Introduced in LDMud 3.2.8.
24
25SEE ALSO
26 hooks(C), include_file(M)