hood: generate the golf zone

This commit is contained in:
John Cote 2020-01-07 21:12:08 -05:00
parent 78dc55419a
commit 5036cc9fcf
2 changed files with 8 additions and 0 deletions

View file

@ -20,6 +20,7 @@ from toontown.hood.DDHoodDataAI import DDHoodDataAI
from toontown.hood.DGHoodDataAI import DGHoodDataAI from toontown.hood.DGHoodDataAI import DGHoodDataAI
from toontown.hood.DLHoodDataAI import DLHoodDataAI from toontown.hood.DLHoodDataAI import DLHoodDataAI
from toontown.hood.GSHoodDataAI import GSHoodDataAI from toontown.hood.GSHoodDataAI import GSHoodDataAI
from toontown.hood.GZHoodDataAI import GZHoodDataAI
from toontown.hood.MMHoodDataAI import MMHoodDataAI from toontown.hood.MMHoodDataAI import MMHoodDataAI
from toontown.hood.TTHoodDataAI import TTHoodDataAI from toontown.hood.TTHoodDataAI import TTHoodDataAI
from toontown.pets.PetManagerAI import PetManagerAI from toontown.pets.PetManagerAI import PetManagerAI
@ -231,6 +232,12 @@ class ToontownAIRepository(ToontownInternalRepository):
) )
self.generateHood(DLHoodDataAI, ToontownGlobals.DonaldsDreamland) 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 # Welcome Valley zones
self.welcomeValleyManager.createWelcomeValleyZones() self.welcomeValleyManager.createWelcomeValleyZones()

View file

@ -3,6 +3,7 @@ from . import HoodDataAI, ZoneUtil
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from toontown.racing import DistributedStartingBlockAI from toontown.racing import DistributedStartingBlockAI
from pandac.PandaModules import * from pandac.PandaModules import *
from libtoontown import *
from toontown.racing.RaceGlobals import * from toontown.racing.RaceGlobals import *
from toontown.classicchars import DistributedGoofySpeedwayAI from toontown.classicchars import DistributedGoofySpeedwayAI
from toontown.safezone import DistributedGolfKartAI from toontown.safezone import DistributedGolfKartAI