Icon_Speed = "data:ui/newui/research/icons/speed.mres"
Icon_Health = "data:ui/newui/research/icons/health.mres"
Icon_Tech = "data:ui/newui/research/icons/tech.mres"
Icon_Ability = "data:ui/newui/research/icons/ability.mres"
Icon_Build = "data:ui/newui/research/icons/build.mres"
Modifier = 0
Ability = 1
AllShips = 0
Family = 1
Ship = 2
research = {


--chassis
{
    Name = "Fighter_DesignsI",
    RequiredResearch = "",
    RequiredSubSystems = "",
    Cost = 750,
    Time = 15,
    DisplayedName = "Fighter Designs I",
    DisplayPriority = 1,
    Description = "Fighter technology and weapons systems. Enables standard fighter production\n",
    TargetType = AllShips,
    TargetName = "Imp_Tie_Fighter",
    Icon = Icon_Tech,
    ShortDisplayedName = "Fighter Designs I",
},
{
    Name = "Corvette_Designs",
    RequiredResearch = "",
    RequiredSubSystems = "",
    Cost = 2000,
    Time = 25,
    DisplayedName = "Corvette Designs",
    DisplayPriority = 2,
    Description = "Schematics for light combat warships. Enables corvette-class construction\n",
    TargetType = AllShips,
    TargetName = "Imp_Escort_Shuttle",
    Icon = Icon_Tech,
    ShortDisplayedName = "Corvette Designs",
},
{
    Name = "Heavy_Corvette_Designs",
    RequiredResearch = "Corvette_Designs & TurboLasersI",
    RequiredSubSystems = "",
    Cost = 4000,
    Time = 35,
    DisplayedName = "Heavy Corvette Designs",
    DisplayPriority = 3,
    Description = "Schematics for heavily armored anti-fighter and anti-corvette combat warships. Enables heavy and advanced corvette construction\n"..
		  "<b>Requires:</b> Corvette Designs, Turbolasers I\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Corellian_Corvette",
    Icon = Icon_Tech,
    ShortDisplayedName = "Heavy Corvette Designs",
},
{
    Name = "Frigate_Designs",
    RequiredResearch = "TurboLasersI",
    RequiredSubSystems = "",
    Cost = 8000,
    Time = 60,
    DisplayedName = "Frigate Designs",
    DisplayPriority = 4,
    Description = "Blueprints and designs for light capital vessels. Enables frigate construction\n"..
		  "<b>Requires:</b> Turbolasers II\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Carrack_Cruiser",
    Icon = Icon_Tech,
    ShortDisplayedName = "Frigate Designs",
},
{
    Name = "Heavy_Frigate_Designs",
    RequiredResearch = "Frigate_Designs & TurboLasersII",
    RequiredSubSystems = "",
    Cost = 16000,
    Time = 90,
    DisplayedName = "Heavy Frigate Designs",
    DisplayPriority = 5,
    Description = "Schematics for medium capital warships. Allows you to build Heavy Frigates\n"..
		  "<b>Requires:</b> Heavy Frigate Designs\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Enforcer_Cruiser",
    Icon = Icon_Tech,
    ShortDisplayedName = "Heavy Frigate Designs",
},
{
    Name = "Destroyer_Designs",
    RequiredResearch = "TurboLasersII",
    RequiredSubSystems = "",
    Cost = 32000,
    Time = 150,
    DisplayedName = "Destroyer Designs",
    DisplayPriority = 6,
    Description = "Desgins for Destroyers. Destroyers are vessels built and designed for pure offensive warfare, bristling with weaponry and sporting heavy shielding.\n"..
		  "<b>Requires:</b> Turbolasers II\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Imperator_Destroyer",
    Icon = Icon_Tech,
    ShortDisplayedName = "Destroyer Designs",
},
{
    Name = "Adv_Destroyer_Designs",
    RequiredResearch = "(Destroyer_Designs & Ion_CannonsII) & (TurbolasersIII | Proton_TorpedosII)",
    RequiredSubSystems = "",
    Cost = 5000,
    Time = 1,
    DisplayedName = "Advanced Destroyer Designs",
    DisplayPriority = 7,
    Description = "An improvement in every way on the destroyer designs, advanced destroyers are extremely powerful\n"..
		  "<b>Requires:</b> Destroyer Designs, Ion Cannons II, and either Turbolasers III or Proton Torpedos II \n\n",
    TargetType = AllShips,
    TargetName = "Imp_Imperator_II_Destroyer",
    Icon = Icon_Tech,
    ShortDisplayedName = "Advanced Destroyer Designs",
},
{
    Name = "Cruiser_designs",
    RequiredResearch = "(Destroyer_Designs & Turbolasers III & Ion_CannonsII) | Adv_Destroyer_Designs",
    RequiredSubSystems = "",
    Cost = 64000,
    Time = 200,
    DisplayedName = "Cruiser Designs",
    DisplayPriority = 8,
    Description = "Designed as flagships and battle wagons, cruisers bristle with enough weaponry to decimate the best destroyers,\n"..
		  "<b>Requires:</b> Destroyer Designs, Ion Cannons II, Turbolasers III or Advanced Destroyer Designs \n\n",    
    TargetType = AllShips,
    TargetName = "Imp_Allegiance_Destroyer",
    Icon = Icon_Tech,
    ShortDisplayedName = "Cruiser Designs",
},
{
    Name = "Platform_Designs",
    RequiredResearch = "",
    RequiredSubSystems = "",
    Cost = 2000,
    Time = 20,
    DisplayedName = "Platform Designs",
    DisplayPriority = 9,
    Description = "Designs for simple static defenses designed to deter a small to medium sized attack force.\n",
    TargetType = AllShips,
    TargetName = "Imp_gun_Turret",
    Icon = Icon_Tech,
    ShortDisplayedName = "Platform Designs",
},
{
    Name = "Heavy_Platform_Designs",
    RequiredResearch = "Platform_Designs & TurboLasersII",
    RequiredSubSystems = "",
    Cost = 20000,
    Time = 120,
    DisplayedName = "Heavy Platform Designs",  
    DisplayPriority = 10,
    Description = "Taking static defense farther, heavy platforms are designed to hold an area of space against even large onslaughts and bristle with capital-scale weapons\n"..
		  "<b>Requires:</b> Platform Designs, Turbolasers II\n\n",  
    TargetType = AllShips,
    TargetName = "Imp_Golan_III_Platform",
    Icon = Icon_Tech,
    ShortDisplayedName = "Heavy Platform Designs",
},
--generic tech
{
    Name = "TurboLasersI",
    RequiredResearch = "",
    RequiredSubSystems = "",
    Cost = 1000,
    Time = 30,
    DisplayedName = "Turbolasers I",
    DisplayPriority = 11,
    Description = "The weakest Turbolaser design. Heavy laser weapons with far more punch than laser cannons\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "TurboLasers I",
},
{
    Name = "TurboLasersII",
    RequiredResearch = "TurboLasersI",
    RequiredSubSystems = "",
    Cost = 5000,
    Time = 60,
    DisplayedName = "Turbolasers II",
    DisplayPriority = 12,
    Description = "More powerful than the TL I, TL II turbolaser systems are capital scale weapons designed to cut through capital vessel\n"..
  		  "<b>Requires:</b> Turbolasers I\n\n",  
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Turbolasers II",
},
{
    Name = "TurboLasersIII",
    RequiredResearch = "TurboLasersII & Adv_Tech",
    RequiredSubSystems = "",
    Cost = 15000,
    Time = 120,
    DisplayedName = "Turbolasers III",
    DisplayPriority = 13,
    Description = "The pinnacle of turbolaser designs, these behemoths hurl massive lances of destruction at their targets\n"..
		  "<b>Requires:</b> Turbolasers II  & Advanced Technology\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Turbolasers III",
},
{
    Name = "Ion_CannonsII",
    RequiredResearch = "(frigate_designs | destroyer_Designs) | Ion_CannonsI",
    RequiredSubSystems = "",
    Cost = 7500,
    Time = 35,
    DisplayedName = "Ion Cannons II",
    DisplayPriority = 15,
    Description = "Capital scale anti-electrical systems that fire powerful disabling bolts capable of rendering a capital ship helpless\n"..	
		  "<b>Requires:</b> Ion Cannons I\n\n",	  
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Ion Cannons II",
},
{
    Name = "Concussion_MissilesII",
    RequiredResearch = "(Heavy_Corvette_Designs | Frigate_Designs) | Concussion_MissilesI",
    RequiredSubSystems = "",
    Cost = 2000,
    Time = 40,
    DisplayedName = "Concussion Missiles II",
    DisplayPriority = 17,
    Description = "Frigate-scale batteries designed as antifighter defenses and against Corvettes\n"..
		  "<b>Requires:</b> Heavy Corvette Designs or Frigate Designs and Concussion Missiles I\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Concussion Missiles II",
},
{

    Name = "Concussion_MissilesIII",
    RequiredResearch = "Concussion_MissilesII & Destroyer_Designs",
    RequiredSubSystems = "",
    Cost = 15000,
    Time = 90,
    DisplayedName = "Heavy Concussion Missiles",
    DisplayPriority = 18,
    Description = "Slow but powerful missiles designed as part of massive salvos launched from capital ships\n"..
		  "<b>Requires:</b> Concussion Missiles II, Destroyer Designs\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Concussion Missiles III",
},
{
    Name = "Proton_TorpedosI",
    RequiredResearch = "Fighter_DesignsI",
    RequiredSubSystems = "",
    Cost = 1000,
    Time = 20,
    DisplayedName = "Proton Torpedos I",
    DisplayPriority = 19,
    Description = "Fighter-launched high explosives, proton torpedoes are a deadly thermite/baradium mixture that can lay low a capital warship\n"..
		  "<b>Requires:</b> Fighter Designs\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Proton Torpedos I",
},
{
    Name = "Proton_TorpedosII",
    RequiredResearch = "Destroyer_Designs & Proton_TorpedosI",
    RequiredSubSystems = "",
    Cost = 10000,
    Time = 60,
    DisplayedName = "Proton Torpedos II",
    DisplayPriority = 20,
    Description = "Supplementary weapon arrays about capital vessels designed for use against capital-scale adversaries and stationary targets\n"..
		  "<b>Requires:</b> Destroyer Designs, Proton Torpedos I\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Proton Torpedos II",
},
{
    Name = "Heavy_Rockets",
    RequiredResearch = "Proton_TorpedosI & (Fighter_DesignsI | Corvette_Designs)",
    RequiredSubSystems = "",
    Cost = 1000,
    Time = 20,
    DisplayedName = "Heavy Rockets",
    DisplayPriority = 17,
    Description = "Extremely powerful but slow anti-capital warhead\n"..
		  "<b>Requires:</b> Proton Torpedos I, Fighter Designs II or Corvette Designs\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Heavy Rockets",
},
--special abilities
{
    Name = "TorpedoSalvo",
    RequiredResearch = "(Frigate_Designs | Destroyer_Designs) & Proton_TorpedosI",
    RequiredSubSystems = "",
    Cost = 1000,
    Time = 200,
    DisplayedName = "Torpedo Salvo",
    DisplayPriority = 21,
    Description = "Targetting upgrades and pilot training to fire massive salvos of torpedos in a coordinated attack vs. enemy capital vessels\n"..
		  "<b>Requires:</b> Frigate Designs or Destroyer Designs and Proton Torpedos I\n\n",
    UpgradeType = Ability,
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    UpgradeName = "SpecialAttack",
    Icon = Icon_Ability,
    ShortDisplayedName = "Torpedo Salvo",
},
{
    Name = "RocketSalvo",
    RequiredResearch = "(Frigate_Designs | Destroyer_Designs) & Heavy_Rockets",
    RequiredSubSystems = "",
    Cost = 2000,
    Time = 200,
    DisplayedName = "Rocket Salvo",
    DisplayPriority = 22,
    Description = "Targetting upgrades and pilot training to fire massive salvos of rockets in a coordinated attack vs. enemy capital vessels\n"..
		  "<b>Requires:</b> Frigate_Designs or Destroyer Designs and Heavy Rockets\n\n",
    UpgradeType = Ability,
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    UpgradeName = "SpecialAttack",
    Icon = Icon_Ability,
    ShortDisplayedName = "Rocket Salvo",
  },
{
    Name = "Grav_Wells",
    RequiredResearch = "Adv_Tech",
    RequiredSubSystems = "",
    Cost = 20000,
    Time = 120,
    DisplayedName = "Gravity Well Generators",
    DisplayPriority = 23,
    Description = "Devices that simulate a planetary gravity well and prevent ships from entering hyperspace, or pull them out of hyperspace early\n"..
		  "<b>Requires:</b> Advanced Technology\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Gravity Well Generators",
},
{
    Name = "Space_Troopers",
    RequiredResearch = "Corvette_Designs",
    RequiredSubSystems = "",
    Cost = 1000,
    Time = 30,
    DisplayedName = "Space Troopers",
    DisplayPriority = 33,
    Description = "Highly trained elite boarding personel designed to raid and seize a vessel in a combat situation\n"..
		  "<b>Requires:</b> Corvette Designs\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Space Troopers",
},
{
    Name = "Fighter_DesignsIII",
    RequiredResearch = "Fighter_DesignsII & Adv_Tech",
    RequiredSubSystems = "",
    Cost = 10000,
    Time = 60,
    DisplayedName = "Fighter Designs III",
    DisplayPriority = 25,
    Description = "This research allows advanced fighters to be built.\n"..
		  "<b>Requires:</b> Fighter Designs and Advanced Technology\n\n",
    TargetType = AllShips,
    TargetName = "Imp_TIE_Defender",
    ShortDisplayedName = "Fighter Designs III",
},
{
    Name = "Adv_Tech",
    RequiredResearch = "(TurboLasersII & Ion_CannonsII) | Destroyer_Designs",
    RequiredSubSystems = "",
    Cost = 20000,
    Time = 120,
    DisplayedName = "Advanced Technology",
    DisplayPriority = 26,
    Description = "This provides funding for additional research into specialized technologies\n"..
		  "<b>Requires:</b> Turbolasers II, Ion Cannons II or Destroyer Designs\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Advanced Technology",
},
{
    Name = "Space_MinesI",
    RequiredResearch = "Corvette_Designs | Platfrom_Designs",
    RequiredSubSystems = "",
    Cost = 5000,
    Time = 60,
    DisplayedName = "Anti-Strikecraft Mines",
    DisplayPriority = 27,
    Description = "Small stationary proximity mines for defending against strikecraft\n"..
		  "<b>Requires:</b> Corvette Designs or Platform Designs\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Anti-Strikecraft Mines",
},
{
    Name = "Space_MinesII",
    RequiredResearch = "Space_MinesI",
    RequiredSubSystems = "",
    Cost = 20000,
    Time = 120,
    DisplayedName = "Anti-Capital Mines",
    DisplayPriority = 28,
    Description = "Heavy proximity mines for defending against Capital warships or for laying an ambush\n"..
		  "<b>Requires:</b> Anti-Strikecraft Mines\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Anti-Capital Mines",
},
{
    Name = "Sensor_Stealth",
    RequiredResearch = "Adv_Tech",
    RequiredSubSystems = "",
    Cost = 10000,
    Time = 60,
    DisplayedName = "Sensor Stealth",
    DisplayPriority = 29,
    Description = "Highly advanced sensor jamming equipment that is similar to a cloaking device\n"..
		  "<b>Requires:</b> Advanced Technology\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Sensor Stealth",
},
{
    Name = "Fighter_DesignsII",
    RequiredResearch = "Fighter_DesignsI",
    RequiredSubSystems = "",
    Cost = 1500,
    Time = 30,
    DisplayedName = "Fighter Designs II",
    DisplayPriority = 30,
    Description = "Upgraded fighter technology and weapons systems. Enables more advanced fighter production\n"..
		  "<b>Requires:</b> Fighter Designs I, Proton Torpedos I, Concussion Missiles I\n\n",
    TargetType = AllShips,
    TargetName = "Imp_I7_Howlrunner",
    Icon = Icon_Tech,
    ShortDisplayedName = "Fighter Designs II",
},

--upgrades 
--advanced or specific ships
{
    Name = "Rapid_Fire_Lasers",
    RequiredResearch = "Frigate_Designs",
    RequiredSubSystems = "",
    Cost = 3000,
    Time = 20,
    DisplayedName = "Rapid Fire Lasers",
    DisplayPriority = 31,
    Description = "Fire linked computer controlled lasers that are especially designed to decimate starfighter squadrons"..
		  "<b>Requires:</b> Frigate_Designs\n\n",    
    TargetType = AllShips,
    TargetName = "Imp_Lancer_Frigate",
    Icon = Icon_Ability,
    ShortDisplayedName = "Rapid Fire Lasers",
},
{
    Name = "Tyrant_Rockets",
    RequiredResearch = "Concussion_MissilesIII & Proton_TorpedosII & Adv_Tech",
    RequiredSubSystems = "",
    Cost = 20000,
    Time = 120,
    DisplayedName = "Anti-Capital Rocket Launchers",
    DisplayPriority = 32,
    Description = "Massive rockets specifically designed to puncture shields of slow moving and stationary targets"..
    		  "<b>Requires:</b> Concussion Missiles III, Proton Torpedos II, Advanced Technology\n\n", 
    TargetType = AllShips,
    TargetName = "Imp_Tyrant_Missile_Cruiser",
    Icon = Icon_Ability,
    ShortDisplayedName = "Anti-Capital Rocket Launchers",
},
{
    Name = "Cloak_Generator",
    RequiredResearch = "Adv_Tech & sensor_Stealth",
    RequiredSubSystems = "",
    Cost = 20000,
    Time = 120,
    DisplayedName = "Cloak Generator",
    DisplayPriority = 33,
    Description = "Cloak generators block all electromagnatic radiation emitted from a ship, rendering it invisible to visual scanners and sensors, Unfortunately it also prevents information from getting to the cloaked ship, necessitating that the cloaking field be disabled to fire"..
		  "<b>Requires:</b> Sensor Stealth, Advanced Technology\n\n", 
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Cloak Generator",
},
{
    Name = "Droid_Tech",
    RequiredResearch = "Adv_Tech",
    RequiredSubSystems = "",
    Cost = 2000,
    Time = 60,
    DisplayedName = "Droid Tech",
    DisplayPriority = 34,
    Description = "Advances in droid vibro-brains :-p allows for autonomous operation in combat as well as improved efficiency in other areas"..
    		  "<b>Requires:</b> Advanced Technology\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Mining_Ship",
    Icon = Icon_Ability,
    ShortDisplayedName = "Droid Tech",
},
{
    Name = "Executor_Design",
    RequiredResearch = "Concussion_MissilesIII & TurboLasersIII & Ion_CannonsII & Cruiser_Designs",
    RequiredSubSystems = "",
    Cost = 50000,
    Time = 220,
    DisplayedName = "The design for the largest production Imperial warship, the Executor SSD"..
    		  "<b>Requires:</b> Concussion Missiles III, Turbolasers III, Ion Cannons II, Cruiser Designs\n\n",
    DisplayPriority = 37,
    Description = "Research: Executor Design",
    TargetType = AllShips,
    TargetName = "Imp_Executor_SSD",
    Icon = Icon_Ability,
    ShortDisplayedName = "Executor SSD Design",
},

{
    Name = "Vengeance_Design",
    RequiredResearch = "Concussion_MissilesIII & TurboLasersIII & Ion_CannonsII & Cruiser_Designs",
    RequiredSubSystems = "",
    Cost = 40000,
    Time = 180,
    DisplayedName = "Vengeance Design",
    DisplayPriority = 38,
    Description = "Design for the Vengeance Havey Battle Cruiser"..
    		  "<b>Requires:</b> Concussion Missiles III, Turbolasers III, Ion Cannons II, Cruiser Designs\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Vengence_SSD",
    Icon = Icon_Ability,
    ShortDisplayedName = " Vengeance SSD Design",
},

{
    Name = "Sovereign_Design",
    RequiredResearch = "TurboLasersIII & Ion_CannonsII & Cruiser_Designs & Grav_Wells",
    RequiredSubSystems = "",
    Cost = 80000,
    Time = 250,
    DisplayedName = "Sovereign Design",
    DisplayPriority = 39,
    Description = "Design for the Sovereign SSD and the Super laser it carries"..
    		  "<b>Requires:</b> Turbolasers III, Ion Cannons II, Cruiser Designs, Gravity Well Generators\n\n",
    TargetType = AllShips,
    TargetName = "Imp_Sovereign_SSD",
    Icon = Icon_Ability,
    ShortDisplayedName = " Sovereign SSD Design",
},
}
