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

Commit 304443c

Browse files
committed
added alt ascii roll requested by Smashel
1 parent 111f048 commit 304443c

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

VAIIYA terminal.py

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,48 @@ def window_resize_startup():
1919
CMD = "mode 1000,1000"
2020
os.system(CMD)
2121

22+
#this idea was requested by Smashel on issue #30.
23+
#defualt value is 1-5650
24+
#if it somehow gets that number the ascii will "corrupt" and use an alt
25+
def startup_screen_ascii_roll():
26+
corrupted_ascii_roll = random.randint(1,5650)
27+
#normal value for this var is 3479
28+
if corrupted_ascii_roll == 3479:
29+
corrupted_ascii_startup_screen()
30+
31+
else:
32+
norm_startup_screen_ASCII()
33+
34+
#if the number is rolled correctly, then this ASCII will play instead of the norm.
35+
def corrupted_ascii_startup_screen():
36+
print(r"""
37+
38+
ERR! NORM ASCII STARTUP FAILURE, USING ALT ASCII. APPLICATION IS STILL USEABLE.
39+
_____ _____
40+
\____\ \____\
41+
_____ _____ ______ _____ _____ _____ _____ ______
42+
\ \ / / / \ \ \ \ \ \ \ / / / \
43+
\ \ / / / \ \ \ \ \ \ \ / / / \
44+
\ \/ / / /\ \ \ \ \ \ \ \/ / / /\ \
45+
\ / / / \ \ \ \ \ \ \ / / / \ \
46+
\______/ /____/ \____\ \____\ \____\ \ / /____/ \____\
47+
/ /
48+
/ /
49+
/_____/
50+
VAIIYA technologies LLC
51+
Empowering security, one byte at a time.
52+
53+
54+
please wait while the program does mandatory checks.
55+
56+
""")
2257

2358

2459

2560
#NOTE: THERE MAY BE MINOR LINE WRAP IN THE ASCII
2661

2762
# Loading screen with VAIIYA SECURITY ASCII Art
28-
def startup_screen_ASCII():
63+
def norm_startup_screen_ASCII():
2964
print(r"""
3065
3166
@@ -390,7 +425,7 @@ def frostbytes_EE_entered():
390425
# Main system loop
391426
def game_loop():
392427
#window_resize_startup()
393-
startup_screen_ASCII()
428+
startup_screen_ascii_roll()
394429
loading_bars_intro_1()
395430
loading_bars_intro_2()
396431
loading_bars_intro_3()

0 commit comments

Comments
 (0)