Re: [NEWBIE] Item Loading Spell

From: russ brown (
Date: 10/28/00

-----Original Message-----
From: Josh Smith <>

>Well the problem is the MUd I'm working on doesn't have the "Create Food"
>spell, and create water doesn't really help me much, if you think you could
>give me just a little piece of the code to work with? I'd be appreciative.

What codebase and version are you working with? Stock Circlemud 3.0,
has 'create food' as a predefined spell.  In any case look in magic.c for
the function mag_creations.  All you should have to do is add a new case
to the switch statement which defines the vnum of the object to add. Other
than that add a spello call in spell_parser.c that defines the new spell
as calling MAG_CREATIONS and all the other steps needed to define a
new spell.

Russ Brown

_____NetZero Free Internet Access and Email______

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/10/01 PDT