1
+ import random
2
+
3
+ color = '\033 [95m'
4
+
5
+ #Elements
6
+ majorelements = ['Faith Plates' ,'Light Bridges' ,'Lasers' ,'Funnels' ]
7
+ gels = ['Blue Gel' ,'Orange Gel' ,'No Gel' ]
8
+ cubes = ['1' ,'2' ]
9
+ fields = ['Fizzler' ,'Laser Field' ,'Both' ]
10
+ fieldsnumber = ['1' ,'2' ]
11
+ exitunlocked = ['Floor Button' ]
12
+
13
+ funnelbutton = 'Funnel Button (On the wall)'
14
+ laserrecirever = 'Laser Reciever'
15
+
16
+ #Choices
17
+ majorchoice = random .choice (majorelements )
18
+ gelchoice = random .choice (gels )
19
+ cubechoice = random .choice (cubes )
20
+ fieldschoice = random .choice (fields )
21
+ fieldsnumberchoice = random .choice (fieldsnumber )
22
+ exitunlockedchoice = random .choice (exitunlocked )
23
+
24
+ #Result
25
+ print (f"{ color } Major: " + majorchoice )
26
+ print (f"{ color } Gel: " + gelchoice )
27
+ print (f"{ color } Cubes: " + cubechoice )
28
+ print (f"{ color } Field: " + fieldschoice )
29
+
30
+ # Logic
31
+ if fieldschoice != 'Both' :
32
+ print (f"{ color } Fields Number: " + fieldsnumberchoice )
33
+
34
+ if majorchoice == 'Funnels' :
35
+ print (f"{ color } Exit is unlocked by: " + funnelbutton or exitunlockedchoice )
36
+ else :
37
+ if majorchoice == 'Lasers' :
38
+ print (f"{ color } Exit is unlocked by: " + laserrecirever )
39
+ else :
40
+ print (f"{ color } Exit is unlocked by: " + exitunlockedchoice )
0 commit comments