about summary refs log tree commit diff stats
path: root/apworld/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'apworld/__init__.py')
-rw-r--r--apworld/__init__.py14
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"""
2Archipelago init file for Lingo 2 2Archipelago init file for Lingo 2
3""" 3"""
4from BaseClasses import ItemClassification, Item 4from BaseClasses import ItemClassification, Item, Tutorial
5from worlds.AutoWorld import WebWorld, World 5from worlds.AutoWorld import WebWorld, World
6from .items import Lingo2Item 6from .items import Lingo2Item
7from .options import Lingo2Options 7from .options import Lingo2Options
@@ -9,10 +9,20 @@ 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
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
18class Lingo2World(World): 28class 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