From 5036cc9fcf4759ee275e26bb35fdf06538178ccb Mon Sep 17 00:00:00 2001 From: John Cote Date: Tue, 7 Jan 2020 21:12:08 -0500 Subject: [PATCH] hood: generate the golf zone --- toontown/ai/ToontownAIRepository.py | 7 +++++++ toontown/hood/GZHoodDataAI.py | 1 + 2 files changed, 8 insertions(+) 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