Skip to content

Commit

Permalink
Docs: mention that IDs for items and locations can overlap (Archipela…
Browse files Browse the repository at this point in the history
…goMW#2854)

* Docs: mention that IDs for items and locations can overlap

* Update docs/world api.md

Co-authored-by: Ixrec <ericrhitchcock@gmail.com>

---------

Co-authored-by: Ixrec <ericrhitchcock@gmail.com>
  • Loading branch information
black-sliver and Ixrec authored Feb 28, 2024
1 parent 36cee91 commit a659036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/world api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 2<sup>53</sup>-1; IDs ≤ 0 are global and reserved.

Expand Down

0 comments on commit a659036

Please sign in to comment.