From 82d3e4bc92fc1b9459994db74684f918cdbf0070 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Thu, 11 Nov 2021 11:47:45 +0100 Subject: [PATCH] Docs: document "Archipelago" special IDs --- docs/network protocol.md | 2 ++ worlds/generic/__init__.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/network protocol.md b/docs/network protocol.md index a8272f97a9..42669af4fb 100644 --- a/docs/network protocol.md +++ b/docs/network protocol.md @@ -420,6 +420,8 @@ We encourage clients to cache the data package they receive on disk, or otherwis Note: * Any ID is unique to its type across AP: Item 56 only exists once and Location 56 only exists once. * Any Name is unique to its type across its own Game only: Single Arrow can exist in two games. + * The IDs from the game "Archipelago" may be used in any other game. + Especially Location ID -1: Cheat Console and -2: Server (typically Remote Start Inventory) #### Contents | Name | Type | Notes | diff --git a/worlds/generic/__init__.py b/worlds/generic/__init__.py index 399f67aea4..50fb1038db 100644 --- a/worlds/generic/__init__.py +++ b/worlds/generic/__init__.py @@ -13,7 +13,7 @@ class GenericWorld(World): "Nothing": -1 } location_name_to_id = { - "Cheat Console" : -1, + "Cheat Console": -1, "Server": -2 } hidden = True