def __init__(self, cr): DistributedSimpleShip.__init__(self, cr) self._respawnLocation = None self.checkAnchor = None self.lastAttacked = None self.threatLevel = 0 self.openPort = 0 self.allowCrewState = True self.allowFriendState = True self.allowGuildState = False self.allowPublicState = False self._repairSpotMgr = ShipRepairSpotMgr(self.cr) self._team = PiratesGlobals.PLAYER_TEAM self.badInitTeam = None self.prevLocStack = None
def __init__(self, cr): DistributedSimpleShip.__init__(self, cr) self._respawnLocation = None self.checkAnchor = None self.lastAttacked = None self.threatLevel = 0 self.openPort = 0 self.allowCrewState = True self.allowFriendState = True self.allowGuildState = False self.allowPublicState = False self._repairSpotMgr = ShipRepairSpotMgr(self.cr) self._team = PiratesGlobals.PLAYER_TEAM self.badInitTeam = None self.prevLocStack = None self.customHull = 0 self.customRigging = 0 self.customSailPattern = 0 self.customSailLogo = 0 self.customProw = 0 self.customCannon = 0 self.boardingPanel = None