mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 20:22:33 -06:00
35b646c4e6
This reverts commit 1e4bad8c6b
.
23 lines
841 B
Python
Executable file
23 lines
841 B
Python
Executable file
from toontown.suit import Suit
|
|
from toontown.town import MMStreet
|
|
from toontown.town import TownLoader
|
|
|
|
|
|
class MMTownLoader(TownLoader.TownLoader):
|
|
def __init__(self, hood, parentFSM, doneEvent):
|
|
TownLoader.TownLoader.__init__(self, hood, parentFSM, doneEvent)
|
|
self.streetClass = MMStreet.MMStreet
|
|
self.musicFile = 'phase_6/audio/bgm/MM_SZ.ogg'
|
|
self.activityMusicFile = 'phase_6/audio/bgm/MM_SZ_activity.ogg'
|
|
self.townStorageDNAFile = 'phase_6/dna/storage_MM_town.pdna'
|
|
|
|
def load(self, zoneId):
|
|
TownLoader.TownLoader.load(self, zoneId)
|
|
Suit.loadSuits(2)
|
|
dnaFile = 'phase_6/dna/minnies_melody_land_' + str(self.canonicalBranchZone) + '.pdna'
|
|
self.createHood(dnaFile)
|
|
|
|
def unload(self):
|
|
TownLoader.TownLoader.unload(self)
|
|
Suit.unloadSuits(2)
|
|
|