On Wed, Dec 12, 2001 at 08:52:54AM -0500, Jason Gauthier wrote:
> Here's the way I do it:
>
> When the mud boots it checks for the stock area header:
>
> #AREA
> midgaard.are~
> Midgaard~
> { All } Diku Midgaard~
> 3000 3399
>
> (If it happens to be a stock ROM area with the OLC header, I manually change
> the header to look like this)
>
> If it gets this, it flags a boolean (stock) to true.
> Then in all my boot functions, wherever something exists not from stock,
> it uses the stock method of reading those values.
I've given all my area version-numbers:
#AREADATA
Name Midgaard~
Builders Mavetju~
VNUMs 3000 3399
Level 0 100
Creator Diku~
Security 1
Recall 3001
Version 5
../area/area24.are:Version 3
../area/arena.are:Version 1
../area/astral.are:Version 1
../area/aucairns.are:Version 5
../area/balnibar.are:Version 3
../area/beanstlk.are:Version 2
../area/blackcas.are:Version 2
../area/budo.are:Version 1
and during load-time I made sure that the variables are read in
the right way. These are the version-changes:
/*
* Version
* 0 never issued, stock rom
* 1 stringbits
* 2 disentangle levels, creator and area-name
* 3 act has become stringbits
* 4 arg2 removed from affects
* 5 change in layout of properties
*
*/
It's just the same way as the playerfiles are done.
Edwin
--
Edwin Groothuis | Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions:
------------------+ http://www.FatalDimensions.org/