Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion peak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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 = [
Expand Down