mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-30 09:43:22 -07:00
Clean up some range functions
This commit is contained in:
@@ -199,7 +199,7 @@ class TunicWorld(World):
|
||||
|
||||
# Remove filler to make room for other items
|
||||
def remove_filler(amount: int) -> None:
|
||||
for _ in range(0, amount):
|
||||
for _ in range(amount):
|
||||
if not available_filler:
|
||||
fill = "Fool Trap"
|
||||
else:
|
||||
@@ -245,7 +245,7 @@ class TunicWorld(World):
|
||||
items_to_create["Lantern"] = 0
|
||||
|
||||
for item, quantity in items_to_create.items():
|
||||
for i in range(0, quantity):
|
||||
for _ in range(quantity):
|
||||
tunic_item: TunicItem = self.create_item(item)
|
||||
if item in slot_data_item_names:
|
||||
self.slot_data_items.append(tunic_item)
|
||||
@@ -374,7 +374,7 @@ class TunicWorld(World):
|
||||
if start_item in slot_data_item_names:
|
||||
if start_item not in slot_data:
|
||||
slot_data[start_item] = []
|
||||
for i in range(0, self.options.start_inventory_from_pool[start_item]):
|
||||
for _ in range(self.options.start_inventory_from_pool[start_item]):
|
||||
slot_data[start_item].extend(["Your Pocket", self.player])
|
||||
|
||||
for plando_item in self.multiworld.plando_items[self.player]:
|
||||
|
||||
Reference in New Issue
Block a user