Exemple #1
0
    '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),
]


class DistributedHouseInteriorAI(DistributedObjectAI):
    notify = directNotify.newCategory("DistributedHouseInteriorAI")

    def __init__(self, air, house):
        DistributedObjectAI.__init__(self, air)

        self.house = house
        self.houseId = 0
 1,
 2,
 28,
 ((3, 2920),
  (2, 2921),
  CatalogClothingItem(1200, 0),
  CatalogClothingItem(1201, 0),
  CatalogClothingItem(1202, 0),
  CatalogClothingItem(1203, 0),
  CatalogClothingItem(1204, 0),
  CatalogClothingItem(1205, 0),
  CatalogWallpaperItem(12000),
  CatalogWallpaperItem(12100),
  CatalogWallpaperItem(12200),
  CatalogWallpaperItem(12300),
  CatalogWainscotingItem(1030, 0),
  CatalogWainscotingItem(1030, 1),
  CatalogMouldingItem(1060, 0),
  CatalogMouldingItem(1060, 1),
  CatalogClothingItem(1206, 0),
  CatalogClothingItem(1207, 0),
  CatalogClothingItem(1208, 0),
  CatalogClothingItem(1209, 0),
  CatalogClothingItem(1210, 0),
  CatalogClothingItem(1211, 0),
  CatalogClothingItem(1212, 0),
  CatalogFurnitureItem(1670),
  CatalogFurnitureItem(1680),
  CatalogFurnitureItem(1450),
  CatalogMouldingItem(1100, 0),
  CatalogMouldingItem(1110, 0),