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.
This commit is contained in:
Natalie Weizenbaum 2024-11-14 22:43:34 +00:00 committed by GitHub
parent 7916d1e67c
commit dd659de079
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -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