neelthee-mansion 3.23.17__tar.gz → 3.24.2__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.23.17 → neelthee_mansion-3.24.2}/PKG-INFO +2 -21
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/utils.py +27 -8
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/PKG-INFO +3 -22
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/setup.py +1 -1
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/LICENSE.md +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/README.md +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/Books.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/Mansion_of_Amnesia.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/Quests.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/Rooms.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/__init__.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/__main__.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/all_game_utils.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/creatures.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion/items.py +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/entry_points.txt +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/requires.txt +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/top_level.txt +0 -0
- {neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.1
|
2
2
|
Name: neelthee_mansion
|
3
|
-
Version: 3.
|
3
|
+
Version: 3.24.2
|
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
|
@@ -18,25 +18,6 @@ Classifier: Operating System :: OS Independent
|
|
18
18
|
Requires-Python: >=3.6
|
19
19
|
Description-Content-Type: text/markdown
|
20
20
|
License-File: LICENSE.md
|
21
|
-
Requires-Dist: wheel
|
22
|
-
Requires-Dist: psutil
|
23
|
-
Requires-Dist: playsound
|
24
|
-
Requires-Dist: requests
|
25
|
-
Requires-Dist: keyboard
|
26
|
-
Requires-Dist: pandas
|
27
|
-
Requires-Dist: validators
|
28
|
-
Requires-Dist: dicttoxml
|
29
|
-
Requires-Dist: pytz
|
30
|
-
Dynamic: author
|
31
|
-
Dynamic: author-email
|
32
|
-
Dynamic: classifier
|
33
|
-
Dynamic: description
|
34
|
-
Dynamic: description-content-type
|
35
|
-
Dynamic: home-page
|
36
|
-
Dynamic: license
|
37
|
-
Dynamic: requires-dist
|
38
|
-
Dynamic: requires-python
|
39
|
-
Dynamic: summary
|
40
21
|
|
41
22
|
# Neel-thee's Mansion of Amnesia
|
42
23
|
|
@@ -531,14 +531,33 @@ def loop_til_valid_input(
|
|
531
531
|
input_text: str,
|
532
532
|
bad_text: str,
|
533
533
|
Class: classmethod,
|
534
|
-
delay: int = 0.075,
|
535
|
-
input_method: str = ">",
|
536
534
|
):
|
537
|
-
|
535
|
+
def on_submit():
|
536
|
+
nonlocal input_value, valid_input
|
538
537
|
try:
|
539
|
-
|
540
|
-
|
541
|
-
|
538
|
+
input_value = Class(entry.get())
|
539
|
+
valid_input = True
|
540
|
+
input_window.destroy()
|
542
541
|
except ValueError:
|
543
|
-
|
544
|
-
|
542
|
+
error_label.config(text=bad_text)
|
543
|
+
|
544
|
+
input_value = None
|
545
|
+
valid_input = False
|
546
|
+
|
547
|
+
while not valid_input:
|
548
|
+
input_window = tk.Tk()
|
549
|
+
input_window.title("Input Window")
|
550
|
+
|
551
|
+
tk.Label(input_window, text=input_text).pack(padx=10, pady=5)
|
552
|
+
entry = tk.Entry(input_window)
|
553
|
+
entry.pack(padx=10, pady=5)
|
554
|
+
|
555
|
+
submit_button = tk.Button(input_window, text="Submit", command=on_submit)
|
556
|
+
submit_button.pack(padx=10, pady=10)
|
557
|
+
|
558
|
+
error_label = tk.Label(input_window, text="", fg="red")
|
559
|
+
error_label.pack(padx=10, pady=5)
|
560
|
+
|
561
|
+
input_window.mainloop()
|
562
|
+
|
563
|
+
return input_value
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
2
|
-
Name:
|
3
|
-
Version: 3.
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: neelthee-mansion
|
3
|
+
Version: 3.24.2
|
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
|
@@ -18,25 +18,6 @@ Classifier: Operating System :: OS Independent
|
|
18
18
|
Requires-Python: >=3.6
|
19
19
|
Description-Content-Type: text/markdown
|
20
20
|
License-File: LICENSE.md
|
21
|
-
Requires-Dist: wheel
|
22
|
-
Requires-Dist: psutil
|
23
|
-
Requires-Dist: playsound
|
24
|
-
Requires-Dist: requests
|
25
|
-
Requires-Dist: keyboard
|
26
|
-
Requires-Dist: pandas
|
27
|
-
Requires-Dist: validators
|
28
|
-
Requires-Dist: dicttoxml
|
29
|
-
Requires-Dist: pytz
|
30
|
-
Dynamic: author
|
31
|
-
Dynamic: author-email
|
32
|
-
Dynamic: classifier
|
33
|
-
Dynamic: description
|
34
|
-
Dynamic: description-content-type
|
35
|
-
Dynamic: home-page
|
36
|
-
Dynamic: license
|
37
|
-
Dynamic: requires-dist
|
38
|
-
Dynamic: requires-python
|
39
|
-
Dynamic: summary
|
40
21
|
|
41
22
|
# Neel-thee's Mansion of Amnesia
|
42
23
|
|
@@ -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.24.2", # Update version number for each release
|
6
6
|
packages=find_packages(), # Automatically finds all packages and modules
|
7
7
|
install_requires=[
|
8
8
|
"wheel",
|
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
|
File without changes
|
File without changes
|
{neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/dependency_links.txt
RENAMED
File without changes
|
{neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/entry_points.txt
RENAMED
File without changes
|
File without changes
|
{neelthee_mansion-3.23.17 → neelthee_mansion-3.24.2}/neelthee_mansion.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|