neelthee-mansion 3.4.1__tar.gz → 3.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/PKG-INFO +1 -1
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/Mansion_of_Amnesia.py +35 -43
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion.egg-info/PKG-INFO +1 -1
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/setup.py +1 -1
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/README.md +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/Quests.py +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/Rooms.py +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/__init__.py +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/__main__.py +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/all_game_utils.py +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/creatures.py +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/items.py +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion/utils.py +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion.egg-info/entry_points.txt +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion.egg-info/requires.txt +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion.egg-info/top_level.txt +0 -0
- {neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/setup.cfg +0 -0
@@ -15,7 +15,13 @@ GameState = {
|
|
15
15
|
Neel-thee's Mansion of Amnesia
|
16
16
|
'''
|
17
17
|
|
18
|
-
global player, evil_mage, commands, NOTE_NUM, credits,
|
18
|
+
global player, evil_mage, commands, NOTE_NUM, credits, color_coding, quest_manager, revealer, CHARACTERSLIST, BACKGROUNDS
|
19
|
+
|
20
|
+
BACKGROUNDS = [
|
21
|
+
'Adventurer',
|
22
|
+
'Artist',
|
23
|
+
'Scholar',
|
24
|
+
]
|
19
25
|
|
20
26
|
revealer = KeyRevealer()
|
21
27
|
|
@@ -33,7 +39,7 @@ height = Height()
|
|
33
39
|
weight = 0
|
34
40
|
|
35
41
|
|
36
|
-
|
42
|
+
CHARACTERSLIST = [
|
37
43
|
{'name': 'Jack', 'age': 19, 'height': Height('6ft 3'), 'weight(LBs)': 213},
|
38
44
|
{'name': 'Darcie-Mae', 'age': 19, 'height': Height('5ft 5'), 'weight(LBs)': 150},
|
39
45
|
{'name': 'John', 'age': 25, 'height': Height('5ft 10'), 'weight(LBs)': 180},
|
@@ -923,15 +929,9 @@ def handle_guard_action(guard):
|
|
923
929
|
else:
|
924
930
|
return [False, [guard, True]] # Function was not found
|
925
931
|
|
926
|
-
def
|
927
|
-
global player,
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
df = pd.DataFrame(charactersList)
|
932
|
-
|
933
|
-
|
934
|
-
# this is the initializer
|
932
|
+
def initializer():
|
933
|
+
global color_coding, player, CHARACTERSLIST
|
934
|
+
df = pd.DataFrame(CHARACTERSLIST)
|
935
935
|
Standord_Player = loop_til_valid_input("Do you want to use a premade character?", "you didn't answer Y or N.", Y_N).value
|
936
936
|
|
937
937
|
if Standord_Player:
|
@@ -943,9 +943,9 @@ def main():
|
|
943
943
|
"That wasn't one of the characters. Please choose one.",
|
944
944
|
int
|
945
945
|
)
|
946
|
-
lstIndex = last_index(
|
946
|
+
lstIndex = last_index(CHARACTERSLIST)
|
947
947
|
if selected_character <= lstIndex:
|
948
|
-
character_info =
|
948
|
+
character_info = CHARACTERSLIST[selected_character]
|
949
949
|
name = character_info['name']
|
950
950
|
age = character_info['age']
|
951
951
|
height = character_info['height']
|
@@ -965,46 +965,38 @@ def main():
|
|
965
965
|
color_coding = loop_til_valid_input("Do you want color coding (Y/N)?", "you didn't answer Y or N.", Y_N).value
|
966
966
|
|
967
967
|
|
968
|
+
while True:
|
969
|
+
for idx, background in enumerate(BACKGROUNDS):
|
970
|
+
type_text(f"{idx}. {background}")
|
971
|
+
|
972
|
+
background = loop_til_valid_input("What background do you want? (please select the number to the left of them)", "You didn't pick one", int)
|
973
|
+
lstIndex = last_index(CHARACTERSLIST)
|
974
|
+
if background <= lstIndex:
|
975
|
+
background = BACKGROUNDS[background]
|
976
|
+
break
|
977
|
+
else:
|
978
|
+
type_text("You didn't pick one")
|
979
|
+
|
980
|
+
|
968
981
|
# start the player in the Hall and sets up everything else
|
969
982
|
player = PC(
|
970
983
|
name,
|
971
984
|
age,
|
972
|
-
|
985
|
+
background,
|
973
986
|
1,
|
974
987
|
'Soldier',
|
975
988
|
height,
|
976
989
|
weight,
|
977
|
-
|
978
|
-
f"You joined the army at {14 if age >= 14 else age}",
|
979
|
-
f"You joined the army to end the war and because you wanted glory",
|
980
|
-
f"You spent your first year of service training and the rest on the front lines, surprisingly you didn't die",
|
981
|
-
f"In your service, you made 3 friends, one of them died",
|
982
|
-
f"You fought your enemies from the tops of the mountains to the vast oceans",
|
983
|
-
f"Your father was never home; he was always off on great adventures until he died when you were {7 if age >= 7 else age}",
|
984
|
-
f"You have no friends back home; you were always very lonely",
|
985
|
-
f"You are an only child. You ran away from home to join the army; your mother misses you terribly",
|
986
|
-
f"She was a baker, and you spent a lot of time helping her bake bread. You never went to school",
|
987
|
-
f"The people you admire the most are Sam and Aragorn from Lord of the Rings, which you read as a child. You also read the Hunger Games when you were {13 if age >= 13 else age}",
|
988
|
-
f"Your favorite weapon is a bow; however, the scimitar is a close second.",
|
989
|
-
],
|
990
|
-
backstory=f"""
|
991
|
-
You were born into a life of solitude as an only child. Your father was always away on grand adventures and passed away when you were just {7 if age >= 7 else age}. Your mother, a dedicated
|
992
|
-
baker, raised you alone. Although she did her best, you spent most of your time helping her in the bakery rather than attending school, which left you feeling quite isolated.
|
993
|
-
|
994
|
-
At the age of {14 if age >= 14 else age}, driven by a desire for glory and a wish to end the war, you left home to join the army. You spent your first year in rigorous training, followed by a
|
995
|
-
harsh life on the front lines. Against all odds, you survived, forging bonds with three close friends—though one of them tragically died in battle. Your journey took you from the heights of
|
996
|
-
mountains to the vast expanses of the ocean, each experience shaping who you are.
|
997
|
-
|
998
|
-
You were deeply influenced by the heroes of your childhood—Sam and Aragorn from %*ITALIC*%Lord of the Rings%*RESET*%, which you read as a child, and the characters from %*ITALIC*%The Hunger
|
999
|
-
Games%*RESET*%, which you read when you were {13 if age >= 13 else age}. These stories inspired you and fueled your dream of heroism. Though your favorite weapon is a bow, you also have a
|
1000
|
-
fondness for the scimitar.
|
1001
|
-
|
1002
|
-
Now, you find yourself in the Mansion of Amnesia, a place that seems to have erased your memories. The details of your past are fragmented, but the echoes of your history drive you forward.
|
1003
|
-
You must navigate the mansion and uncover the truth behind your captivity, all while drawing strength from the remnants of your past.
|
1004
|
-
""",
|
1005
|
-
CURRENTROOM='Hall'
|
990
|
+
CURRENTROOM='Hall'
|
1006
991
|
)
|
1007
992
|
|
993
|
+
def main():
|
994
|
+
global player, color_coding
|
995
|
+
|
996
|
+
|
997
|
+
# this is the initializer
|
998
|
+
initializer()
|
999
|
+
|
1008
1000
|
# shows the instructions
|
1009
1001
|
start()
|
1010
1002
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='neelthee_mansion',
|
5
|
-
version='3.
|
5
|
+
version='3.5.0',
|
6
6
|
packages=find_packages(), # Automatically finds all packages and modules
|
7
7
|
install_requires=[
|
8
8
|
'wheel', 'psutil', 'playsound', 'requests', 'keyboard', 'pandas', 'validators', 'dicttoxml', 'pytz',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion.egg-info/dependency_links.txt
RENAMED
File without changes
|
{neelthee_mansion-3.4.1 → neelthee_mansion-3.5.0}/neelthee_mansion.egg-info/entry_points.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|