Torgny Bjers wrote:
>
> -----Original Message-----
> From: Peter Ajamian <peter@pajamian.dhs.org>
>
> >Torgny Bjers wrote:
> >
> >> Why does it say UNDEFINED when you should set it to 0 (or -1 as you say
> >> here) if it is unassigned?  I think that stock OasisOLC sets it to 0, is
> >> it not supposed to be 0, but -1?
> >
> >Yes, it HAS to be -1 for no spell.
>
> Id est, there is something wrong with genobj.c saving them down as 0, then?
> It should save them as -1, is that correct?
No, actually, the oedit command sets all 4 values to 0 for any object of
any type by default.  It just happens that scrolls won't work if they
have values set to 0 so you have to change them when you create the
object.
Regards, Peter
     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/11/01 PDT