anchor.diff:  	WeeklyEvents
   		fire()
   			set waitfor = 0
  -			scheduler.schedule(src, 6048000) // 1 week
  +			spawn() scheduler.schedule(src, 6048000) // 1 week
   			RandomizeShop()
   			rewardExpWeek()
   
  
positive.code: 
  		fire()
  			set waitfor = 0
  			scheduler.schedule(src, rand(9000, 12000) + 600) // 16 to 21 minutes
  			AFK_Train_Scan()
  
  	Auction
  
  		fire()
  			set waitfor = 0
  			scheduler.schedule(src, 36000)
  			auctionBidTime()
  
  	DailyEvents
  
  		fire()
  			set waitfor = 0
  			scheduler.schedule(src, 864000)
  
  			worldData.loggedIn = null
  
  
negative.code: 		if (src.__tick == 16777216)
  			src.__tick = 0
  
  	__shift_down_events()
  		var/list/result = null
  		for (var/T in src.__scheduled_events)
  			var/A = src.__scheduled_events[T]
  			src.__scheduled_events.Remove(T)
  			var/index = text2num(T) - __sleep_delay
  			if (index > 0)
  				src.__scheduled_events[num2text(index, 8)] = A
  			else
  				for (var/__Trigger/Tr in A)
  					if (Tr.__scheduled_iterations > 0)
  						Tr.__scheduled_iterations--
  						var/new_index = Tr.__scheduled_iterations ? 16777216 : Tr.__scheduled_time
  						var/list/S = src.__scheduled_events[text2num(new_index)]
  						if (S)
  							S += Tr
  						else
  							src.__scheduled_events[text2num(new_index)] = list(Tr)
  					else
  						if (result)
  							result += Tr
  						else
  							result = list(Tr)
  
  				result = A
  		return result
  
  atom/proc/AddStatusEffect(StatusEffect/pStatusEffect)
  	if(src.LStatusEffects)
  		src.LStatusEffects += pStatusEffect
  