def _DistributedLawbotBossAI__makeLawyers(self): self._DistributedLawbotBossAI__resetLawyers() lawCogChoices = ['b', 'dt', 'ac', 'bs', 'sd', 'le', 'bw'] for i in range(self.numLawyers): suit = DistributedLawbotBossSuitAI.DistributedLawbotBossSuitAI( self.air, None) suit.dna = SuitDNA.SuitDNA() lawCog = random.choice(lawCogChoices) suit.dna.newSuit(lawCog) suit.setPosHpr(*ToontownGlobals.LawbotBossLawyerPosHprs[i]) suit.setBoss(self) suit.generateWithRequired(self.zoneId) self.lawyers.append(suit) self._DistributedLawbotBossAI__sendLawyerIds()
def __makeLawyers(self): self.__resetLawyers() lawCogChoices = ['le', 'bw'] for i in xrange(self.numLawyers): suit = DistributedLawbotBossSuitAI.DistributedLawbotBossSuitAI( self.air, None) suit.dna = SuitDNA.SuitDNA() lawCog = random.choice(lawCogChoices) #if (i == 0): lawCog = 'bw' #Cog 8 #elif (i == 1): lawCog = 'le' #Cog 7 #elif (i == 2): lawCog = 'le' #Cog 6 #elif (i == 3): lawCog = 'le' #Cog 5 #elif (i == 4): lawCog = 'bw' #Cog 4 #elif (i == 5): lawCog = 'bw' #Cog 3 #elif (i == 6): lawCog = 'le' #Cog 2 #elif (i == 7): lawCog = 'b' #Cog 1 #elif (i == 8): lawCog = 'bw' #Cog 9 #elif (i == 9): lawCog = 'bw' #Cog 10 #elif (i == 10): lawCog = 'le' #Cog 8m #elif (i == 11): lawCog = 'bw' #Cog 7m #elif (i == 12): lawCog = 'bw' #Cog 6m #elif (i == 13): lawCog = 'le' #Cog 5m #elif (i == 14): lawCog = 'le' #Cog 4m #elif (i == 15): lawCog = 'le' #Cog 3m #elif (i == 16): lawCog = 'bw' #Cog 2m #elif (i == 17): lawCog = 'bw' #Cog 1m #lif (i == 18): lawCog = 'le' #Cog 9m #elif (i == 19): lawCog = 'le' #Cog 10m #elif (i == 20): lawCog = 'le' #Cog 21 #elif (i == 21): lawCog = 'le' #Cog 22 suit.dna.newSuit(lawCog) suit.setPosHpr(*ToontownGlobals.LawbotBossLawyerPosHprs[i]) suit.setBoss(self) suit.generateWithRequired(self.zoneId) self.lawyers.append(suit) self.__sendLawyerIds() return