Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit 5d69f0b

Browse files
committed
major fixes and anti-code spoiler system implementations
1 parent f820f1e commit 5d69f0b

23 files changed

+186
-135
lines changed

VAIIYA terminal.py

Lines changed: 60 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -35,63 +35,21 @@ def startup_screen_ascii_roll():
3535

3636
#if the number is rolled correctly, then this ASCII will play instead of the norm.
3737
def corrupted_ascii_startup_screen():
38-
print(r"""
39-
40-
ERR! NORM ASCII STARTUP FAILURE, USING ALT ASCII. APPLICATION IS STILL USEABLE.
41-
_____ _____
42-
\____\ \____\
43-
_____ _____ ______ _____ _____ _____ _____ ______
44-
\ \ / / / \ \ \ \ \ \ \ / / / \
45-
\ \ / / / \ \ \ \ \ \ \ / / / \
46-
\ \/ / / /\ \ \ \ \ \ \ \/ / / /\ \
47-
\ / / / \ \ \ \ \ \ \ / / / \ \
48-
\______/ /____/ \____\ \____\ \____\ \ / /____/ \____\
49-
/ /
50-
/ /
51-
/_____/
52-
VAIIYA technologies LLC
53-
Empowering security, one byte at a time.
54-
55-
56-
please wait while the program does mandatory checks.
57-
58-
""")
38+
with open("assets/text_lines/ASCII/startup_corrupted_ASCII_1.txt") as f: # The with keyword automatically closes the file when you are done
39+
print(f.read())
40+
f.close()
5941

6042

6143

6244
#NOTE: THERE MAY BE MINOR LINE WRAP IN THE ASCII
6345

6446
# Loading screen with VAIIYA SECURITY ASCII Art
6547
def norm_startup_screen_ASCII():
66-
print_formatted_text(r"""
67-
68-
__________ __________
69-
\|||||||||\ \::::::::::\
70-
\|||||||||\ \::::::::::\
71-
\|||||||||\ \::::::::::\
72-
\|||||||||\ \::::::::::\
73-
\-------\ /--------/ /------\ \--------\ \--------\ \--------\ /---------/ /------\
74-
\.......\ /......../ /........\ \........\ \........\ \........\ /........./ /........\
75-
\.......\ /......../ /..........\ \........\ \........\ \........\ /........./ /..........\
76-
\.......\ /......../ /............\ \........\ \........\ \........\ /........./ /............\
77-
\.......\ /......../ /......__......\ \........\ \........\ \........\ /........./ /..............\
78-
\.......\ /......../ /....../ \......\ \........\ \........\ \........\_/........./ /....../ \......\
79-
\.......\ /......../ /....../ \......\ \........\ \........\ \................../ /....../ \......\
80-
\................/ /....../ \......\ \........\ \........\ \................/ /....../ \......\
81-
\............../ /....../ \......\ \........\ \........\ \............../ /....../ \......\
82-
\............/ /....../ \......\ \........\ \........\ \............/ /....../ \......\
83-
\........../ /....../ \......\ \........\ \........\ \........../ /....../ \......\
84-
/........./
85-
/........./
86-
/........./
87-
/........./
88-
/---------/
89-
VAIIYA technologies LLC
90-
Empowering security, one byte at a time.
91-
92-
93-
please wait while the program does mandatory checks.
94-
""")
48+
with open("assets/text_lines/ASCII/startup_ASCII_1.txt") as f: # The with keyword automatically closes the file when you are done
49+
print(f.read())
50+
f.close()
51+
52+
9553
#title stuff for new loading screen
9654
#BEHAVIOR NOTE: THE PROMPT TK LOADINGBARS CANNOT GO OVER .01 FLOAT FOR SOME REASON! (thanks smashel for the idea, but was unable to make it happen)
9755
def loading_bars_intro_1():
@@ -157,56 +115,52 @@ def loading_bars_intro_3():
157115

158116
# Display main menu
159117
def main_menu():
160-
print(r"""
161-
__________ __________
162-
\|||||||||\ \::::::::::\
163-
\|||||||||\ \::::::::::\
164-
\|||||||||\ \::::::::::\
165-
\|||||||||\ \::::::::::\
166-
\-------\ /--------/ /------\ \--------\ \--------\ \--------\ /---------/ /------\
167-
\.......\ /......../ /........\ \........\ \........\ \........\ /........./ /........\
168-
\.......\ /......../ /..........\ \........\ \........\ \........\ /........./ /..........\
169-
\.......\ /......../ /............\ \........\ \........\ \........\ /........./ /............\
170-
\.......\ /......../ /......__......\ \........\ \........\ \........\ /........./ /..............\
171-
\.......\ /......../ /....../ \......\ \........\ \........\ \........\_/........./ /....../ \......\
172-
\.......\ /......../ /....../ \......\ \........\ \........\ \................../ /....../ \......\
173-
\................/ /....../ \......\ \........\ \........\ \................/ /....../ \......\
174-
\............../ /....../ \......\ \........\ \........\ \............../ /....../ \......\
175-
\............/ /....../ \......\ \........\ \........\ \............/ /....../ \......\
176-
\........../ /....../ \......\ \........\ \........\ \........../ /....../ \......\
177-
/........./
178-
/........./
179-
/........./
180-
/........./
181-
/---------/
182-
VAIIYA technologies LLC
183-
Empowering security, one byte at a time.
184-
185-
186-
Welcome to the Terminal! all checks are complete. you can continue on your work.
187-
""")
118+
with open("assets/text_lines/ASCII/startup_ASCII_2login.txt") as f: # The with keyword automatically closes the file when you are done
119+
print(f.read())
120+
f.close()
121+
188122
def message_of_the_day(): #or per boot
189123
print("|")
190124
print("The message of the day is: ")
191125
print("|")
192126
#picks a random number, each value (depending on how many messages) will have a number.
193-
MOTD = 3#random.randint(1,6)
127+
MOTD = random.randint(1,6)
194128

195129
if MOTD == 1:
196-
print("john? what the hell are you doing over there? GET BACK TO WO- ##TRANSCRIPT ENDED CODE 87##")
130+
with open("assets/text_lines/MOTD/MOTD_1.txt") as f: # The with keyword automatically closes the file when you are done
131+
print(f.read())
132+
f.close()
133+
197134
elif MOTD == 2:
198-
print("Remember: CNS is our greatest enemy! WE CANNOT LET THEM INTO THE SYSTE- ## LOG SYSTEM FAILURE CODE #9)*^9 ##")
135+
with open("assets/text_lines/MOTD/MOTD_2.txt") as f: # The with keyword automatically closes the file when you are done
136+
print(f.read())
137+
f.close()
138+
199139
elif MOTD == 3:
200-
print_formatted_text(HTML('<b>SYSTEM AUTOLOG OVERRIDE: SERVERS #108,#196,#102,#156,#342 HAVE BEEN ISOLATED. DO NOT CHANGE THIS ORDER.</b>'))
140+
with open("assets/text_lines/MOTD/MOTD_3.txt") as f: # The with keyword automatically closes the file when you are done
141+
print(f.read())
142+
f.close()
143+
201144
elif MOTD == 4:
202-
print("VRRALSA systems detecting ##isU3s## within servers #342 and #902. please advise.")
145+
with open("assets/text_lines/MOTD/MOTD_4.txt") as f: # The with keyword automatically closes the file when you are done
146+
print(f.read())
147+
f.close()
148+
203149
elif MOTD == 5:
204-
print("VAIIYA Engine update found! Please install immediately for best security. Thankyou for understanding.")
150+
with open("assets/text_lines/MOTD/MOTD_5.txt") as f: # The with keyword automatically closes the file when you are done
151+
print(f.read())
152+
f.close()
153+
205154
#remove this MOTD on the next update PAST christmas, maybe new years or when the snow melts.
206155
elif MOTD == 6:
207-
print("merry christmas VAIIYA employees! except for herbert...")
156+
with open("assets/text_lines/MOTD/MOTD_xmas.txt") as f: # The with keyword automatically closes the file when you are done
157+
print(f.read())
158+
f.close()
159+
208160
elif MOTD == 7:
209-
print("Well well everyone! We got another highlight within THE FINALS! CNS cannot stop us now!. . . eh, john what is that over there? ## END OF FILE ##")
161+
with open("assets/text_lines/MOTD/MOTD_6.txt") as f: # The with keyword automatically closes the file when you are done
162+
print(f.read())
163+
f.close()
210164

211165
def timefetch():
212166
#time fetch for login
@@ -245,21 +199,10 @@ def open_terminal():
245199

246200
#the credits for the game!
247201
elif text == 'credits':
248-
print("""|""")
249-
print("""|""")
250-
print("The credits of VAIIYA terminal!")
251-
print("""|""")
252-
print("Owner: T342, T342guy or Nathan johnson.")
253-
print("licensed under MIT ©2024 Nathan Johnson. view LICENSE for more info.")
254-
print("""|""")
255-
print("contributors: ")
256-
print("Smashel from discord.")
257-
print("Riskit from discord.")
258-
print("""|""")
259-
print("""|""")
260-
print("and thats all for now! have fun, stay safe and secure! VAIIYA trustees and THE FINALS contestants!")
261-
print("""|""")
262-
202+
with open("assets/text_lines/commands_lines/line_credits.txt") as f: # The with keyword automatically closes the file when you are done
203+
print(f.read())
204+
f.close()
205+
263206
elif text == 'version':
264207
print("|")
265208
print("VAIIYA Terminal Engine version 24.39-overhaul_8")
@@ -307,20 +250,11 @@ def open_terminal():
307250

308251
#the COMMANDS directory, DO NOT REMOVE!
309252
elif text == 'commands':
310-
print("""|""")
311-
print("""|""")
312-
print("Available commands: (all may not be listed.)")
313-
print("""|""")
314-
print("command; walker | The login for CM|walker")
315-
print("command; frostbyte | The login for CM|frostbyte")
316-
print("command; version | check what version of VAIIYA terminal you are running!")
317-
print("""C0MM#N0D;;. CNS | {ERROR: UNKNOWN PROGRAM ENTITY}""")
318-
print("""|""")
319-
print("""|""")
320-
print("""command; credits | the credits to the game! (^///^) """)
321-
print("command; discord | get a invite link to The VAIIYA hub!, a hang-about and VAIIYA-terminal server!")
322-
print("""|""")
323-
print("""|""")
253+
with open("assets/text_lines/commands_lines/line_commands.txt") as f: # The with keyword automatically closes the file when you are done
254+
print(f.read())
255+
f.close()
256+
257+
324258
#this solves the space command issue. leave blank
325259
elif text == '':
326260
continue
@@ -560,26 +494,23 @@ def VRRALSA_startup():
560494
VRRALSA_COMMAND_PANEL()
561495

562496
def VRRALSA_welcome_message():
563-
print("|")
564-
print("Welcome VAIIYA trustee or other high authorization. ")
565-
print("|")
566-
print("This is the V.AIIYA R.ESTRICTED R.ECORDS A.ND L.OGS S.YSTEM A.UTOMATED Terminal.")
567-
print("where some (not all) user records are found. use keywords to access records.")
568-
print("use command 'records' for available records ")
497+
with open("assets/text_lines/VRRALSA_lines/VRRALSA_welcome.txt") as f: # The with keyword automatically closes the file when you are done
498+
print(f.read())
499+
f.close()
500+
569501
def VRRALSA_COMMAND_PANEL():
570502

571503
while True:
572504
print("|")
573505
VRRALSA_TEXT = prompt('V.R.R.A.L.S.A. awaiting command(s)>>>> ')
574506

575507
if VRRALSA_TEXT == 'test':
576-
print("yes I do believe it works! ")
508+
print("VRRALSA has received the ping.")
577509

578510
elif VRRALSA_TEXT == 'logs':
579-
print("|")
580-
print("Current logs found in databases: ")
581-
print("log: LOG_10079")
582-
print("No other logs at this time")
511+
with open("assets/text_lines/VRRALSA_lines/VRRALSA_commands/VRRALSA_logslist.txt") as f: # The with keyword automatically closes the file when you are done
512+
print(f.read())
513+
f.close()
583514

584515
elif VRRALSA_TEXT == 'records':
585516
print("|")
@@ -612,13 +543,9 @@ def VRRALSA_COMMAND_PANEL():
612543
time.sleep(1)
613544
print("Record found!")
614545
print("|")
615-
print("citizen record; frostbyte")
616-
print("username=frost.dime")
617-
print("user_traits= funny, quote'says UwU OwO and other. please advise' ")
618-
print("health_record_status=True current_health_records=1479 current_untracked_health_records=1457 ")
619-
print("record_severity=high highest_alert=severe mental issues unreported. ")
620-
print("end of file.")
621-
print("|")
546+
with open("assets/text_lines/VRRALSA_lines/VRRALSA_records/VRRALSA_record_frostbyte.txt") as f: # The with keyword automatically closes the file when you are done
547+
print(f.read())
548+
f.close()
622549

623550
elif VRRALSA_TEXT == 'walker':
624551
print("|")
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
with open("assets/text_lines/ASCII/startup_ASCII_1.txt") as f: # The with keyword automatically closes the file when you are done
2+
print(f.read())
3+
f.close()
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
__________ __________
3+
\|||||||||\ \::::::::::\
4+
\|||||||||\ \::::::::::\
5+
\|||||||||\ \::::::::::\
6+
\|||||||||\ \::::::::::\
7+
\-------\ /--------/ /------\ \--------\ \--------\ \--------\ /---------/ /------\
8+
\.......\ /......../ /........\ \........\ \........\ \........\ /........./ /........\
9+
\.......\ /......../ /..........\ \........\ \........\ \........\ /........./ /..........\
10+
\.......\ /......../ /............\ \........\ \........\ \........\ /........./ /............\
11+
\.......\ /......../ /......__......\ \........\ \........\ \........\ /........./ /..............\
12+
\.......\ /......../ /....../ \......\ \........\ \........\ \........\_/........./ /....../ \......\
13+
\.......\ /......../ /....../ \......\ \........\ \........\ \................../ /....../ \......\
14+
\................/ /....../ \......\ \........\ \........\ \................/ /....../ \......\
15+
\............../ /....../ \......\ \........\ \........\ \............../ /....../ \......\
16+
\............/ /....../ \......\ \........\ \........\ \............/ /....../ \......\
17+
\........../ /....../ \......\ \........\ \........\ \........../ /....../ \......\
18+
/........./
19+
/........./
20+
/........./
21+
/........./
22+
/---------/
23+
VAIIYA technologies LLC
24+
Empowering security, one byte at a time.
25+
26+
27+
please wait while the program does mandatory checks.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
__________ __________
2+
\|||||||||\ \::::::::::\
3+
\|||||||||\ \::::::::::\
4+
\|||||||||\ \::::::::::\
5+
\|||||||||\ \::::::::::\
6+
\-------\ /--------/ /------\ \--------\ \--------\ \--------\ /---------/ /------\
7+
\.......\ /......../ /........\ \........\ \........\ \........\ /........./ /........\
8+
\.......\ /......../ /..........\ \........\ \........\ \........\ /........./ /..........\
9+
\.......\ /......../ /............\ \........\ \........\ \........\ /........./ /............\
10+
\.......\ /......../ /......__......\ \........\ \........\ \........\ /........./ /..............\
11+
\.......\ /......../ /....../ \......\ \........\ \........\ \........\_/........./ /....../ \......\
12+
\.......\ /......../ /....../ \......\ \........\ \........\ \................../ /....../ \......\
13+
\................/ /....../ \......\ \........\ \........\ \................/ /....../ \......\
14+
\............../ /....../ \......\ \........\ \........\ \............../ /....../ \......\
15+
\............/ /....../ \......\ \........\ \........\ \............/ /....../ \......\
16+
\........../ /....../ \......\ \........\ \........\ \........../ /....../ \......\
17+
/........./
18+
/........./
19+
/........./
20+
/........./
21+
/---------/
22+
VAIIYA technologies LLC
23+
Empowering security, one byte at a time.
24+
25+
26+
Welcome to the Terminal! all checks are complete. you can continue on your work.

0 commit comments

Comments
 (0)