Re: Adding in variables to mobs

From: John Evans (evansj@DATAWEST.NET)
Date: 07/25/98

On Sat, 25 Jul 1998, Del Minturn wrote:

> I would like to add lines to mobs to define things (various things that
> may be developed) like RACE or extra flags
> I took a look at the db.c file and noted that the last of the mob readin
> is:

If you are using OasisOLC:

Add the extra data to structs.h and whereever needed to support that new

Alter Xedit_save_to_disk (eg: medit_save_to_disk) to insert the extra
bits of data where you want them to be added in the datafile.

Compile and restart MUD.

Save all the zones (even the unaltered ones) so that the new data is
written to disk.

In db.c alter the parse_XXX function(s) that you need to alter to take
into account the new data.

Compile and restart MUD.

That's all you need to do. It's a lengthy process, but it's better than
altering it all by hand!

John Evans <>             AKA: Zeavon              telnet://

Any sufficiently advanced technology is indistinguishable from magic.
--Arthur C. Clarke
I find planning for the future allows one to delay acting in the present.
--Chris England

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

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