# Copyright (c) 2021 by Amazinite
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

outfit "Shield Relay Booster"
	category "Systems"
	cost 59000
	thumbnail "outfit/shield booster"
	"mass" 2
	"outfit space" -2
	"shield generation" 0.4
	"shield energy" 1.2
	"relay upgrades" -1
	description "The Shield Relay Booster is a component that can be installed into a Bunrodean shield relay in order to modify its effectiveness. Boosters increase the shield generation strength of a relay, but at the cost of reduced energy efficiency."

outfit "Shield Relay Limiter"
	category "Systems"
	cost 12000
	thumbnail "outfit/shield limiter"
	"mass" 1
	"outfit space" -1
	"shield generation" -0.02
	"shield energy" -0.1
	"relay upgrades" -1
	description "The Shield Relay Limiter is a component that can be installed into a Bunrodean shield relay in order to modify its effectiveness. Limiters increase the energy efficiency of a relay, but at the cost of reducing the strength of its shield generation."

outfit "Small Shield Relay"
	category "Systems"
	cost 172000
	thumbnail "outfit/small shield relay"
	"mass" 21
	"outfit space" -21
	"shield generation" 0.65
	"shield energy" 0.6
	"relay upgrades" 6
# Giving an outfit "ammo" like this means that selling this outfit sells the "ammo," which is better UX for selling these outfits without having to sell the upgrades first, but this also makes it so that if you have space for upgrades, entering the outfitter asks you if you want to "buy ammo," which is not good UX. We either need a way to decouple those two mechanics (only ask to buy ammo if the "ammo" is actually in the ammo category?), or come up with a new keyword that only provides the "selling this sells that" behavior.
#	ammo "Shield Relay Booster"
#	ammo "Shield Relay Limiter"
	description "Bunrodean shield relays are impressively efficient; while a similarly sized shield generator from another faction might be capable of providing more shield generation, Bunrodean shield relays provide a modest amount of shield generation for only a small amount of energy."
	description "	Shield relays are able to be upgraded by installing shield boosters or limiters, which alter the performance of the shield relay. Each relay only has a limited number of slots for these upgrades, though."

outfit "Large Shield Relay"
	category "Systems"
	cost 593000
	thumbnail "outfit/large shield relay"
	"mass" 56
	"outfit space" -56
	"shield generation" 2
	"shield energy" 1.6
	"relay upgrades" 16
#	ammo "Shield Relay Booster"
#	ammo "Shield Relay Limiter"
	description "Some Bunrodean military captains argued that trading shield generation for energy efficiency is a foolish trade, while merchant captains looking to get the most out of their reactors argued that they could be more energy efficient. As such, shield relays are able to be customized to the owner's liking using external components."
	description "	Shield relays are able to be upgraded by installing shield boosters or limiters, which alter the performance of the shield relay. Each relay only has a limited number of slots for these upgrades, though."



outfit "Nanite Enhancer"
	category "Systems"
	cost 76000
	thumbnail "outfit/nanite enhancer"
	"mass" 5
	"outfit space" -5
	"hull repair rate" 0.25
	"hull energy" 0.75
	"nanite upgrades" -2
	description "The Nanite Enhancer is a component that can be installed into a Bunrodean nanite fabricator in order to modify its effectiveness. Enhancers increase the strength of the hull repair of a fabricator, but at the cost of reduced energy efficiency."

outfit "Nanite Limiter"
	category "Systems"
	cost 21000
	thumbnail "outfit/nanite limiter"
	"mass" 2
	"outfit space" -2
	"hull repair rate" -0.025
	"hull energy" -0.2
	"nanite upgrades" -1
	description "The Nanite Limiter is a component that can be installed into a Bunrodean nanite fabricator in order to modify its effectiveness. Limiters increase the energy and heat efficiency of a fabricator, but at the cost of reducing the strength of its hull repair."

outfit "Small Nanite Fabricator"
	category "Systems"
	cost 650000
	thumbnail "outfit/small nanite fabricator"
	"mass" 23
	"outfit space" -23
	"hull repair rate" 0.72
	"hull energy" 1.08
	"nanite upgrades" 4
#	ammo "Nanite Enhancer"
#	ammo "Nanite Limiter"
	description "Although Bunrodea ships tend to rely on their shields for defense, some pilots will opt to install a nanite fabricator. These fabricators produce a steady stream of nanites that travel across the hull of the ship and repair any damage that they find."
	description "	Nanite fabricators are able to be upgraded by installing nanite enhancers or limiters, which alter the performance of the fabricator. Each fabricator only has a limited number of slots for these upgrades, though."

outfit "Large Nanite Fabricator"
	category "Systems"
	cost 1940000
	thumbnail "outfit/large nanite fabricator"
	"mass" 58
	"outfit space" -58
	"hull repair rate" 2.12
	"hull energy" 3.18
	"nanite upgrades" 10
#	ammo "Nanite Enhancer"
#	ammo "Nanite Limiter"
	description "The creation of nanite fabricators was spurred on by early contact between the Bunrodea and Korath. The hull-walking microbots of Korath System Cores allowed Korath ships to make repairs without the need of a spaceport, a trait that the Bunrodea favored for use in their scout vessels."
	description "	Nanite fabricators are able to be upgraded by installing nanite enhancers or limiters, which alter the performance of the fabricator. Each fabricator only has a limited number of slots for these upgrades, however."



outfit "Solar Battery"
	plural "Solar Batteries"
	category "Power"
	cost 49000
	thumbnail "outfit/solar battery"
	"mass" 7
	"outfit space" -7
	"energy capacity" 6000
	"solar cell" 36
#	ammo "Solar Cell"
	description "Bunrodean solar batteries are required for the installation of solar cells, but solar batteries are perfectly capable of going without solar cells. Many captains will install batteries to store energy gained from normal reactors without ever installing solar cells."

outfit "Solar Cell"
	category "Power"
	cost 17000
	thumbnail "outfit/solar cell"
	"mass" 1
	"outfit space" -1
	"solar collection" 0.145
	"solar heat" 0.07
	"solar cell" -1
	description "Bunrodean solar panels are extremely efficient, and are even capable of powering smaller or less powerful warships. But be warned: while these solar cells can provide significant energy, that is not without the drawback of also generating waste heat that scales with the energy generated, which can be especially hazardous when near bright stars."
	description "	These cells must be installed on the mounting platform that comes with a solar battery to be used."



outfit "Reactor Overclocker"
	category "Power"
	cost 142000
	thumbnail "outfit/reactor overclocker"
	"mass" 4
	"outfit space" -4
	"energy generation" 0.9
	"heat generation" 3.15
	"reactor upgrades" -3
	description "The Reactor Overclocker is a component that can be installed into a Bunrodea reactor in order to modify its effectiveness. Overclockers increase the strength of the energy generation of a reactor, but at the cost of reduced heat efficiency."

outfit "Reactor Limiter"
	category "Power"
	cost 26000
	thumbnail "outfit/reactor limiter"
	"mass" 2
	"outfit space" -2
	"energy generation" -0.55
	"heat generation" -6.6
	"reactor upgrades" -2
	description "The Reactor Limiter is a component that can be installed into a Bunrodea reactor in order to modify its effectiveness. Limiters increase the heat efficiency of a reactor, but at the cost of reducing the strength of its energy generation."

outfit "Quark Reactor"
	category "Power"
	cost 3367000
	thumbnail "outfit/quark reactor"
	"mass" 61
	"outfit space" -61
	"energy generation" 8.35
	"heat generation" 10.9
	"reactor upgrades" 6
#	ammo "Reactor Overclocker"
#	ammo "Reactor Limiter"
	description "Bunrodean reactors appear to be named after types of exotic stars that either once were or still are considered theoretical to humanity. A quark star was first discovered by humanity near the Shangri-La system during the 28th century, a star with core temperatures and pressures so extreme that quark matter is produced."
	description "	Bunrodean reactors are able to be upgraded by installing Reactor Overclockers or Limiters, which alter the performance of the reactor. Each reactor only has a limited number of slots for these upgrades, though."

outfit "Electroweak Reactor"
	category "Power"
	cost 8393000
	thumbnail "outfit/electroweak reactor"
	"mass" 106
	"outfit space" -106
	"energy generation" 17.25
	"heat generation" 20.5
	"reactor upgrades" 18
#	ammo "Reactor Overclocker"
#	ammo "Reactor Limiter"
	description "The existence of the exotic stars that this Bunrodean reactor bears the name of is still unknown to humanity. An electroweak star is an exotic star that would be prevented from collapsing by the electroweak force as quarks are converted to leptons in the star's core."
	description "	Bunrodean reactors are able to be upgraded by installing Reactor Overclockers or Limiters, which alter the performance of the reactor. Each reactor only has a limited number of slots for these upgrades, though."

outfit "Dark Reactor"
	category "Power"
	cost 15022000
	thumbnail "outfit/dark reactor"
	"mass" 142
	"outfit space" -142
	"energy generation" 24.7
	"heat generation" 28.6
	"reactor upgrades" 30
#	ammo "Reactor Overclocker"
#	ammo "Reactor Limiter"
	description `The term "dark star" can have different meanings, but one definition of it is a star whose core is formed around a large amount of dark matter. Such exotic stars are theorized by humanity to have possibly existed among the first generations of stars in the universe, with concentrations of dark matter acting as nucleation sites.`
	description "	Bunrodean reactors are able to be upgraded by installing Reactor Overclockers or Limiters, which alter the performance of the reactor. Each reactor only has a limited number of slots for these upgrades, though."



outfit "Lasher Pistol"
	category "Hand to Hand"
	cost 230000
	thumbnail "outfit/lasher pistol"
	"capture attack" 2.6
	"capture defense" 1.4
	"unplunderable" 1
	description "During their wars with the Korath, it was not uncommon for Bunrodean vessels to be boarded by Korath raiders looking for technology and supplies to steal. As such, effective small arms weapons became an essential part of every Bunrodean crew that may need to fight off any boarding parties."



outfit "Chiisana Rift Thruster"
	category "Engines"
	cost 130000
	thumbnail "outfit/chiisana rift thruster"
	"mass" 11
	"outfit space" -11
	"engine capacity" -11
	"thrust" 7.775
	"thrusting energy" 1.15
	"thrusting heat" 0.65
	"flare sprite" "effect/bunrodea flare/large"
		"frame rate" 1
		"rewind"
		"scale" 0.3
	"flare sound" "ion tiny"
	description "While the Korath favor raw power in their engines, the Bunrodea favor efficiency, opting to make use of engines that produce less thrust for significantly less heat produced."

outfit "Nami Rift Thruster"
	category "Engines"
	cost 262000
	thumbnail "outfit/nami rift thruster"
	"mass" 19
	"outfit space" -19
	"engine capacity" -19
	"thrust" 14.09
	"thrusting energy" 2.3
	"thrusting heat" 1.3
	"flare sprite" "effect/bunrodea flare/large"
		"frame rate" 1
		"rewind"
		"scale" 0.6
	"flare sound" "ion small"
	description "Although rift engines are extremely heat efficient, their energy requirement is rather high compared to the thrust they produce, even next to terribly inefficient Korath engines."

outfit "Ookii Rift Thruster"
	category "Engines"
	cost 512000
	thumbnail "outfit/ookii rift thruster"
	"mass" 32
	"outfit space" -32
	"engine capacity" -32
	"thrust" 24.97
	"thrusting energy" 4.4
	"thrusting heat" 2.5
	"flare sprite" "effect/bunrodea flare/large"
		"frame rate" 1
		"rewind"
		"scale" 0.8
	"flare sound" "ion medium"
	description "Even though the energy drawn per unit thrust of rift engines is poorer than that of Korath engines, the overall energy requirement of rift engines is still far lesser by comparison."

outfit "Subarashii Rift Thruster"
	category "Engines"
	cost 1004000
	thumbnail "outfit/subarashii rift thruster"
	"mass" 55
	"outfit space" -55
	"engine capacity" -55
	"thrust" 46.5
	"thrusting energy" 8.6
	"thrusting heat" 4.9
	"flare sprite" "effect/bunrodea flare/large"
		"frame rate" 1
		"rewind"
	"flare sound" "ion large"
	description "Given the lower size and thrust of rift engines, Bunrodean ships aren't well known for their pursuit capabilities. But there are rumors among some Bunrodea of an ancient cache of engines, more powerful than even those of the Korath, that would allow any ship to zip across the stars like a comet and chase down any potential target."

outfit "Chiisana Rift Steering"
	category "Engines"
	cost 201000
	thumbnail "outfit/chiisana rift steering"
	"mass" 17
	"outfit space" -17
	"engine capacity" -17
	"turn" 539
	"turning energy" 2.6
	"turning heat" 1
	description "Given that Bunrodean ships are typically focused on making heavy use of their forward facing guns, the Bunrodea favor high turn rates much more than high speeds. As such, rift steering systems are larger than the respective thruster systems of the same size category."

outfit "Nami Rift Steering"
	category "Engines"
	cost 442000
	thumbnail "outfit/nami rift steering"
	"mass" 31
	"outfit space" -31
	"engine capacity" -31
	"turn" 1137
	"turning energy" 5.3
	"turning heat" 2.1
	description "As with many Bunrodean systems, rift engines produce very little heat. This allows their ships to forgo the use of any significant cooling systems, leaving more room for other systems, be they defensive or offensive."

outfit "Ookii Rift Steering"
	category "Engines"
	cost 940000
	thumbnail "outfit/ookii rift steering"
	"mass" 53
	"outfit space" -53
	"engine capacity" -53
	"turn" 2099
	"turning energy" 9.2
	"turning heat" 3.65
	description "Although the focus on steering over thrust makes Bunrodean ships easy targets to track, the power of their weapons systems would leave anyone foolish to believe that they are sitting ducks."

outfit "Subarashii Rift Steering"
	category "Engines"
	cost 1577000
	thumbnail "outfit/subarashii rift steering"
	"mass" 90
	"outfit space" -90
	"engine capacity" -90
	"turn" 3900
	"turning energy" 17.1
	"turning heat" 6.5
	description "The largest of the rift steering systems, these engines are what allow the Bunrodea's heavy gunships to bear their many guns toward their unfortunate target."
