MultiServer: remove legacy datapackage keys
MultiServer: remove warning about legacy datapackage use MultiServer: remove legacy permission flags Options: add "random" option to all Choices LttP: remove random special handling from HeartColor
This commit is contained in:
		| @@ -27,10 +27,6 @@ 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, | ||||
| } | ||||
|   | ||||
| @@ -231,13 +231,6 @@ class HeartColor(Choice): | ||||
|     option_green = 2 | ||||
|     option_yellow = 3 | ||||
|  | ||||
|     @classmethod | ||||
|     def from_text(cls, text: str) -> Choice: | ||||
|         # remove when this becomes a base Choice feature | ||||
|         if text == "random": | ||||
|             return cls(random.randint(0, 3)) | ||||
|         return super(HeartColor, cls).from_text(text) | ||||
|  | ||||
|  | ||||
| class QuickSwap(DefaultOnToggle): | ||||
|     displayname = "L/R Quickswapping" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fabian Dill
					Fabian Dill