# Copyright (c) 2014-2015 by Michael Zahniser
#
# 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.

fleet "Small Hai"
	government "Hai"
	names "hai"
	cargo 3
	personality
		disables
	variant 3
		"Water Bug"
		"Lightning Bug (Pulse)" 2
	variant 3
		"Water Bug (Pulse)"
		"Lightning Bug" 2
	variant
		"Water Bug"
		"Water Bug (Pulse)"
		"Lightning Bug"
	variant
		"Water Bug" 2
		"Lightning Bug (Pulse)"
	variant 3
		"Lightning Bug" 2
		"Aphid" 3
	variant
		"Lightning Bug"
		"Aphid" 5
	variant 2
		"Lightning Bug (Pulse)" 2
		"Aphid (Anti-Missile)" 3
	variant 2
		"Lightning Bug (Pulse)"
		"Aphid (Anti-Missile)" 5
	variant
		"Lightning Bug" 3
	variant
		"Lightning Bug (Pulse)" 3
	variant
		"Lightning Bug (Pulse)"
		"Lightning Bug" 2
	variant
		"Lightning Bug"
		"Lightning Bug (Pulse)" 2

fleet "Large Hai"
	government "Hai"
	names "hai"
	cargo 3
	personality
		disables
	variant 2
		"Shield Beetle"
		"Lightning Bug (Pulse)" 2
	variant 2
		"Shield Beetle (Tracker)"
		"Lightning Bug" 2
	variant 1
		"Shield Beetle"
		"Lightning Bug (Pulse)"
		"Aphid" 4
	variant 1
		"Shield Beetle (Tracker)"
		"Lightning Bug"
		"Aphid (Anti-Missile)" 4
	variant 3
		"Shield Beetle"
		"Lightning Bug (Pulse)"
		"Water Bug"
		"Water Bug (Pulse)"
	variant 3
		"Shield Beetle"
		"Water Bug"
		"Water Bug (Pulse)"
	variant 3
		"Shield Beetle (Tracker)"
		"Lightning Bug" 2
		"Water Bug"
	variant 3
		"Shield Beetle (Tracker)"
		"Water Bug" 3

fleet "Small Unfettered"
	government "Hai (Unfettered)"
	names "hai"
	cargo 3
	personality
		plunders
	variant 3
		"Lightning Bug (Pulse)" 2
	variant 3
		"Lightning Bug" 2
	variant
		"Lightning Bug"
	variant
		"Lightning Bug (Pulse)"

fleet "Large Unfettered"
	government "Hai (Unfettered)"
	names "hai"
	cargo 3
	personality
		plunders
	variant 2
		"Shield Beetle"
		"Lightning Bug (Pulse)" 2
	variant 2
		"Shield Beetle (Tracker)"
		"Lightning Bug" 2
	variant 1
		"Shield Beetle"
		"Lightning Bug (Pulse)"
	variant 1
		"Shield Beetle (Tracker)"
		"Lightning Bug"
	variant 3
		"Shield Beetle (Tracker)"
		"Shield Beetle"
	variant 1
		"Shield Beetle (Tracker)" 2
	variant 1
		"Shield Beetle" 2
	variant 1
		"Lightning Bug" 5

fleet "Unfettered Raid"
	government "Hai (Unfettered)"
	names "hai"
	personality
		plunders
	variant
		"Shield Beetle (Jump)" 3
	variant
		"Shield Beetle (Jump)" 2
		"Shield Beetle (Jump, Tracker)" 1
	variant
		"Shield Beetle (Jump)" 1
		"Shield Beetle (Jump, Tracker)" 2

ship "Lightning Bug"
	sprite "ship/hai lightning bug"
	attributes
		category "Light Warship"
		"cost" 3200000
		"shields" 6700
		"hull" 1700
		"required crew" 4
		"bunks" 10
		"mass" 220
		"drag" 3.8
		"heat dissipation" .85
		"fuel capacity" 600
		"cargo space" 73
		"outfit space" 278
		"weapon capacity" 87
		"engine capacity" 93
		weapon
			"blast radius" 84
			"shield damage" 840
			"hull damage" 420
			"hit force" 1260
	outfits
		"Ion Cannon"
		"Anti-Missile Turret" 2
		"Fission Reactor"
		"LP072a Battery Pack"
		"S-270 Regenerator"
		"Cooling Ducts"
		"A250 Atomic Thruster"
		"A375 Atomic Steering"
		"Hyperdrive"
	engine -40 22
	engine 40 22
	gun 0 -40
	turret -47 18
	turret 47 18
	explode "tiny explosion" 18
	explode "small explosion" 36
	explode "medium explosion" 24
	explode "big explosion" 8
	description "The Lightning Bug is a small defensive ship, mostly used by the Hai as a convoy escort. In its stock configuration, its only offensive weapon is a single ion cannon."

ship "Lightning Bug" "Lightning Bug (Pulse)"
	outfits
		"Hai Tracker Pod"
		"Hai Tracker" 56
		"Pulse Turret" 2
		"Fission Reactor"
		"LP036a Battery Pack"
		"S-270 Regenerator"
		"Cooling Ducts"
		"A370 Atomic Thruster"
		"A255 Atomic Steering"
		"Hyperdrive"

ship "Aphid"
	sprite "ship/hai aphid"
	attributes
		category "Light Freighter"
		"cost" 570000
		"shields" 1700
		"hull" 1400
		"required crew" 1
		"bunks" 5
		"mass" 100
		"drag" 1.9
		"heat dissipation" .90
		"fuel capacity" 400
		"cargo space" 51
		"outfit space" 185
		"weapon capacity" 37
		"engine capacity" 48
		weapon
			"blast radius" 30
			"shield damage" 300
			"hull damage" 150
			"hit force" 450
	outfits
		"Pulse Turret"
		"Dwarf Core"
		"LP036a Battery Pack"
		"S-270 Regenerator"
		"Cooling Ducts"
		"A120 Atomic Thruster"
		"A125 Atomic Steering"
		"Hyperdrive"
	engine -8 40
	engine 8 40
	turret 0 24
	explode "tiny explosion" 10
	explode "small explosion" 20
	explode "medium explosion" 15
	description "The Aphid is a light freighter designed by the Hai. It has only minimal armament."

ship "Aphid" "Aphid (Anti-Missile)"
	outfits
		"Heavy Anti-Missile Turret"
		"Dwarf Core"
		"LP036a Battery Pack"
		"S-270 Regenerator"
		"Cooling Ducts"
		"A120 Atomic Thruster"
		"A255 Atomic Steering"
		"Hyperdrive"

ship "Water Bug"
	sprite "ship/hai water bug"
	attributes
		category "Heavy Freighter"
		"cost" 6500000
		"shields" 7900
		"hull" 4500
		"required crew" 5
		"bunks" 29
		"mass" 270
		"drag" 5.9
		"heat dissipation" .75
		"fuel capacity" 600
		"cargo space" 197
		"outfit space" 368
		"weapon capacity" 145
		"engine capacity" 64
		weapon
			"blast radius" 124
			"shield damage" 1240
			"hull damage" 620
			"hit force" 1860
	outfits
		"Hai Tracker Pod" 2
		"Hai Tracker" 112
		"Pulse Turret"
		"Heavy Anti-Missile Turret" 2
		"Fission Reactor"
		"LP144a Battery Pack"
		"S-970 Regenerator"
		"Cooling Ducts"
		"A250 Atomic Thruster"
		"A255 Atomic Steering"
		"Hyperdrive"
	engine -50 33
	engine 50 33
	gun -24 -53 "Hai Tracker Pod"
	gun 24 -53 "Hai Tracker Pod"
	turret 0 -10 "Pulse Turret"
	turret -17 17 "Heavy Anti-Missile Turret"
	turret 17 17 "Heavy Anti-Missile Turret"
	explode "small explosion" 15
	explode "medium explosion" 30
	explode "big explosion" 20
	explode "huge explosion" 5
	description "The Water Bug is the primary freight ship used by the Hai."

ship "Water Bug" "Water Bug (Pulse)"
	outfits
		"Hai Tracker Pod" 2
		"Hai Tracker" 112
		"Pulse Turret" 3
		"Fission Reactor"
		"LP144a Battery Pack"
		"S-970 Regenerator"
		"Cooling Ducts"
		"A250 Atomic Thruster"
		"A255 Atomic Steering"
		"Hyperdrive"

ship "Water Bug" "Water Bug (Jump)"
	outfits
		"Hai Tracker Pod" 2
		"Hai Tracker" 112
		"Pulse Turret"
		"Heavy Anti-Missile Turret" 2
		"Fission Reactor"
		"LP144a Battery Pack"
		"S-970 Regenerator"
		"Cooling Ducts"
		"A250 Atomic Thruster"
		"A255 Atomic Steering"
		"Jump Drive"

ship "Shield Beetle"
	sprite "ship/hai shield beetle"
	attributes
		category "Heavy Warship"
		"cost" 17900000
		"shields" 32000
		"hull" 9800
		"required crew" 47
		"bunks" 95
		"mass" 650
		"drag" 8.8
		"heat dissipation" .60
		"fuel capacity" 500
		"cargo space" 142
		"outfit space" 798
		"weapon capacity" 333
		"engine capacity" 150
		weapon
			"blast radius" 400
			"shield damage" 4000
			"hull damage" 2000
			"hit force" 3000
	outfits
		"Ion Cannon" 4
		"Hai Tracker Pod" 4
		"Hai Tracker" 224
		"Heavy Anti-Missile Turret" 2
		"Fusion Reactor"
		"Fission Reactor"
		"LP288a Battery Pack"
		"S-970 Regenerator"
		"Cooling Ducts" 4
		"A370 Atomic Thruster"
		"A865 Atomic Steering"
		"Hyperdrive"
	engine -44 133
	engine 44 133
	gun -22 -102 "Ion Cannon"
	gun 22 -102 "Ion Cannon"
	gun -49 -38 "Ion Cannon"
	gun 49 -38 "Ion Cannon"
	gun -34 -68 "Hai Tracker Pod"
	gun 34 -68 "Hai Tracker Pod"
	gun -61 -14 "Hai Tracker Pod"
	gun 61 -14 "Hai Tracker Pod"
	turret -57 75 "Heavy Anti-Missile Turret"
	turret 57 75 "Heavy Anti-Missile Turret"
	turret -39 48
	turret 39 48
	explode "tiny explosion" 50
	explode "small explosion" 50
	explode "medium explosion" 50
	explode "big explosion" 50
	explode "huge explosion" 20
	description "The Shield Beetle is a versatile warship used by the Hai to guard their merchant convoys."

ship "Shield Beetle" "Shield Beetle (Tracker)"
	outfits
		"Hai Tracker Pod" 8
		"Hai Tracker" 448
		"Pulse Turret" 4
		"Fusion Reactor"
		"Fission Reactor"
		"LP288a Battery Pack"
		"S-970 Regenerator"
		"Cooling Ducts" 4
		"A520 Atomic Thruster"
		"A525 Atomic Steering"
		"Hyperdrive"

ship "Shield Beetle" "Shield Beetle (Jump)"
	outfits
		"Ion Cannon" 4
		"Hai Tracker Pod" 4
		"Hai Tracker" 224
		"Heavy Anti-Missile Turret" 2
		"Fusion Reactor"
		"Fission Reactor"
		"LP288a Battery Pack"
		"Mass Expansion" 4
		"S-970 Regenerator" 2
		"Fuel Pod" 3
		"Cooling Ducts" 4
		"A370 Atomic Thruster"
		"A865 Atomic Steering"
		"Jump Drive"
	gun "Ion Cannon"
	gun "Ion Cannon"
	gun "Ion Cannon"
	gun "Ion Cannon"
	gun "Hai Tracker Pod"
	gun "Hai Tracker Pod"
	gun "Hai Tracker Pod"
	gun "Hai Tracker Pod"
	turret "Heavy Anti-Missile Turret"
	turret "Heavy Anti-Missile Turret"

ship "Shield Beetle" "Shield Beetle (Jump, Tracker)"
	outfits
		"Hai Tracker Pod" 8
		"Hai Tracker" 448
		"Pulse Turret" 4
		"Fusion Reactor"
		"Fission Reactor"
		"LP288a Battery Pack"
		"Mass Expansion" 1
		"S-970 Regenerator" 2
		"Fuel Pod" 3
		"Cooling Ducts" 4
		"A520 Atomic Thruster"
		"A525 Atomic Steering"
		"Jump Drive"

shipyard "Hai Basics"
	"Aphid"
	"Lightning Bug"

shipyard "Hai Intermediate"
	"Aphid"
	"Lightning Bug"
	"Water Bug"

shipyard "Hai Advanced"
	"Aphid"
	"Lightning Bug"
	"Water Bug"
	"Shield Beetle"

outfitter "Hai Basics"
	"Pulse Cannon"
	"Hai Tracker"
	"Anti-Missile Turret"
	"Fission Reactor"
	"Cooling Ducts"
	"Hyperdrive"
	"LP036a Battery Pack"
	"LP072a Battery Pack"
	"Supercapacitor"
	"Cargo Expansion"
	"S-270 Regenerator"
	"A120 Atomic Thruster"
	"A125 Atomic Steering"
	"Local Map"

outfitter "Hai Intermediate"
	"Pulse Cannon"
	"Pulse Turret"
	"Hai Tracker"
	"Hai Tracker Pod"
	"Anti-Missile Turret"
	"Heavy Anti-Missile Turret"
	"Dwarf Core"
	"Fission Reactor"
	"Cooling Ducts"
	"Hyperdrive"
	"LP036a Battery Pack"
	"LP072a Battery Pack"
	"LP144a Battery Pack"
	"Supercapacitor"
	"Mass Expansion"
	"Cargo Expansion"
	"S-270 Regenerator"
	"A120 Atomic Thruster"
	"A125 Atomic Steering"
	"A250 Atomic Thruster"
	"A255 Atomic Steering"
	"A370 Atomic Thruster"
	"A375 Atomic Steering"
	"Local Map"

outfitter "Hai Advanced"
	"Pulse Cannon"
	"Ion Cannon"
	"Pulse Turret"
	"Hai Tracker"
	"Hai Tracker Pod"
	"Anti-Missile Turret"
	"Heavy Anti-Missile Turret"
	"Dwarf Core"
	"Fission Reactor"
	"Fusion Reactor"
	"Cooling Ducts"
	"Hyperdrive"
	"LP036a Battery Pack"
	"LP072a Battery Pack"
	"LP144a Battery Pack"
	"LP288a Battery Pack"
	"LP576a Battery Pack"
	"Supercapacitor"
	"Mass Expansion"
	"Cargo Expansion"
	"S-270 Regenerator"
	"S-970 Regenerator"
	"A120 Atomic Thruster"
	"A125 Atomic Steering"
	"A250 Atomic Thruster"
	"A255 Atomic Steering"
	"A370 Atomic Thruster"
	"A375 Atomic Steering"
	"A520 Atomic Thruster"
	"A525 Atomic Steering"
	"A860 Atomic Thruster"
	"A865 Atomic Steering"
	"Local Map"

phrase "hai"
	word
		"Du"
		"Mon"
		"Luf"
		"Vai"
		"Woh"
		"Far"
	word
		" "
		" "
		" e "
		" e "
		" Cor "
		" Yo "
		" Sook "
		" Woa "
		" Ood "
	word
		"Loh"
		"Eh"
		"Ow"
		"Hey"
		"Lur"
		"Sen"
		"Bin"

phrase "friendly hai"
	word
		"Any "
		"Every "
		"A "
	word
		"seeker of "
		"being of "
		"bringer of "
		"sentient being of "
		"being who offers "
		"being who seeks "
		"being who values "
		"being who brings "
		"species that offers "
		"species that seeks "
		"species that values "
		"species that brings "
		"creature of "
		"species of "
		"individual of "
		"person of "
		"sentient creature of "
	word
		"peace "
		"an open heart "
		"peacefulness "
		"nonviolence "
		"understanding "
		"reconciliation "
		"harmony "
		"concord "
		"serenity "
	word
		"and "
	word
		"love "
		"a tender heart "
		"compassion "
		"friendship "
		"amity "
		"good intentions "
		"friendly intentions "
		"empathy "
		"care "
		"kindness "
	word
		"is welcome "
	word
		"in Hai space."
		"in our territory."
		"on our worlds."
		"to visit us."
		"to coexist with us."
		"in our space."
		
phrase "friendly hai"
	word
		"To be welcome "
	word
		"in Hai space"
		"in our territory"
		"on our worlds"
		"among us"
		"in our space"
	word
		", you need to "
		", you must "
		", you have to "
		", one needs to "
		", one must "
		", one has to "
	word
		"promote "
		"bring "
		"believe in "
		"offer "
		"seek "
		"value "
	word
		"love "
		"tenderness "
		"compassion "
		"friendship "
		"amity "
		"good intentions "
		"friendly intentions "
		"empathy "
		
	word 
		"and "
	word 
		"peace."
		"an open heart."
		"peacefulness."
		"nonviolence."
		"understanding."
		"reconciliation."
		"harmony."
		"concord."
		"cooperation."
		
phrase "hostile hai"
	word
		"You "
	word 
		" came to "
		" entered "
	word
		" Hai "
		" our "
	word	
		"space"
		"territory"
		"worlds"
	word
		" with "
	word
		"impure"
		"unclean"
		"tainted"
		"foul"
		"shameful"
		"violent"
		"greedy"
		"immoral"
		"belligerent"
		"brutal"
		"cruel"
		"heartless"
	word 
		" "
	word
		"thoughts"
		"beliefs"
		"principles"
		"intentions"
		"resolves"
	word
		"; we "
		". We "
	word
		"must "
		"have to "
		"have no choice but to "
	word
		"drive you out"
		"eject you"
		"exclude you"
		"remove you"
	word 
		" from "
	word
		"Hai "
		"our "
	word	
		"space."
		"territory."
		"worlds."
		
phrase "hostile unfettered"
	word
		"Peace"
		"Peacefulness"
		"Nonviolence"
		"Understanding"
		"Reconciliation"
		"Harmony"
		"Concord"
		"Cooperation"
		"Love"
		"Tenderness"
		"Compassion"
		"Friendship"
		"Amity"
		"Empathy"
		"Care"
		"Kindness"
	word
		" is for the "
	word
		"fragile"
		"frail"
		"pathetic"
	word
		"; we are the "
		"! We are the "
	word
		"true"
		"strong"
		"original"
		"strong"
		"unaltered"
	word
		" Hai!"
