SM: cx_freeze fix (#1584)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import random
|
||||
import copy
|
||||
from logic.smbool import SMBool
|
||||
from rom.rom_patches import RomPatches
|
||||
import utils.log, logging
|
||||
from worlds.sm.variaRandomizer.logic.smbool import SMBool
|
||||
from worlds.sm.variaRandomizer.rom.rom_patches import RomPatches
|
||||
import logging
|
||||
|
||||
LOG = utils.log.get('DoorsManager')
|
||||
from worlds.sm.variaRandomizer.utils import log
|
||||
LOG = log.get('DoorsManager')
|
||||
|
||||
colorsList = ['red', 'green', 'yellow', 'wave', 'spazer', 'plasma', 'ice']
|
||||
# 1/15 chance to have the door set to grey
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from logic.smbool import SMBool
|
||||
from worlds.sm.variaRandomizer.logic.smbool import SMBool
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import os, json, re, random
|
||||
|
||||
from utils.parameters import Knows, Settings, Controller, isKnows, isSettings, isButton
|
||||
from utils.parameters import easy, medium, hard, harder, hardcore, mania, text2diff
|
||||
from logic.smbool import SMBool
|
||||
from worlds.sm.variaRandomizer.utils.parameters import Knows, Settings, Controller, isKnows, isSettings, isButton
|
||||
from worlds.sm.variaRandomizer.utils.parameters import easy, medium, hard, harder, hardcore, mania, text2diff
|
||||
from worlds.sm.variaRandomizer.logic.smbool import SMBool
|
||||
|
||||
def isStdPreset(preset):
|
||||
return preset in ['newbie', 'casual', 'regular', 'veteran', 'expert', 'master', 'samus', 'solution', 'Season_Races', 'SMRAT2021']
|
||||
@@ -264,7 +264,7 @@ class PresetLoaderDict(PresetLoader):
|
||||
super(PresetLoaderDict, self).__init__()
|
||||
|
||||
def getDefaultMultiValues():
|
||||
from graph.graph_utils import GraphUtils
|
||||
from worlds.sm.variaRandomizer.graph.graph_utils import GraphUtils
|
||||
defaultMultiValues = {
|
||||
'startLocation': GraphUtils.getStartAccessPointNames(),
|
||||
'majorsSplit': ['Full', 'FullWithHUD', 'Major', 'Chozo', 'Scavenger'],
|
||||
|
||||
Reference in New Issue
Block a user