
CatalogOnOrderText)ĪuxText = TTLocalizer. NORMALĪuxText = '%d %s' % ( orderCount, TTLocalizer. loadModel( 'phase_3.5/models/gui/tt_m_gui_gen_emblemIcons') beanPriceLabel = DirectLabel( parent = self, relief = None, pos =( 0, 0, - 0.3), scale = priceScale, image = beanModel, image_pos =( - 0.4, 0, 0.4), text = str( numericBeanPrice), text_fg =( 0.95, 0.95, 0, 1), text_shadow =( 0, 0, 0, 1), text_font = ToontownGlobals. loadModel( 'phase_5.5/models/estate/jellyBean') _handleGiftRequest)ĭef createEmblemPrices( self, numericBeanPrice):ĮmblemPrices = self. CatalogGiftText, text_scale = buyTextScale, text_pos =( - 0.005, - 0.01), image =( upButton, giftButton = DirectButton( parent = self, relief = None, pos =( 0.2, 0, 0.15), scale =( 0.7, 1, 0.8), text = TTLocalizer. find( '**/InventoryButtonUp')ĭownGButton = buttonModels. loadModel( 'phase_5.5/models/gui/catalogSoundIcons') buyButton = DirectButton( parent = self, relief = None, pos =( 0.2, 0, 0.15), scale =( 0.7, 1, 0.8), text = buyText, text_scale = buyTextScale, text_pos =( - 0.005, - 0.01), image =( upButton, find( '**/InventoryButtonUp')ĭownButton = buttonModels. loadModel( 'phase_3.5/models/gui/inventory_gui') createEmblemPrices( numericBeanPrice)īuttonModels = loader.

priceLabel = DirectLabel( parent = self, relief = None, pos =( 0, 0, - 0.3), scale = priceScale, text = priceStr, text_fg =( 0.95, 0.95, 0, 1), text_shadow =( 0, 0, 0, 1), text_font = ToontownGlobals. PriceStr = str( numericBeanPrice) + ' ' + TTLocalizer. nameLabel = CATALOG_PANEL_ACCESSORY_WORDWRAP CIPnameLabel, text_wordwrap = CATALOG_PANEL_WORDWRAP + TTLocalizer. getInterfaceFont(), text_scale = TTLocalizer. getDisplayName(), text_fg =( 0, 0, 0, 1), text_font = ToontownGlobals. nameLabel = DirectLabel( parent = self, relief = None, text = self.

auxText = DirectLabel( parent = self, relief = None, scale = 0.05, pos =( - 0.2, 0, 0.16)) getInterfaceFont(), text_wordwrap = CATALOG_PANEL_WORDWRAP) typeLabel = DirectLabel( parent = self, relief = None, pos =( 0, 0, 0.24), scale = TTLocalizer. prevVariant = DirectButton( parent = self, relief = None, image =( prevUp, nextVariant = DirectButton( parent = self, relief = None, image =( nextUp, loadModel( 'phase_5.5/models/gui/catalog_gui') getAllToonStatues()Įlif typeCode = CatalogItemTypes. furnitureType)Įlif typeCode = CatalogItemTypes. patternIndex)Įlif typeCode = CatalogItemTypes. WAINSCOTING_ITEM or typeCode = CatalogItemTypes. FURNITURE_ITEM or typeCode = CatalogItemTypes. MOULDING_ITEM or typeCode = CatalogItemTypes. FLOORING_ITEM or typeCode = CatalogItemTypes. WALLPAPER_ITEM or typeCode = CatalogItemTypes. needsCustomize() and ( typeCode = CatalogItemTypes. parentCatalogScreen = parentCatalogScreen newCategory( 'CatalogItemPanel')ĭef _init_( self, parent = aspect2d, parentCatalogScreen = None, ** kw): TeaserPanel import TeaserPanelįrom direct. toonbase import TTLocalizerįrom CatalogWallpaperItem import getAllWallpapersįrom CatalogFlooringItem import getAllFlooringsįrom CatalogMouldingItem import getAllMouldingsįrom CatalogWainscotingItem import getAllWainscotingsįrom CatalogFurnitureItem import getAllFurnituresįrom toontown. toontowngui import TTDialogįrom toontown. toonbase import ToontownGlobalsįrom toontown.
