From 228261eec38a13207076a0b6b72d2b3c39a8a117 Mon Sep 17 00:00:00 2001 From: John Cote Date: Fri, 10 Jan 2020 16:23:33 -0500 Subject: [PATCH] hood: generate lawbot hq --- toontown/ai/ToontownAIRepository.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/toontown/ai/ToontownAIRepository.py b/toontown/ai/ToontownAIRepository.py index f577813..ac7e5ff 100644 --- a/toontown/ai/ToontownAIRepository.py +++ b/toontown/ai/ToontownAIRepository.py @@ -12,6 +12,7 @@ from toontown.building.DistributedTrophyMgrAI import DistributedTrophyMgrAI from toontown.catalog.CatalogManagerAI import CatalogManagerAI from toontown.coghq.CogSuitManagerAI import CogSuitManagerAI from toontown.coghq.FactoryManagerAI import FactoryManagerAI +from toontown.coghq.LawOfficeManagerAI import LawOfficeManagerAI from toontown.coghq.MintManagerAI import MintManagerAI from toontown.coghq.PromotionManagerAI import PromotionManagerAI from toontown.distributed.ToontownDistrictAI import ToontownDistrictAI @@ -26,6 +27,7 @@ from toontown.hood.DGHoodDataAI import DGHoodDataAI from toontown.hood.DLHoodDataAI import DLHoodDataAI from toontown.hood.GSHoodDataAI import GSHoodDataAI from toontown.hood.GZHoodDataAI import GZHoodDataAI +from toontown.hood.LawbotHQDataAI import LawbotHQDataAI from toontown.hood.MMHoodDataAI import MMHoodDataAI from toontown.hood.OZHoodDataAI import OZHoodDataAI from toontown.hood.TTHoodDataAI import TTHoodDataAI @@ -69,6 +71,7 @@ class ToontownAIRepository(ToontownInternalRepository): self.raceMgr = None self.factoryMgr = None self.mintMgr = None + self.lawMgr = None self.cogSuitMgr = None self.timeManager = None self.newsManager = None @@ -146,6 +149,9 @@ class ToontownAIRepository(ToontownInternalRepository): # Create our mint manager... self.mintMgr = MintManagerAI(self) + # Create our law office manager... + self.lawMgr = LawOfficeManagerAI(self) + # Create our Cog suit manager... self.cogSuitMgr = CogSuitManagerAI(self) @@ -268,6 +274,12 @@ class ToontownAIRepository(ToontownInternalRepository): ) self.generateHood(CashbotHQDataAI, ToontownGlobals.CashbotHQ) + # Lawbot HQ + self.zoneTable[ToontownGlobals.LawbotHQ] = ( + (ToontownGlobals.LawbotHQ, 0, 1), + ) + self.generateHood(LawbotHQDataAI, ToontownGlobals.LawbotHQ) + # Chip 'n Dale's MiniGolf self.zoneTable[ToontownGlobals.GolfZone] = ( (ToontownGlobals.GolfZone, 1, 0),