mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -06:00
35b646c4e6
This reverts commit 1e4bad8c6b
.
23 lines
No EOL
1.1 KiB
Python
Executable file
23 lines
No EOL
1.1 KiB
Python
Executable file
from toontown.safezone import DGPlayground
|
|
from toontown.safezone import SafeZoneLoader
|
|
|
|
|
|
class DGSafeZoneLoader(SafeZoneLoader.SafeZoneLoader):
|
|
def __init__(self, hood, parentFSM, doneEvent):
|
|
SafeZoneLoader.SafeZoneLoader.__init__(self, hood, parentFSM, doneEvent)
|
|
self.playgroundClass = DGPlayground.DGPlayground
|
|
self.musicFile = 'phase_8/audio/bgm/DG_nbrhood.ogg'
|
|
self.activityMusicFile = 'phase_8/audio/bgm/DG_SZ.ogg'
|
|
self.dnaFile = 'phase_8/dna/daisys_garden_sz.pdna'
|
|
self.safeZoneStorageDNAFile = 'phase_8/dna/storage_DG_sz.pdna'
|
|
|
|
def load(self):
|
|
SafeZoneLoader.SafeZoneLoader.load(self)
|
|
self.birdSound = map(base.loadSfx, ['phase_8/audio/sfx/SZ_DG_bird_01.ogg',
|
|
'phase_8/audio/sfx/SZ_DG_bird_02.ogg',
|
|
'phase_8/audio/sfx/SZ_DG_bird_03.ogg',
|
|
'phase_8/audio/sfx/SZ_DG_bird_04.ogg'])
|
|
|
|
def unload(self):
|
|
SafeZoneLoader.SafeZoneLoader.unload(self)
|
|
del self.birdSound |