mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 20:52:26 -06:00
24 lines
839 B
Python
24 lines
839 B
Python
|
from toontown.suit import Suit
|
||
|
from toontown.town import DLStreet
|
||
|
from toontown.town import TownLoader
|
||
|
|
||
|
|
||
|
class DLTownLoader(TownLoader.TownLoader):
|
||
|
def __init__(self, hood, parentFSM, doneEvent):
|
||
|
TownLoader.TownLoader.__init__(self, hood, parentFSM, doneEvent)
|
||
|
self.streetClass = DLStreet.DLStreet
|
||
|
self.musicFile = 'phase_8/audio/bgm/DL_SZ.ogg'
|
||
|
self.activityMusicFile = 'phase_8/audio/bgm/DL_SZ_activity.ogg'
|
||
|
self.townStorageDNAFile = 'phase_8/dna/storage_DL_town.pdna'
|
||
|
|
||
|
def load(self, zoneId):
|
||
|
TownLoader.TownLoader.load(self, zoneId)
|
||
|
Suit.loadSuits(3)
|
||
|
dnaFile = 'phase_8/dna/donalds_dreamland_' + str(self.canonicalBranchZone) + '.pdna'
|
||
|
self.createHood(dnaFile)
|
||
|
|
||
|
def unload(self):
|
||
|
TownLoader.TownLoader.unload(self)
|
||
|
Suit.unloadSuits(3)
|
||
|
|