# Copyright (c) 2024 by Saugia
#
# 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/>.


mission "Gegno Asteroid Mining - Aluminum"
	job
	repeat
	name "Gather 10 tons of aluminum"
	description "Mine and collect 10 tons of aluminum, then bring the minerals back to the Gegno at <origin>."
	source "Tschyss"
	to offer
		has "Gegno Asteroid Mining Prologue: done"
		random < 10
	to accept
		"cargo space" > 10
	on visit
		dialog "You've returned to <origin>, but do not have 10 tons of aluminum in your cargo hold. Make sure to mine 10 tons of aluminum and collect it into your cargo before you land."
	on complete
		"gegno: mining jobs" ++
		payment 36000
		outfit "Aluminum" -10
		dialog phrase "gegno mining payment dialog"


mission "Gegno Asteroid Mining - Copper"
	job
	repeat
	name "Gather 10 tons of copper"
	description "Mine and collect 10 tons of copper, then bring the minerals back to the Gegno at <origin>."
	source "Tschyss"
	to offer
		has "Gegno Asteroid Mining Prologue: done"
		random < 10
	to accept
		"cargo space" > 10
	on visit
		dialog "You've returned to <origin>, but do not have 10 tons of copper in your cargo hold. Make sure to mine 10 tons of copper and collect it into your cargo before you land."
	on complete
		"gegno: mining jobs" ++
		payment 60000
		outfit "Copper" -10
		dialog phrase "gegno mining payment dialog"


mission "Gegno Asteroid Mining - Iron"
	job
	repeat
	name "Gather 10 tons of iron"
	description "Mine and collect 10 tons of iron, then bring the minerals back to the Gegno at <origin>."
	source "Tschyss"
	to offer
		has "Gegno Asteroid Mining Prologue: done"
		random < 10
	to accept
		"cargo space" > 10
	on visit
		dialog "You've returned to <origin>, but do not have 10 tons of iron in your cargo hold. Make sure to mine 10 tons of iron and collect it into your cargo before you land."
	on complete
		"gegno: mining jobs" ++
		payment 24000
		outfit "Iron" -10
		dialog phrase "gegno mining payment dialog"


mission "Gegno Asteroid Mining - Lead"
	job
	repeat
	name "Gather 10 tons of lead"
	description "Mine and collect 10 tons of lead, then bring the minerals back to the Gegno at <origin>."
	source "Tschyss"
	to offer
		has "Gegno Asteroid Mining Prologue: done"
		random < 10
	to accept
		"cargo space" > 10
	on visit
		dialog "You've returned to <origin>, but do not have 10 tons of lead in your cargo hold. Make sure to mine 10 tons of lead and collect it into your cargo before you land."
	on complete
		"gegno: mining jobs" ++
		payment 18000
		outfit "Lead" -10
		dialog phrase "gegno mining payment dialog"


mission "Gegno Asteroid Mining - Silicon"
	job
	repeat
	name "Gather 10 tons of silicon"
	description "Mine and collect 10 tons of silicon, then bring the minerals back to the Gegno at <origin>."
	source "Tschyss"
	to offer
		has "Gegno Asteroid Mining Prologue: done"
		random < 10
	to accept
		"cargo space" > 10
	on visit
		dialog "You've returned to <origin>, but do not have 10 tons of silicon in your cargo hold. Make sure to mine 10 tons of silicon and collect it into your cargo before you land."
	on complete
		"gegno: mining jobs" ++
		payment 8000
		outfit "Silicon" -10
		dialog phrase "gegno mining payment dialog"


mission "Gegno Asteroid Mining - Titanium"
	job
	repeat
	name "Gather 10 tons of titanium"
	description "Mine and collect 10 tons of titanium, then bring the minerals back to the Gegno at <origin>."
	source "Tschyss"
	to offer
		has "Gegno Asteroid Mining Prologue: done"
		random < 10
	to accept
		"cargo space" > 10
	on visit
		dialog "You've returned to <origin>, but do not have 10 tons of titanium in your cargo hold. Make sure to mine 10 tons of titanium and collect it into your cargo before you land."
	on complete
		"gegno: mining jobs" ++
		payment 50000
		outfit "Titanium" -10
		dialog phrase "gegno mining payment dialog"
