From 0423c22d7fceaf0958b8cee0a1321efcaa8bc8a8 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 7 Aug 2021 09:18:42 +0200 Subject: [PATCH] DataPackage: bring back compatibility layer for datapackage - for now. Mark removal version. --- worlds/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worlds/__init__.py b/worlds/__init__.py index a020ff40..0f2a1e28 100644 --- a/worlds/__init__.py +++ b/worlds/__init__.py @@ -27,6 +27,10 @@ for world_name, world in AutoWorldRegister.world_types.items(): lookup_any_location_id_to_name.update(world.location_id_to_name) network_data_package = { + # Remove with 0.2.0 + "lookup_any_location_id_to_name": lookup_any_location_id_to_name, # legacy, to be removed + "lookup_any_item_id_to_name": lookup_any_item_id_to_name, # legacy, to be removed + "version": sum(world.data_version for world in AutoWorldRegister.world_types.values()), "games": games, }