Files
dockipelago/worlds/Schedule_I/web_world.py
Jonathan Tinney 7971961166
Some checks failed
Analyze modified files / flake8 (push) Failing after 2m28s
Build / build-win (push) Has been cancelled
Build / build-ubuntu2204 (push) Has been cancelled
ctest / Test C++ ubuntu-latest (push) Has been cancelled
ctest / Test C++ windows-latest (push) Has been cancelled
Analyze modified files / mypy (push) Has been cancelled
Build and Publish Docker Images / Push Docker image to Docker Hub (push) Successful in 5m4s
Native Code Static Analysis / scan-build (push) Failing after 5m2s
type check / pyright (push) Successful in 1m7s
unittests / Test Python 3.11.2 ubuntu-latest (push) Failing after 16m23s
unittests / Test Python 3.12 ubuntu-latest (push) Failing after 28m19s
unittests / Test Python 3.13 ubuntu-latest (push) Failing after 14m49s
unittests / Test hosting with 3.13 on ubuntu-latest (push) Successful in 5m0s
unittests / Test Python 3.13 macos-latest (push) Has been cancelled
unittests / Test Python 3.11 windows-latest (push) Has been cancelled
unittests / Test Python 3.13 windows-latest (push) Has been cancelled
add schedule I, sonic 1/frontiers/heroes, spirit island
2026-04-02 23:46:36 -07:00

38 lines
1.6 KiB
Python

from BaseClasses import Tutorial
from worlds.AutoWorld import WebWorld
from .options import option_groups, option_presets
# For our game to display correctly on the website, we need to define a WebWorld subclass.
class APSchedule1(WebWorld):
# We need to override the "game" field of the WebWorld superclass.
# This must be the same string as the regular World class.
game = "Schedule I"
# Your game pages will have a visual theme (affecting e.g. the background image).
# You can choose between dirt, grass, grassFlowers, ice, jungle, ocean, partyTime, and stone.
theme = "partyTime"
# A WebWorld can have any number of tutorials, but should always have at least an English setup guide.
# Many WebWorlds just have one setup guide, but some have multiple, e.g. for different languages.
# We need to create a Tutorial object for every setup guide.
# In order, we need to provide a title, a description, a language, a filepath, a link, and authors.
# The filepath is relative to a "/docs/" directory in the root folder of your apworld.
# The "link" parameter is unused, but we still need to provide it.
setup_en = Tutorial(
"Multiworld Setup Guide",
"A guide to setting up Schedule 1 for MultiWorld.",
"English",
"setup_en.md",
"setup/en",
["NewSoupVi"],
)
# We add these tutorials to our WebWorld by overriding the "tutorials" field.
tutorials = [setup_en]
# If we have option groups and/or option presets, we need to specify these here as well.
option_groups = option_groups
options_presets = option_presets