Skip to content

Commit

Permalink
Merge branch 'ds3-options' into ds3-full-rando
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Jun 11, 2024
2 parents a61f3a8 + d50f334 commit 104c529
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 200 deletions.
4 changes: 2 additions & 2 deletions worlds/AutoWorld.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def __new__(mcs, name: str, bases: Tuple[type, ...], dct: Dict[str, Any]) -> Web
assert group.options, "A custom defined Option Group must contain at least one Option."
# catch incorrectly titled versions of the prebuilt groups so they don't create extra groups
title_name = group.name.title()
if title_name in prebuilt_options:
group.name = title_name
assert title_name not in prebuilt_options or title_name == group.name, \
f"Prebuilt group name \"{group.name}\" must be \"{title_name}\""

if group.name == "Item & Location Options":
assert not any(option in item_and_loc_options for option in group.options), \
Expand Down
Loading

0 comments on commit 104c529

Please sign in to comment.