Re: max_existance

From: George (
Date: 02/04/99

On Thu, 4 Feb 1999, Del wrote:

>Did you add in a variable that is stored in the .zon files? or was it a just a
>check in the code? (i.e. using the max exist number to say there can only be
>one per world/zone/room?)

It's an extra variable.

>Trying to figure out the easiest way to add something like this, which will
>not conflict with current zone files.

It's easy.

>Format: 'M' <if-flag> <mobile nr> <max existing> <room nr>
>the max existing is in the middle it would be difficult to change it to look
>something like:
>Format: 'M' <if-flag> <mobile nr> <max world> <max zone> <max room> <room nr>
>doing this would require changing all the zon files. (pain in the ars)

Change it to:
Format: 'M' <if-flag> <mobile nr> <max existing> <room nr> <qualifier>

Then if you don't have the last argument, don't error out, just fill in the
default of 'max-existing means per-world'

i.e.: if <qualifier> =:
0 = per world
1 = per room
2 = per zone

George Greer

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

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