Much more work on weighted-setting page. Still needs support for range options and item/location settings.

This commit is contained in:
Chris Wilson
2022-01-01 16:59:58 -05:00
parent 06dc76a78b
commit 0431c3fce0
4 changed files with 244 additions and 140 deletions

View File

@@ -103,7 +103,7 @@ def create():
weighted_settings["baseOptions"]["game"][game_name] = 0
weighted_settings["games"][game_name] = {}
weighted_settings["games"][game_name]["gameOptions"] = game_options
weighted_settings["games"][game_name]["gameSettings"] = game_options
weighted_settings["games"][game_name]["gameItems"] = tuple(world.item_name_to_id.keys())
weighted_settings["games"][game_name]["gameLocations"] = tuple(world.location_name_to_id.keys())