예제 #1
0
def run():
	print '--> mission The Rogue Slave Trader (1 of 2)'

	if not ship.enableDefense():
		return False

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('slave_pen'):
		return False

	ship.approach()

	ship.enableAfterburn()

	time.sleep(10)

	if not drones.engage():
		return False

	while not overview.pickCargo():
		pass

	if not drones.back():
		return False

	print '<-- mission The Rogue Slave Trader (1 of 2)\n'
	return True
예제 #2
0
def run():
	print '--> mission Deadly Arrival'

	if not ship.enableDefense():
		return False

	if not overview.switchTo('lco'):
		return False

	if not overview.lockTarget('ruined_structure'):
		return False

	if not ship.approach():
		return False

	if not ship.enableAfterburn():
		return False

	if not general.openMissionDetails():
		return False

	if not general.missionObjectiveComplete():
		return False

	print '<-- mission Deadly Arrival\n'
	return True
예제 #3
0
def run():
	print '--> mission The Guristas Spies'

	if not ship.enableDefense():
		return False

	if not overview.activateAccelerationGate():
		return False 

	if not drones.launchSmall():
		return False

	if not general.openMissionDetails():
		return False

	overview.seekAndDestory()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission The Guristas Spies\n'
	return True
예제 #4
0
def run():
	print '--> mission Angel Extravaganza'

	if not ship.enableDefense():
		return False

	# 5 pockets
	for i in range(5):

		if not overview.activateAccelerationGate():
			return False

		print 'pocket ' + str(i+1)

		if not drones.launchSmall():
			return False

		ship.enableAfterburn()	

		overview.seekAndDestory()

		if not drones.back():
			return False

	print '<-- mission Angel Extravaganza\n'
	return True
예제 #5
0
def run():
	print '--> mission Rogue Drone Harassment'

	if not ship.enableDefense():
		return False

	# 2 pockets
	for i in range(2):

		if not overview.activateAccelerationGate():
			return False

		print 'pocket ' + str(i+1)

		if not drones.launchSmall():
			return False

		ship.enableAfterburn()	

		overview.seekAndDestory()

		if not drones.back():
			return False

	print '<-- mission Rogue Drone Harassment\n'
	return True
예제 #6
0
def run():
	print '--> mission Break Their Will'

	if not ship.enableDefense():
		return False

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('repair_station'):
		return False

	if not general.openMissionDetails():
		return False

	if not drones.launchSentry():
		return False

	if not drones.engage():
		return False

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Break Their Will\n'
	return True
예제 #7
0
def run():
	print '--> mission The Space Telescope'

	if not ship.enableDefense():
		return False

	if not overview.activateAccelerationGate():
		return False

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('guristas_space', 15):
		return False

	if not drones.launchSmall():
		return False

	ship.fireOnce()

	drones.engage()

	if not general.openMissionDetails():
		return False

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission The Space Telescope\n'
	return True
예제 #8
0
def run():
	print '--> mission Smuggler lnterteption'

	if not ship.enableDefense():
		return False

	# 2 pockets
	for i in range(2):

		if not overview.activateAccelerationGate():
			return False

		print 'pocket ' + str(i+1)

		if not drones.launchSmall():
			return False

		ship.enableAfterburn()	

		overview.seekAndDestory()

		if not drones.back():
			return False

	# loot grustas personal transport
	while not overview.pickTarget('guristas_personnel'):
		pass

	print '<-- mission Smuggler lnterteption\n'
	return True
예제 #9
0
def run():
	print '--> mission New Frontiers - Asnendanne (7 of 7)'

	if not ship.enableDefense():
		return False

	if not general.openMissionDetails():
		return False

	ship.enableAfterburn()

	if not overview.activateAccelerationGate():
		return False

	print 'pocket 1'

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False


	print '<-- mission New Frontiers - Asnendanne (7 of 7)\n'
	return True
예제 #10
0
def run():
	print '--> mission Dawning The Slavers (2 of 2)'

	if not ship.enableDefense():
		return False

	result = None
	begin = time.time()
	while not result and time.time() - begin < 5:
		time.sleep(0.5)
		result = findAtFull('close')
	if result:
		mouse.leftClickAtP(result)

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	if not drones.back():
		return False	

	if not overview.activateAccelerationGate():
		return False

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	if not drones.back():
		return False	

	print '<-- mission Dawning The Slavers (2 of 2)\n'
	return True
def run():
    print "--> mission Intercept the Pirate Smugglers"

    result = None
    begin = time.time()
    while not result and time.time() - begin < 5:
        time.sleep(0.2)
        result = findAtFull("close")
    if result:
        mouse.leftClickAtP(result)

    if not ship.enableDefense():
        return False

    if not drones.launchSmall():
        return False

    if not general.openMissionDetails():
        return False

    ship.enableAfterburn()

    overview.seekAndDestory()

    if not general.missionObjectiveComplete():
        return False

    if not drones.back():
        return False

    print "<-- mission Intercept the Pirate Smugglers\n"
    return True
예제 #12
0
def run():
	print '--> mission Retribution'

	if not ship.enableDefense():
		return False

	if not overview.activateAccelerationGate():
		return False

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('guristas_outpost', 5):
		return False

	if not general.openMissionDetails():
		return False

	if not drones.launchSentry():
		return False

	ship.fireOnce()

	drones.engage()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Retribution\n'
	return True
def run():
	print '--> mission Unauthorized Military Presence'

	if not ship.enableDefense():
		return False

	if not general.openMissionDetails():
		return False

	ship.enableAfterburn()

	if not overview.activateAccelerationGate():
		return False

	if not overview.switchTo('battle'):
		return False

	if not overview.lockTarget('guristas_personnel'):
		return False

	if not ship.enableAfterburn():
		return False

	if not ship.approachFor(240):
		return False

	if not overview.lockTarget('guristas_personnel', 20):
		return False

	if not drones.launchSmall():
		return False

	if not ship.fireOnce():
		return False

	if not drones.engage():
		return False

	# mission item is in wreck
	while not findAtMissionDetails('v'):
		# collect
		overview.pickWreck()	

	if not general.missionObjectiveComplete():
		return False

	# sometimes we already has millitans
	# but the mission is not complete until all enemy dies
	overview.seekAndDestory()

	# just in case
	overview.pickTarget('guristas_personnel')

	if not drones.back():
		return False

	print '<-- mission Unauthorized Military Presence\n'
	return True
예제 #14
0
def run():
	print '--> mission The Spy Stash'

	if not ship.enableDefense():
		return False

	if not overview.activateAccelerationGate():
		return False

	# pocket 1 direct access

	ship.enableAfterburn()	

	if not overview.activateAccelerationGate():
		return False

	# pocket 2
	if not drones.launchSmall():
		return False

	ship.enableAfterburn()	

	overview.seekAndDestory()

	if not drones.back():
		return False

	result = findAtOverview('officers')
	if not result:
		return False
	mouse.doubleClickAtP(result)

	print 'wait until cargo open'
	result = None
	while not result:
		time.sleep(0.5)
		result = findAtFull('report')
	mouse.leftDownAtP(result)

	result = findAtFull('ship', 0.5)
	if not result:
		mouse.leftUp()
		return False
	mouse.moveToP(result)
	mouse.leftUp()
	time.sleep(2)

	result = findAtFull('x')
	if not result:
		return False
	mouse.leftClickAtP(result)

	print '<-- mission The Spy Stash\n'
	return True
예제 #15
0
def run():
    print "--> mission The Black Market Hub"

    if not ship.enableDefense():
        return False

    if not overview.activateAccelerationGate():
        return False

        # pocket 1
    if not drones.launchSmall():
        return False

    ship.enableAfterburn()

    overview.seekAndDestory()

    if not drones.back():
        return False

    if not overview.activateAccelerationGate():
        return False

        # pocket 2

    if not overview.switchTo("lcs"):
        return False

    if not overview.lockTarget("docked_bestower", 1):
        return False

    ship.approachFor(5)

    ship.enableAfterburn()

    if not drones.launchSmall():
        return False

    ship.fireOnce()

    drones.engage()

    overview.switchTo("battle")

    while not overview.pickCargo():
        time.sleep(1)

    drones.back()

    print "<-- mission The Black Market Hub\n"
    return True
예제 #16
0
def run():
	print '--> mission Cargo Deliver'

	if not ship.enableDefense():
		return False

	if not overview.switchTo('battle'):
		return False

	ship.enableAfterburn()

	while not overview.pickCargo():
		pass


	print '<-- mission Cargo Deliver\n'
	return True
def run():
	print '--> mission TheSevensPrisionFacility'

	if not ship.enableDefense():
		return False

	if not drones.launchSmall():
		return False

	ship.enableAfterburn()

	overview.seekAndDestory()

	if not drones.back():
		return False

	print '<-- mission TheSevensPrisionFacility\n'
	return True
예제 #18
0
def run():
	print '--> mission Cut Throat Competition'

	if not ship.enableDefense():
		return False

	if not drones.launchSmall():
		return False

	if not general.openMissionDetails():
		return False

	overview.seekAndDestory()

	if not drones.back():
		return False

	if not overview.activateAccelerationGate():
		return False

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('repair_outpost', 15):
		return False

	if not drones.launchSmall():
		return False

	ship.fireOnce()

	drones.engage()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Cut Throat Competition\n'
	return True
예제 #19
0
def run():
	print '--> mission Stop The Thief'

	if not ship.enableDefense():
		return False

	if not drones.launchSmall():
		return False

	if not ship.enableAfterburn():
		return False

	overview.seekAndDestory()

	if not drones.back():
		return False

	if not overview.pickCargo():
		return False

	print '<-- mission Stop The Thief\n'
	return True
예제 #20
0
def run():
	print '--> mission The Damsel In Distress'

	if not ship.enableDefense():
		return False

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('pleasure_hub'):
		return False

	if not ship.approach():
		return False

	if not ship.enableAfterburn():
		return False

	if not drones.launchSmall():
		return False

	if not ship.fireOnce():
		return False

	if not drones.engage():
		return False

	#there are two cargos
	count = 0;
	while count < 2:
		if overview.pickCargo():
			count += 1
			time.sleep(2)

	if not drones.back():
		return False

	print '<-- mission The Damsel In Distress\n'
	return True
예제 #21
0
def run():
	print '--> mission Success Comes At A Price'

	if not ship.enableDefense():
		return False

	if not drones.launchSmall():
		return False

	if not general.openMissionDetails():
		return False

	overview.seekAndDestory()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Success Comes At A Price\n'
	return True
예제 #22
0
def run():
	print '--> mission New Frontiers - Raw Materials (1 of 7)'

	if not ship.enableDefense():
		return False

	if not general.openMissionDetails():
		return False

	if not drones.launchSmall():
		return False

	if not overview.switchTo('mine'):
		return

	if not overview.lockTarget('green_arisite', 1):
		return False

	ship.enableAfterburn()

	ship.approachFor(70)

	ship.mine()

	begin = time.time()
	while not findAtMissionDetails('v') and time.time() - begin > 130:
		overview.lockTarget('green_arisite', 20)
		ship.mine()
		begin = time.time()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission New Frontiers - Raw Materials (1 of 7)\n'
	return True
예제 #23
0
def run():
	print '--> mission Technological Secrets 1'

	if not ship.enableDefense():
		return False

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	if not ship.enableAfterburn():
		return False

	while not overview.pickCargo():
		# overview.pickWreck()
		time.sleep(5)

	if not drones.back():
		return False

	print '<-- mission Technological Secrets 1\n'
	return True
예제 #24
0
def run():
	print '--> mission Duo of Death'

	if not ship.enableDefense():
		return False

	if not overview.activateAccelerationGate():
		return False

	if not drones.launchSmall():
		return False

	ship.enableAfterburn()

	overview.seekAndDestory()

	if not overview.pickCargo():
		return False

	if not drones.back():
		return False

	print '<-- mission Duo of Death\n'
	return True
def run():
	print '--> mission Eliminate the Pirate Campers'

	if not ship.enableDefense():
		return False

	if not drones.launchSentry():
		return False

	if not overview.switchTo('battle'):
		return False

	begin = time.time()
	result = None
	while not result and time.time() - begin < 5:
		result = findAtFull('close')
	if result:
		mouse.leftClickAtP(result)

	# kill small

	count = 0
	while count < 4:
		result = overview.lockTarget('s', 1)
		if result:
			count += 1

	begin = time.time()
	while time.time() - begin < 120:
		overview.lockTarget('s', 1)
		ship.fireOnce()
		drones.engage()

	if not drones.back():
		return False

	# seek and destory

	if not general.openMissionDetails():
		return False

	ship.enableAfterburn()

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Eliminate the Pirate Campers\n'
	return True
예제 #26
0
def run():
	print '--> mission The Missing Canvoy'

	ship.enableDefense()

	if not overview.activateAccelerationGate():
		return False

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('powerful_em', 1):
		return False

	ship.enableAfterburn()

	ship.approachFor(120)

	if not drones.launchSmall():
		return False

	ship.fireOnce()

	drones.engage()

	print 'wait for 80 sec'
	time.sleep(80)

	if not overview.lockTarget('lesser_drone_hive', 1):
		return False

	ship.approachFor(60)

	ship.fireOnce()

	drones.engage()

	while not overview.pickCargo():
		time.sleep(2)

	while overview.pickCargo():
		pass

	if not drones.back():
		return False

	print '<-- mission The Missing Canvoy\n'
	return True
예제 #27
0
def run():
	print '--> mission New Frontiers - Raw Materials (5 of 7)'

	if not ship.enableDefense():
		return False

	if not drones.launchSentry():
		return False

	if not overview.switchTo('battle'):
		return False

	if not overview.lockTarget('drone_energy', 25):
		return False

	drones.engage()

	time.sleep(160)

	if not drones.back():
		return False

	mouse.moveTo(100, 100)

	result = findAtDrones('sentry')
	if result:
		mouse.leftClickAtP(result)

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	ship.enableAfterburn()

	while not overview.pickCargo():
		time.sleep(5)

	while overview.pickCargo():
		pass

	if not drones.back():
		return False

	print '<-- mission New Frontiers - Raw Materials (5 of 7)\n'
	return True
예제 #28
0
def run():
	print '--> mission New Frontiers - Raw Materials (4 of 7)'

	if not ship.enableDefense():
		return False

	if not overview.switchTo('battle'):
		return False

	if not overview.lockTarget('l', 10):
		return False

	ship.enableAfterburn()

	ship.approach()

	if not drones.launchSmall():
		return False

	ship.fireOnce()

	drones.engage()
	
	overview.seekAndDestory()

	while not overview.pickCargo():
		time.sleep(5)

	while overview.pickCargo():
		pass

	if not drones.back():
		return False

	print '<-- mission New Frontiers - Raw Materials (4 of 7)\n'
	return True
예제 #29
0
def run():
	print '--> mission Silence The Informant'

	if not ship.enableDefense():
		return False

	if not general.openMissionDetails():
		return False

	if not overview.activateAccelerationGate():
		return False

	print 'pocket 1'

	if not drones.launchSmall():
		return False

	ship.enableAfterburn()

	overview.seekAndDestory()

	if not drones.back():
		return False

	if not overview.activateAccelerationGate():
		return False

	print 'pocket 2'
	result = None
	begin = time.time()
	while not result and time.time() - begin < 4:
		time.sleep(0.5)
		result = findAtFull('close')
	if result:
		mouse.leftClickAtP(result)

	if not drones.launchSmall():
		return False

	ship.enableAfterburn()

	overview.seekAndDestory()

	if not drones.back():
		return False

	if not overview.activateAccelerationGate():
		return False

	print 'pocket 3'
	result = None
	begin = time.time()
	while not result and time.time() - begin < 4:
		time.sleep(0.5)
		result = findAtFull('close')
	if result:
		mouse.leftClickAtP(result)

	if not drones.launchSmall():
		return False

	ship.enableAfterburn()

	overview.seekAndDestory()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Silence The Informant\n'
	return True
예제 #30
0
def run():
	print '--> mission The Score'

	if not ship.enableDefense():
		return False

	if not overview.activateAccelerationGate():
		return False

	# pocket 1

	if not drones.launchSmall():
		return False

	ship.enableAfterburn()	

	overview.seekAndDestory()

	if not drones.back():
		return False

	if not overview.activateAccelerationGate():
		return False

	# pocket 2
	if not overview.switchTo('battle'):
		return False

	for i in range(4):
		overview.lockTarget('s', 1)

	drones.launchSentry()

	time.sleep(20)

	begin = time.time()
	while time.time() - begin < 100:
		ship.fireOnce()
		drones.engage()
		overview.lockEnemy(1)

	drones.back()

	ship.enableAfterburn()	

	if not drones.launchSmall():
		return False

	ship.fireOnce()

	overview.seekAndDestory()

	if not drones.back():
		return False

	print '<-- mission The Score\n'
	return True
예제 #31
0
파일: main.py 프로젝트: money1won/GC_1.0
    loop = Switch(1, 3, choice)
    print(clear)

if choice == 1:
    ##begin a new game
    print("start game")
    unload_vars = NewGame()
    Player_Faction = unload_vars["Player_Faction"]
    Enemy_Faction = unload_vars["Enemy_Faction"]
    READY_TO_EXECUTE = unload_vars["READY_TO_EXECUTE"]
    planet1 = unload_vars["planet1"]
    planet2 = unload_vars["planet2"]
    planet3 = unload_vars["planet3"]
    planet4 = unload_vars["planet4"]
    planet5 = unload_vars["planet5"]
    planet6 = unload_vars["planet6"]
    planet7 = unload_vars["planet7"]

elif choice == 2:
    #open the load game screen
    print("load game")
elif choice == 3:
    #open the options menu
    print("options")

planets = [planet1, planet2, planet3, planet4, planet5, planet6, planet7]
Master = [Player_Faction, Enemy_Faction, planets]

if READY_TO_EXECUTE:
    Overview(Player_Faction, Enemy_Faction, planets)