Example #1
0
def run():
	print '--> mission New Frontiers - Raw Materials (6 of 7)'

	if not station.openInventory():
		return False

	if not station.loadItem('mission_cargo'):
		return False

	if not station.closeInventory():
		return False

	if not station.undock():
		return False

	pilot.autopilot()

	if not general.setMissionWaypoint():
		return False

	if not station.startConversation(agent):
		return False

	if not station.completeMission():
		return False

	if not station.undock():
		return False

	pilot.autopilot()


	print '<-- mission New Frontiers - Raw Materials (6 of 7)\n'
	return True
def run():
	print '--> mission Technological Secrets 2'

	# this is a transport mission
	if not (station.openInventory() \
		and station.loadItem('dna_sample') \
		and station.closeInventory()):
		return False

	if not station.undock():
		return False

	pilot.autopilot()

	if not general.setMissionWaypoint():
		return False

	if not station.startConversation(agent):
		return False

	if not station.completeMission():
		return False

	if not station.undock():
		return False

	pilot.autopilot()

	print '<-- mission Technological Secrets 2\n'
	return True
Example #3
0
def run():
	print '--> mission New Frontiers - Raw Materials (3 of 7)'

	if not station.activateShip('shuttle'):
		return False

	if not station.undock():
		return False

	pilot.autopilot()

	if not station.openInventory():
		return False

	if not station.loadItem('datacore'):
		return False

	if not station.closeInventory():
		return False

	if not general.setMissionWaypoint():
		return False

	if not station.undock():
		return False

	pilot.autopilot()

	if not station.startConversation(agent):
		return False

	if not station.completeMission():
		return False

	if not station.activateShip('dominix'):
		return False

	print '<-- mission New Frontiers - Raw Materials (3 of 7)\n'
	return True
Example #4
0
def runBattle(mission):
	print 'battle mission'
	bot = battle[mission]
	# bot = the_damsel_in_distress

	if bot == pick_your_position:
		if not station.activateShip('shuttle'):
			return False

	if not station.undock():
		return False

	pilot.autopilot()

	if not general.warpToMissionLocation():
		return False

	if not bot.run():
		return False

	if not general.backToAgentStation():
		return False

	if not station.startConversation(agent):
		return False

	if not station.completeMission():
		return False

	if not station.repair():
		print 'Error: repair faild'
		return False

	if bot == pick_your_position:
		if not station.activateShip('dominix'):
			return False

	return True
Example #5
0
def backToAgentStation():
	print '--> back to agent station'

	if setMissionWaypoint():
		pilot.autopilot()
	else:
		result = findAtInfo('dock')
		while not result:
			result = findAtInfo('dock')
			time.sleep(0.5)
		mouse.leftClickAtP(result)

		exitStarMap()

		print 'wait until reach station'
		time.sleep(10)
		while not findAtMenu('undock'):
			time.sleep(1)

		time.sleep(4)

	print '<-- back to agent station\n'
	return True