diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-09 18:22:45 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-09 18:22:45 -0400 |
commit | b5dbe08fc834ec6ddf5eaf0e8a352c5c293c9373 (patch) | |
tree | 4592ed853f4272f09f28062b60c7fadd356b3d38 /apworld | |
parent | 2c6777b5004dcf27b603ec2b3a9545642ed908bd (diff) | |
download | lingo2-archipelago-b5dbe08fc834ec6ddf5eaf0e8a352c5c293c9373.tar.gz lingo2-archipelago-b5dbe08fc834ec6ddf5eaf0e8a352c5c293c9373.tar.bz2 lingo2-archipelago-b5dbe08fc834ec6ddf5eaf0e8a352c5c293c9373.zip |
[Apworld] Add version number
Diffstat (limited to 'apworld')
-rw-r--r-- | apworld/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apworld/__init__.py b/apworld/__init__.py index fc263c0..8051e0f 100644 --- a/apworld/__init__.py +++ b/apworld/__init__.py | |||
@@ -9,6 +9,8 @@ from .player_logic import Lingo2PlayerLogic | |||
9 | from .regions import create_regions | 9 | from .regions import create_regions |
10 | from .static_logic import Lingo2StaticLogic | 10 | from .static_logic import Lingo2StaticLogic |
11 | 11 | ||
12 | MAJOR_VERSION = 1 | ||
13 | MINOR_VERSION = 0 | ||
12 | 14 | ||
13 | class Lingo2WebWorld(WebWorld): | 15 | class Lingo2WebWorld(WebWorld): |
14 | rich_text_options_doc = True | 16 | rich_text_options_doc = True |
@@ -88,6 +90,7 @@ class Lingo2World(World): | |||
88 | 90 | ||
89 | slot_data = { | 91 | slot_data = { |
90 | **self.options.as_dict(*slot_options), | 92 | **self.options.as_dict(*slot_options), |
93 | "version": [MAJOR_VERSION, MINOR_VERSION], | ||
91 | } | 94 | } |
92 | 95 | ||
93 | return slot_data | 96 | return slot_data |