mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Merge branch 'main' into multishop
This commit is contained in:
@@ -92,6 +92,7 @@ class Context():
|
|||||||
self.team = None
|
self.team = None
|
||||||
self.slot = None
|
self.slot = None
|
||||||
self.player_names: typing.Dict[int: str] = {}
|
self.player_names: typing.Dict[int: str] = {}
|
||||||
|
self.locations_recognized = set()
|
||||||
self.locations_checked = set()
|
self.locations_checked = set()
|
||||||
self.locations_scouted = set()
|
self.locations_scouted = set()
|
||||||
self.items_received = []
|
self.items_received = []
|
||||||
@@ -1168,7 +1169,8 @@ async def track_locations(ctx : Context, roomid, roomdata):
|
|||||||
else:
|
else:
|
||||||
items_total = len(ctx.items_missing) + len(ctx.items_checked)
|
items_total = len(ctx.items_missing) + len(ctx.items_checked)
|
||||||
if location in ctx.items_missing or location in ctx.items_checked:
|
if location in ctx.items_missing or location in ctx.items_checked:
|
||||||
check = f'New Check: {location} ({len(ctx.locations_checked)}/{items_total})'
|
ctx.locations_recognized.add(location)
|
||||||
|
check = f'New Check: {location} ({len(ctx.locations_recognized)}/{items_total})'
|
||||||
|
|
||||||
if check:
|
if check:
|
||||||
logger.info(check)
|
logger.info(check)
|
||||||
|
Reference in New Issue
Block a user