33from prompt_toolkit .shortcuts import ProgressBar
44from prompt_toolkit .formatted_text import HTML
55from prompt_toolkit import prompt
6+ from prompt_toolkit .shortcuts import message_dialog
7+ from prompt_toolkit .shortcuts import yes_no_dialog
68import time
79import bcrypt
810
@@ -77,15 +79,22 @@ def open_terminal():
7779 while True :
7880 text = prompt ('awaiting commands>>>> ' )
7981#put all the usercommands under here please!
82+ if text == 'CNS' :
83+ print ("running secondary program..." )
84+ time .sleep (2 )
85+ CNS_EE_HAKED ()
8086
8187 if text == 't342' :
82- print ('wrong answer ' )
88+ print ('heyy thanks for sayin somthin! ' )
8389 continue
8490
91+
92+
8593 #BUG: the error "no command" will reply when exiting the FROST EE!
8694 # FROST EE WIP!!
8795 if text == 'frostbyte' :
8896 print ("loading frostbyte EE..." )
97+ #enters the frostbyte EE
8998 frostbyte_EE ()
9099
91100
@@ -110,6 +119,30 @@ def open_terminal():
110119 else :
111120 print ("uhh, hmm, i dont think thats a command friend! type 'commands' for a list of commands!" )
112121
122+ # PLEASE PUT ALL 2ND DEF(S) BELOW THIS NOTE!
123+
124+ # the CNS EE below this messange
125+ def CNS_EE_HAKED ():
126+ result = yes_no_dialog (
127+ title = 'Do you want, the TrUtH?' ,
128+ text = 'Do you want to confirm? dO yOU wAnT ThE tRUTh? Do YoU WaNt tHe tRUTh? Do YoU WaNt tHe tRUTh?' ).run ()
129+ if result == True :
130+ message_dialog (
131+ title = 'CNS CNS CNS CNS CNS CNS SeeK tHe TrutH' ,
132+ text = 'very well then, we will see you soon enough' ).run ()
133+
134+ print (" FATAL ERROR!: VAIIYA defenter has encountered an error! please restart the program to continue!" )
135+ time .sleep (4 )
136+ exit ()
137+ if result == False :
138+ message_dialog (
139+ title = 'CNS CNS CNS CNS CNS CNS SeeK tHe TrutH' ,
140+ text = 'how dissapointing, that you dont want tHe TrutH. we will see you soon enough' ).run ()
141+
142+ print (" FATAL ERROR!: VAIIYA defenter has encountered an error! please restart the program to continue!" )
143+ time .sleep (4 )
144+ exit ()
145+
113146
114147#hehe youll never get de password now! ahahahah AHAHAHAHA
115148#frostEEpswrd1
@@ -141,8 +174,8 @@ def frostbytes_EE_entered():
141174
142175# Main system loop
143176def game_loop ():
144- startup_screen_ASCII ()
145- loading_bars_into ()
177+ # startup_screen_ASCII()
178+ # loading_bars_into()
146179 main_menu ()
147180 open_terminal ()
148181
0 commit comments