DataPackage: bring back compatibility layer for datapackage - for now. Mark removal version.

This commit is contained in:
Fabian Dill 2021-08-07 09:18:42 +02:00
parent 3441c390bd
commit 0423c22d7f
1 changed files with 4 additions and 0 deletions

View File

@ -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,
}