v2.2.0: improved walkable space in blacksmith room for corner entrances
This commit is contained in:
+6
-5
@@ -53,6 +53,12 @@ public class BlacksmithRoom extends StandardRoom {
|
|||||||
|
|
||||||
Painter.fill( level, this, Terrain.WALL );
|
Painter.fill( level, this, Terrain.WALL );
|
||||||
Painter.fill( level, this, 1, Terrain.TRAP );
|
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 );
|
Painter.fill( level, this, 2, Terrain.EMPTY_SP );
|
||||||
|
|
||||||
for (int i=0; i < 2; i++) {
|
for (int i=0; i < 2; i++) {
|
||||||
@@ -68,11 +74,6 @@ public class BlacksmithRoom extends StandardRoom {
|
|||||||
) ), pos );
|
) ), pos );
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Door door : connected.values()) {
|
|
||||||
door.set( Door.Type.REGULAR );
|
|
||||||
Painter.drawInside( level, this, door, 1, Terrain.EMPTY );
|
|
||||||
}
|
|
||||||
|
|
||||||
Blacksmith npc = new Blacksmith();
|
Blacksmith npc = new Blacksmith();
|
||||||
do {
|
do {
|
||||||
npc.pos = level.pointToCell(random( 2 ));
|
npc.pos = level.pointToCell(random( 2 ));
|
||||||
|
|||||||
Reference in New Issue
Block a user