MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | |
| 2 | ********************************************************** |
| 3 | * ACHTUNG: EFUN EXISTIERT NICHT MEHR! NICHT VERWENDEN! * |
| 4 | ********************************************************** |
| 5 | |
| 6 | SYNOPSIS: |
| 7 | string object_name() |
| 8 | string object_name(object ob) |
| 9 | |
| 10 | DESCRIPTION: |
| 11 | Get the file name of an object or if no argument is given of the current |
| 12 | object. If the object is a cloned object, then it will not have a |
| 13 | corresponding file name, but rather a new name based on the original |
| 14 | file name. |
| 15 | The returned name always begins with '/' (absolute path), |
| 16 | except when the parser runs in COMPAT (-o) mode. |
| 17 | |
| 18 | EXAMPLES: |
| 19 | find_object(object_name(ob)) == ob |
| 20 | This is guaranteed to be true for all objects ob that are not |
| 21 | destructed. |
| 22 | |
| 23 | sizeof(explode(object_name(ob), "#")) == 1 |
| 24 | This is always true if ob is a blue print. |
| 25 | |
| 26 | HISTORY |
| 27 | In LDMud 3.2.6 renamed to object_name(), this old name is |
| 28 | available as alias. |
| 29 | Since LDMud 3.2.9, not available if driver is compiled without |
| 30 | USE_DEPRECATED. |
| 31 | Removed in LDMud 3.3 and LP "03.02.1@150". |
| 32 | |
| 33 | SEE ALSO: |
| 34 | find_object(E) |
| 35 | |
| 36 | 29.10.2006 Zesstra |