def createClassicChar(self):
        if simbase.air.holidayManager.isHolidayRunning(
                ToontownGlobals.HALLOWEEN_COSTUMES):
            self.classicChar = DistributedWitchMinnieAI.DistributedWitchMinnieAI(
                self.air)
            self.classicChar.setCurrentCostume(
                ToontownGlobals.HALLOWEEN_COSTUMES
            )  # We're using holidayIDs as costume IDs.

        elif simbase.air.holidayManager.isHolidayRunning(
                ToontownGlobals.APRIL_FOOLS_COSTUMES):
            self.classicChar = DistributedPlutoAI.DistributedPlutoAI(self.air)
            self.classicChar.setCurrentCostume(
                ToontownGlobals.APRIL_FOOLS_COSTUMES
            )  # We're using holidayIDs as costume IDs.

        else:
            self.classicChar = DistributedMinnieAI.DistributedMinnieAI(
                self.air)
            self.classicChar.setCurrentCostume(
                ToontownGlobals.NO_COSTUMES
            )  # We're using holidayIDs as costume IDs.

        self.classicChar.generateWithRequired(self.zoneId)
        self.classicChar.start()
Example #2
0
 def createClassicChar(self):
     if ToontownGlobals.HALLOWEEN_COSTUMES in self.air.holidayManager.currentHolidays:
         self.classicChar = DistributedWesternPlutoAI.DistributedWesternPlutoAI(
             self.air)
         self.classicChar.generateWithRequired(self.zoneId)
         self.classicChar.start()
     else:
         self.classicChar = DistributedPlutoAI.DistributedPlutoAI(self.air)
         self.classicChar.generateWithRequired(self.zoneId)
         self.classicChar.start()
Example #3
0
 def startup(self):
     HoodDataAI.HoodDataAI.startup(self)
     trolley = DistributedTrolleyAI.DistributedTrolleyAI(self.air)
     trolley.generateWithRequired(self.zoneId)
     trolley.start()
     self.addDistObj(trolley)
     self.treasurePlanner = BRTreasurePlannerAI.BRTreasurePlannerAI(self.zoneId)
     self.treasurePlanner.start()
     self.classicChar = DistributedPlutoAI.DistributedPlutoAI(self.air)
     self.classicChar.generateWithRequired(self.zoneId)
     self.classicChar.start()
     self.addDistObj(self.classicChar)
Example #4
0
 def createClassicChar(self):
     self.classicChar = DistributedPlutoAI.DistributedPlutoAI(self.air)
     self.classicChar.generateWithRequired(self.zoneId)
     self.classicChar.start()