diff options
Diffstat (limited to 'apworld/__init__.py')
-rw-r--r-- | apworld/__init__.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/apworld/__init__.py b/apworld/__init__.py index d05bd38..8051e0f 100644 --- a/apworld/__init__.py +++ b/apworld/__init__.py | |||
@@ -1,7 +1,7 @@ | |||
1 | """ | 1 | """ |
2 | Archipelago init file for Lingo 2 | 2 | Archipelago init file for Lingo 2 |
3 | """ | 3 | """ |
4 | from BaseClasses import ItemClassification, Item | 4 | from BaseClasses import ItemClassification, Item, Tutorial |
5 | from worlds.AutoWorld import WebWorld, World | 5 | from worlds.AutoWorld import WebWorld, World |
6 | from .items import Lingo2Item | 6 | from .items import Lingo2Item |
7 | from .options import Lingo2Options | 7 | from .options import Lingo2Options |
@@ -9,10 +9,20 @@ 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 |
15 | theme = "grass" | 17 | theme = "grass" |
18 | tutorials = [Tutorial( | ||
19 | "Multiworld Setup Guide", | ||
20 | "A guide to playing Lingo 2 with Archipelago.", | ||
21 | "English", | ||
22 | "en_Lingo_2.md", | ||
23 | "setup/en", | ||
24 | ["hatkirby"] | ||
25 | )] | ||
16 | 26 | ||
17 | 27 | ||
18 | class Lingo2World(World): | 28 | class Lingo2World(World): |
@@ -74,11 +84,13 @@ class Lingo2World(World): | |||
74 | "shuffle_control_center_colors", | 84 | "shuffle_control_center_colors", |
75 | "shuffle_doors", | 85 | "shuffle_doors", |
76 | "shuffle_letters", | 86 | "shuffle_letters", |
87 | "shuffle_symbols", | ||
77 | "victory_condition", | 88 | "victory_condition", |
78 | ] | 89 | ] |
79 | 90 | ||
80 | slot_data = { | 91 | slot_data = { |
81 | **self.options.as_dict(*slot_options), | 92 | **self.options.as_dict(*slot_options), |
93 | "version": [MAJOR_VERSION, MINOR_VERSION], | ||
82 | } | 94 | } |
83 | 95 | ||
84 | return slot_data | 96 | return slot_data |