y no purchase pls

This commit is contained in:
Loudrob 2015-05-14 08:04:30 -04:00
parent c189e278ad
commit a2acb60412
4 changed files with 7 additions and 2 deletions

View file

@ -29,6 +29,7 @@ want-game-tables #t
want-find-four #t
want-chinese-checkers #t
want-checkers #t
want-house-types #t
# Chat:
want-whitelist #f

View file

@ -40,6 +40,9 @@ class CatalogHouseItem(CatalogItem.CatalogItem):
def getName(self):
return TTLocalizer.HouseNames[self.houseId]
def getDeliveryTime(self):
return 0
def getEmblemPrices(self):
return HouseGlobals.HouseEmblemPrices[self.houseId]
@ -66,4 +69,4 @@ class CatalogHouseItem(CatalogItem.CatalogItem):
def getAllHouses():
return [CatalogHouseItem(i) for i in xrange(6)]

View file

@ -644,7 +644,7 @@ class CatalogScreen(DirectFrame):
if item.loyaltyRequirement() != 0:
self.loyaltyPanelList.append(CatalogItemPanel.CatalogItemPanel(parent=hidden, item=item, type=CatalogItem.CatalogTypeLoyalty, parentCatalogScreen=self))
elif item.getEmblemPrices():
self.emblemPanelList.append(CatalogItemPanel.CatalogItemPanel(parent=hidden, item=item, type=CatalogItem.CatalogTypeBackOrder, parentCatalogScreen=self))
self.emblemPanelList.append(CatalogItemPanel.CatalogItemPanel(parent=hidden, item=item, type=CatalogItem.CatalogTypeBackorder, parentCatalogScreen=self))
else:
self.backPanelList.append(CatalogItemPanel.CatalogItemPanel(parent=hidden, item=item, type=CatalogItem.CatalogTypeBackorder, parentCatalogScreen=self))

View file

@ -162,6 +162,7 @@ class LocalToon(DistributedToon.DistributedToon, LocalAvatar.LocalAvatar):
self.oldPos = None
self.questMap = None
self.prevToonIdx = 0
self.houseType = 0
def setDNA(self, dna):
base.localAvatarStyle = dna