state.rb
#increments day - do not put heavy calculations in here
increments day - do not put heavy calculations in here
increments day - do not put heavy calculations in here
def daytick()
    if $date[2] < 30 
        $date[2] += 1
    else 
        $date[2] = 1
        monthtick()
    end
    sleep 1
end
def daytick ( ) if $date [ 2 ] < 30 $date [ 2 ] += 1 else $date [ 2 ] = 1 monthtick ( ) end sleep 1 end
increments day - do not put heavy calculations in here
increments day - do not put heavy calculations in here
#puts "#{$date[0]}-#{$date[1]}-#{$date[2]}" # If day is between 1 and 29, increment #Otherwise, roll over to next month