diff --git a/BaseClasses.py b/BaseClasses.py index 35970aee..78919f22 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -1516,7 +1516,7 @@ class Tutorial(NamedTuple): language: str file_name: str link: str - author: List[str] + authors: List[str] seeddigits = 20 diff --git a/WebHost.py b/WebHost.py index e415b8ff..eb575df3 100644 --- a/WebHost.py +++ b/WebHost.py @@ -67,7 +67,7 @@ def create_ordered_tutorials_file() -> typing.List[typing.Dict[str, typing.Any]] 'language': tutorial.language, 'filename': game + '/' + tutorial.file_name, 'link': f'{game}/{tutorial.link}', - 'authors': tutorial.author + 'authors': tutorial.authors }] } diff --git a/worlds/archipidle/__init__.py b/worlds/archipidle/__init__.py index 5f3d98f2..6afcf4aa 100644 --- a/worlds/archipidle/__init__.py +++ b/worlds/archipidle/__init__.py @@ -7,14 +7,16 @@ from datetime import datetime class ArchipIDLEWebWorld(WebWorld): theme = 'partyTime' - tutorials = [Tutorial( - "Setup Guide", - "A guide to playing ArchipIDLE", - "English", - "guide_en.md", - "guide/en", - ["Farrak Kilhn"] - )] + tutorials = [ + Tutorial( + tutorial_name='Setup Guide', + description='A guide to playing Archipidle', + language='English', + file_name='guide_en.md', + link='guide/en', + authors=['Farrak Kilhn'] + ) + ] class ArchipIDLEWorld(World): diff --git a/worlds/oot/__init__.py b/worlds/oot/__init__.py index 01edf7f6..b640578c 100644 --- a/worlds/oot/__init__.py +++ b/worlds/oot/__init__.py @@ -82,7 +82,7 @@ class OOTWeb(WebWorld): "EspaƱol", "setup_es.md", "setup/es", - setup.author + setup.authors ) tutorials = [setup, setup_es] @@ -90,8 +90,8 @@ class OOTWeb(WebWorld): class OOTWorld(World): """ - The Legend of Zelda: Ocarina of Time is a 3D action/adventure game. Travel through Hyrule in two time periods, - learn magical ocarina songs, and explore twelve dungeons on your quest. Use Link's many items and abilities + The Legend of Zelda: Ocarina of Time is a 3D action/adventure game. Travel through Hyrule in two time periods, + learn magical ocarina songs, and explore twelve dungeons on your quest. Use Link's many items and abilities to rescue the Seven Sages, and then confront Ganondorf to save Hyrule! """ game: str = "Ocarina of Time" @@ -577,7 +577,7 @@ class OOTWorld(World): (loc.internal or loc.type == 'Drop') and loc.event and loc.locked and loc not in reachable] for loc in unreachable: loc.parent_region.locations.remove(loc) - # Exception: Sell Big Poe is an event which is only reachable if Bottle with Big Poe is in the item pool. + # Exception: Sell Big Poe is an event which is only reachable if Bottle with Big Poe is in the item pool. # We allow it to be removed only if Bottle with Big Poe is not in the itempool. bigpoe = self.world.get_location('Sell Big Poe from Market Guard House', self.player) if not all_state.has('Bottle with Big Poe', self.player) and bigpoe not in reachable: @@ -632,7 +632,7 @@ class OOTWorld(World): if shufflebk in itempools: itempools[shufflebk].extend(dungeon.boss_key) - # We can't put a dungeon item on the end of a dungeon if a song is supposed to go there. Make sure not to include it. + # We can't put a dungeon item on the end of a dungeon if a song is supposed to go there. Make sure not to include it. dungeon_locations = [loc for region in dungeon.regions for loc in region.locations if loc.item is None and ( self.shuffle_song_items != 'dungeon' or loc.name not in dungeon_song_locations)]