2015-06-22 02:23:46 -05:00
|
|
|
from toontown.toonbase import ToontownGlobals, TTLocalizer
|
|
|
|
|
|
|
|
Holidays = {
|
|
|
|
ToontownGlobals.LAUGHING_MAN: {
|
|
|
|
'startMonth': 6,
|
|
|
|
'startDay': 22,
|
|
|
|
'endMonth': 6,
|
|
|
|
'endDay': 22,
|
|
|
|
'startMessage': TTLocalizer.LaughingManHolidayStart,
|
|
|
|
'ongoingMessage': TTLocalizer.LaughingManHolidayOngoing,
|
|
|
|
'endMessage': TTLocalizer.LaughingManHolidayEnd
|
|
|
|
},
|
|
|
|
ToontownGlobals.GRAND_PRIX: {
|
|
|
|
'weekDay': 0,
|
|
|
|
'startMessage': TTLocalizer.CircuitRaceStart,
|
|
|
|
'ongoingMessage': TTLocalizer.CircuitRaceOngoing,
|
|
|
|
'endMessage': TTLocalizer.CircuitRaceEnd
|
|
|
|
},
|
|
|
|
ToontownGlobals.FISH_BINGO: {
|
|
|
|
'weekDay': 2,
|
|
|
|
'startMessage': TTLocalizer.FishBingoStart,
|
|
|
|
'ongoingMessage': TTLocalizer.FishBingoOngoing,
|
|
|
|
'endMessage': TTLocalizer.FishBingoEnd
|
|
|
|
},
|
|
|
|
ToontownGlobals.SILLY_SATURDAY: {
|
|
|
|
'weekDay': 5,
|
|
|
|
'startMessage': TTLocalizer.SillySaturdayStart,
|
|
|
|
'ongoingMessage': TTLocalizer.SillySaturdayOngoing,
|
|
|
|
'endMessage': TTLocalizer.SillySaturdayEnd
|
2015-06-22 05:10:54 -05:00
|
|
|
},
|
|
|
|
ToontownGlobals.BLACK_CAT_DAY: {
|
|
|
|
'startDay': 13,
|
|
|
|
'endDay': 13,
|
|
|
|
'startMessage': TTLocalizer.BlackCatHolidayStart,
|
|
|
|
'ongoingMessage': TTLocalizer.BlackCatHolidayStart,
|
|
|
|
'endMessage': TTLocalizer.BlackCatHolidayEnd
|
2015-04-09 06:05:29 -05:00
|
|
|
},
|
|
|
|
ToontownGlobals.APRIL_TOONS_WEEK: {
|
|
|
|
'startMonth': 4,
|
|
|
|
'startDay': 1,
|
|
|
|
'endMonth': 4,
|
|
|
|
'endDay': 7,
|
|
|
|
'startMessage': TTLocalizer.AprilToonsWeekStart,
|
|
|
|
'ongoingMessage': TTLocalizer.AprilToonsWeekStart,
|
|
|
|
'endMessage': TTLocalizer.AprilToonsWeekEnd
|
2015-06-22 02:23:46 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
def getHoliday(id):
|
|
|
|
return Holidays.get(id, {})
|