neelthee-mansion 1.0.0__tar.gz → 1.1.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.
Files changed (18) hide show
  1. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/PKG-INFO +1 -1
  2. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion/Mansion_of_Amnesia.py +81 -81
  3. neelthee_mansion-1.1.0/neelthee_mansion/__main__.py +4 -0
  4. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion.egg-info/PKG-INFO +1 -1
  5. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion.egg-info/SOURCES.txt +1 -0
  6. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/setup.py +1 -1
  7. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/README.md +0 -0
  8. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion/Quests.py +0 -0
  9. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion/Rooms.py +0 -0
  10. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion/__init__.py +0 -0
  11. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion/creatures.py +0 -0
  12. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion/items.py +0 -0
  13. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion/utils.py +0 -0
  14. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
  15. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion.egg-info/entry_points.txt +0 -0
  16. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion.egg-info/requires.txt +0 -0
  17. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/neelthee_mansion.egg-info/top_level.txt +0 -0
  18. {neelthee_mansion-1.0.0 → neelthee_mansion-1.1.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee_mansion
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: A text-based adventure game set in Neel-thee’s mansion.
5
5
  Home-page: https://github.com/Flameblade375/neelthee_mansion
6
6
  Author: Alexander.E.F
@@ -78,88 +78,8 @@ charactersList = [
78
78
  {'name': 'Lily', 'age': 26, 'height': Height('5ft 6'), 'weight(LBs)': 135},
79
79
  {'name': 'Grace', 'age': 29, 'height': Height('5ft 7'), 'weight(LBs)': 140}
80
80
  ]
81
-
82
-
83
- df = pd.DataFrame(charactersList)
84
-
85
-
86
- if __name__ == "__main__":
87
- # this is the initializer
88
- Standord_Player = loop_til_valid_input("Do you want to use a premade character?", "you didn't answer Y or N.", Y_N).value
89
-
90
- if Standord_Player:
91
- while True:
92
- type_text("Who do you want to play as?", colorTrue=color_coding)
93
- print(df)
94
- selected_character = loop_til_valid_input(
95
- "Who do you want to play as? (please select the number to the left of there stats)",
96
- "That wasn't one of the characters. Please choose one.",
97
- int
98
- )
99
- lstIndex = last_index(charactersList)
100
- if selected_character <= lstIndex:
101
- character_info = charactersList[selected_character]
102
- name = character_info['name']
103
- age = character_info['age']
104
- height = character_info['height']
105
- weight = character_info['weight(LBs)']
106
- break
107
- else:
108
- type_text(colorTrue=color_coding)
109
-
110
- type_text("Please enter a codename for your achievements to save under \n>", False, colorTrue=color_coding)
111
- codename = input()
112
-
113
- else:
114
- type_text("You will now have to enter a name, age, height, and weight. Please enter the height in this format: _ft _. These will be used throughout the game.", colorTrue=color_coding)
115
-
116
- name = loop_til_valid_input("What is your name?", "You didn't enter a string. Please enter a string.", str)
117
- age = loop_til_valid_input("What is your age (in whole years)?", "You didn't enter an integer. Please enter an integer.", int)
118
- height = loop_til_valid_input("What is your height?", "You didn't enter your height in the correct format. Please enter your height in the correct format.", Height)
119
- weight = loop_til_valid_input("What is your weight (in lbs)?", "You didn't enter an integer. Please enter an integer.", int)
120
- codename = False
121
81
 
122
- color_coding = loop_til_valid_input("Do you want color coding (Y/N)?", "you didn't answer Y or N.", Y_N).value
123
-
124
- player = PC(
125
- name,
126
- age,
127
- 'Warrior',
128
- 1,
129
- 'Soldier',
130
- height,
131
- weight,
132
- [
133
- f"You joined the army at {14 if age >= 14 else age}",
134
- f"You joined the army to end the war and because you wanted glory",
135
- f"You spent your first year of service training and the rest on the front lines, surprisingly you didn't die",
136
- f"In your service, you made 3 friends, one of them died",
137
- f"You fought your enemies from the tops of the mountains to the vast oceans",
138
- 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}",
139
- f"You have no friends back home; you were always very lonely",
140
- f"You are an only child. You ran away from home to join the army; your mother misses you terribly",
141
- f"She was a baker, and you spent a lot of time helping her bake bread. You never went to school",
142
- f"The people you admire the most are Sam and Aragorn from Lord of the Rings, which you read as a child. You have also read the Hunger Games when you were {13 if age >= 13 else age}",
143
- f"Your favorite weapon is a bow; however, the scimitar is a close second.",
144
- ],
145
- Background=f"""
146
- 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
147
- 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.
148
-
149
- 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
150
- 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
151
- mountains to the vast expanses of the ocean, each experience shaping who you are.
152
-
153
- 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
154
- 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
155
- fondness for the scimitar.
156
-
157
- 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. You
158
- must navigate the mansion and uncover the truth behind your captivity, all while drawing strength from the remnants of your past.
159
- """
160
- )
161
-
162
-
82
+
163
83
  evil_mage = PC(
164
84
  'Neel-thee Contozt',
165
85
  19836,
@@ -814,6 +734,86 @@ guards = [
814
734
  ]
815
735
 
816
736
  def main():
737
+ global charactersList
738
+
739
+
740
+ df = pd.DataFrame(charactersList)
741
+
742
+
743
+ # this is the initializer
744
+ Standord_Player = loop_til_valid_input("Do you want to use a premade character?", "you didn't answer Y or N.", Y_N).value
745
+
746
+ if Standord_Player:
747
+ while True:
748
+ type_text("Who do you want to play as?", colorTrue=color_coding)
749
+ print(df)
750
+ selected_character = loop_til_valid_input(
751
+ "Who do you want to play as? (please select the number to the left of there stats)",
752
+ "That wasn't one of the characters. Please choose one.",
753
+ int
754
+ )
755
+ lstIndex = last_index(charactersList)
756
+ if selected_character <= lstIndex:
757
+ character_info = charactersList[selected_character]
758
+ name = character_info['name']
759
+ age = character_info['age']
760
+ height = character_info['height']
761
+ weight = character_info['weight(LBs)']
762
+ break
763
+ else:
764
+ type_text(colorTrue=color_coding)
765
+
766
+ type_text("Please enter a codename for your achievements to save under \n>", False, colorTrue=color_coding)
767
+ codename = input()
768
+
769
+ else:
770
+ type_text("You will now have to enter a name, age, height, and weight. Please enter the height in this format: _ft _. These will be used throughout the game.", colorTrue=color_coding)
771
+
772
+ name = loop_til_valid_input("What is your name?", "You didn't enter a string. Please enter a string.", str)
773
+ age = loop_til_valid_input("What is your age (in whole years)?", "You didn't enter an integer. Please enter an integer.", int)
774
+ height = loop_til_valid_input("What is your height?", "You didn't enter your height in the correct format. Please enter your height in the correct format.", Height)
775
+ weight = loop_til_valid_input("What is your weight (in lbs)?", "You didn't enter an integer. Please enter an integer.", int)
776
+ codename = False
777
+
778
+ color_coding = loop_til_valid_input("Do you want color coding (Y/N)?", "you didn't answer Y or N.", Y_N).value
779
+
780
+ player = PC(
781
+ name,
782
+ age,
783
+ 'Warrior',
784
+ 1,
785
+ 'Soldier',
786
+ height,
787
+ weight,
788
+ [
789
+ f"You joined the army at {14 if age >= 14 else age}",
790
+ f"You joined the army to end the war and because you wanted glory",
791
+ f"You spent your first year of service training and the rest on the front lines, surprisingly you didn't die",
792
+ f"In your service, you made 3 friends, one of them died",
793
+ f"You fought your enemies from the tops of the mountains to the vast oceans",
794
+ 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}",
795
+ f"You have no friends back home; you were always very lonely",
796
+ f"You are an only child. You ran away from home to join the army; your mother misses you terribly",
797
+ f"She was a baker, and you spent a lot of time helping her bake bread. You never went to school",
798
+ f"The people you admire the most are Sam and Aragorn from Lord of the Rings, which you read as a child. You have also read the Hunger Games when you were {13 if age >= 13 else age}",
799
+ f"Your favorite weapon is a bow; however, the scimitar is a close second.",
800
+ ],
801
+ Background=f"""
802
+ 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
803
+ 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.
804
+
805
+ 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
806
+ 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
807
+ mountains to the vast expanses of the ocean, each experience shaping who you are.
808
+
809
+ 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
810
+ 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
811
+ fondness for the scimitar.
812
+
813
+ 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. You
814
+ must navigate the mansion and uncover the truth behind your captivity, all while drawing strength from the remnants of your past.
815
+ """
816
+ )
817
817
 
818
818
  # shows the instructions
819
819
  start()
@@ -0,0 +1,4 @@
1
+ from . import Mansion_of_Amnesia
2
+
3
+ if __name__ == "__main__":
4
+ Mansion_of_Amnesia.main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: A text-based adventure game set in Neel-thee’s mansion.
5
5
  Home-page: https://github.com/Flameblade375/neelthee_mansion
6
6
  Author: Alexander.E.F
@@ -4,6 +4,7 @@ neelthee_mansion/Mansion_of_Amnesia.py
4
4
  neelthee_mansion/Quests.py
5
5
  neelthee_mansion/Rooms.py
6
6
  neelthee_mansion/__init__.py
7
+ neelthee_mansion/__main__.py
7
8
  neelthee_mansion/creatures.py
8
9
  neelthee_mansion/items.py
9
10
  neelthee_mansion/utils.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='neelthee_mansion',
5
- version='1.0.0',
5
+ version='1.1.0',
6
6
  packages=find_packages(), # Automatically finds all packages and modules
7
7
  install_requires=[
8
8
  'psutil', 'playsound', 'requests', 'keyboard', 'pandas', 'validators', 'dicttoxml', 'pytz',