Skip to content

Commit

Permalink
Change Missile/Super/PB tanks to default progression
Browse files Browse the repository at this point in the history
Fixes weird stuff when plandoing early spheres
  • Loading branch information
NoiseCrush committed Nov 20, 2024
1 parent b03700d commit 914bfd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ def create_tanks(self, item_name: str, count: int, progression_count: Optional[i
if progression_count is None:
progression_count = count
for _ in range(progression_count):
yield self.create_item(item_name, ItemClassification.progression)
for _ in range(count - progression_count):
yield self.create_item(item_name)
for _ in range(count - progression_count):
yield self.create_item(item_name, ItemClassification.filler)

def place_event(self, name: str, location_name: Optional[str] = None):
if location_name is None:
Expand Down
6 changes: 3 additions & 3 deletions items.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ class ItemID(IntEnum):

tank_data_table = {
"Energy Tank": ItemData(ItemID.EnergyTank, progression, ItemType.tank, None),
"Missile Tank": ItemData(ItemID.MissileTank, filler, ItemType.tank, None),
"Super Missile Tank": ItemData(ItemID.SuperMissileTank, filler, ItemType.tank, None),
"Power Bomb Tank": ItemData(ItemID.PowerBombTank, filler, ItemType.tank, None),
"Missile Tank": ItemData(ItemID.MissileTank, progression, ItemType.tank, None),
"Super Missile Tank": ItemData(ItemID.SuperMissileTank, progression, ItemType.tank, None),
"Power Bomb Tank": ItemData(ItemID.PowerBombTank, progression, ItemType.tank, None),
}

major_item_data_table = {
Expand Down

0 comments on commit 914bfd1

Please sign in to comment.