Added Shop ID constant and forfeit values

This commit is contained in:
pepperpow
2021-01-10 05:11:45 -06:00
parent 6d28978480
commit 4250004f11
4 changed files with 6 additions and 4 deletions

View File

@@ -475,6 +475,7 @@ def send_new_items(ctx: Context):
def forfeit_player(ctx: Context, team: int, slot: int):
all_locations = {values[0] for values in Regions.location_table.values() if type(values[0]) is int}
all_locations.update({values[1] for values in Regions.key_drop_data.values()})
all_locations.update({values for values in range(Regions.SHOP_ID_START, Regions.SHOP_ID_START + 256)})
ctx.notify_all("%s (Team #%d) has forfeited" % (ctx.player_names[(team, slot)], team + 1))
register_location_checks(ctx, team, slot, all_locations)