diff --git a/toontown/ai/ToontownAIRepository.py b/toontown/ai/ToontownAIRepository.py index 8bab9aa..970bf85 100644 --- a/toontown/ai/ToontownAIRepository.py +++ b/toontown/ai/ToontownAIRepository.py @@ -10,12 +10,14 @@ from toontown.ai.NewsManagerAI import NewsManagerAI from toontown.ai.WelcomeValleyManagerAI import WelcomeValleyManagerAI from toontown.building.DistributedTrophyMgrAI import DistributedTrophyMgrAI from toontown.catalog.CatalogManagerAI import CatalogManagerAI +from toontown.coghq.FactoryManagerAI import FactoryManagerAI from toontown.coghq.PromotionManagerAI import PromotionManagerAI from toontown.distributed.ToontownDistrictAI import ToontownDistrictAI from toontown.distributed.ToontownDistrictStatsAI import ToontownDistrictStatsAI from toontown.distributed.ToontownInternalRepository import ToontownInternalRepository from toontown.hood import ZoneUtil from toontown.hood.BRHoodDataAI import BRHoodDataAI +from toontown.hood.CSHoodDataAI import CSHoodDataAI from toontown.hood.DDHoodDataAI import DDHoodDataAI from toontown.hood.DGHoodDataAI import DGHoodDataAI from toontown.hood.DLHoodDataAI import DLHoodDataAI @@ -62,6 +64,7 @@ class ToontownAIRepository(ToontownInternalRepository): self.promotionMgr = None self.cogPageManager = None self.raceMgr = None + self.factoryMgr = None self.timeManager = None self.newsManager = None self.welcomeValleyManager = None @@ -132,6 +135,9 @@ class ToontownAIRepository(ToontownInternalRepository): # Create our race manager... self.raceMgr = RaceManagerAI(self) + # Create our factory manager... + self.factoryMgr = FactoryManagerAI(self) + def createGlobals(self): """ Creates "global" (distributed) objects. @@ -239,6 +245,12 @@ class ToontownAIRepository(ToontownInternalRepository): ) self.generateHood(DLHoodDataAI, ToontownGlobals.DonaldsDreamland) + # Sellbot HQ + self.zoneTable[ToontownGlobals.SellbotHQ] = ( + (ToontownGlobals.SellbotHQ, 0, 1), (ToontownGlobals.SellbotFactoryExt, 0, 1) + ) + self.generateHood(CSHoodDataAI, ToontownGlobals.SellbotHQ) + # Chip 'n Dale's MiniGolf self.zoneTable[ToontownGlobals.GolfZone] = ( (ToontownGlobals.GolfZone, 1, 0),