# Copyright (c) 2016 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/>.

phrase "coalition ringworld workers"
	word
		`You drop off the workers on the <planet>. A few minutes later you receive a transfer of <payment>.`

mission "Coalition: Ringworld Workers 1"
	job
	repeat
	name "Workers to the <planet>"
	description "Transport this crew of <bunks> workers to the Heliarch <planet>, where they will help in the efforts to maintain and expand the ringworld. Payment will be <payment>."
	passengers 5 8 .2
	to offer
		has "known to the heliarchs"
		random < 40
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition ringworld workers"

mission "Coalition: Ringworld Workers 2"
	job
	repeat
	name "Workers to the <planet>"
	description "Transport this crew of <bunks> workers to the Heliarch <planet>, where they will help in the efforts to maintain and expand the ringworld. Payment will be <payment>."
	passengers 5 5 .1
	to offer
		has "known to the heliarchs"
		random < 20
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 15000
		dialog phrase "coalition ringworld workers"

mission "Coalition: Ringworld Workers 3"
	job
	repeat
	name "Workers to the <planet>"
	description "Transport this crew of <bunks> workers to the Heliarch <planet>, where they will help in the efforts to maintain and expand the ringworld. Payment will be <payment>."
	passengers 5 3 .04
	to offer
		has "known to the heliarchs"
		random < 10
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 20000
		dialog phrase "coalition ringworld workers"


phrase "coalition ringworld volunteers"
	word
		`You drop off the volunteers on the <planet>, where they are met by a Heliarch agent. A few minutes later you receive a transfer of <payment>.`

mission "Coalition: Ringworld Volunteers 1"
	job
	repeat
	name "Volunteers to the <planet>"
	description "The government will pay you <payment> to bring these <bunks> volunteer workers to the <planet>, where they will assist in the construction effort in return for room and board."
	passengers 5 3 .3
	to offer
		has "known to the heliarchs"
		random < 60
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 4000
		dialog phrase "coalition ringworld volunteers"

mission "Coalition: Ringworld Volunteers 2"
	job
	repeat
	name "Volunteers to the <planet>"
	description "The government will pay you <payment> to bring these <bunks> volunteer workers to the <planet>, where they will assist in the construction effort in return for room and board."
	passengers 5 10 .5
	to offer
		has "known to the heliarchs"
		random < 30
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 8000
		dialog phrase "coalition ringworld volunteers"

mission "Coalition: Ringworld Volunteers 3"
	job
	repeat
	name "Volunteers to the <planet>"
	description "The government will pay you <payment> to bring these <bunks> volunteer workers to the <planet>, where they will assist in the construction effort in return for room and board."
	passengers 5 4 .2
	to offer
		has "known to the heliarchs"
		random < 20
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 12000
		dialog phrase "coalition ringworld volunteers"


phrase "coalition ringworld materials"
	word
		`You drop off the construction materials and receive <payment> in payment.`

mission "Coalition: Ringworld Materials 1"
	job
	repeat
	name "Materials to the <planet>"
	description "Deliver these <tons> of construction materials to the Heliarch <planet> by <date>. Payment will be <payment>."
	deadline
	cargo "Construction" 10 3 .02
	to offer
		has "known to the heliarchs"
		random < 30
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 30000
		dialog phrase "coalition ringworld materials"

mission "Coalition: Ringworld Materials 2"
	job
	repeat
	name "Materials to the <planet>"
	description "Deliver these <tons> of construction materials to the Heliarch <planet> by <date>. Payment will be <payment>."
	deadline
	cargo "Construction" 10 4 .02
	to offer
		has "known to the heliarchs"
		random < 20
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 40000
		dialog phrase "coalition ringworld materials"

mission "Coalition: Ringworld Materials 3"
	job
	repeat
	name "Materials to the <planet>"
	description "Deliver these <tons> of construction materials to the Heliarch <planet> by <date>. Payment will be <payment>."
	deadline
	cargo "Construction" 10 5 .02
	to offer
		has "known to the heliarchs"
		random < 10
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 50000
		dialog phrase "coalition ringworld materials"


phrase "coalition ringworld supplies"
	word
		`You drop off the donation of <commodity> and receive <payment> in payment.`

mission "Coalition: Ringworld Supplies 1"
	job
	repeat
	name "Supplies to the <planet>"
	description "This shipment of <tons> of supplies is a donation from the government of <origin> to help support the Heliarch <planet>. You will be paid <payment> on delivery."
	cargo random 5 10 .2
	to offer
		has "known to the heliarchs"
		random < 50
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 2000
		dialog phrase "coalition ringworld supplies"

mission "Coalition: Ringworld Supplies 2"
	job
	repeat
	name "Supplies to the <planet>"
	description "This shipment of <tons> of supplies is a donation from the government of <origin> to help support the Heliarch <planet>. You will be paid <payment> on delivery."
	cargo random 5 10 .15
	to offer
		has "known to the heliarchs"
		random < 30
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 4000
		dialog phrase "coalition ringworld supplies"

mission "Coalition: Ringworld Supplies 3"
	job
	repeat
	name "Supplies to the <planet>"
	description "This shipment of <tons> of supplies is a donation from the government of <origin> to help support the Heliarch <planet>. You will be paid <payment> on delivery."
	cargo random 5 10 .1
	to offer
		has "known to the heliarchs"
		random < 20
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 6000
		dialog phrase "coalition ringworld supplies"


mission "Coalition: Heliarch Candidate"
	job
	repeat
	name "Candidate to the <planet>"
	description "You will be paid <payment> for transporting this candidate for elevation to the rank of Heliarch to the <planet> by <date>."
	passengers 1
	deadline 5 1
	to offer
		has "known to the heliarchs"
		random < 10
	source
		government "Coalition"
	destination
		government "Heliarch"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 50000
		dialog `Heliarch agents meet your ship as soon as it docks and receive the candidate whom you have been transporting, in a small ceremony. A few minutes later you receive a transfer of <payment>.`


phrase "coalition interpreters dialog"
	word
		`You drop off the interpreters on <planet>. A few minutes later you receive a transfer of <payment>.`

mission "Coalition: Interpreters 1"
	job
	repeat
	name "Interpreters to <planet>"
	description "Bring these <bunks> Heliarch agents, trained as interpreters and mediators, to <destination>. Payment is <payment>."
	passengers 2 3 .5
	to offer
		has "known to the heliarchs"
		random < 40
	source
		government "Heliarch"
	destination
		government "Coalition"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 5000
		dialog phrase "coalition interpreters dialog"

mission "Coalition: Interpreters 2"
	job
	repeat
	name "Interpreters to <planet>"
	description "Bring these <bunks> Heliarch agents, trained as interpreters and mediators, to <destination>. Payment is <payment>."
	passengers 2 5 .5
	to offer
		has "known to the heliarchs"
		random < 20
	source
		government "Heliarch"
	destination
		government "Coalition"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition interpreters dialog"

mission "Coalition: Interpreters 3"
	job
	repeat
	name "Interpreters to <planet>"
	description "Bring these <bunks> Heliarch agents, trained as interpreters and mediators, to <destination>. Payment is <payment>."
	passengers 2 10 .5
	to offer
		has "known to the heliarchs"
		random < 10
	source
		government "Heliarch"
	destination
		government "Coalition"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition interpreters dialog"


phrase "coalition peacekeepers dialog"
	word
		`You drop off the peacekeepers on <planet>. A few minutes later you receive a transfer of <payment>.`

mission "Coalition: Peacekeepers 1"
	job
	repeat
	name "Peacekeepers to <planet>"
	description "Transport this corps of <bunks> peacekeepers to <destination> to investigate reports of Lunarium activity. Payment is <payment>."
	passengers 10 10 .2
	to offer
		has "known to the heliarchs"
		random < 20
	source
		government "Heliarch"
	destination
		government "Coalition"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 20000
		dialog phrase "coalition peacekeepers dialog"

mission "Coalition: Peacekeepers 2"
	job
	repeat
	name "Peacekeepers to <planet>"
	description "Transport this corps of <bunks> peacekeepers to <destination> to investigate reports of Lunarium activity. Payment is <payment>."
	passengers 10 5 .1
	to offer
		has "known to the heliarchs"
		random < 10
	source
		government "Heliarch"
	destination
		government "Coalition"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 30000
		dialog phrase "coalition peacekeepers dialog"


phrase "coalition interspecies settlers"
	word
		`You drop off the settlers on <planet>. A few minutes later you receive a transfer of <payment>.`

mission "Coalition: Saryd Interspecies 1"
	job
	repeat
	name "Saryds to <planet>"
	description "As part of the Interspecies Exchange Program, these <bunks> volunteer settlers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 4 2 .1
	to offer
		has "known to the heliarchs"
		random < 70
	source
		attributes "saryd"
	destination
		attributes "kimek" "arach"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition interspecies settlers"

mission "Coalition: Saryd Interspecies 2"
	job
	repeat
	name "Saryds to <planet>"
	description "As part of the Interspecies Exchange Program, these <bunks> volunteer settlers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 4 4 .1
	to offer
		has "known to the heliarchs"
		random < 30
	source
		attributes "saryd"
	destination
		attributes "kimek" "arach"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 15000
		dialog phrase "coalition interspecies settlers"

mission "Coalition: Kimek Interspecies 1"
	job
	repeat
	name "Kimek to <planet>"
	description "As part of the Interspecies Exchange Program, these <bunks> volunteer settlers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 4 2 .1
	to offer
		has "known to the heliarchs"
		random < 70
	source
		attributes "kimek"
	destination
		attributes "saryd" "arach"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition interspecies settlers"

mission "Coalition: Kimek Interspecies 2"
	job
	repeat
	name "Kimek to <planet>"
	description "As part of the Interspecies Exchange Program, these <bunks> volunteer settlers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 4 4 .1
	to offer
		has "known to the heliarchs"
		random < 30
	source
		attributes "kimek"
	destination
		attributes "saryd" "arach"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 15000
		dialog phrase "coalition interspecies settlers"

mission "Coalition: Arach Interspecies 1"
	job
	repeat
	name "Arachi to <planet>"
	description "As part of the Interspecies Exchange Program, these <bunks> volunteer settlers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 4 2 .1
	to offer
		has "known to the heliarchs"
		random < 70
	source
		attributes "arach"
	destination
		attributes "saryd" "kimek"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition interspecies settlers"

mission "Coalition: Arach Interspecies 2"
	job
	repeat
	name "Arachi to <planet>"
	description "As part of the Interspecies Exchange Program, these <bunks> volunteer settlers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 4 4 .1
	to offer
		has "known to the heliarchs"
		random < 30
	source
		attributes "arach"
	destination
		attributes "saryd" "kimek"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 15000
		dialog phrase "coalition interspecies settlers"


phrase "coalition transfer dialog"
	word
		`You drop off the workers on <planet>. A few minutes later you receive a transfer of <payment>.`

mission "Coalition: Transfer 1"
	job
	repeat
	name "Transfer to <planet>"
	description "As a part of the Full Employment Program, these <bunks> workers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 2 10 .3
	to offer
		has "known to the heliarchs"
		random < 40
	source
		government "Coalition"
	destination
		government "Coalition"
		attributes "mining" "farming" "factory" "oil"
		distance 2 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 5000
		dialog phrase "coalition transfer dialog"

mission "Coalition: Transfer 2"
	job
	repeat
	name "Transfer to <planet>"
	description "As a part of the Full Employment Program, these <bunks> workers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 2 10 .2
	to offer
		has "known to the heliarchs"
		random < 30
	source
		government "Coalition"
	destination
		government "Coalition"
		attributes "mining" "farming" "factory" "oil"
		distance 2 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition transfer dialog"

mission "Coalition: Transfer 3"
	job
	repeat
	name "Transfer to <planet>"
	description "As a part of the Full Employment Program, these <bunks> workers need transportation to <destination>. The government will pay their transport fee of <payment>."
	passengers 2 10 .1
	to offer
		has "known to the heliarchs"
		random < 20
	source
		government "Coalition"
	destination
		government "Coalition"
		attributes "mining" "farming" "factory" "oil"
		distance 2 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 15000
		dialog phrase "coalition transfer dialog"


phrase "coalition tourists outbound"
	word
		`The tourists thank you for bringing them to <planet> and pay you <payment>.`

mission "Coalition: Tourists Out 1"
	job
	repeat
	name "Vacationers to <planet>"
	description "These <bunks> tourists will pay you <payment> to bring them to <destination> and desire to travel in a very comfortable ship. Payment is void if they do not arrive by <date>."
	deadline
	passengers 2 5 .5
	to offer
		has "known to the heliarchs"
		random < 40
	to accept
		has "outfit (installed): Luxury Accommodations"
	source
		government "Coalition"
	destination
		government "Coalition"
		attributes "tourism"
		distance 5 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 22000 200
		dialog phrase "coalition tourists outbound"

mission "Coalition: Tourists Out 2"
	job
	repeat
	name "Vacationers to <planet>"
	description "These <bunks> tourists will pay you <payment> to bring them to <destination> and desire to travel in a very comfortable ship. Payment is void if they do not arrive by <date>."
	deadline
	passengers 2 5 .4
	to offer
		has "known to the heliarchs"
		random < 30
	to accept
		has "outfit (installed): Luxury Accommodations"
	source
		government "Coalition"
	destination
		government "Coalition"
		attributes "tourism"
		distance 5 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 32000 200
		dialog phrase "coalition tourists outbound"

mission "Coalition: Tourists Out 3"
	job
	repeat
	name "Vacationers to <planet>"
	description "These <bunks> tourists will pay you <payment> to bring them to <destination> and desire to travel in a very comfortable ship. Payment is void if they do not arrive by <date>."
	deadline
	passengers 2 5 .3
	to offer
		has "known to the heliarchs"
		random < 20
	to accept
		has "outfit (installed): Luxury Accommodations"
	source
		government "Coalition"
	destination
		government "Coalition"
		attributes "tourism"
		distance 5 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 42000 200
		dialog phrase "coalition tourists outbound"


phrase "coalition tourists homebound"
	word
		`The tourists thank you for bringing them home and pay you <payment>.`

mission "Coalition: Tourists Home 1"
	job
	repeat
	name "Vacationers to <planet>"
	description "These <bunks> tourists will pay you <payment> to bring them home to <destination> and desire to travel in a very comfortable ship. Payment is void if they do not arrive by <date>."
	deadline
	passengers 2 5 .5
	to offer
		has "known to the heliarchs"
		random < 40
	to accept
		has "outfit (installed): Luxury Accommodations"
	source
		government "Coalition"
		attributes "tourism"
	destination
		government "Coalition"
		distance 5 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 22000 200
		dialog phrase "coalition tourists homebound"

mission "Coalition: Tourists Home 2"
	job
	repeat
	name "Vacationers to <planet>"
	description "These <bunks> tourists will pay you <payment> to bring them home to <destination> and desire to travel in a very comfortable ship. Payment is void if they do not arrive by <date>."
	deadline
	passengers 2 5 .4
	to offer
		has "known to the heliarchs"
		random < 30
	to accept
		has "outfit (installed): Luxury Accommodations"
	source
		government "Coalition"
		attributes "tourism"
	destination
		government "Coalition"
		distance 5 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 32000 200
		dialog phrase "coalition tourists homebound"

mission "Coalition: Tourists Home 3"
	job
	repeat
	name "Vacationers to <planet>"
	description "These <bunks> tourists will pay you <payment> to bring them home to <destination> and desire to travel in a very comfortable ship. Payment is void if they do not arrive by <date>."
	deadline
	passengers 2 5 .3
	to offer
		has "known to the heliarchs"
		random < 20
	to accept
		has "outfit (installed): Luxury Accommodations"
	source
		government "Coalition"
		attributes "tourism"
	destination
		government "Coalition"
		distance 5 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 42000 200
		dialog phrase "coalition tourists homebound"


phrase "coalition fast courier"
	word
		`The recipient thanks you for bringing the <commodity> here so quickly, and pays you <payment>.`

mission "Coalition: Fast Courier 1"
	job
	repeat
	name "Fast courier to <planet>"
	description "Deliver <cargo> to <destination> by <date>. The payment is <payment>."
	deadline 5 1
	cargo random 2 20 .6
	to offer
		has "known to the heliarchs"
		random < 60
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 6 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 30000
		dialog phrase "coalition fast courier"

mission "Coalition: Fast Courier 2"
	job
	repeat
	name "Fast courier to <planet>"
	description "Deliver <cargo> to <destination> by <date>. The payment is <payment>."
	deadline 5 1
	cargo random 2 30 .6
	to offer
		has "known to the heliarchs"
		random < 40
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 6 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 40000
		dialog phrase "coalition fast courier"

mission "Coalition: Fast Courier 3"
	job
	repeat
	name "Fast courier to <planet>"
	description "Deliver <cargo> to <destination> by <date>. The payment is <payment>."
	deadline 5 1
	cargo random 2 40 .6
	to offer
		has "known to the heliarchs"
		random < 30
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 6 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 50000
		dialog phrase "coalition fast courier"


phrase "coalition commodity delivery"
	word
		`You drop off the <commodity> on <planet>, and receive <payment> in payment.`

mission "Coalition: Cargo 1"
	job
	repeat
	name "Cargo to <planet>"
	description "Deliver <cargo> to <destination>. Payment is <payment>."
	cargo random 4 6 .3
	to offer
		has "known to the heliarchs"
		random < 80
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 2 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 2000
		dialog phrase "coalition commodity delivery"

mission "Coalition: Cargo 2"
	job
	repeat
	name "Cargo to <planet>"
	description "Deliver <cargo> to <destination>. Payment is <payment>."
	cargo random 4 8 .3
	to offer
		has "known to the heliarchs"
		random < 70
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 2 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 4000
		dialog phrase "coalition commodity delivery"

mission "Coalition: Cargo 3"
	job
	repeat
	name "Cargo to <planet>"
	description "Deliver <cargo> to <destination>. Payment is <payment>."
	cargo random 4 11 .3
	to offer
		has "known to the heliarchs"
		random < 60
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 2 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 6000
		dialog phrase "coalition commodity delivery"

mission "Coalition: Cargo 4"
	job
	repeat
	name "Cargo to <planet>"
	description "Deliver <cargo> to <destination>. Payment is <payment>."
	cargo random 4 15 .3
	to offer
		has "known to the heliarchs"
		random < 50
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 2 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 8000
		dialog phrase "coalition commodity delivery"


mission "Coalition: Bulk 1"
	job
	repeat
	name "Bulk cargo to <planet>"
	description "Deliver <cargo> to <destination>. Payment is <payment>."
	cargo random 20 6 .1
	to offer
		has "known to the heliarchs"
		random < 60
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 3 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition commodity delivery"

mission "Coalition: Bulk 2"
	job
	repeat
	name "Bulk cargo to <planet>"
	description "Deliver <cargo> to <destination>. Payment is <payment>."
	cargo random 30 9 .1
	to offer
		has "known to the heliarchs"
		random < 50
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 3 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 14000
		dialog phrase "coalition commodity delivery"

mission "Coalition: Bulk 3"
	job
	repeat
	name "Bulk cargo to <planet>"
	description "Deliver <cargo> to <destination>. Payment is <payment>."
	cargo random 40 15 .1
	to offer
		has "known to the heliarchs"
		random < 40
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 3 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 20000
		dialog phrase "coalition commodity delivery"

mission "Coalition: Bulk 4"
	job
	repeat
	name "Bulk cargo to <planet>"
	description "Deliver <cargo> to <destination>. Payment is <payment>."
	cargo random 50 25 .1
	to offer
		has "known to the heliarchs"
		random < 30
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 3 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 30000
		dialog phrase "coalition commodity delivery"


mission "Coalition: Rush 1"
	job
	repeat
	name "Rush Delivery to <planet>"
	description "<destination> needs a shipment of <cargo> by <date>. Payment will be <payment>."
	deadline
	cargo random 10 8 .2
	to offer
		has "known to the heliarchs"
		random < 60
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 4 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 32000
		dialog phrase "coalition commodity delivery"

mission "Coalition: Rush 2"
	job
	repeat
	name "Rush Delivery to <planet>"
	description "<destination> needs a shipment of <cargo> by <date>. Payment will be <payment>."
	deadline
	cargo random 10 12 .2
	to offer
		has "known to the heliarchs"
		random < 50
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 4 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 40000
		dialog phrase "coalition commodity delivery"

mission "Coalition: Rush 3"
	job
	repeat
	name "Rush Delivery to <planet>"
	description "<destination> needs a shipment of <cargo> by <date>. Payment will be <payment>."
	deadline
	cargo random 10 18 .2
	to offer
		has "known to the heliarchs"
		random < 40
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 4 20
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 50000
		dialog phrase "coalition commodity delivery"


mission "Coalition: Doctors"
	job
	repeat
	name "Doctors to <planet>"
	description "The government will pay you <payment> to bring this team of <bunks> doctors to <destination>, to address a viral outbreak. They must arrive by <date>."
	deadline 8 1
	passengers 4 10 .4
	to offer
		has "known to the heliarchs"
		random < 20
	source
		government "Coalition"
	destination
		government "Coalition"
		distance 4 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 50000
		dialog `The doctors methodically pack up their equipment and leave your ship. From their lack of urgency, it appears that this is a routine event, not a crisis. A few minutes later you receive a transfer of <payment>.`


phrase "coalition cadets dialog"
	word
		`You drop off the cadets on <planet>. A few minutes later you receive a transfer of <payment>.`

mission "Coalition: Cadets 1"
	job
	repeat
	name "Cadets to <planet>"
	description "These <bunks> new recruits need transport to the Academy on <destination>. Payment is <payment>."
	passengers 10 10 .5
	to offer
		has "known to the heliarchs"
		random < 30
	source
		near "Belug" 1 20
		government "Coalition"
	destination "Belug's Plunge"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition cadets dialog"

mission "Coalition: Cadets 2"
	job
	repeat
	name "Cadets to <planet>"
	description "These <bunks> new recruits need transport to the Academy on <destination>. Payment is <payment>."
	passengers 10 10 .4
	to offer
		has "known to the heliarchs"
		random < 20
	source
		near "Belug" 2 20
		government "Coalition"
	destination "Belug's Plunge"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 12000
		dialog phrase "coalition cadets dialog"


phrase "coalition games dialog"
	word
		`The passengers thank you for bringing them to <planet> and pay you <payment>.`

mission "Coalition: To Games 1"
	job
	repeat
	name "Spectators to <planet>"
	description "These <bunks> passengers will pay <payment> for transportation to <planet> in time for the Coalition Games (by <date>)."
	deadline 0 2
	passengers 4 4 .2
	to offer
		has "known to the heliarchs"
		random < 90
		month == 7
		"days until year end" - 2 * "hyperjumps to system: Homeward" > 153
	source
		near "Homeward" 2 20
		government "Coalition"
	destination "Far Home"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 10000 200
		dialog phrase "coalition games dialog"

mission "Coalition: To Games 2"
	job
	repeat
	name "Spectators to <planet>"
	description "These <bunks> passengers will pay <payment> for transportation to <planet> in time for the Coalition Games (by <date>)."
	deadline 0 2
	passengers 4 4 .1
	to offer
		has "known to the heliarchs"
		random < 70
		month == 7
		"days until year end" - 2 * "hyperjumps to system: Homeward" > 153
	source
		near "Homeward" 2 20
		government "Coalition"
	destination "Far Home"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 15000 200
		dialog phrase "coalition games dialog"

mission "Coalition: To Games 3"
	job
	repeat
	name "Spectators to <planet>"
	description "These <bunks> passengers will pay <payment> for transportation to <planet> in time for the Coalition Games (by <date>)."
	deadline 0 2
	passengers 4 4 .05
	to offer
		has "known to the heliarchs"
		random < 50
		month == 7
		"days until year end" - 2 * "hyperjumps to system: Homeward" > 153
	source
		near "Homeward" 2 20
		government "Coalition"
	destination "Far Home"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment 25000 200
		dialog phrase "coalition games dialog"


mission "Coalition: From Games 1"
	job
	repeat
	name "Passengers to <planet>"
	description "Transport <bunks> passengers, who were on <origin> for the Coalition Games, back to their home world of <destination>. Payment is <payment>."
	passengers 4 4 .2
	to offer
		has "known to the heliarchs"
		random < 90
		month > 7
		month < 10
	source "Far Home"
	destination
		government "Coalition"
		distance 2 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 10000
		dialog phrase "coalition games dialog"

mission "Coalition: From Games 2"
	job
	repeat
	name "Passengers to <planet>"
	description "Transport <bunks> passengers, who were on <origin> for the Coalition Games, back to their home world of <destination>. Payment is <payment>."
	passengers 4 4 .1
	to offer
		has "known to the heliarchs"
		random < 70
		month > 7
		month < 10
	source "Far Home"
	destination
		government "Coalition"
		distance 2 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 15000
		dialog phrase "coalition games dialog"

mission "Coalition: From Games 3"
	job
	repeat
	name "Passengers to <planet>"
	description "Transport <bunks> passengers, who were on <origin> for the Coalition Games, back to their home world of <destination>. Payment is <payment>."
	passengers 4 4 .05
	to offer
		has "known to the heliarchs"
		random < 50
		month > 7
		month < 10
	source "Far Home"
	destination
		government "Coalition"
		distance 2 20
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		"coalition jobs" ++
		payment
		payment 25000
		dialog phrase "coalition games dialog"


mission "Heliarchs Buy Jump Drive Job 1"
	job
	name "Sell Jump Drive"
	"apparent payment" 5000000
	description "Sell a jump drive to the Heliarchs for <payment>."
	source
		government "Heliarch"
	to offer
		not "Coalition: Lost: Offer: active"
		has "Heliarchs Buy Jump Drive Mission: declined"
		has "outfit (cargo): Jump Drive"
	on accept
		conversation
			`The Heliarchs thank you profusely when they see you've taken them up on their offer, and soon enough several of their ships have landed near your own. Apparently they've learned of your change of mind and are excited to see the exchange, leaving their ships and surrounding yours. Soon enough, they make space for an army of engineers to come and remove the spare jump drive from your ship. Still watching the scene, only now in formations, the Heliarch agents whisper among themselves, rarely shifting their eyes, as if looking at a spectacle.`
			`	Once the drive is out of your ship, it is secured in an excessively reinforced container and transported to a restricted section of the ring, under the guard of hundreds of armed soldiers. One of the Heliarchs who seem to be in charge of the procedure, an Arach, personally comes to you, thanking you again and handing you <payment>. "Honor us you do with such generosity, Captain. Though made great progress in studying jump drives and their mechanisms, we have, still incapable of creating our own, we are, and means of acquiring new copies we have not. Tremendously valuable, each and every drive you could bring us is. If interested in selling any more jump drives, you are, continue to offer you such jobs, we will."`
			branch license
				"coalition jobs" < 30
			`	She thanks you yet again, salutes, and leaves to follow the entourage guarding the newly purchased jump drive.`
				accept
			label license
			action
				"reputation: Coalition" += 10
				"reputation: Heliarch" += 10
				set "license: Coalition"
				log "Sold a jump drive to the Heliarchs and received permission to purchase Coalition civilian technology and ships."
				log "Factions" "Saryds" `Saryds are an alien species who look suspiciously similar to the centaurs found in early human mythology. They prefer to live on worlds with as much green space as possible, and even their major cities are full of parks and gardens. Most Saryds live in small communes with up to a few dozen of them per house.`
				log "Factions" "Kimek" `The Kimek are large insectoid aliens, and are members of the Coalition. They discovered spaceflight after the Saryds, but before the Arachi. They are intensely social creatures, preferring to live together in massive buildings with thousands of inhabitants, and many of their worlds have populations in the tens of billions, far more than any human world.`
				log "Factions" "Arachi" `The spider-like Arachi were the last of the three Coalition species to discover interstellar travel. Most members of their society owe allegiance to one of the great Arach "Houses," organizations that are somewhat similar to guilds and that each specialize in one particular form of industry or technology.`
			`	She thanks you yet again, salutes, and leaves to follow the entourage guarding the newly purchased jump drive. Not a minute after she has left, three more Heliarchs arrive at your ship, a delegation consisting of a member of each of the three Coalition species, all wearing golden circlets denoting their rank and authority. "A most unexpected, but greatly value contribution this is," the Saryd says, "to think that so eager would our visitor be to prove their diligence and commitment."`
			`	The Kimek says, "As aided you have our society in breaking free of the Quarg's cages, with our society's technology may you be trusted."`
			`	"But," says the Arach, "like all civilians, even citizens, to you our weapons and warships we still cannot sell."`
			choice
				`	"Thank you."`
					goto end
				`	"Why don't you allow civilians to purchase weapons or warships?"`
			`	"For the sake of peace it is," says the Saryd. "The Heliarch military, well-trained to use weapons only for defense and only for justice, they are. And to place the needs of the Coalition over the ambitions of their own native species, each one committed is. No such discipline do civilians have, even you. But as a respectful guest you are, to maintain your weapons we shall allow."`
			label end
			`	Apparently nothing is for sale here, but they assure you that many Coalition worlds will now grant you access to their shipyards and outfitters. The three Heliarchs all express their deep gratitude for your generosity with providing them a fresh jump drive, and wish you well.`
				accept
		"coalition jobs" >?= 30
		outfit "Jump Drive" -1
		payment 5000000
		fail

mission "Heliarchs Buy Jump Drive Job 2"
	job
	repeat
	name "Sell Jump Drive"
	"apparent payment" 5000000
	description "Sell a jump drive to the Heliarchs for <payment>."
	source
		government "Heliarch"
	to offer
		not "Coalition: Lost: Offer: active"
		has "outfit (cargo): Jump Drive"
		has "Heliarchs Buy Jump Drive Mission: offered"
		or
			not "Heliarchs Buy Jump Drive Mission: declined"
			has "Heliarchs Buy Jump Drive Job 1: offered"
	on accept
		dialog "A team of Heliarch engineers carefully removes the spare jump drive from your ship and brings it to a restricted section of the ring. You're approached by the Heliarch who supervised the procedure, who thanks you for bringing in another drive, and hands you the pay of <payment>."
		"coalition jobs" += 2
		outfit "Jump Drive" -1
		payment 5000000
		fail


mission "Heliarch Contain True"
	job
	repeat
	name `Contain Criminals`
	description `Fly to <destination> by <date> so that you and <bunks> other Heliarch agents can combat criminals on site. Payment is <payment>.`
	deadline
	passengers 16 58
	to offer
		random < 3
		has "license: Heliarch"
	source
		government "Heliarch"
	destination
		distance 2 10
		not attributes "coalition station"
	on offer
		require "Enforcer Confrontation Gear"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		payment
		payment 70000
		dialog `You and the other agents converge on the marked area and quickly move to cut off any exits. After a brief firefight, the criminals surrender and a Heliarch ship swoops in to pick them up. You bid your Heliarch colleagues farewell and return to your ship, where you are happy to see that <payment> has already been transferred to your account.`

mission "Heliarch Contain Fail"
	job
	repeat
	name `Contain Criminals`
	description `Fly to <destination> by <date> so that you and <bunks> other Heliarch agents can combat criminals on site. Payment is <payment>.`
	deadline
	passengers 16 58
	"apparent payment" 70000
	to offer
		random < 15
		has "license: Heliarch"
	source
		government "Heliarch"
	destination
		distance 2 10
		not attributes "coalition station"
	on offer
		require "Enforcer Confrontation Gear"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		dialog `You and the other agents head to the marked area, but when you arrive it becomes evident that whoever occupied the place has managed to escape. You bring the other agents to the spaceport as they lament the failed job.`

mission "Heliarch Contain Fake"
	job
	repeat
	name `Contain Criminals`
	description `Fly to <destination> by <date> so that you and <bunks> other Heliarch agents can combat criminals on the site. Payment is <payment>.`
	deadline
	passengers 16 58
	to offer
		random < 45
		has "license: Heliarch"
	source
		government "Heliarch"
	destination
		distance 2 10
		not attributes "coalition station"
	on offer
		require "Enforcer Confrontation Gear"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		payment
		payment 55000
		dialog `Your team pounces and catches the targets entirely by surprise. They offer no resistance, relinquishing their weapons immediately. You call for a Heliarch ship to pick them up and then bid the other agents farewell as you leave. An extra <payment> is already waiting in your account when you return to your ship.`


mission "Heliarch Prisoner Transport"
	job
	repeat
	name `Transport Prisoners`
	description `Bring <bunks> criminals, who were arrested on <origin>, to <destination>. Payment is <payment>.`
	passengers 3 11
	to offer
		random < 15
		has "license: Heliarch"
	source
		government "Coalition"
	destination
		government "Heliarch"
	on offer
		require "Enforcer Riot Staff"
		require "Brig"
	on visit
		dialog phrase "generic passenger on visit"
	on complete
		payment
		payment 45000
		dialog `When you land on <destination>, Heliarch agents help you move the prisoners out of your ship. Once the last prisoner leaves you're handed <payment>.`


mission "Heliarch Investigate"
	job
	repeat
	name `Investigate signs of criminal activity`
	description `Land on <stopovers>, where you and <bunks> other Heliarch agents will investigate an area where suspicious activity was reported. Payment is <payment>.`
	passengers 6 11
	to offer
		random < 60
		has "license: Heliarch"
	source
		government "Heliarch"
	stopover
		distance 5 10
		not attributes "coalition station"
	on visit
		dialog phrase "generic passenger on visit"
	on stopover
		dialog `You and the other agents head to the reported area looking for anything out of place. You don't find anything prominent, but there are clear signs that the place was recently used. You spend a few hours collecting evidence before heading back to your ship.`
	on complete
		payment
		payment 40000
		dialog `The agents thank you for transporting them in your ship, wish you safe travels, and head off to deliver the findings to their superiors. You're transferred <payment> a few moments later.`


mission "Evacuate Lunarium True"
	job
	repeat
	name "Rescue Lunarium Members"
	description "Pick up <bunks> Lunarium members on <stopovers>, then bring them to <destination> by <date>."
	deadline
	to offer
		random < 10
		has "Lunarium: Evacuation 6: done"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	passengers 24 65
	source
		government "Coalition"
	stopover
		government "Coalition"
		distance 2 6
	destination
		government "Coalition"
		distance 3 5
	on stopover
		dialog `The Lunarium members rush to your ship once it touches down on the hangars, and you swiftly open your hatch for them to come in. One of the calmer members asks that you head to <destination> as soon as possible.`
	on visit
		dialog phrase "generic missing stopover or passengers"
	on complete
		payment
		payment 33000
		dialog `Each of the Lunarium members comes to thank you before they leave your ship, expressing their gratitude. The last one hands you <payment>, and heads off with the others.`

mission "Evacuate Lunarium Fail"
	job
	repeat
	name "Rescue Lunarium Members"
	description "Pick up the <bunks> Lunarium members on <stopovers>, then bring them to <destination> by <date>."
	deadline
	to offer
		random < 5
		has "Lunarium: Evacuation 6: done"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	passengers 24 65
	source
		government "Coalition"
	stopover
		government "Coalition"
		distance 2 6
	destination
		government "Coalition"
		distance 3 5
	on stopover
		dialog `You touch down on the hangars, and wait for a few minutes for the Lunarium members. Many minutes pass, however, and none arrive. Instead the docks become increasingly filled with Heliarch agents. A message appears on your monitor, saying that the Heliarchs got to the members here first, but thanking you for your efforts anyway.`
		fail


mission "Lunarium: Armageddon Core Delivery"
	job
	repeat
	name "Armageddon Core Delivery"
	description "The Lunarium is offering <payment> for you to deliver an Armageddon Core to <destination>."
	to offer
		random < 4
		has "Lunarium: Smuggling: Reactors: done"
		not "Lunarium: Armageddon Core Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 5 12
		not government "Heliarch"
		not attributes "coalition station"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		outfit "Armageddon Core" -1
		payment 13500000
		dialog `Some Lunarium members unload the Armageddon Core after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the reactor away.`

mission "Lunarium: Fusion Reactor Delivery"
	job
	repeat
	name "Fusion Reactor Delivery"
	description "The Lunarium is offering <payment> for you to deliver a Fusion Reactor to <destination>."
	to offer
		random < 7
		has "Lunarium: Smuggling: Reactors: done"
		not "Lunarium: Fusion Reactor Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 3 8
		not government "Heliarch"
		not attributes "coalition station"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		outfit "Fusion Reactor" -1
		payment 7500000
		dialog `Some Lunarium members unload the Fusion Reactor after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the reactor away.`

mission "Lunarium: Breeder Reactor Delivery"
	job
	repeat
	name "Breeder Reactor Delivery"
	description "The Lunarium is offering <payment> for you to deliver a Breeder Reactor to <destination>."
	to offer
		random < 10
		has "Lunarium: Smuggling: Reactors: done"
		not "Lunarium: Breeder Reactor Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 3 6
		not government "Heliarch"
		not attributes "coalition station"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		outfit "Breeder Reactor" -1
		payment 3250000
		dialog `Some Lunarium members unload the Breeder Reactor after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the reactor away.`

mission "Lunarium: Torpedo Delivery"
	job
	repeat
	name "Torpedo Delivery"
	description "The Lunarium is offering <payment> for you to deliver a Torpedo Launcher, complete with 30 torpedoes, to <destination>."
	to offer
		random < 12
		has "Lunarium: Smuggling: Torpedoes: done"
		not "Lunarium: Torpedo Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 6 12
		not government "Heliarch"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		outfit "Torpedo Launcher" -1
		outfit "Torpedo" -30
		payment 183000
		dialog `Some Lunarium members unload the Torpedo Launcher and its ammunition after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the cargo away.`

mission "Lunarium: Typhoon Delivery"
	job
	repeat
	name "Typhoon Delivery"
	description "The Lunarium is offering <payment> for you to deliver a Typhoon Launcher, complete with 30 Typhoon Torpedoes, to <destination>."
	to offer
		random < 7
		has "Lunarium: Smuggling: Torpedoes: done"
		not "Lunarium: Typhoon Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 6 12
		not government "Heliarch"
	on complete
		outfit "Typhoon Launcher" -1
		outfit "Typhoon Torpedo" -30
		payment 511500
		dialog `Some Lunarium members unload the Typhoon Launcher and its ammunition after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the cargo away.`

mission "Lunarium: Plasma Delivery"
	job
	repeat
	name "Plasma Turret Delivery"
	description "The Lunarium is offering <payment> for you to deliver a Plasma Turret to <destination>."
	to offer
		random < 6
		has "Lunarium: Smuggling: Heat: done"
		not "Lunarium: Plasma Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 4 9
		not government "Heliarch"
	on complete
		outfit "Plasma Turret" -1
		payment 780000
		dialog `Some Lunarium members unload the Plasma Turret after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the turret away.`

mission "Lunarium: Flamethrower Delivery"
	job
	repeat
	name "Flamethrower Delivery"
	description "The Lunarium is offering <payment> for you to deliver a pair of Flamethrowers to <destination>."
	to offer
		random < 8
		has "Lunarium: Smuggling: Heat: done"
		not "Lunarium: Flamethrower Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 2 6
		not government "Heliarch"
	on complete
		outfit "Flamethrower" -2
		payment 570000
		dialog `Some Lunarium members unload the Flamethrowers after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the Flamethrowers away.`

mission "Lunarium: Grenade Delivery"
	job
	repeat
	name "Grenade Delivery"
	description "The Lunarium is offering <payment> for you to deliver a dozen Fragmentation Grenades to <destination>."
	to offer
		random < 11
		has "Lunarium: Smuggling: Grenades: done"
		not "Lunarium: Grenade Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 7 13
		not government "Heliarch"
	on complete
		outfit "Fragmentation Grenades" -12
		payment 306000
		dialog `Some Lunarium members unload the Fragmentation Grenades after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the grenades away.`

mission "Lunarium: Anti-Missile Delivery"
	job
	repeat
	name "Anti-Missile Delivery"
	description "The Lunarium is are offering <payment> for you to deliver a Heavy Anti-Missile Turret to <destination>."
	to offer
		random < 10
		has "Lunarium: Smuggling: AM: done"
		not "Lunarium: Anti-Missile Delivery: active"
		not "Heliarch Investigation 2: active"
		not "joined the heliarchs"
	to fail
		has "Heliarch Investigation 2: active"
		has "joined the heliarchs"
	source
		government "Coalition"
	destination
		distance 9 14
		not government "Heliarch"
	on complete
		outfit "Heavy Anti-Missile Turret" -1
		payment 225000
		dialog `Some Lunarium members unload the Heavy Anti-Missile Turret after you land on an isolated part of <planet> as instructed. They hand you <payment> before quietly transporting the turret away.`
