mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
AutoWorld: remove Games Enum (AutoWorldRegister.world_types replaces it)
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import enum
|
||||
import importlib
|
||||
import os
|
||||
|
||||
__all__ = {"lookup_any_item_id_to_name",
|
||||
"lookup_any_location_id_to_name",
|
||||
"network_data_package",
|
||||
"Games"}
|
||||
"network_data_package"}
|
||||
|
||||
# all of the below should be moved to AutoWorld functionality
|
||||
from .alttp.Items import lookup_id_to_name as alttp
|
||||
@@ -34,18 +32,9 @@ network_data_package = {"lookup_any_location_id_to_name": lookup_any_location_id
|
||||
"lookup_any_item_id_to_name": lookup_any_item_id_to_name,
|
||||
"version": 9}
|
||||
|
||||
|
||||
@enum.unique
|
||||
class Games(str, enum.Enum):
|
||||
HK = "Hollow Knight"
|
||||
LTTP = "A Link to the Past"
|
||||
Factorio = "Factorio"
|
||||
Minecraft = "Minecraft"
|
||||
|
||||
|
||||
# end of TODO block
|
||||
|
||||
# import all submodules to trigger AutoWorldRegister
|
||||
for file in os.scandir(os.path.dirname(__file__)):
|
||||
if file.is_dir():
|
||||
importlib.import_module(f".{file.name}", "worlds")
|
||||
importlib.import_module(f".{file.name}", "worlds")
|
Reference in New Issue
Block a user