[1365] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next last

Re: [COLD] location, located, and thing_frob

daemon@ATHENA.MIT.EDU (Fri Nov 7 13:22:19 1997 )

From: ubmitche@mcs.drexel.edu (Bruce Mitchener)
To: ashes@ucla.edu (BRANDON JOSEPH RICKMAN)
Date: Fri, 7 Nov 1997 13:06:39 -0500 (EST)
Cc: coldstuff@cold.org
In-Reply-To: <Pine.3.89.9711062155.A54294-0100000@tau2.ben2.ucla.edu> from "BRANDON JOSEPH RICKMAN" at Nov 6, 97 10:01:02 pm

> Some things I've noticed poking through the code for $located &c in my 
> ColdCore 3.0a9.02 db:
> $location.add_to_contents() - seems to be an outdated method, does this 
> get called by anything?

It looks outdated to me.  It doesn't appear to be called anywhere.

> $located.realm() - Gives: "Object variable realm not found", probably not 
> a useful method anyway.

I fixed this a while back on the Cold Dark (drop by!).

public method $located.realm() {
    return .location().realm();

> $located.uninit_guest_guest() - looks suspicious to me, maybe it's legit.

Hmm, I don't see that method over on the Cold Dark, so no clue.

> $located,obvious - used by .set_obvious(), but ignored by .is_obvious_to()

As far as I know, the whole concept of what is visible and what is 
obvious and lighting conditions is something that is sort of being worked 
on and further developed.  This probably relates to that unfinished state.

> This is a very funny piece of code:
> @program $located.environment() +access=pub
>   return [this()] + location.environment().setremove(this());

Two guesses:  something might want this() to be at the front of the 
list?  or perhaps it can't be assured that this() will be in the list 
returned by location.environment() although I can't think of any good 
reason why that should happen.

 - Bruce

Bruce Mitchener, Jr.

Vote Monarchist!  (licensed from Black Unicorn <unicorn@schloss.li>)
Ego sum rex romanus, et super grammatica.