new inverted logic, accounting for dark world flute activation

This commit is contained in:
Fabian Dill
2021-02-02 11:24:17 +01:00
parent 842be54ab9
commit fcbaa35cc5
18 changed files with 333 additions and 504 deletions

View File

@@ -751,10 +751,6 @@ class CollectionState(object):
def has_fire_source(self, player: int) -> bool:
return self.has('Fire Rod', player) or self.has('Lamp', player)
def can_flute(self, player: int) -> bool:
lw = self.world.get_region('Light World', player)
return self.has('Flute', player) and lw.can_reach(self) and self.is_not_bunny(lw, player)
def can_melt_things(self, player: int) -> bool:
return self.has('Fire Rod', player) or \
(self.has('Bombos', player) and