TFH Futures

This commit is contained in:
Fouton
2021-03-12 16:41:35 -05:00
committed by GitHub
parent fd7728235d
commit 8d933b82de
6 changed files with 76 additions and 92 deletions

View File

@@ -128,6 +128,7 @@ class World(object):
set_player_attr('open_pyramid', False)
set_player_attr('treasure_hunt_icon', 'Triforce Piece')
set_player_attr('treasure_hunt_count', 0)
set_player_attr('treasure_hunt_total', 0)
set_player_attr('potshuffle', False)
set_player_attr('pot_contents', None)
@@ -1377,11 +1378,6 @@ class Door(object):
else:
self.passage = False
def kind(self, world):
if self.roomIndex != -1 and self.doorListPos != -1:
return world.get_room(self.roomIndex, self.player).kind(self)
return None
def __eq__(self, other):
return isinstance(other, self.__class__) and self.name == other.name