v2.2.0: improved walkable space in blacksmith room for corner entrances

This commit is contained in:
Evan Debenham
2023-10-06 12:10:09 -04:00
parent c016ca9c1e
commit b1058f5b08

View File

@@ -53,6 +53,12 @@ public class BlacksmithRoom extends StandardRoom {
Painter.fill( level, this, Terrain.WALL );
Painter.fill( level, this, 1, Terrain.TRAP );
for (Door door : connected.values()) {
door.set( Door.Type.REGULAR );
Painter.drawInside( level, this, door, 2, Terrain.EMPTY );
}
Painter.fill( level, this, 2, Terrain.EMPTY_SP );
for (int i=0; i < 2; i++) {
@@ -68,11 +74,6 @@ public class BlacksmithRoom extends StandardRoom {
) ), pos );
}
for (Door door : connected.values()) {
door.set( Door.Type.REGULAR );
Painter.drawInside( level, this, door, 1, Terrain.EMPTY );
}
Blacksmith npc = new Blacksmith();
do {
npc.pos = level.pointToCell(random( 2 ));