blob: f37fa18a4e38b1d8621ed720d84954812bfa490a [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra715ec202025-07-09 22:18:31 +02002 object load_object(string name)
MG Mud User88f12472016-06-24 23:31:02 +02003
Zesstra715ec202025-07-09 22:18:31 +02004DESCRIPTION
5 Load the object from the file <name> (which can not be empty) and
6 return it. If the object already exists, just return it.
MG Mud User88f12472016-06-24 23:31:02 +02007
Zesstra715ec202025-07-09 22:18:31 +02008 This efun can be used only to load blueprints - for clones, use
9 the efun clone_object().
MG Mud User88f12472016-06-24 23:31:02 +020010
Zesstra715ec202025-07-09 22:18:31 +020011 If strict euids are enforced, the cloning object must have
12 a non-zero euid.
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra715ec202025-07-09 22:18:31 +020014EXAMPLES
15 // Update and reload the standard player object
MG Mud User88f12472016-06-24 23:31:02 +020016 destruct(find_object("/std/player"));
17 load_object("/std/player");
18
Zesstra715ec202025-07-09 22:18:31 +020019HISTORY
20 Introduced in LDMud 3.2.6.
21 LDMud 3.3.716/3.4.3 requires that the <name> is not empty.
MG Mud User88f12472016-06-24 23:31:02 +020022
Zesstra715ec202025-07-09 22:18:31 +020023SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020024 clone_object(E)