text: var Time = {
      ticks: 0,
      day: 0,
      year: 0,
      season: 'winter'
  };
  
  Time.tick = function () {
      Time.ticks++;
      Time.day = Time.ticks % 356;
      Time.year = Math.floor(Time.ticks / 356);
      Time.season = ['winter', 'spring', 'summer', 'autumn'][Math.floor((Time.ticks % 356) / (356 / 4))];
  
      message("A new day.");
  
      Player.tick();
      Gatherer.tick();
      Badge.tick();
      Civilization.tick();
      Dungeon.tick();
      Space.tick();
      Rally.tick();
      Castle.tick();
      Lecture.tick();
      Startup.tick();
  
      localStorage.setItem("Player", JSON.stringify(Player));
      localStorage.setItem("lectures.db", JSON.stringify(lectures.db));
  
      draw_all();
  };
  
  Time.getHTML = function () {
      var html = `
  <div>
      <span> Year: ${this.year} </span>
      <span> Day: ${this.day} </span>
      <span> Season: ${this.season} </span>
  </div>
      `;
  
      return html;
  };
  
  