KDL3: Post-PR adjustments (#2917)

* logic adjustments, add patch_suffix

* forgot the other two consumables
This commit is contained in:
Silvris
2024-03-08 00:46:14 -06:00
committed by GitHub
parent b4bb88fcf7
commit 3e0ff3f72d
2 changed files with 28 additions and 18 deletions

View File

@@ -97,6 +97,7 @@ def cmd_gift(self: "SNIClientCommandProcessor"):
class KDL3SNIClient(SNIClient):
game = "Kirby's Dream Land 3"
patch_suffix = ".apkdl3"
levels = None
consumables = None
stars = None
@@ -406,7 +407,8 @@ class KDL3SNIClient(SNIClient):
ctx.locations_checked.add(new_check_id)
location = ctx.location_names[new_check_id]
snes_logger.info(
f'New Check: {location} ({len(ctx.locations_checked)}/{len(ctx.missing_locations) + len(ctx.checked_locations)})')
f'New Check: {location} ({len(ctx.locations_checked)}/'
f'{len(ctx.missing_locations) + len(ctx.checked_locations)})')
await ctx.send_msgs([{"cmd": 'LocationChecks', "locations": [new_check_id]}])
except Exception as ex:
# we crashed, so print log and clean up