#####  Created by:
#####  Bridge Commander Universal Tool


import App
import Foundation


abbrev = "Titan"
iconName = "Luna"
longName = "U.S.S. Titan"
shipFile = "Titan"
species = App.SPECIES_GALAXY
menuGroup = "Fed Ships"
playerMenuGroup = "Fed Ships"
Foundation.ShipDef.Titan = Foundation.FedShipDef(abbrev, species, { 'name': longName, 'iconName': iconName, 'shipFile': shipFile })


Foundation.ShipDef.Titan.desc = "The U.S.S. Titan, commanded by Captain William Thomas Riker.  Second ship of the Luna-Class fleet."
Foundation.ShipDef.Titan.SubMenu = "Luna Class"
Foundation.ShipDef.Titan.fMaxWarp = 9.98 + 0.0001
Foundation.ShipDef.Titan.fCruiseWarp = 9.6 + 0.0001


if menuGroup:           Foundation.ShipDef.Titan.RegisterQBShipMenu(menuGroup)
if playerMenuGroup:     Foundation.ShipDef.Titan.RegisterQBPlayerShipMenu(playerMenuGroup)


if Foundation.shipList._keyList.has_key(longName):
      Foundation.ShipDef.__dict__[longName].friendlyDetails[2] = Foundation.shipList[longName].friendlyDetails[2]
      Foundation.ShipDef.__dict__[longName].enemyDetails[2] = Foundation.shipList[longName].enemyDetails[2]


def TitanIDSwap(self):
       retval = {'Textures': [
                ['DefaultID_glow', 'data/Models/SharedTextures/FedShips/Luna/TitanID_glow.tga'],
                ['DefaultID_specular', 'data/Models/SharedTextures/FedShips/Luna/High/TitanID_specular.tga']
                ]}
       return retval


Foundation.ShipDef.Titan.__dict__['SDT Entry'] = TitanIDSwap
