-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
111 lines (97 loc) · 2.75 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
"""Container file for important game settings and variables."""
from adventurelib import Bag
from colorama import Fore, init
from rooms import *
my_name = None
my_species = None
my_health = 100
my_inventory = Bag()
cur_room = entrance
prev_room = entrance
INVENTORY_SIZE = 10
current_item = None
FONTS = [
"calgphy2",
"amcslash",
"amcaaa01",
"alligator",
"amcrazor",
"chunky",
"defleppard",
"fantasy1",
"fire_font-s",
"isometric1",
"poison",
"sblood",
]
ERROR_MESSAGES = [
"What?",
"I don't know what you mean.",
"Are you crazy?",
"Huh?",
"I don't Kown.",
"Um, what?",
"Whatever do you mean?",
"I don't understand.",
]
SPECIES = ["elf", "human", "dwarf", "half-dragon"]
TASTES = [
"palpable",
"disgusting",
"chewy",
"sharp",
"sweet",
"spicy",
"moldy",
"mild",
"bitter",
"salty",
"good",
"delicious",
"loathsome",
"toothsome",
"tasty",
"smoky",
"mouthwatering",
"greasy",
"savory",
"buttery",
"damp",
"soggy",
"luscious",
]
CONTEMPLATIONS = [
"Ergh. Will I ever escape this cursed crypt?",
"Ah, life is merely a conjuration of the mind seeking its own meaning",
"The eggs should be ripe back home today.",
"Others have perished in these forgotten catacombs before. Soon, unless fortune decrees, I too must meet the same fate",
"The universe is nothing. Everything is nothing. Nothing is everything",
"Ah, me! Lo, that I would in vain attempt to reach the flower of mine youth!",
"I think, therefore I am not",
"The only thing I know is that I know nothing",
"Life is the measure of all things",
"I wonder why ice is so cold",
]
BRAIN_DAMAGE = [
"You show {name} the latest CNN article. Its stunning lack of logic gives {obj} a pounding headache just looking at it.",
"You tell {name} that water is dry. {name}'s head summarily explodes.",
"You show {name} how Biden *clearly* won the 2020 election. {obj} faints dead away.",
"You tell {name} that pay phones are disappearing so that they can't escape the Matrix. {obj} goes into a coma.",
]
STORY = """
While crossing the Eldon Mountains to travel to the city of Bahreto'kala,
you find yourself hopelessly lost. Stumbling through the whirling snow,
you catch a glimpse of a door in the rock. Eagerly, you rush into the passage-
but barely do you dash in when the door crumbles and a huge boulder covers the
only way out!
You're really in a pickle this time!
What is this dungeon? What lurks inside? Why is it even here?
Will you escape the Grey Dungeons?
"""
# Initialize colorama and set colors
init()
RED = Fore.LIGHTRED_EX
BLUE = Fore.LIGHTCYAN_EX
YELLOW = Fore.LIGHTYELLOW_EX
MAGENTA = Fore.LIGHTMAGENTA_EX
MAIN_COLOR = BLUE