Merge branch 'DoorDev' into DoorDevUnstable

# Conflicts:
#	Main.py
#	RELEASENOTES.md
This commit is contained in:
randall.rupper
2021-03-05 10:43:05 -07:00
8 changed files with 103 additions and 89 deletions

View File

@@ -1377,6 +1377,11 @@ 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