Re: z=10 in case spell_create_food

From: John Evans (evansj@HI-LINE.NET)
Date: 03/11/98


On Wed, 11 Mar 1998, David Wiklund wrote:

> I have searched my brain for an answer but I can't seem to find what the
>
> z = 10 is in this case =>
>
> case SPELL_CREATE_FOOD:
>     z = 10;
>     break;
>

z is the virutal number of the object that is loaded. When you cast
create food, obj #10 is loaded into the game. I think that that's a loaf
of bread or something like that.

If you want a spell to load obj #56, then you would do:

case SPELL_INSERT_NAME_HERE:
  z = 56
  break;



John Evans <evansj@hi-line.net>  --  http://www.hi-line.net/~evansj/

Any sufficiently advanced technology is indistinguishable from magic.
--Arthur C. Clarke


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST