Esempio n. 1
0
# 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

        self.houseId = 0
        self.houseIndex = 0
        self.wallpaper = ''
        self.windows = ''
Esempio n. 2
0
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),
]


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

    def __init__(self, air, house):
        DistributedObjectAI.__init__(self, air)
Esempio n. 3
0
   CatalogAccessoryItem(166),
   CatalogAccessoryItem(211),
   CatalogAccessoryItem(314),
   CatalogAccessoryItem(320),
   CatalogAccessoryItem(173),
   CatalogAccessoryItem(328),
   CatalogAccessoryItem(329))),
 (10,
  3,
  11,
  2,
  ((3, 2900),
   CatalogChatItem(10003),
   CatalogClothingItem(1001, 0),
   CatalogClothingItem(1002, 0),
   CatalogWallpaperItem(10100),
   CatalogWallpaperItem(10200),
   CatalogFurnitureItem(10000),
   CatalogFurnitureItem(10010),
   CatalogNametagItem(9))),
 (10,
  3,
  11,
  2,
  (CatalogClothingItem(1744, 0),
   CatalogClothingItem(1745, 0),
   CatalogClothingItem(1748, 0),
   CatalogClothingItem(1771, 0),
   CatalogClothingItem(1774, 0),
   CatalogClothingItem(1775, 0),
   CatalogClothingItem(1743, 0),