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

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

Foundation.ShipDef.WCNemSovyacht.__dict__["SDT Entry"] = WCNemSovyachtIDSwap