def announceGenerate(self):
        DistributedInteractiveAI.announceGenerate(self)

        self.game = DistributedRepairGameAI(self.air)
        self.game.setDifficulty(self.difficulty)
        self.game.setOnLand(True)
        self.getParentObj().generateChildWithRequired(self.game, self.zoneId)
Ejemplo n.º 2
0
 def __init__(self, air):
     DistributedInteractiveAI.__init__(self, air)
     self.gameVariation = PiratesGlobals.VILLAGER_TEAM
     self.dealerType = PiratesGlobals.VILLAGER_TEAM
     self.tableType = 1
     self.dealerName = 'Dealer'
     self.aiList = []
Ejemplo n.º 3
0
    def __init__(self, air):
        DistributedInteractiveAI.__init__(self, air)

        self.doorIndex = 0
        self.buildingUid = ''
        self.locked = 0
        self.otherDoorId = 0
        self.questNeeded = ''
Ejemplo n.º 4
0
 def __init__(self, air):
     DistributedInteractiveAI.__init__(self, air)
     LootableAI.__init__(self, air)
     self.index = 0
     self.oceanOffset = 0
     self.onBoat = False
 def __init__(self, air):
     DistributedInteractiveAI.__init__(self, air)
     self.color = [1.0, 1.0, 1.0, 1.0]
    def delete(self):
        for game in avatar2game.values():
            game.requestDelete()

        self.ignoreAll()
        DistributedInteractiveAI.delete(self)
    def __init__(self, air):
        DistributedInteractiveAI.__init__(self, air)

        self.potionZone = 0
        self.avatar2game = {}
 def __init__(self, air):
     DistributedMovingObjectAI.__init__(self, air)
     DistributedInteractiveAI.__init__(self, air)
     DistributedQuestGiverAI.__init__(self, air)
Ejemplo n.º 9
0
 def __init__(self, air):
     DistributedInteractiveAI.__init__(self, cr)
     DistributedTargetableObjectAI.__init__(self, cr)
     WeaponBase.__init__(self)
Ejemplo n.º 10
0
 def __init__(self, air):
     DistributedInteractiveAI.__init__(self, air)
     self.currentDepth = 0
     self.visZone = ''
    def delete(self):
        DistributedInteractiveAI.delete(self)

        self.game.requestDelete()
 def __init__(self, air):
     DistributedInteractiveAI.__init__(self, air)
     self.game = None
Ejemplo n.º 13
0
    def __init__(self, air):
        DistributedInteractiveAI.__init__(self, air)

        self.interactRadius = 0
        self.locationId = 0
        self.siegeTeam = 0