mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Options.py typing (#412)
* Options.py typing use NumericOption class inheriting from numbers.Integral instead of int also can sometimes take text like: "high": high end of range "low": low end of range "true", "on": default if it exists, otherwise high end of range "false", "off": zero if zero is the low end * just low, high, and default for range text Co-authored-by: Doug Hoskisson <doughoskisson@novuslabs.com>
This commit is contained in:
@@ -46,6 +46,7 @@ class MultiWorld():
|
||||
local_items: Dict[int, Options.LocalItems]
|
||||
non_local_items: Dict[int, Options.NonLocalItems]
|
||||
progression_balancing: Dict[int, Options.ProgressionBalancing]
|
||||
completion_condition: Dict[int, Callable[[CollectionState], bool]]
|
||||
|
||||
class AttributeProxy():
|
||||
def __init__(self, rule):
|
||||
|
Reference in New Issue
Block a user