MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | mixed inherit_file (string file, string compiled_file) |
| 3 | |
| 4 | DESCRIPTION |
| 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 | |
| 22 | HISTORY |
| 23 | Introduced in LDMud 3.2.8. |
| 24 | |
| 25 | SEE ALSO |
| 26 | hooks(C), include_file(M) |