Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 1 | PRELIMINARY |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 2 | SYNOPSIS |
| 3 | object blueprint() |
Zesstra | 5481d49 | 2021-04-08 20:07:06 +0200 | [diff] [blame] | 4 | object blueprint(string|object|lwobject ob) |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 5 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 6 | DESCRIPTION |
| 7 | The efuns returns the blueprint for the given object <ob>, or for |
| 8 | the current object if <ob> is not specified. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 9 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 10 | If the blueprint is destructed, or its program replaced, the efun |
| 11 | returns 0. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 12 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 13 | For objects with replaced programs, the efun returns the blueprint |
| 14 | for the replacement program. |
| 15 | In COMPAT mode the returned blueprint does not start with a "/". |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 16 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 17 | EXAMPLES |
| 18 | blueprint("/std/thing")) -> /std/thing |
| 19 | blueprint(find_object("/std/thing")) -> /std/thing |
| 20 | blueprint(clone_object("/std/thing")) -> /std/thing |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 21 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 22 | HISTORY |
| 23 | Introduced in LDMud 3.2.9. |
| 24 | |
| 25 | SEE ALSO |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 26 | clones(E), clone_object(E) |