Skip to content

Commit

Permalink
Merge branch 'door_items_actually_in_pool' into apworld_variety_panel…
Browse files Browse the repository at this point in the history
…hunt_2
  • Loading branch information
NewSoupVi committed Jun 24, 2024
2 parents 93bb5ba + 3158c37 commit 5383696
Show file tree
Hide file tree
Showing 13 changed files with 266 additions and 186 deletions.
2 changes: 1 addition & 1 deletion test/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def fulfills_accessibility() -> bool:
for n in range(len(locations) - 1, -1, -1):
if locations[n].can_reach(state):
sphere.append(locations.pop(n))
self.assertTrue(sphere or self.multiworld.accessibility[1] == "minimal",
self.assertTrue(sphere or self.multiworld.worlds[1].options.accessibility == "minimal",
f"Unreachable locations: {locations}")
if not sphere:
break
Expand Down
12 changes: 7 additions & 5 deletions worlds/doom_ii/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,18 @@ class DOOM2World(World):
# Item ratio that scales depending on episode count. These are the ratio for 3 episode. In DOOM1.
# The ratio have been tweaked seem, and feel good.
items_ratio: Dict[str, float] = {
"Armor": 41,
"Mega Armor": 25,
"Berserk": 12,
"Armor": 39,
"Mega Armor": 23,
"Berserk": 11,
"Invulnerability": 10,
"Partial invisibility": 18,
"Supercharge": 28,
"Supercharge": 26,
"Medikit": 15,
"Box of bullets": 13,
"Box of rockets": 13,
"Box of shotgun shells": 13,
"Energy cell pack": 10
"Energy cell pack": 10,
"Megasphere": 7
}

def __init__(self, multiworld: MultiWorld, player: int):
Expand Down Expand Up @@ -233,6 +234,7 @@ def create_items(self):
self.create_ratioed_items("Invulnerability", itempool)
self.create_ratioed_items("Partial invisibility", itempool)
self.create_ratioed_items("Supercharge", itempool)
self.create_ratioed_items("Megasphere", itempool)

while len(itempool) < self.location_count:
itempool.append(self.create_item(self.get_filler_item_name()))
Expand Down
4 changes: 2 additions & 2 deletions worlds/generic/docs/setup_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Some steps also assume use of Windows, so may vary with your OS.

## Installing the Archipelago software

The most recent public release of Archipelago can be found on the GitHub Releases page:
[Archipelago Releases Page](https://github.com/ArchipelagoMW/Archipelago/releases).
The most recent public release of Archipelago can be found on GitHub:
[Archipelago Lastest Release](https://github.com/ArchipelagoMW/Archipelago/releases/latest).

Run the exe file, and after accepting the license agreement you will be asked which components you would like to
install.
Expand Down
2 changes: 2 additions & 0 deletions worlds/heretic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class HereticWorld(World):
"Tome of Power": 16,
"Silver Shield": 10,
"Enchanted Shield": 5,
"Torch": 5,
"Morph Ovum": 3,
"Mystic Urn": 2,
"Chaos Device": 1,
Expand Down Expand Up @@ -242,6 +243,7 @@ def create_items(self):
self.create_ratioed_items("Mystic Urn", itempool)
self.create_ratioed_items("Ring of Invincibility", itempool)
self.create_ratioed_items("Shadowsphere", itempool)
self.create_ratioed_items("Torch", itempool)
self.create_ratioed_items("Timebomb of the Ancients", itempool)
self.create_ratioed_items("Tome of Power", itempool)
self.create_ratioed_items("Silver Shield", itempool)
Expand Down
Loading

0 comments on commit 5383696

Please sign in to comment.