From 36265257a11788cc9e8226ece38f10eb352509a5 Mon Sep 17 00:00:00 2001 From: spinerak Date: Tue, 11 Jun 2024 19:14:05 +0200 Subject: [PATCH] Remove lookup_id_to_name entirely I for sure don't use it, and as far as I know it's not one of the mandatory functions for AP, these are item_name_to_id and location_name_to_id. --- worlds/yachtdice/Locations.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/worlds/yachtdice/Locations.py b/worlds/yachtdice/Locations.py index 67994f01ac..659d66430b 100644 --- a/worlds/yachtdice/Locations.py +++ b/worlds/yachtdice/Locations.py @@ -69,8 +69,5 @@ def ini_locations(goal_score, max_score, number_of_locations, dif): return location_table, scores.index(goal_score) - -lookup_id_to_name: typing.Dict[int, str] = {data.id: item_name for item_name, data in all_locations.items() if data.id} - # we need to run this function to initialize all scores from 1 to 1000, even though not all are used -all_locations = all_locations_fun(1000) +all_locations = all_locations_fun(1000) \ No newline at end of file