[DGD] (no subject)
Par Winzell
zell at skotos.net
Wed Jan 9 07:41:57 CET 2002
> When a lightweight object is created using new_object(), the Kernel
> MUDLib appears not to notify the object manager (I'm looking at
> new_object() in /mud/lib/auto.c). I guess that's fine since you can just
> recompile the parent object and the lightweight objects will be
> updated. But many folks use an upgrade() method to update objects
> when they're compiled. How will we do the same for lightweight objects?
You won't. LWO's can't be tracked. Any reference to a LWO keeps it
alive eternally, which would be a disaster. The whole point of LWO's
is that they spring into existance and disappear without attachments.
You can, of course, use compile_object() on an already compiled LWO
master object and it will update all the LWO's made from it. I'm not
sure what you mean by an upgrade() function; you only need a complex
upgrade mechanism for recompiling inheritables.
Zell
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list