SM and SMZ3 apworld support (#1677)

This commit is contained in:
lordlou
2023-04-08 16:52:34 -04:00
committed by GitHub
parent f4035b8621
commit 84402a1b55
86 changed files with 522 additions and 445 deletions

View File

@@ -4,20 +4,20 @@ class Logic(object):
@staticmethod
def factory(implementation):
if implementation == 'vanilla':
from worlds.sm.variaRandomizer.graph.vanilla.graph_helpers import HelpersGraph
from worlds.sm.variaRandomizer.graph.vanilla.graph_access import accessPoints
from worlds.sm.variaRandomizer.graph.vanilla.graph_locations import locations
from worlds.sm.variaRandomizer.graph.vanilla.graph_locations import LocationsHelper
from ..graph.vanilla.graph_helpers import HelpersGraph
from ..graph.vanilla.graph_access import accessPoints
from ..graph.vanilla.graph_locations import locations
from ..graph.vanilla.graph_locations import LocationsHelper
Logic.locations = locations
Logic.accessPoints = accessPoints
Logic.HelpersGraph = HelpersGraph
Logic.patches = implementation
Logic.LocationsHelper = LocationsHelper
elif implementation == 'rotation':
from worlds.sm.variaRandomizer.graph.rotation.graph_helpers import HelpersGraph
from worlds.sm.variaRandomizer.graph.rotation.graph_access import accessPoints
from worlds.sm.variaRandomizer.graph.rotation.graph_locations import locations
from worlds.sm.variaRandomizer.graph.rotation.graph_locations import LocationsHelper
from ..graph.rotation.graph_helpers import HelpersGraph
from ..graph.rotation.graph_access import accessPoints
from ..graph.rotation.graph_locations import locations
from ..graph.rotation.graph_locations import LocationsHelper
Logic.locations = locations
Logic.accessPoints = accessPoints
Logic.HelpersGraph = HelpersGraph