mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Added all CodeRedemption imports, and set correct date for weed.
This commit is contained in:
parent
fd9c3c945b
commit
5bc386c801
1 changed files with 10 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
from direct.distributed.DistributedObjectAI import DistributedObjectAI
|
||||
from toontown.catalog import CatalogAccessoryItem
|
||||
from toontown.catalog import CatalogClothingItem
|
||||
from toontown.catalog import CatalogNametagItem
|
||||
from toontown.catalog import CatalogChatItem
|
||||
|
@ -9,7 +10,13 @@ from toontown.catalog import CatalogGardenStarterItem
|
|||
from toontown.catalog import CatalogMouldingItem
|
||||
from toontown.catalog import CatalogRentalItem
|
||||
from toontown.catalog import CatalogFurnitureItem
|
||||
from toontown.catalog import CatalogAnimatedFurnitureItem
|
||||
from toontown.catalog import CatalogFlooringItem
|
||||
from toontown.catalog import CatalogPetTrickItem
|
||||
from toontown.catalog import CatalogWainscotingItem
|
||||
from toontown.catalog import CatalogToonStatueItem
|
||||
from toontown.catalog import CatalogWallpaperItem
|
||||
from toontown.catalog import CatalogWindowItem
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from datetime import datetime, timedelta
|
||||
import time
|
||||
|
@ -35,7 +42,8 @@ class TTCodeRedemptionMgrAI(DistributedObjectAI):
|
|||
'items': [
|
||||
CatalogClothingItem.CatalogClothingItem(1821, 0)
|
||||
],
|
||||
'expirationDate': datetime(2016, 3, 30) # temporary expiration until release
|
||||
'month': 4,
|
||||
'day': 20
|
||||
},
|
||||
'gardening': {
|
||||
'items': [
|
||||
|
@ -95,4 +103,4 @@ class TTCodeRedemptionMgrAI(DistributedObjectAI):
|
|||
av.onOrder.append(item)
|
||||
|
||||
av.b_setDeliverySchedule(av.onOrder)
|
||||
self.sendUpdateToAvatarId(avId, 'redeemCodeResult', [context, 0, 0])
|
||||
self.sendUpdateToAvatarId(avId, 'redeemCodeResult', [context, 0, 0])
|
||||
|
|
Loading…
Reference in a new issue