from bcdebug import debug
#######################################################################################
#  Custom Ship Plugin                                                                 #
#  Created by BC - Mod Packager                                                       #
#  Date: 5/11/11                                                                    #
#######################################################################################
#                                                                                     #
import Foundation
import App
#                                                                                     #
#######################################################################################
#                                                                                     #
abbrev = 'WCFCSovereignnoyacht'
iconName = 'WCFCEntE'
longName = 'WC FC Sovereign No Yacht'
shipFile = 'WCFCSovereignnoyacht' 
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': 'WCFCSovereignnoyacht',
	'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.WCFCSovereignnoyacht = Foundation.FedShipDef(abbrev, species, { 'name': longName, 'iconName': iconName, 'shipFile': shipFile, 'SubMenu': SubMenu })
#                                                                                     #
#######################################################################################
#                                                                                     #
# Uncomment these if you have TGL  
Foundation.ShipDef.WCFCSovereignnoyacht.hasTGLName = 1
Foundation.ShipDef.WCFCSovereignnoyacht.hasTGLDesc = 1

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

Foundation.ShipDef.WCFCSovereignnoyacht.__dict__["SDT Entry"] = WCFCSovereignnoyachtIDSwap