MOO-cows Mailing List Archive


Re: Trouble creating programmers automatically

Martijn Grendelman drew these hieroglyphs:
> I changed line 23 in $wiz_utils:make_player to
> $wiz_utils:set_programmer;
> and that works fine.
> I still don't get how the old version works, though ! ;-)

First off, $prog is not a player.   The .programmer flag can only be
set on player objects.

Second, built-in properties are not inherited by their children.
.programmer is a built-in property, but children of any object that is
.programmer==1 will still be .programmer==0.

Your solution using $wiz_utils:set_programmer is correct, though since
everyone is assumed to be a programmer, you might want to edit it to
not send any mail.


Home | Subject Index | Thread Index