Re: NEWBIE Time zone code

From: Peter Ajamian (pajamian@cheapsam.com)
Date: 02/01/00


Alex Mann wrote:
>
> Hi
> I noticed that in the stock circlemud code the time span from day to night
> is only very short, about 10 or 15 mins, does anyone know where the code for
> this is stored, and if it is just a case of adjusting the amount of ticks,
> or is it more complicated then that.

$grep *.h -ne _PER_MUD_
utils.h:115:#define SECS_PER_MUD_HOUR   75
utils.h:116:#define SECS_PER_MUD_DAY    (24*SECS_PER_MUD_HOUR)
utils.h:117:#define SECS_PER_MUD_MONTH  (35*SECS_PER_MUD_DAY)
utils.h:118:#define SECS_PER_MUD_YEAR   (17*SECS_PER_MUD_MONTH)

Your line numbers will probably vary.

Regards, Peter


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



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