mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
SM: 20221101 update (#1479)
This adds support to most of Varia's 20221101 update. Notably, added Options for: - Objectives - Tourian - RelaxedRoundRobinCF As well as previously unsupported Options: - EscapeRando - RemoveEscapeEnemies - HideItems
This commit is contained in:
@@ -6,12 +6,13 @@ from ..logic.smboolmanager import SMBoolManager
|
||||
from collections import Counter
|
||||
|
||||
class ItemLocation(object):
|
||||
__slots__ = ( 'Item', 'Location', 'Accessible' )
|
||||
__slots__ = ( 'Item', 'Location', 'Accessible', 'player' )
|
||||
|
||||
def __init__(self, Item=None, Location=None, accessible=True):
|
||||
def __init__(self, Item=None, Location=None, player=0, accessible=True):
|
||||
self.Item = Item
|
||||
self.Location = Location
|
||||
self.Accessible = accessible
|
||||
self.player = player
|
||||
|
||||
def json(self):
|
||||
return {'Item': self.Item.json(), 'Location': self.Location.json()}
|
||||
|
||||
Reference in New Issue
Block a user