Subject: Adding objects to core

From: [email-masked] (John William Chambless)
Date: Mon, 1 Nov 1993 18:14:59 -0800

I have a feeling I'm going to be embarassed when I get the answer to this
one, but:

I seem to remember seeing mention of a command to add an object to
the  core db, such that it would be included in the output of
make-core-database.

How do I do this? I'd like to backup some of the verbs, etc we've done,
without all the building, etc, etc.
-- 
* In Real Life: Billy Chambless		    University of Southern Mississippi 
* "Ah, but I was so much older then; I'm younger than that now."
*		--Bob Dylan, "My Back Pages"

---

From: Pavel Curtis <[email-masked]>
Date: Mon, 1 Nov 1993 19:46:01 -0800

> Date:	Mon, 1 Nov 1993 18:14:59 -0800
> From:	[email-masked] (John William Chambless)
> 

There's no special command for it; m-c-d starts from all objects that have `$'
names (like `$room') and then adds in all ancestors of those objects, #0, and
the player typing the `m-c-d' command.  Those are considered the `core'
objects.  To add something to this set, then, the simplest way is just to give
it a `$' name by defining a property on #0 with that object as its value.  For
example, to make `#1234' a core object, you might do this:

		@prop #0.foo #1234

Then you could refer to it as `$foo' and m-c-d would include it in the core
database it creates.

	Pavel

---

From: [email-masked] (Erik Ostrom)
Date: Mon, 1 Nov 1993 14:07:11 -0800

> There's no special command for it;

Actually, there is a special command for it in recent releases of
LambdaCore:

    @corify <object> as <propname>

It does roughly what Pavel said to do by hand, but it does object
matching and it nags you about writing an :init_for_core verb, since
we seem to keep making objects that still have junk in them when Pavel
makes the core database.