FF1: set up special settings page (remote website)

This commit is contained in:
Fabian Dill
2022-02-20 21:54:00 +01:00
parent a98cb040b7
commit 1159137c0d
6 changed files with 30 additions and 9 deletions

View File

@@ -3,7 +3,11 @@ from BaseClasses import Item, Location, MultiWorld
from .Items import ItemData, FF1Items, FF1_STARTER_ITEMS, FF1_PROGRESSION_LIST, FF1_BRIDGE
from .Locations import EventId, FF1Locations, generate_rule, CHAOS_TERMINATED_EVENT
from .Options import ff1_options
from ..AutoWorld import World
from ..AutoWorld import World, WebWorld
class FF1Web(WebWorld):
settings_page = "https://finalfantasyrandomizer.com/"
class FF1World(World):
@@ -28,6 +32,8 @@ class FF1World(World):
item_name_to_id = ff1_items.get_item_name_to_code_dict()
location_name_to_id = ff1_locations.get_location_name_to_address_dict()
web = FF1Web()
def __init__(self, world: MultiWorld, player: int):
super().__init__(world, player)
self.locked_items = []