"Ugly door" support

Ugly doors are doors that we don't want to see from the front:
- south-facing side of a BK door
- other side of one of those keyed staircases that don't actually have a matching key on the other side

This rejects layouts where one would appear.
This commit is contained in:
tolmar
2019-09-15 23:40:06 -07:00
parent 9fa26ef067
commit dda7dbaad4
3 changed files with 36 additions and 7 deletions

View File

@@ -850,6 +850,7 @@ class Door(object):
self.blocked = False # Indicates if the door is normally blocked off. (Sanc door or always closed)
self.smallKey = False # There's a small key door on this side
self.bigKey = False # There's a big key door on this side
self.ugly = False # Indicates that it can't be seen from the front (e.g. back of a big key door)
def getAddress(self):
if self.type == DoorType.Normal: