from bcdebug import debug
#######################################################################################
#  Custom Ship Plugin                                                                 #
#  Created by BC - Mod Packager                                                       #
#  Date: 5/11/11                                                                    #
#######################################################################################
#                                                                                     #
import Foundation
import App
#                                                                                     #
#######################################################################################
#                                                                                     #
abbrev = 'WCFCEntEnoyacht'
iconName = 'WCFCEntE'
longName = 'WC FC 1701-E No Yacht'
shipFile = 'WCFCEntEnoyacht' 
menuGroup = 'Fed Ships'
playerMenuGroup = 'Fed Ships'
SubMenu = 'WCFC Sovereign Class'
species = App.SPECIES_GALAXY
#                                                                                     #
#######################################################################################
#                                                                                     #
# Mod Info.  Use this as an opportunity to describe your work in brief.  This may     #
# have use later on for updates and such.                                             #
#                                                                                     #
credits = {
	'modName': 'WCFCEntEnoyacht',
	'author': '',
	'version': '1.0',
	'sources': [ 'http://' ],
	'comments': ''
}
#                                                                                     #
#######################################################################################
#                                                                                     #
# This is the ShipDef that adds the Ship to the game... BC-Mod Packager has           #
# automatically generated the proper ShipDef Line for you.                            #
#                                                                                     #
Foundation.ShipDef.WCFCEntEnoyacht = Foundation.FedShipDef(abbrev, species, { 'name': longName, 'iconName': iconName, 'shipFile': shipFile, 'SubMenu': SubMenu })
#                                                                                     #
#######################################################################################
#                                                                                     #
# Uncomment these if you have TGL  
Foundation.ShipDef.WCFCEntEnoyacht.hasTGLName = 1
Foundation.ShipDef.WCFCEntEnoyacht.hasTGLDesc = 1

# Otherwise, uncomment this and type something in:
# Foundation.ShipDef.WCFCEntEnoyacht.desc = 'WileyCoyote First Contact Enterprise E'
#                                                                                     #
#######################################################################################
#                                                                                     #
# These register the ship with the QuickBattle menus.  Don't touch them!!!            #
#                                                                                     #
if menuGroup:           Foundation.ShipDef.WCFCEntEnoyacht.RegisterQBShipMenu(menuGroup)
if playerMenuGroup:     Foundation.ShipDef.WCFCEntEnoyacht.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 WCFCEntEnoyachtIDSwap(self):
	retval = {"Textures": [["SovID_glow", "Data/Models/SharedTextures/FedShips/WCFCSovereign/EnterpriseID_glow.tga"], 
			       ["SovID_spec", "Data/Models/SharedTextures/FedShips/WCFCSovereign/EnterpriseID_spec.tga"]]}
	return retval

Foundation.ShipDef.WCFCEntEnoyacht.__dict__["SDT Entry"] = WCFCEntEnoyachtIDSwap