from toontown.dna.DNAParser import * import HouseGlobals import random # The house interior DNA files for each houseInteriors = [ 'phase_5.5/dna/house_interior3.pdna', 'phase_5.5/dna/house_interior4.pdna', 'phase_5.5/dna/house_interior5.pdna', 'phase_5.5/dna/house_interior7.pdna', 'phase_5.5/dna/house_interior8.pdna', 'phase_5.5/dna/house_interior10.pdna', ] defaultWindows = [ CatalogWindowItem(20, placement=2), CatalogWindowItem(20, placement=4) ] defaultWallpaper = [ CatalogWallpaperItem(1110, 0, 1010, 0), CatalogMouldingItem(1000, 2), CatalogFlooringItem(1000, 4), CatalogWainscotingItem(1010, 4), CatalogWallpaperItem(1110, 0, 1010, 0), CatalogMouldingItem(1000, 2), CatalogFlooringItem(1000, 4), CatalogWainscotingItem(1010, 4), ]
'chairA': 100, 'cabinetYwood': 110, 'couch_1person': 700, 'rug': 1000, 'rugA': 1010, 'rugB': 1020, 'couch_2person': 710, 'ending_table': 1200, 'lamp_short': 600, 'lamp_tall': 610, 'phone': 1399, 'desk_only_wo_phone': 800, 'desk_only': 800 } defaultWindows = CatalogItemList( [CatalogWindowItem(20, 2), CatalogWindowItem(20, 4)], store=CatalogItem.WindowPlacement) defaultWallpaper = CatalogItemList([ CatalogWallpaperItem(1110, 0, 1010, 0), CatalogMouldingItem(1000, 2), CatalogFlooringItem(1000, 4), CatalogWainscotingItem(1010, 4), CatalogWallpaperItem(1110, 0, 1010, 0), CatalogMouldingItem(1000, 2), CatalogFlooringItem(1000, 4), CatalogWainscotingItem(1010, 4) ], store=CatalogItem.Customization)
from toontown.catalog.CatalogWallpaperItem import CatalogWallpaperItem from DNAFurnitureReaderAI import DNAFurnitureReaderAI from toontown.dna.DNAParser import * # The house interior DNA files for each houseInteriors = [ 'phase_5.5/dna/house_interior3.dna', 'phase_5.5/dna/house_interior4.dna', 'phase_5.5/dna/house_interior5.dna', 'phase_5.5/dna/house_interior7.dna', 'phase_5.5/dna/house_interior8.dna', 'phase_5.5/dna/house_interior10.dna', ] defaultWindows = [ CatalogWindowItem(20, placement=0), ] defaultWallpaper = [ CatalogWallpaperItem(1100, 0, 1000, 0), ] class DistributedHouseInteriorAI(DistributedObjectAI): notify = DirectNotifyGlobal.directNotify.newCategory( "DistributedHouseInteriorAI") def __init__(self, air, house): DistributedObjectAI.__init__(self, air) self.house = house
CatalogClothingItem(116, 0), CatalogClothingItem(216, 0)), (300, (5, 2000), CatalogFurnitureItem(1410), 3000, 3500, 4000, 4500, CatalogFurnitureItem(1100), CatalogFurnitureItem(1020), CatalogClothingItem(408, 0), 5000), (100, (5, 2000), CatalogWindowItem(40), 3000, 3500, 4000, 4500, CatalogFurnitureItem(110), CatalogFurnitureItem(100), nextAvailablePole, nextAvailableCloset, nextAvailableBank), (100, (5, 2000), CatalogFurnitureItem(1420), CatalogEmoteItem(9), 3000, 3500,