Add Raft to Archipelago (#174)

This commit is contained in:
Sunny Bat
2022-01-21 13:41:53 -08:00
committed by GitHub
parent 1e5c4c9b7c
commit 4291912577
14 changed files with 1907 additions and 0 deletions

12
worlds/raft/Locations.py Normal file
View File

@@ -0,0 +1,12 @@
import json
import os
with open(os.path.join(os.path.dirname(__file__), 'locations.json'), 'r') as file:
location_table = json.loads(file.read())
lookup_id_to_name = {}
for item in location_table:
lookup_id_to_name[item["id"]] = item["name"]
lookup_id_to_name[None] = "Tangaroa Next Frequency"
lookup_name_to_id = {name: id for id, name in lookup_id_to_name.items()}