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()
def createClassicChar(self): if simbase.air.wantHalloween: self.classicChar = DistributedWitchMinnieAI.DistributedWitchMinnieAI( self.air) else: self.classicChar = DistributedMinnieAI.DistributedMinnieAI( self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start()
def createClassicChar(self): if ToontownGlobals.HALLOWEEN_COSTUMES in self.air.holidayManager.currentHolidays: self.classicChar = DistributedWitchMinnieAI.DistributedWitchMinnieAI( self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start() else: self.classicChar = DistributedMinnieAI.DistributedMinnieAI( self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start()
def startup(self): HoodDataAI.HoodDataAI.startup(self) trolley = DistributedTrolleyAI.DistributedTrolleyAI(self.air) trolley.generateWithRequired(self.zoneId) trolley.start() self.addDistObj(trolley) self.treasurePlanner = MMTreasurePlannerAI.MMTreasurePlannerAI(self.zoneId) self.treasurePlanner.start() self.classicChar = DistributedMinnieAI.DistributedMinnieAI(self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start() self.addDistObj(self.classicChar)
def createClassicChar(self): self.classicChar = DistributedMinnieAI.DistributedMinnieAI(self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start()