TUNIC: Some cleanup (#3115)

This commit is contained in:
Scipio Wright
2024-04-13 20:06:06 -04:00
committed by GitHub
parent 3d5c21cec5
commit fb3035a78b
5 changed files with 13 additions and 13 deletions

View File

@@ -125,7 +125,7 @@ class TunicWorld(World):
item_table[filler].classification == ItemClassification.filler]
# Remove filler to make room for other items
def remove_filler(amount: int):
def remove_filler(amount: int) -> None:
for _ in range(0, amount):
if not available_filler:
fill = "Fool Trap"
@@ -231,7 +231,7 @@ class TunicWorld(World):
def get_filler_item_name(self) -> str:
return self.random.choice(filler_items)
def extend_hint_information(self, hint_data: Dict[int, Dict[int, str]]):
def extend_hint_information(self, hint_data: Dict[int, Dict[int, str]]) -> None:
if self.options.entrance_rando:
hint_data.update({self.player: {}})
# all state seems to have efficient paths