about summary refs log tree commit diff stats
path: root/apworld/__init__.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-09 18:22:45 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-09 18:22:45 -0400
commitb5dbe08fc834ec6ddf5eaf0e8a352c5c293c9373 (patch)
tree4592ed853f4272f09f28062b60c7fadd356b3d38 /apworld/__init__.py
parent2c6777b5004dcf27b603ec2b3a9545642ed908bd (diff)
downloadlingo2-archipelago-b5dbe08fc834ec6ddf5eaf0e8a352c5c293c9373.tar.gz
lingo2-archipelago-b5dbe08fc834ec6ddf5eaf0e8a352c5c293c9373.tar.bz2
lingo2-archipelago-b5dbe08fc834ec6ddf5eaf0e8a352c5c293c9373.zip
[Apworld] Add version number
Diffstat (limited to 'apworld/__init__.py')
-rw-r--r--apworld/__init__.py3
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
9from .regions import create_regions 9from .regions import create_regions
10from .static_logic import Lingo2StaticLogic 10from .static_logic import Lingo2StaticLogic
11 11
12MAJOR_VERSION = 1
13MINOR_VERSION = 0
12 14
13class Lingo2WebWorld(WebWorld): 15class 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