public void OnWorldLoadFinished() { kDebugging = Settings.Debugging; if (!GameUtils.IsOnVacation()) { WorldData.ForceTreasureSpawn(); } UpdateAgeForeign(); if (GameUtils.IsUniversityWorld()) { AnnexEx.OnWorldLoadFinished(); } }
public void OnWorldLoadFinished() { new Common.DelayedEventListener(EventTypeId.kEventCareerHired, OnHired); if (AcademicCareer.GlobalTermLength == AcademicCareer.TermLength.kInvalid) { AcademicCareer.GlobalTermLength = AcademicCareer.TermLength.kOneWeek; } foreach (SimDescription sim in SimListing.GetResidents(false).Values) { if (sim.OccupationAsAcademicCareer == null) { continue; } if (sControllers.ContainsKey(sim.SimDescriptionId)) { continue; } AddAcademic(sim, AcademicCareer.GlobalTermLength); } new AlarmTask(); if (!GameUtils.IsUniversityWorld()) { AnnexEx.OnWorldLoadFinished(); foreach (Stadium stadium in Sims3.Gameplay.Queries.GetObjects <Stadium>()) { stadium.RabbitHoleProxy.MetaAds.Add(new InteractionObjectPair(Stadium.PlayCollegiateSport.Singleton, stadium.RabbitHoleProxy)); stadium.AddInteraction(Stadium.PlayCollegiateSport.Singleton); } } }