proc/Years()
set background=1
while(1)
// sleep(36000/Year_Speed)
MonthTimer+=1
if(MonthTimer>=3600/Year_Speed)
Problem description: So I'm trying to change my Years proc to go off a variable, instead of raw sleep, so that across reboots it would save where it's at and resume ticking.
However the problem I have, is that the MonthTimer will tick up by 1 PER player online, so how would I go towards making it add a flat +1 to the MonthTimer?
The code excerpt is in the Years codefile, where the MonthTimer var is in as well, under just var, not atom or mob or anything simply var.
The commented out sleep line is the current way the years go by.
Code inside of Login() will execute each time a player connects.