def createClassicChar(self): if simbase.air.holidayManager.isHolidayRunning( ToontownGlobals.HALLOWEEN_COSTUMES): self.classicChar = DistributedFrankenDonaldAI.DistributedFrankenDonaldAI( 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 = DistributedGoofySpeedwayAI.DistributedGoofySpeedwayAI( self.air) self.classicChar.setCurrentCostume( ToontownGlobals.APRIL_FOOLS_COSTUMES ) # We're using holidayIDs as costume IDs. else: self.classicChar = DistributedDonaldAI.DistributedDonaldAI( 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 = DistributedFrankenDonaldAI.DistributedFrankenDonaldAI(self.air) else: self.classicChar = DistributedDonaldAI.DistributedDonaldAI(self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start()
def createClassicChar(self): if ToontownGlobals.HALLOWEEN_COSTUMES in self.air.holidayManager.currentHolidays: self.classicChar = DistributedFrankenDonaldAI.DistributedFrankenDonaldAI(self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start() else: self.classicChar = DistributedDonaldAI.DistributedDonaldAI(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 = DLTreasurePlannerAI.DLTreasurePlannerAI(self.zoneId) self.treasurePlanner.start() self.classicChar = DistributedDonaldAI.DistributedDonaldAI(self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start() self.addDistObj(self.classicChar)
def createClassicChar(self): self.classicChar = DistributedDonaldAI.DistributedDonaldAI(self.air) self.classicChar.generateWithRequired(self.zoneId) self.classicChar.start()