mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Black cats shouldn't be on every single 13th + racing tempo back to normal, but music needs to be fixed lel.
This commit is contained in:
parent
f6e77208bb
commit
93004f9c20
2 changed files with 5 additions and 4 deletions
|
@ -28,8 +28,9 @@ Holidays = {
|
||||||
'endMessage': TTLocalizer.SillySaturdayEnd
|
'endMessage': TTLocalizer.SillySaturdayEnd
|
||||||
},
|
},
|
||||||
ToontownGlobals.BLACK_CAT_DAY: {
|
ToontownGlobals.BLACK_CAT_DAY: {
|
||||||
'startDay': 13,
|
'startMonth': 10,
|
||||||
'endDay': 13,
|
'startDay': 31,
|
||||||
|
'endDay': 31,
|
||||||
'startMessage': TTLocalizer.BlackCatHolidayStart,
|
'startMessage': TTLocalizer.BlackCatHolidayStart,
|
||||||
'ongoingMessage': TTLocalizer.BlackCatHolidayStart,
|
'ongoingMessage': TTLocalizer.BlackCatHolidayStart,
|
||||||
'endMessage': TTLocalizer.BlackCatHolidayEnd
|
'endMessage': TTLocalizer.BlackCatHolidayEnd
|
||||||
|
|
|
@ -551,14 +551,14 @@ class DistributedRace(DistributedObject.DistributedObject):
|
||||||
newLapT = (newT - self.startT) / self.curve.getMaxT() % 1.0
|
newLapT = (newT - self.startT) / self.curve.getMaxT() % 1.0
|
||||||
if newLapT - self.currLapT < -0.5:
|
if newLapT - self.currLapT < -0.5:
|
||||||
self.laps += 1
|
self.laps += 1
|
||||||
self.changeMusicTempo(1 + self.laps * 0.33)
|
self.changeMusicTempo(1 + self.laps * 0.5)
|
||||||
self.notify.debug('crossed the start line: %s, %s, %s, %s' % (self.laps,
|
self.notify.debug('crossed the start line: %s, %s, %s, %s' % (self.laps,
|
||||||
self.startT,
|
self.startT,
|
||||||
self.currT,
|
self.currT,
|
||||||
newT))
|
newT))
|
||||||
elif newLapT - self.currLapT > 0.5:
|
elif newLapT - self.currLapT > 0.5:
|
||||||
self.laps -= 1
|
self.laps -= 1
|
||||||
self.changeMusicTempo(1 + self.laps * 0.33)
|
self.changeMusicTempo(1 + self.laps * 0.5)
|
||||||
self.notify.debug('crossed the start line - wrong way: %s, %s, %s, %s' % (self.laps,
|
self.notify.debug('crossed the start line - wrong way: %s, %s, %s, %s' % (self.laps,
|
||||||
self.startT,
|
self.startT,
|
||||||
self.currT,
|
self.currT,
|
||||||
|
|
Loading…
Reference in a new issue