MCPcopy Create free account
hub / github.com/ActiveState/code / droid_software

Function droid_software

recipes/Python/578636_Droids_2__IF_/recipe-578636.py:693–736  ·  view source on GitHub ↗
(armory, programs, droids)

Source from the content-addressed store, hash-verified

691 start(armory, programs, droids)
692
693def droid_software(armory, programs, droids):
694 print('\n----------')
695 print('\nDroid mobile..')
696 time.sleep(1)
697 print('....')
698 time.sleep(1)
699 print('''\nYou enter the Droid Software Deck. This deck
700is where droids connect to the main terminal and download
701Software. You will need a Droid class secure code
702to gain access to the system.''')
703 print('\n\n[-DROID SOFTWARE SYSTEM-]')
704 print('\n [ - MAIN TERMINAL - ]')
705 time.sleep(1)
706 print('\n\n..service port connected.')
707 time.sleep(1)
708 print('\nenter secure code -or type exit to leave')
709 cmdlist =['w7md3sx', 'exit', 'console hack']
710 cmd = getcmd(cmdlist)
711 if cmd == 'w7md3sx':
712 if 'console hack' in programs and 'droid hack' in programs \
713and 'influence' in programs and 'PBE111' in droids:
714 print('\n----------')
715 time.sleep(1)
716 print('\n - COMBAT DROID SECURE CODE VERIFIED -')
717 time.sleep(2)
718 software_download(armory)
719 else:
720 print('\n...')
721 time.sleep(1)
722 print('\nJAY666:> are you cheating ? ')
723 time.sleep(3)
724 droid_software(armory, programs, droids)
725 elif cmd == 'exit':
726 print('\n....')
727 time.sleep(1)
728 print('\nservice port disconnected.')
729 time.sleep(1)
730 start(armory, programs, droids)
731 elif cmd == 'console hack':
732 print('....')
733 time.sleep(1)
734 print('\n - MAIN TERMINAL SECURE -')
735 time.sleep(2)
736 droid_software(armory, programs, droids)
737
738def software_download(armory, items=['motion tracker', 'disruptor']):
739 print('''\nThere are two Weapon Repair programs

Callers 1

startFunction · 0.85

Calls 5

printFunction · 0.85
software_downloadFunction · 0.85
getcmdFunction · 0.70
startFunction · 0.70
sleepMethod · 0.45

Tested by

no test coverage detected