blob: 0017942dc96c6eb6ea8ead10e50004633e01a3aa [file] [log] [blame]
Zesstra715ec202025-07-09 22:18:31 +02001PRELIMINARY
MG Mud User88f12472016-06-24 23:31:02 +02002SYNOPSIS
3 object blueprint()
Zesstra5481d492021-04-08 20:07:06 +02004 object blueprint(string|object|lwobject ob)
MG Mud User88f12472016-06-24 23:31:02 +02005
Zesstra715ec202025-07-09 22:18:31 +02006DESCRIPTION
7 The efuns returns the blueprint for the given object <ob>, or for
8 the current object if <ob> is not specified.
MG Mud User88f12472016-06-24 23:31:02 +02009
Zesstra715ec202025-07-09 22:18:31 +020010 If the blueprint is destructed, or its program replaced, the efun
11 returns 0.
MG Mud User88f12472016-06-24 23:31:02 +020012
Zesstra715ec202025-07-09 22:18:31 +020013 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 User88f12472016-06-24 23:31:02 +020016
Zesstra715ec202025-07-09 22:18:31 +020017EXAMPLES
18 blueprint("/std/thing")) -> /std/thing
19 blueprint(find_object("/std/thing")) -> /std/thing
20 blueprint(clone_object("/std/thing")) -> /std/thing
MG Mud User88f12472016-06-24 23:31:02 +020021
Zesstra715ec202025-07-09 22:18:31 +020022HISTORY
23 Introduced in LDMud 3.2.9.
24
25SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020026 clones(E), clone_object(E)