Skip to content

Commit

Permalink
Proper syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Exempt-Medic <[email protected]>
  • Loading branch information
Scrungip and Exempt-Medic authored Aug 18, 2024
1 parent 87a225d commit 430d269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/v6/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ def set_rules(self):
self.area_cost_map = {}
set_rules(self.multiworld, self.options, self.player, self.area_connections, self.area_cost_map)

def create_item(self, name: str, classification: ItemClassification) -> Item:
def create_item(self, name: str, classification: ItemClassification = ItemClassification.filler) -> Item:
return V6Item(name, classification, item_table[name], self.player)

def create_items(self):
progtrinkets = [self.create_item("Trinket " + str(i+1).zfill(2), ItemClassification.progression) for i in range(0, (4 * self.options.door_cost.value))]
filltrinkets = [self.create_item("Trinket " + str(i+1).zfill(2), ItemClassification.filler) for i in range((4 * self.options.door_cost.value), 20)]
filltrinkets = [self.create_item("Trinket " + str(i+1).zfill(2)) for i in range((4 * self.options.door_cost.value), 20)]
self.multiworld.itempool += progtrinkets
self.multiworld.itempool += filltrinkets

Expand Down

0 comments on commit 430d269

Please sign in to comment.