mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
cleanup
This commit is contained in:
parent
3e0fb6b605
commit
70e2f91ea1
1 changed files with 6 additions and 6 deletions
|
@ -27,7 +27,7 @@ class DDSafeZoneLoader(SafeZoneLoader.SafeZoneLoader):
|
|||
self.foghornSound = base.loadSfx('phase_5/audio/sfx/SZ_DD_foghorn.ogg')
|
||||
self.bellSound = base.loadSfx('phase_6/audio/sfx/SZ_DD_shipbell.ogg')
|
||||
self.waterSound = base.loadSfx('phase_6/audio/sfx/SZ_DD_waterlap.ogg')
|
||||
|
||||
|
||||
if not self.boat.isEmpty():
|
||||
wheel = self.boat.find('**/wheel')
|
||||
|
||||
|
@ -36,20 +36,20 @@ class DDSafeZoneLoader(SafeZoneLoader.SafeZoneLoader):
|
|||
|
||||
self.boat.stash()
|
||||
self.donald = NPCToons.createLocalNPC(7011)
|
||||
|
||||
|
||||
self.donald.setPos(0, -1, 3.95)
|
||||
self.donald.reparentTo(self.boat)
|
||||
self.donald.setHat(48, 0, 0)
|
||||
|
||||
|
||||
self.donaldSpeech = Sequence()
|
||||
random.shuffle(TTLocalizer.DonaldChatter)
|
||||
|
||||
|
||||
for speechText in TTLocalizer.DonaldChatter:
|
||||
self.donaldSpeech.append(Func(self.donald.setChatAbsolute, speechText, CFSpeech))
|
||||
self.donaldSpeech.append(Wait(len(speechText.split(' '))))
|
||||
self.donaldSpeech.append(Func(self.donald.clearChat))
|
||||
self.donaldSpeech.append(Wait(15))
|
||||
|
||||
|
||||
self.donaldSpeech.loop(0)
|
||||
|
||||
def unload(self):
|
||||
|
@ -69,4 +69,4 @@ class DDSafeZoneLoader(SafeZoneLoader.SafeZoneLoader):
|
|||
del self.bellSound
|
||||
del self.waterSound
|
||||
del self.submergeSound
|
||||
del self.boat
|
||||
del self.boat
|
||||
|
|
Loading…
Reference in a new issue