Esempio n. 1
0
 def startup(self):
     self.notify.info('Creating zone... Daisy Gardens')
     HoodDataAI.HoodDataAI.startup(self)
     trolley = DistributedTrolleyAI.DistributedTrolleyAI(self.air)
     trolley.generateWithRequired(self.zoneId)
     self.addDistObj(trolley)
     flower = DistributedDGFlowerAI.DistributedDGFlowerAI(self.air)
     flower.generateWithRequired(self.zoneId)
     self.addDistObj(flower)
     self.createButterflies(ButterflyGlobals.DG)
 def startup(self):
     HoodDataAI.HoodDataAI.startup(self)
     trolley = DistributedTrolleyAI.DistributedTrolleyAI(self.air)
     trolley.generateWithRequired(self.zoneId)
     trolley.start()
     self.addDistObj(trolley)
     self.treasurePlanner = DGTreasurePlannerAI.DGTreasurePlannerAI(self.zoneId)
     self.treasurePlanner.start()
     self.classicChar = DistributedDaisyAI.DistributedDaisyAI(self.air)
     self.classicChar.generateWithRequired(self.zoneId)
     self.classicChar.start()
     self.addDistObj(self.classicChar)
     flower = DistributedDGFlowerAI.DistributedDGFlowerAI(self.air)
     flower.generateWithRequired(self.zoneId)
     flower.start()
     self.addDistObj(flower)
     self.createButterflies(ButterflyGlobals.DG)
    def startup(self):
        HoodDataAI.HoodDataAI.startup(self)

        trolley = DistributedTrolleyAI.DistributedTrolleyAI(self.air)
        trolley.generateWithRequired(self.zoneId)
        trolley.start()
        self.addDistObj(trolley)

        self.treasurePlanner = DGTreasurePlannerAI.DGTreasurePlannerAI(
            self.zoneId)
        self.treasurePlanner.start()

        if simbase.config.GetBool('want-classic-chars', True):
            if simbase.config.GetBool('want-daisy', True):
                self.createClassicChar()

        flower = DistributedDGFlowerAI.DistributedDGFlowerAI(self.air)
        flower.generateWithRequired(self.zoneId)
        self.addDistObj(flower)

        self.createButterflies(ButterflyGlobals.DG)
Esempio n. 4
0
 def createFlower(self):
     self.flower = DistributedDGFlowerAI.DistributedDGFlowerAI(self.air)
     self.flower.generateWithRequired(self.zoneId)
     self.flower.start()