From dd659de07942e822b93b1b909181c1cbaea746b3 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Thu, 14 Nov 2024 22:43:34 +0000 Subject: [PATCH] DS3: List compatible static randomizer versions in slot data (#4178) This will make it easier for players to understand when they have a mismatch between their DS3 apworld and their local randomizer version, mitigating a common source of confusion and support requests. --- worlds/dark_souls_3/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/worlds/dark_souls_3/__init__.py b/worlds/dark_souls_3/__init__.py index 1aec6945..765ffb1f 100644 --- a/worlds/dark_souls_3/__init__.py +++ b/worlds/dark_souls_3/__init__.py @@ -1568,6 +1568,16 @@ class DarkSouls3World(World): "apIdsToItemIds": ap_ids_to_ds3_ids, "itemCounts": item_counts, "locationIdsToKeys": location_ids_to_keys, + # The range of versions of the static randomizer that are compatible + # with this slot data. Incompatible versions should have at least a + # minor version bump. Pre-release versions should generally only be + # compatible with a single version, except very close to a stable + # release when no changes are expected. + # + # This is checked by the static randomizer, which will surface an + # error to the user if its version doesn't fall into the allowed + # range. + "versions": ">=3.0.0-beta.24 <3.1.0", } return slot_data