From d33f2e52cf6998ccc3b2381e8f9f5697fcc6fb62 Mon Sep 17 00:00:00 2001 From: Phenra <178694810+Phenra@users.noreply.github.com> Date: Fri, 5 Jun 2026 21:04:17 -0700 Subject: [PATCH] Add Tutorial to WebWorld, and WebWorld instantiation to World class. Fixes PEAK not appearing on the Supported Games page on the web host. --- peak/__init__.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/peak/__init__.py b/peak/__init__.py index aa7accc..4403978 100644 --- a/peak/__init__.py +++ b/peak/__init__.py @@ -3,7 +3,7 @@ from collections import Counter import typing -from BaseClasses import ItemClassification, CollectionState, LocationProgressType +from BaseClasses import ItemClassification, CollectionState, LocationProgressType, Tutorial from worlds.AutoWorld import World, WebWorld from .Items import PeakItem, item_table, progression_table, useful_table, filler_table, trap_table, unlock_table, lookup_id_to_name, item_groups from .Locations import LOCATION_TABLE, EXCLUDED_LOCATIONS @@ -14,6 +14,17 @@ class PeakWeb(WebWorld): theme = "stone" option_groups = peak_option_groups + setup_en = Tutorial( + "Multiworld Setup Guide", + "A guide to setting up the Archipelago randomizer for PEAK.", + "English", + "setup_en.md", + "setup/en", + ["Mickemoose"] + ) + + tutorials = [setup_en] + class PeakWorld(World): """ PEAK is a multiplayer climbing game where you and your friends must reach the summit of a procedurally generated mountain. @@ -26,6 +37,8 @@ class PeakWorld(World): item_name_groups = item_groups item_name_to_id = {name: data.code for name, data in item_table.items()} location_name_to_id = LOCATION_TABLE.copy() + + web = PeakWeb() # Add event locations to the mapping event_locations = [