THIS IS A COPY MADE AT TECFA FOR SAFEKEEPING THIS MANUAL. IT'S NOT THE ORIGINAL
enCore v.4 User's Guide
Changing the parent of an object or room
You can change an object by changing its "parent." A fuller description of parents, children, and inheritence in enCore is described in More on MOOs, but think of performing this @chparent command like cloning or making a copy of something else in enCore. You can also change the class or kind of object by using this command.
Using @chparent to make a copy of another object or room
Some enCore MOOs have customized objects or rooms. Using the @chparent command will easily let you create these template or generic objects for yourself.
For example, Pro-noun MOO has template objects for a large meeting room, a small meeting room, or an instructor's office. You can create your own large meeting room by using the @chparent command.
The ability to make your own copy of something extends to objects also. For example, someone in enCore might have created a Fireplace object that allows you to light a fire and roast marshmellows in it. You could create a Generic Thing and then @chparent that new object into a Fireplace.
In this case, you should use the object numbers to change the parent. So if the new Generic Thing you created called Hearth has the object number #456, and the Fireplace you wish to change your object to has the object number #250, you would use this command:
Your Hearth now has all the features that the other object called Fireplace has, so now you can roast marshmellows in your own room over your own fire.
Note: You can only make copies of objects that are "fertile" or have the permissions to have copies made of them. Also, before swiping someone else's object like this, it is courteous to ask the original owner's permission to copy their object.
Using @chparent to change the generic or "class" of an object
Sometimes you create an object and want to transform it into another object with other capabilities. For example, you create a Generic Room and then decide you want it to be a like a Generic Web Page room, or you create a Note and then decide you want it to have Web Page capabilities. In essence, you want to copy or clone your object into another object.
To perform this change to an object
Note: You could also use the object number instead of the name of the object you are changing.
The commands @parents <object> and @kids <object> are useful to see the genealogy of objects in enCore.
MOO interface || Quick Start || Beginner's Guide || | Getting around || Communicating ||Character options || Working with objects || Objects help ||Using MOO Mail || Creating objects and rooms || ||Xpress options || Getting help || Command summary || Making accounts
Page last updated 00/00/2003 --LI