# Copyright (c) 2014 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.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

government "Alpha"
	swizzle 1
	"crew attack" 1.5
	"crew defense" 2.5
	"player reputation" -1000
	"bribe" 0
	"fine" 0

government "Author"
	"player reputation" 1
	"bribe" 0

government "Bad Trip"
	swizzle 0
	"player reputation" -1000

government "Builder"
	# While when you attack the drones they will try to defend themselves, when you come back
	# as long as you don't attack them again they will focus on their usual activities
	color .91 .13 .82
	language "Builder"
	"fine" 0
	"penalty for"
		assist 0
		disable 0
		board 0
		capture 0
		destroy 0
		atrocity 0

government "Bunrodea"
	swizzle 3
	color .35 .65 .3
	language "Bunrodea"
	
	"player reputation" 1
	"attitude toward"
		"Bunrodea (Erabu)" 1
		"Bunrodea (Megasa)" 1
		"Korath" -0.01
		"Kor Sestor" -0.01
		"Kor Mereti" -0.01
		"Kor Efret" -0.01
	"bribe" 0
	
	"penalty for"
		assist 0

government "Bunrodea (Erabu)"
	"display name" "Bunrodea"
	swizzle 11
	color .35 .65 .3
	language "Bunrodea"
	
	"player reputation" 1
	"attitude toward"
		"Bunrodea" 1
		"Bunrodea (Megasa)" 1
		"Korath" -0.01
		"Kor Sestor" -0.01
		"Kor Mereti" -0.01
		"Kor Efret" -0.01
	"bribe" 0
	
	"penalty for"
		assist 0

government "Bunrodea (Guard)"
	"display name" "Bunrodea"
	swizzle 11
	color .35 .65 .3
	language "Bunrodea"
	
	"player reputation" -1
	"attitude toward"
		"Bunrodea" 1
		"Bunrodea (Erabu)" 1
		"Bunrodea (Megasa)" -0.01
		"Korath" -0.01
		"Kor Sestor" -0.01
		"Kor Mereti" -0.01
		"Kor Efret" -0.01
	"bribe" 0
	
	"penalty for"
		assist 0
		disable 0

government "Bunrodea (Megasa)"
	"display name" "Bunrodea"
	swizzle 18
	color .35 .65 .3
	language "Bunrodea"
	
	"player reputation" 1
	"attitude toward"
		"Bunrodea" 1
		"Bunrodea (Erabu)" 1
		"Bunrodea (Guard)" -0.01
		"Korath" -0.01
		"Kor Sestor" -0.01
		"Kor Mereti" -0.01
		"Kor Efret" -0.01
	"bribe" 0
	
	"penalty for"
		assist 0

government "Bounty"
	swizzle 6
	"player reputation" -1000
	"fine" 0
	"hostile hail" "hostile bounty"

government "Bounty (Disguised)"
	"display name" "Merchant"
	swizzle 5
	"player reputation" 1
	"fine" 0
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile bounty"
	"penalty for"
		assist 0
		disable 0
		board 0
		capture 0
		destroy 0
		atrocity 0

government "Bounty Hunter"
	swizzle 6
	color "governments: Pirate"

	"player reputation" -1000
	"bribe" .2
	"fine" 0
	"hostile hail" "hostile bounty hunter"

government "Bounty Hunter that Won't Enter Hai Space"
	"display name" "Bounty Hunter"
	swizzle 6
	color "governments: Pirate"

	"player reputation" -1000
	"bribe" .2
	"fine" 0
	"hostile hail" "hostile bounty hunter"

government "Coalition"
	swizzle 5
	color 1 .6 .7
	"crew attack" .6
	"crew defense" 3
	language "Coalition"
	"player reputation" 1
	"attitude toward"
		"Heliarch" 1

government "Deep"
	swizzle 0
	"player reputation" -1000

government "Deep Security"
	swizzle 0
	"player reputation" 1
	"attitude toward"
		"Merchant" .5
		"Pirate" -.2
		"Pirate (Devil-Run Gang)" -.2
		"Smuggler (Hai Trafficker)" -.2
	"friendly hail" "friendly deep"
	"hostile hail" "hostile deep"

government "Derelict"
	"fine" 0

government "Drak"
	swizzle 0
	color 1 1 1
	"player reputation" 1
	"fine" 0
	"attitude toward"
		"Indigenous Lifeform" 1
		"Ember Waste" 1

# A Drak government that is always hostile to the player.
government "Drak (Hostile)"
	"display name" "Drak"
	swizzle 0
	"player reputation" -1000
	"attitude toward"
		"Indigenous Lifeform" 1

government "Elenctic Commune"
	swizzle 0
	color "governments: Neutral"
	
	"player reputation" 1000
	"attitude toward"
		"Hai" .1
		"Hai (Friendly Unfettered)" .1
		"Pirate" -.2
		"Pirate (Devil-Run Gang)" -.2
		"Smuggler (Hai Trafficker)" -.2
	"bribe" .05

government "Escort"
	swizzle 5
	"fine" 0

government "Escort (Betraying)"
	"display name" "Merchant"
	swizzle 5

	"player reputation" 10
	"attitude toward"
		"Korath" -.01
	"fine" 0
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile pirate"
	
government "Forest (Prey)"
	# Indigenous creatures in large forest zones outside the Milky Way.
	# Drak don't look after these since they're beyond Drak territory.

	"display name" "Forest"

	# Nothing you do permanently angers indigenous creatures, because they are
	# not sentient and do not remember you as an individual.
	"player reputation" 1
	"penalty for"
		assist 0
		disable 0
		board 0
		capture 0
		destroy 0
		atrocity 0

color "governments: Free" .06 .68 0.

government "Free Worlds"
	swizzle 2
	color "governments: Free"
	
	"player reputation" 1
	"attitude toward"
		"Alpha" -.4
		"Free Worlds that won't enter wormhole" 1
		"Merchant" .3
		"Militia" .3
		"Pirate" -.4
		"Pirate (Devil-Run Gang)" -.4
		"Smuggler (Hai Trafficker)" .3
		"Neutral" .1
	"bribe" .1
	"friendly hail" "friendly free worlds"
	"hostile hail" "hostile free worlds"
	raid "pirate raid"

government "Free Worlds that won't enter wormhole"
	"display name" "Free Worlds"
	swizzle 2
	color "governments: Free"
	
	"player reputation" 1
	"attitude toward"
		"Free Worlds" 1
		"Merchant" .3
		"Militia" .3
		"Pirate" -.4
		"Pirate (Devil-Run Gang)" -.4
		"Smuggler (Hai Trafficker)" .3
		"Neutral" .1
	"bribe" .1
	"friendly hail" "friendly free worlds"
	"hostile hail" "hostile free worlds"
	raid "pirate raid"

government "Gegno"
	swizzle 0
	language "Gegno"
	color .75 .59 .27

	"player reputation" 0
	"crew attack" 1.1
	"crew defense" 1.2
	"attitude toward"
		"Gegno Scin" 0.01
		"Gegno Vi" 0.01
		"Quarg (Gegno)" 0.02
	"penalty for"
		assist 0
		provoke 10

color "governments: Gegno Scin" .67 .73 .44

government "Gegno Scin"
	swizzle 18
	language "Gegno"
	color "governments: Gegno Scin"

	"player reputation" 0
	"crew attack" 1.2
	"crew defense" 1.4
	"attitude toward"
		"Gegno" 1
		"Gegno Vi" -0.01
	"penalty for"
		assist 0

color "governments: Gegno Vi" .68 .4 .4

government "Gegno Vi"
	swizzle 0
	language "Gegno"
	color "governments: Gegno Vi"

	"player reputation" 0
	"crew attack" 1.3
	"crew defense" 1.5
	"attitude toward"
		"Gegno" 1
		"Gegno Scin" -0.01
	"penalty for"
		assist 0


# Gegno Scin and Vi governments that do not fight each other.
government "Gegno Scin (Neutral)"
	"display name" "Gegno Scin"
	swizzle 18
	language "Gegno"
	color "governments: Gegno Scin"

	"player reputation" 0
	"crew attack" 1.2
	"crew defense" 1.4
	"attitude toward"
		"Gegno" 1
	"penalty for"
		assist 0
	"foreign penalties for"
		"Gegno"

	
government "Gegno Vi (Neutral)"
	"display name" "Gegno Vi"
	swizzle 0
	language "Gegno"
	color "governments: Gegno Vi"

	"player reputation" 0
	"crew attack" 1.3
	"crew defense" 1.5
	"attitude toward"
		"Gegno" 1
	"penalty for"
		assist 0
	"foreign penalties for"
		"Gegno"


# Gegno Vi governments used for dueling.
government "Gegno Vi (Duelist A)"
	swizzle 0
	"display name" "Gegno Vi"
	language "Gegno"
	color "governments: Gegno Vi"

	"player reputation" 0
	"crew attack" 1.3
	"crew defense" 1.5
	"attitude toward"
		"Gegno" 1
		"Gegno Scin" -0.01
		"Gegno Vi" 1
		"Gegno Vi (Duelist B)" -0.01
	"penalty for"
		assist 0

government "Gegno Vi (Duelist B)"
	swizzle 0
	"display name" "Gegno Vi"
	language "Gegno"
	color "governments: Gegno Vi"

	"player reputation" 0
	"crew attack" 1.3
	"crew defense" 1.5
	"attitude toward"
		"Gegno" 1
		"Gegno Scin" -0.01
		"Gegno Vi" 1
		"Gegno Vi (Duelist A)" -0.01
	"penalty for"
		assist 0

color "governments: Hai" .86 .48 .79

government "Hai"
	swizzle 0
	color "governments: Hai"
	
	"player reputation" 0
	"attitude toward"
		"Hai (Wormhole Access)" 1
		"Hai Merchant" 1
		"Hai Merchant (Sympathizers)" 1
		"Hai Merchant (Human)" 1
		"Hai (Unfettered)" -.1
		"Hai (Friendly Unfettered)" .1
		"Hai (Unfettered Civilians)" .1
		"Merchant" .01
		"Elenctic Commune" .1
	"bribe" .2
	"friendly hail" "friendly hai"
	"friendly disabled hail" "friendly disabled hai"
	"hostile hail" "hostile hai"
	"hostile disabled hail" "hostile disabled hai"

# A government used for Hai mission escorts that are able to go through the wormhole.
government "Hai (Wormhole Access)"
	"display name" "Hai"
	swizzle 0
	color "governments: Hai"
	
	"player reputation" 0
	"attitude toward"
		"Hai" 1
		"Hai Merchant" 1
		"Hai Merchant (Sympathizers)" 1
		"Hai Merchant (Human)" 1
		"Hai (Unfettered)" -.1
		"Hai (Friendly Unfettered)" .1
		"Hai (Unfettered Civilians)" .1
		"Merchant" .01
		"Elenctic Commune" .1
	"bribe" .2
	"friendly hail" "friendly hai"
	"friendly disabled hail" "friendly disabled hai"
	"hostile hail" "hostile hai"
	"hostile disabled hail" "hostile disabled hai"

government "Hai Merchant"
	"display name" "Hai"
	swizzle 0
	color "governments: Hai"
	
	"player reputation" 0
	"attitude toward"
		"Hai" 1
		"Hai (Wormhole Access)" 1
		"Hai Merchant (Sympathizers)" .95
		"Hai Merchant (Human)" .95
		"Hai (Unfettered)" -.1
		"Hai (Friendly Unfettered)" .1
		"Hai (Unfettered Civilians)" .1
		"Merchant" .01
	"bribe" .02
	"friendly hail" "friendly hai"
	"friendly disabled hail" "friendly disabled hai"
	"hostile hail" "hostile hai"
	"hostile disabled hail" "hostile disabled hai"

government "Hai Merchant (Sympathizers)"
	"display name" "Hai"
	swizzle 0
	color "governments: Hai"
	
	"player reputation" 0
	"attitude toward"
		"Hai" 1
		"Hai (Wormhole Access)" 1
		"Hai Merchant" .95
		"Hai Merchant (Human)" .95
		"Hai (Unfettered)" .01
		"Hai (Friendly Unfettered)" .5
		"Hai (Unfettered Civilians)" .5
		"Merchant" .01
	"bribe" .02
	"friendly hail" "friendly hai"
	"friendly disabled hail" "friendly disabled hai"
	"hostile hail" "hostile hai"
	"hostile disabled hail" "hostile disabled hai"

government "Hai Merchant (Human)"
	"display name" "Hai"
	swizzle 0
	color "governments: Hai"
	
	"player reputation" 0
	"attitude toward"
		"Hai" 1
		"Hai (Wormhole Access)" 1
		"Hai Merchant" .95
		"Hai Merchant (Sympathizers)" .95
		"Hai (Unfettered)" -.2
		"Hai (Friendly Unfettered)" .1
		"Hai (Unfettered Civilians)" .1
		"Merchant" .01
	"bribe" .02
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile civilian"

color "governments: Hai (Unfettered)" .55 .27 .76

government "Hai (Unfettered)"
	swizzle 4
	color "governments: Hai (Unfettered)"
	"crew attack" 1.4
	"crew defense" 2.2
	
	"player reputation" -1000
	"attitude toward"
		"Hai (Unfettered Wanderer Tribute)" 2
		"Hai" -.01
		"Hai (Wormhole Access)" -.01
		"Hai Merchant" -.01
		"Hai Merchant (Sympathizers)" .1
		"Hai (Friendly Unfettered)" 1
		"Hai (Unfettered Civilians)" 2
		"Hai Merchant (Human)" -.01
		"Wanderer" -.01
		"Pug" -.01
		"Pug (Wanderer)" -.01
		"Merchant" -.01
		"Kor Efret" -.01
		"Elenctic Commune" .1
	"bribe" .02
	"fine" 0
	"friendly hail" "friendly unfettered"
	"friendly disabled hail" "friendly disabled unfettered"
	"hostile hail" "hostile unfettered"
	"hostile disabled hail" "hostile disabled unfettered"

government "Hai (Unfettered Wanderer Tribute)"
	swizzle 4
	"display name" "Hai (Unfettered)"
	"crew attack" 1.4
	"crew defense" 2.2
	
	"player reputation" 0
	"friendly hail" "friendly unfettered"
	"friendly disabled hail" "friendly disabled unfettered"
	"hostile hail" "hostile unfettered"
	"hostile disabled hail" "hostile disabled unfettered"

government "Hai (Friendly Unfettered)"
	swizzle 4
	color "governments: Hai (Unfettered)"
	"display name" "Hai (Unfettered)"
	
	"player reputation" 100
	"attitude toward"
		"Pirate" -.01
		"Pirate (Devil-Run Gang)" -.01
		"Korath" -.01
		"Hai" .01
		"Hai (Wormhole Access)" .01
		"Hai (Unfettered)" 1
		"Elenctic Commune" .01
	"bribe" .02
	"fine" 0
	"friendly hail" "friendly unfettered"
	"friendly disabled hail" "friendly disabled unfettered"
	"hostile hail" "hostile unfettered"
	"hostile disabled hail" "hostile disabled unfettered"

government "Hai (Unfettered Civilians)"
	swizzle 4
	color "governments: Hai (Unfettered)"
	"display name" "Hai (Unfettered)"
	
	"player reputation" 10
	"attitude toward"
		"Hai (Unfettered)" .01
	"bribe" .02
	"fine" 0
	"friendly hail" "friendly unfettered"
	"friendly disabled hail" "friendly disabled unfettered"
	"hostile hail" "hostile unfettered"
	"hostile disabled hail" "hostile disabled unfettered"

government "Heliarch"
	swizzle 22
	color 1 .8 .5
	"crew attack" 1.3
	"crew defense" 2.8
	"player reputation" 1
	"friendly hail" "friendly heliarch"
	"friendly disabled hail" "friendly disabled heliarch"
	"hostile hail" "hostile heliarch"
	"hostile disabled hail" "hostile disabled heliarch"
	"attitude toward"
		"Quarg" -.01
		"Quarg (Hai)" -.01
		"Quarg (Kor Efret)" -.01
		"Quarg (Gegno)" -.01
		"Coalition" 1

color "governments: Independent" .78 .36 .36

government "Independent"
	swizzle 6
	color "governments: Independent"
	
	"player reputation" 10
	"bribe" .05
	"fine" 0
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile civilian"
	raid "Large Southern Pirates"

# A government used for "Independent" ships that the player is allowed to kill without consequences.
government "Independent (Killable)"
	"display name" "Independent"
	swizzle 6
	color "governments: Independent"
	
	"player reputation" 10
	"bribe" .05
	"fine" 0
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile civilian"

government "Indigenous Lifeform"
	# Nothing you do permanently angers indigenous creatures, because they are
	# not sentient and do not remember you as an individual.
	"player reputation" 1
	"bribe" 0
	"fine" 0
	
	"attitude toward"
		"Ember Waste" 1
	"penalty for"
		assist 0
		disable 0
		board 0
		capture 0
		destroy 0
		atrocity 0

government "Indigenous Lifeform (Astral)"
	# This gov is specifically for Astral Cetaceans so they "eat" other indigenous lifeforms.
	# Nothing you do permanently angers indigenous creatures, because they are
	# not sentient and do not remember you as an individual.
	"display name" "Indigenous Lifeform"
	"player reputation" 1
	"bribe" 0
	"fine" 0

	"attitude toward"
		"Indigenous Lifeform" -0.01
	"penalty for"
		assist 0
		disable 0
		board 0
		capture 0
		destroy 0
		atrocity 0

government "Ka'het"
	swizzle 0
	language "Ka'het"

	"attitude toward"
		"Ka'het (Infighting)" -.01
		"Remnant" -.01
		"Quarg" -.01
		"Pug" -.01
		"Hai" -.01
		"Hai (Wormhole Access)" -.01
		"Korath" -.01
		"Navy (Oathkeeper)" -.01
		"Republic" -.01
		"Free Worlds" -.01
		"Hai (Unfettered)" -.01
		"Wanderer" -.01
	
	"player reputation" -1

# A government used to cause infighting between fleets that both appear to be the Ka'het government.
government "Ka'het (Infighting)"
	"display name" "Ka'het"
	swizzle 0
	language "Ka'het"

	"attitude toward"
		"Ka'het" -.01
		"Remnant" -.01
		"Quarg" -.01
		"Pug" -.01
		"Hai" -.01
		"Hai (Wormhole Access)" -.01
		"Korath" -.01
		"Navy (Oathkeeper)" -.01
		"Republic" -.01
		"Free Worlds" -.01
		"Hai (Unfettered)" -.01
		"Wanderer" -.01
	
	"player reputation" -1

government "Ka'sei"
	swizzle 0
	language "Ka'het"
	
	"penalty for"
		assist 0
		disable 0
		board 0
		capture 0
	"player reputation" 1

color "governments: Korath Exiles" .8 .5 .1

government "Korath"
	swizzle 0
	color "governments: Korath Exiles"
	"crew attack" 1.4
	"crew defense" 2.6
	language "Korath"
	
	"attitude toward"
		"Kor Sestor" -.01
		"Korath (Civilian)" 1
		"Hai (Friendly Unfettered)" -.01
	
	"player reputation" -10
	"send untranslated hails"
	"friendly hail" "friendly korath untranslated"
	"friendly disabled hail" "friendly disabled korath untranslated"
	"hostile hail" "hostile korath untranslated"
	"hostile disabled hail" "hostile disabled korath untranslated"

government "Korath (Civilian)"
	"display name" "Korath"
	swizzle 2
	color "governments: Korath Exiles"
	"crew attack" 1.1
	"crew defense" 2.1
	language "Korath"

	"attitude toward"
		"Kor Mereti" -.01
		"Kor Sestor" -.01
		"Korath" .01

	"player reputation" 1
	"send untranslated hails"
	"friendly hail" "friendly korath untranslated"
	"friendly disabled hail" "friendly disabled korath untranslated"
	"hostile hail" "hostile korath civilian untranslated"
	"hostile disabled hail" "hostile disabled korath untranslated"

government "Korath Nanobots"
	"player reputation" -1000
	"bribe" 0
	"fine" 0

government "Kor Efret"
	swizzle 4
	color .49 .33 .69
	language "Korath"
	
	"attitude toward"
		"Kor Mereti" -.01
		"Kor Sestor" -.01
	
	"player reputation" 1
	"send untranslated hails"
	"friendly hail" "friendly kor efret untranslated"
	"friendly disabled hail" "friendly disabled kor efret untranslated"
	"hostile hail" "hostile kor efret untranslated"
	"hostile disabled hail" "hostile disabled kor efret untranslated"

government "Kor Mereti"
	swizzle 5
	color .43 .48 .87
	language "Korath"
	
	"attitude toward"
		"Kor Sestor" -.01
		"Wanderer" -.01
	
	"player reputation" -1000

# A Kor Mereti government that is always hostile to the player.
government "Kor Mereti (Hostile)"
	"display name" "Kor Mereti"
	swizzle 5
	language "Korath"
	"attitude toward"
		"Wanderer" -.01
		"Kor Mereti" -.01
	"player reputation" -1000

government "Kor Sestor"
	swizzle 0
	color 1 .36 .49
	language "Korath"
	
	"attitude toward"
		"Kor Mereti" -.01
		"Wanderer" -.01
		"Republic" -.01
		"Merchant" -.01
		"Navy (Oathkeeper)" -.01
		"Syndicate" -.01
	
	"player reputation" -1000

government "Marauder"
	swizzle 6
	"player reputation" 1
	"bribe" .1
	"fine" 0
	"hostile hail" "hostile pirate"

government "Merchant"
	swizzle 5
	
	"player reputation" 10
	"attitude toward"
		"Pirate" -.2
		"Pirate (Devil-Run Gang)" -.2
		"Korath" -.2
	"bribe" .05
	"fine" 0
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile civilian"

government "Merchant (Hijacked)"
	"display name" "Merchant"
	swizzle 5
	"attitude toward"
		"Republic" -.01
		"Syndicate" -.01
	"player reputation" 1
	"fine" 0
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile pirate"
	"penalty for"
		assist 0
		disable 0
		board 0
		capture 0
		destroy 0
		atrocity 0

government "Militia"
	swizzle 2
	color "governments: Free"
	
	"player reputation" 0
	"attitude toward"
		"Merchant" .3
		"Pirate" -.4
		"Pirate (Devil-Run Gang)" -.4
		"Smuggler (Hai Trafficker)" .3
	"bribe" .1
	"friendly hail" "friendly militia"
	"hostile hail" "hostile militia"

government "Navy Intelligence"
	swizzle 0
	"crew attack" 1.2
	"crew defense" 2.2
	"attitude toward"
		"Syndicate" -.1
		"Pirate" -.3
		"Pirate (Devil-Run Gang)" -.3

government "Navy (Oathkeeper)"
	swizzle 0
	color "governments: Republic"
	"crew attack" 1.2
	"crew defense" 2.2
	
	"player reputation" 100
	"attitude toward"
		"Alpha" -.3
		"Merchant" .25
		"Militia" .1
		"Pirate" -.3
		"Pirate (Devil-Run Gang)" -.3
		"Smuggler (Hai Trafficker)" .25
		"Kor Sestor" -.01
		"Kor Mereti" -.01
		"Navy Intelligence" 1
		"Republic Intelligence" 1
	"friendly hail" "friendly navy"
	"hostile hail" "hostile navy"

color "governments: Neutral" .84 .61 .37

government "Neutral"
	swizzle 0
	color "governments: Neutral"
	
	"player reputation" 1
	"attitude toward"
		"Merchant" .3
		"Pirate" -.2
		"Pirate (Devil-Run Gang)" -.2
		"Smuggler (Hai Trafficker)" -.2
	"bribe" .05
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile civilian"
	raid "pirate raid"

government "Parrot"
	swizzle 2
	"player reputation" 1
	"bribe" 0

color "governments: Pirate" .78 0. 0.

government "Pirate"
	swizzle 6
	color "governments: Pirate"
	
	"player reputation" -10
	"attitude toward"
		"Author" -.01
		"Hai" -.01
		"Hai (Wormhole Access)" -.01
		"Korath" -.01
		"Merchant" -.1
		"Syndicate" -.01
		"Hai (Friendly Unfettered)" -.01
	"bribe" .05
	"fine" 0
	"friendly hail" "friendly pirate"
	"hostile hail" "hostile pirate"
	raid "pirate raid"

government "Pirate (Devil-Run Gang)"
	swizzle 6
	color "governments: Pirate"
	"display name" "Pirate"
	
	"player reputation" -1000
	"attitude toward"
		"Author" -.001
		"Hai" -.001
		"Hai (Wormhole Access)" -.001
		"Korath" -.001
		"Merchant" -.001
		"Syndicate" -.001
		"Hai (Friendly Unfettered)" -.001
		"Forest (Prey)" -.001
	"bribe" .05
	"fine" 0
	"friendly hail" "friendly pirate"
	"hostile hail" "hostile pirate"

government "Pirate (Rival)"
	"display name" "Pirate"
	swizzle 6
	color "governments: Pirate"
	
	"player reputation" -10
	"attitude toward"
		"Author" -.01
		"Hai" -.01
		"Hai (Wormhole Access)" -.01
		"Korath" -.01
		"Merchant" -.1
		"Syndicate" -.01
	"bribe" 0
	"fine" 0
	"friendly hail" "friendly pirate"
	"hostile hail" "hostile pirate"
	raid "pirate raid"

color "governments: Pug" .99 .89 .70

government "Pug"
	swizzle 0
	color "governments: Pug"
	
	"player reputation" 1
	"attitude toward"
		"Drak" -.01
		"Quarg" -.01
		"Quarg (Hai)" -.01
		"Quarg (Kor Efret)" -.01
		"Quarg (Gegno)" -.01
	"friendly hail" "friendly pug"
	"friendly disabled hail" "friendly disabled pug"
	"hostile hail" "hostile pug"
	"hostile disabled hail" "hostile pug"

# A pug government with distinct reputation toward the player compared to those met during the main campaign.
government "Pug (Wanderer)"
	"display name" "Pug"
	swizzle 0
	color "governments: Pug"
	
	"player reputation" 1
	"attitude toward"
		"Drak" -.01
		"Quarg" -.01
		"Quarg (Hai)" -.01
		"Quarg (Kor Efret)" -.01
		"Quarg (Gegno)" -.01
	"friendly hail" "friendly pug"
	"friendly disabled hail" "friendly disabled pug"
	"hostile hail" "hostile pug"
	"hostile disabled hail" "hostile pug"

# Quarg are split up to their respective areas, and an overall one is kept for missions or other use.
government "Quarg"
	swizzle 0
	color .88 .77 0
	
	"player reputation" 1
	"attitude toward"
		"Quarg (Hai)" 1
		"Quarg (Kor Efret)" 1
		"Quarg (Gegno)" 1
		"Merchant" .01
		"Kor Efret" .01
		"Kor Mereti" -.01
		"Kor Sestor" -.01
		"Hai" .01
		"Hai (Wormhole Access)" .01
		"Pirate" -.01
		"Pirate (Devil-Run Gang)" -.01
	"death sentence" "quarg imprisonment"
	"hostile hail" "hostile quarg"
	"hostile disabled hail" "hostile quarg"
	atrocities
		"Nanotech Battery"
		"Antimatter Core"
		"Quarg Skylance"
		"Quarg Anti-Missile"
		"Intrusion Countermeasures"
		"Medium Graviton Thruster"
		"Medium Graviton Steering"
		"Quantum Shield Generator"

government "Quarg (Hai)"
	swizzle 0
	color .88 .77 0
	"display name" "Quarg"

	"player reputation" 1
	"attitude toward"
		"Quarg" 1
		"Quarg (Kor Efret)" 1
		"Quarg (Gegno)" 1
		"Merchant" .01
		"Hai" .01
		"Hai (Wormhole Access)" .01
		"Pirate" -.01
		"Pirate (Devil-Run Gang)" -.01
	"death sentence" "quarg imprisonment"
	"hostile hail" "hostile quarg"
	"hostile disabled hail" "hostile quarg"
	atrocities
		"Nanotech Battery"
		"Antimatter Core"
		"Quarg Skylance"
		"Quarg Anti-Missile"
		"Intrusion Countermeasures"
		"Medium Graviton Thruster"
		"Medium Graviton Steering"
		"Quantum Shield Generator"

government "Quarg (Kor Efret)"
	swizzle 0
	color .88 .77 0
	"display name" "Quarg"

	"player reputation" 1
	"attitude toward"
		"Quarg" 1
		"Quarg (Hai)" 1
		"Quarg (Gegno)" 1
		"Kor Efret" .01
		"Kor Mereti" -.01
		"Kor Sestor" -.01
	"death sentence" "quarg imprisonment"
	"hostile hail" "hostile quarg"
	"hostile disabled hail" "hostile quarg"
	atrocities
		"Nanotech Battery"
		"Antimatter Core"
		"Quarg Skylance"
		"Quarg Anti-Missile"
		"Intrusion Countermeasures"
		"Medium Graviton Thruster"
		"Medium Graviton Steering"
		"Quantum Shield Generator"

government "Quarg (Gegno)"
	swizzle 0
	color .88 .77 0
	"display name" "Quarg"

	"player reputation" 1
	"attitude toward"
		"Quarg" 1
		"Quarg (Hai)" 1
		"Quarg (Kor Efret)" 1
		"Gegno" 0.1
	"foreign penalties for"
		"Gegno"
	"death sentence" "quarg imprisonment"
	"hostile hail" "hostile quarg"
	"hostile disabled hail" "hostile quarg"
	atrocities
		"Nanotech Battery"
		"Antimatter Core"
		"Quarg Skylance"
		"Quarg Anti-Missile"
		"Intrusion Countermeasures"
		"Medium Graviton Thruster"
		"Medium Graviton Steering"
		"Quantum Shield Generator"

color "governments: Remnant" .89 .38 .62

government "Remnant"
	swizzle 0
	color "governments: Remnant"
	"crew defense" 2.2
	
	"player reputation" 1
	"bribe" 0
	"attitude toward"
		"Indigenous Lifeform" 0.05
		"Korath" -.05
		"Alpha" -.05
		"Remnant (Research)" 1
	"penalty for"
		assist -0.25
		disable 1
		board 1
		capture 10
		destroy 10
		scan 0.1
	"foreign penalties for"
		"Remnant (Research)"
	"custom penalties for"
		"Indigenous Lifeform"
			scan 0
	"provoked on scan"
	"friendly hail" "remnant uncontacted"
	"hostile hail" "remnant uncontacted hostile"

government "Remnant (Research)"
	"display name" "Remnant"
	swizzle 0
	color "governments: Remnant"
	"crew defense" 2.2
	
	"player reputation" 1
	"bribe" 0
	"attitude toward"
		"Indigenous Lifeform" 0.05
		"Korath" -.05
		"Alpha" -.05
		"Remnant" 1
	"penalty for"
		assist -0.25
		disable 1
		board 1
		capture 10
		destroy 10
	"foreign penalties for"
		"Remnant"
	"friendly hail" "remnant uncontacted"
	"hostile hail" "remnant uncontacted hostile"

color "governments: Republic" .91 .42 .09

government "Republic"
	swizzle 0
	color "governments: Republic"
	"crew attack" 1.2
	"crew defense" 2.2
	
	"player reputation" 2
	"attitude toward"
		"Alpha" -.3
		"Merchant" .25
		"Militia" .1
		"Pirate" -.3
		"Pirate (Devil-Run Gang)" -.3
		"Republic that won't enter wormhole" 1
		"Smuggler (Hai Trafficker)" .25
		"Navy Intelligence" 1
		"Republic Intelligence" 1
		"Navy (Oathkeeper)" 1
		"Neutral" .1
	"friendly hail" "friendly navy"
	"hostile hail" "hostile navy"
	raid "pirate raid"

government "Republic Intelligence"
	swizzle 0
	"crew attack" 1.2
	"crew defense" 2.2
	"attitude toward"
		"Pirate" -.3
		"Pirate (Devil-Run Gang)" -.3

government "Republic that won't enter wormhole"
	"display name" Republic
	swizzle 0
	color "governments: Republic"
	"crew attack" 1.2
	"crew defense" 2.2
	
	"player reputation" 2
	"attitude toward"
		"Alpha" -.3
		"Merchant" .25
		"Militia" .1
		"Pirate" -.3
		"Pirate (Devil-Run Gang)" -.3
		"Republic" 1
		"Smuggler (Hai Trafficker)" .25
		"Navy Intelligence" 1
		"Republic Intelligence" 1
		"Navy (Oathkeeper)" 1
		"Neutral" .1
	"friendly hail" "friendly navy"
	"hostile hail" "hostile navy"
	raid "pirate raid"

government "Republic (Friendly)"
	"display name" "Republic"
	swizzle 0
	"crew attack" 1.2
	"crew defense" 2.2
	"player reputation" 2
	
	"attitude toward"
		"Alpha" -.01
		"Merchant" .01
		"Militia" .01
		"Pirate" -.01
		"Navy Intelligence" .01
		"Republic Intelligence" .01
		"Navy (Oathkeeper)" .01
		"Neutral" .01
	"friendly hail" "friendly navy"
	"hostile hail" "hostile navy"

government "Rulei"
	swizzle 0
	"player reputation" 0
	"bribe" 0
	"fine" 0
	"hostile hail" "rulei hostile"

government "Scar's Legion"
	swizzle 6
	color "governments: Pirate"
	"player reputation" 10
	"attitude toward"
		"Merchant" -0.01
		"Republic" -0.01
		"Hai" -0.01
	bribe 0
	fine 0
	"hostile hail" "hostile pirate"

government "Scar's Legion (Killable)"
	"display name" "Scar's Legion"
	swizzle 6
	color "governments: Pirate"
	"player reputation" -1000
	bribe 0
	fine 0
	"hostile hail" "hostile pirate"

government "Sheragi"
	swizzle 3
	"player reputation" 1
	"crew attack" 0
	"crew defense" 0

government "Smuggler (Hai Trafficker)"
	swizzle 5
	"display name" "Smuggler"
	
	"bribe" .1
	"fine" 0
	"friendly hail" "friendly civilian"
	"hostile hail" "hostile pirate"

	# They just want to pass through the system alive, so they
	# won't attack anyone unless they have to.
	"player reputation" 1
	"penalty for"
		assist 0
		disable 0
		board 0
		capture 0
		destroy 0
		atrocity 0

color "governments: Syndicate" 0. .41 .71

government "Syndicate"
	swizzle 4
	color "governments: Syndicate"
	
	"player reputation" 2
	"attitude toward"
		"Merchant" .3
		"Pirate" -.4
		"Pirate (Devil-Run Gang)" -.4
		"Smuggler (Hai Trafficker)" .3
		"Korath" -.5
	"bribe" .08
	"friendly hail" "friendly syndicate"
	"hostile hail" "hostile syndicate"
	raid "pirate raid"

government "Syndicate (Extremist)"
	swizzle 1
	color "governments: Syndicate"
	
	"player reputation" -1000
	"attitude toward"
		"Syndicate" -.01
		"Republic" -.01
		"Free Worlds" -.01
	"bribe" 0
	"fine" 0
	"hostile hail" "hostile syndicate"

government "Team Blue"
	swizzle 5
	"player reputation" -1000
	"attitude toward"
		"Team Red" -.1

government "Team Red"
	swizzle 0
	"player reputation" -1000
	"attitude toward"
		"Team Blue" -.1

government "Test Dummy"
	swizzle 3
	"player reputation" -1000
	"hostile hail" "test dummy"
	"hostile disabled hail" "disabled test dummy"
	"bribe" 0
	"fine" 0

color "governments: Ungoverned" .4 .4 .4

# For space objects of unknown origin, to ensure the player can't land:
government "Unknown"
	swizzle 1
	color "governments: Ungoverned"
	"player reputation" -1000

government "Uninhabited"
	color "governments: Ungoverned"
	"bribe" 0
	"fine" 0

government "Ember Waste"
	"display name" "???"
	"player reputation" 1
	"bribe" 0
	"fine" 0
	language "Ember Waste"
	"attitude toward"
		"Indigenous Lifeform" 1
		"Drak" 1
		"Drak (Hostile)" .01
		"Korath" -.01
		"Remnant" .01

government "Wanderer"
	swizzle 2
	"crew attack" 1.4
	"crew defense" 1.8
	color .70 .91 .12
	"player reputation" 1
	"attitude toward"
		"Hai (Unfettered Wanderer Tribute)" .1
	language "Wanderer"
	"send untranslated hails"
	"friendly hail" "wanderer untranslated"
	"friendly disabled hail" "wanderer untranslated"
	"hostile hail" "wanderer untranslated"
	"hostile disabled hail" "wanderer untranslated"

# A dummy government used to prevent Hai from entering the wormhole in Waypoint/Ultima Thule, but allowing human merchants and other governments to enter.
government "Wormhole Alpha"
	"bribe" 0
	"fine" 0
	"attitude toward"
		"Hai" -.01
		"Hai Merchant" -.01
		"Hai Merchant (Sympathizers)" -.01
		"Hai Merchant (Human)" -.01
		"Hai (Unfettered)" -.01
		"Bounty Hunter that Won't Enter Hai Space" -.01
		"Free Worlds that won't enter wormhole" -.01
		"Republic that won't enter wormhole" -.01
