diff --git a/toontown/ai/ToontownAIRepository.py b/toontown/ai/ToontownAIRepository.py index 76a12c5..61b9dc6 100644 --- a/toontown/ai/ToontownAIRepository.py +++ b/toontown/ai/ToontownAIRepository.py @@ -20,6 +20,7 @@ from toontown.hood.DDHoodDataAI import DDHoodDataAI 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.MMHoodDataAI import MMHoodDataAI from toontown.hood.TTHoodDataAI import TTHoodDataAI from toontown.pets.PetManagerAI import PetManagerAI @@ -231,6 +232,12 @@ class ToontownAIRepository(ToontownInternalRepository): ) self.generateHood(DLHoodDataAI, ToontownGlobals.DonaldsDreamland) + # Chip 'n Dale's MiniGolf + self.zoneTable[ToontownGlobals.GolfZone] = ( + (ToontownGlobals.GolfZone, 1, 0), + ) + self.generateHood(GZHoodDataAI, ToontownGlobals.GolfZone) + # Welcome Valley zones self.welcomeValleyManager.createWelcomeValleyZones() diff --git a/toontown/hood/GZHoodDataAI.py b/toontown/hood/GZHoodDataAI.py index 8f80b70..5e9b0e5 100644 --- a/toontown/hood/GZHoodDataAI.py +++ b/toontown/hood/GZHoodDataAI.py @@ -3,6 +3,7 @@ from . import HoodDataAI, ZoneUtil from toontown.toonbase import ToontownGlobals from toontown.racing import DistributedStartingBlockAI from pandac.PandaModules import * +from libtoontown import * from toontown.racing.RaceGlobals import * from toontown.classicchars import DistributedGoofySpeedwayAI from toontown.safezone import DistributedGolfKartAI