From 914bfd1503d7ae20091eb50eac7316ae1a65ce65 Mon Sep 17 00:00:00 2001 From: NoiseCrush <168460988+NoiseCrush@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:08:44 -0500 Subject: [PATCH] Change Missile/Super/PB tanks to default progression Fixes weird stuff when plandoing early spheres --- __init__.py | 4 ++-- items.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/__init__.py b/__init__.py index d9bd542..1f586a8 100644 --- a/__init__.py +++ b/__init__.py @@ -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: diff --git a/items.py b/items.py index d2cb73e..dd41e94 100644 --- a/items.py +++ b/items.py @@ -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 = {