Initial full rules commit

This commit is contained in:
StructuralMike
2021-03-05 20:10:21 +01:00
parent e46b382ed1
commit 06b172ee32
2 changed files with 80 additions and 18 deletions

View File

@@ -1334,6 +1334,11 @@ class Door(object):
self.edge_width = width
return self
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 small_key(self):
self.smallKey = True
return self