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:
lordlou
2023-04-09 18:35:46 -04:00
committed by GitHub
parent 0bc5a3bc8d
commit 6059b5ef66
78 changed files with 3214 additions and 24689 deletions

View File

@@ -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()}