mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
SM and SMZ3 apworld support (#1677)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user