| 489 | exit(0) |
| 490 | |
| 491 | def scouter(programs, items=['droid hack']): |
| 492 | print('\n----------') |
| 493 | time.sleep(1) |
| 494 | print('''\nThe Enemy 020 scouter droid has a Droid Hack |
| 495 | program. You MUST connect to this droid with |
| 496 | service port and download the program.''') |
| 497 | if len(items) > 0: |
| 498 | for item in items: |
| 499 | print('\n--> %s' % (item)) |
| 500 | cmdlist = ['service port'] |
| 501 | cmd = getcmd(cmdlist) |
| 502 | if cmd == 'service port': |
| 503 | programs.append('droid hack') |
| 504 | items = ['droid hack'] |
| 505 | print('\nservice port connected.') |
| 506 | time.sleep(1) |
| 507 | print('accessing file..') |
| 508 | time.sleep(1) |
| 509 | print('downloading..') |
| 510 | time.sleep(1) |
| 511 | print('....') |
| 512 | time.sleep(1) |
| 513 | print('\ndownload complete.') |
| 514 | time.sleep(1) |
| 515 | print('\nYou have the Droid Hack program.') |
| 516 | print('and return to the Main Elevator.') |
| 517 | time.sleep(2) |
| 518 | start(armory, programs, droids) |
| 519 | |
| 520 | def droid_hangar(armory, programs, droids): |
| 521 | print('\n----------') |