mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
SM: cx_freeze fix (#1584)
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import utils.log, random
|
||||
from utils.utils import getRangeDict, chooseFromRange
|
||||
from rando.ItemLocContainer import ItemLocation
|
||||
import random
|
||||
from worlds.sm.variaRandomizer.utils import log
|
||||
from worlds.sm.variaRandomizer.utils.utils import getRangeDict, chooseFromRange
|
||||
from worlds.sm.variaRandomizer.rando.ItemLocContainer import ItemLocation
|
||||
|
||||
# helper object to choose item/loc
|
||||
class Choice(object):
|
||||
def __init__(self, restrictions):
|
||||
self.restrictions = restrictions
|
||||
self.settings = restrictions.settings
|
||||
self.log = utils.log.get("Choice")
|
||||
self.log = log.get("Choice")
|
||||
|
||||
# args are return from RandoServices.getPossiblePlacements
|
||||
# return itemLoc dict, or None if no possible choice
|
||||
|
||||
Reference in New Issue
Block a user