class Underground(RandomizedTile):
IMGDIR = "underground"
+class Grate(Tile):
+ IMG = os.path.join('grate', 'grate')
+ TILESET = 'bunker'
+
+
+class Exit(Tile):
+ IMG = os.path.join('exit', 'exit')
+ TILESET = 'bunker'
+
+
class Tunnel(OrientatedTile):
@classmethod
def image(cls, neighbors):
- connections = [True if 'walk' in x['behaviour'] else False for x in neighbors]
+ connections = [True if 'crawl' in x['behaviour'] else False for x in neighbors]
conn_count = connections.count(True)
# simple cases
cls.ANGLE = 0