From a659036e959694b419ffd6d0ab178eb3252e18f3 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Wed, 28 Feb 2024 19:55:55 +0100 Subject: [PATCH] Docs: mention that IDs for items and locations can overlap (#2854) * Docs: mention that IDs for items and locations can overlap * Update docs/world api.md Co-authored-by: Ixrec --------- Co-authored-by: Ixrec --- docs/world api.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/world api.md b/docs/world api.md index 72a67bca9de3..fd8e0988e567 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -170,6 +170,7 @@ could also be progress in a research tree, or even something more abstract like Each location has a `name` and an `address` (hereafter referred to as an `id`), is placed in a Region, has access rules, and has a classification. The name needs to be unique within each game and must not be numeric (must contain least 1 letter or symbol). The ID needs to be unique across all games, and is best kept in the same range as the item IDs. +Locations and items can share IDs, so typically a game's locations and items start at the same ID. World-specific IDs must be in the range 1 to 253-1; IDs ≤ 0 are global and reserved.