Example #1
0
 def __init__(self):
     Ship.__init__(self)
     self.gfxTurretID = None
     self.fitted = False
     self.typeID = None
     self.modules = {}
     self.model = None
     self.launcherTypeID = None
Example #2
0
    def Release(self):
        if self.released:
            return
        for turretPair in self.modules.itervalues():
            if turretPair is not None:
                turretPair.Release()
                turretPair.owner = None

        self.modules = {}
        Ship.Release(self)
 def __init__(self):
     Ship.__init__(self)
     self._dirtTimeStamp = None
     self._killCounter = None
Example #4
0
 def OnSlimItemUpdated(self, slimItem):
     Ship.OnSlimItemUpdated(self, slimItem)
     self.UpdateDirtLevel()
     self.UpdateKillCounter()
Example #5
0
 def Assemble(self):
     Ship.Assemble(self)
     self.FitBoosters()
     self.UpdateDirtLevel()
     self.UpdateKillCounter()
Example #6
0
 def __init__(self):
     Ship.__init__(self)
     self._dirtTimeStamp = None
     self._killCounter = None
Example #7
0
 def Assemble(self):
     Ship.Assemble(self)
     self.FitBoosters(isNPC=True)
     self.SetupSharedAmbientAudio()