Skip to content

Commit

Permalink
Clean these functions up, get the hell out of here 5 parameter function
Browse files Browse the repository at this point in the history
  • Loading branch information
ScipioWright committed May 21, 2024
1 parent fe7bc87 commit 838f1f2
Show file tree
Hide file tree
Showing 4 changed files with 298 additions and 287 deletions.
6 changes: 3 additions & 3 deletions worlds/tunic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@ def create_regions(self) -> None:

def set_rules(self) -> None:
if self.options.entrance_rando or self.options.shuffle_ladders:
set_er_location_rules(self, self.ability_unlocks)
set_er_location_rules(self)
else:
set_region_rules(self, self.ability_unlocks)
set_location_rules(self, self.ability_unlocks)
set_region_rules(self)
set_location_rules(self)

def get_filler_item_name(self) -> str:
return self.random.choice(filler_items)
Expand Down
Loading

0 comments on commit 838f1f2

Please sign in to comment.