From 439733badd3a44aa350be39ab851d569bf6c2c7f Mon Sep 17 00:00:00 2001 From: Phar Date: Tue, 12 Dec 2023 20:27:10 -0600 Subject: [PATCH] Set everything/everywhere in options.py explicitly. --- WebHostLib/options.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/WebHostLib/options.py b/WebHostLib/options.py index c3d52f318c03..16215256c9d5 100644 --- a/WebHostLib/options.py +++ b/WebHostLib/options.py @@ -175,12 +175,18 @@ def get_html_doc(option_type: type(Options.Option)) -> str: "gameItemGroups": [ group for group in world.item_name_groups.keys() if group != "Everything" ], - "gameItemDescriptions": world.web.item_descriptions, "gameLocations": tuple(world.location_names), "gameLocationGroups": [ group for group in world.location_name_groups.keys() if group != "Everywhere" ], - "gameLocationDescriptions": world.web.location_descriptions, + "gameItemDescriptions": { + "Everything": "All possible items in the entire game.", + **world.web.item_descriptions, + }, + "gameLocationDescriptions": { + "Everywhere": "All possible locations in the entire game.", + **world.web.location_descriptions, + }, } with open(os.path.join(target_folder, 'weighted-options.json'), "w") as f: